Simpson's Rule is a numerical integration technique that approximates the definite integral of a function by dividing the interval [a, b] into n subintervals (where n is even), calculating the width Δx = (b-a)/n, and applying the formula Sₙ = (Δx/3)[f(x₀) + 4f(x₁) + 2f(x₂) + 4f(x₃) + ... + 4f(xₙ₋₁) + f(xₙ)], where coefficients alternate between 4 and 2 for interior points starting with 4 for x₁, making it particularly effective for estimating integrals when only discrete data points are available or when finding an exact antiderivative is challenging.
Simpson's Rule & Numerical Integration | Calculus Tutorial
Added:use simpson's rule to estimate the value of this definite integral so here's the formula that you need the definite integral from a to b of f of x dx is approximately equal to s sub n and s sub n according to simpson's rule is the width of the rectangles divided by 3 times f of x zero plus four times f of x one plus two times f of x two and then it alternates from two and four and then four f of x three plus two times f of x and minus two plus four f of x n minus one and then the last one is just f of x n so the first and the last y values you're not going to multiply by any coefficient the ones in the middle you're gonna start with four and then alternate between two and four so first let's calculate delta x delta x is b minus a over n so we can see that a is 2 b is 10 in this example and let's use four rectangles so we're going to say n is four so delta x is going to be 10 minus two over four so that's eight divided by four which is two now let's create a number line so because n is four there's going to be four sub intervals but five points you can see delta x is 2 here now for the simpson's rule and the trapezoidal rule we're going to use all five points so it's going to be s sub 4 and that's equal to delta x which is 2 divided by 3 and then it's going to be f of 2 plus 4 times f 4 plus two times f of six plus four times f of eight and then plus f of ten now keep in mind f of x is x cubed so two to the third power is eight to the third power that's 64.
and then 6 to the third power that's 216 8 to the third power i got to type that one in so that's going to be 5 12 and then 10 to the third is a thousand so go ahead and type in what you see so the value i got is 2496.
now let's calculate the value of the definite integral using integration so let's integrate x cubed dx from 2 to 10.
the antiderivative of x cubed is x to the fourth divided by 4.
and if we plug in 10 is going to be 10 raised to the 4th over 4 and then minus 2 raised to the four over four so ten to the fourth power ten times ten is a hundred times another ten that's a thousand times ten that's ten thousand two to the four two times two times two times two that's sixteen ten thousand divided by four is twenty five hundred sixteen divided by four is four and twenty five hundred divided by four is twenty four ninety six now this is one of those rare cases where these two answers are the same but in other cases you'll find that the simpsons rule is a very good approximation of the value of the definite integral so you can use it to estimate the area under a curve or evaluate a definite integral if you're given a problem with a data table and so that's it for this particular problem now let's work on this word problem the data table below shows the instantaneous velocity of a car every 5 minutes use simpson's rule to determine the displacement of the car in the first 30 minutes and also determine the average speed of the car for the entire trip so first we need to calculate delta x so that's going to be b minus a divided by n so what's a and b in this problem well the interval is the first 30 minutes so a is 0 b is 30.
so it's going to be 30 minus 0 and then what is n in this problem well n is the number of intervals this is going to be one interval and then two three four five six so n is six and 30 divided by six is five and we can see that it's spaced out five minutes every time the velocity has been measured now notice that the velocity is in meters per second and the time is in minutes so we need to convert delta x from being in minutes to seconds one minute is 60 seconds so five minutes is going to be five times sixty which is three hundred so that's what we're going to use for delta x now you need to know that the displacement is going to be the definite integral from a to b of the velocity function with respect to time and so we can estimate that definite integral using simpson's rule in this case with six sub intervals so n is six so s of six is going to be delta x which is 300 seconds divided by three and then the first point is going to be f of 0 and then it's going to be 4 times f of 5.
now keep in mind these values that's basically the time in minutes but the y value that it corresponds to is going to be in meters per second which will cancel with the 300 seconds so it's going to work out this way and then it's going to be 2 times f of 10 plus 4 times f of 15 and then 2 times f of 20 plus 4 times f of 25 and then the last one is just going to be f of 30.
300 divided by 3 is 100 f of 0 is 25 and then it's 4 times f of 5 which is 28 and then 2 times f of 10 that's 32 and then 4 times f of 15 which is 30 and then 2 times f of 20 that's 29 plus 4 times f of 25 which is 26 and then f of 30 is 23 based on the table so this is equal to 100 and then 4 times 28 that's 112 2 times 32 is 64.
4 times 30 is 120 2 times 29 is 58 4 times 26 is 104 and then plus 23.
so let's just go ahead and plug this in to a calculator and get the final answer so sf6 is going to be 50 600 meters so that's the displacement of the vehicle in the first 30 minutes if you want to convert that to kilometers simply divide by a thousand a thousand meters equals one kilometer so this is about 50.6 kilometers now let's calculate the average speed of the car for the entire 30 minutes the total distance that the car travels is going to be 50 600 unless the car changes direction which we have no indication that it change direction the velocity is positive if the car stayed in one direction the displacement and the total distance will be the same if the car changes direction displacement and distance will not be the same now average speed is equal to the total distance traveled divided by the total time and so the total distance traveled is 50 600 meters and the time is 30 minutes but we need to get that in seconds so we need to multiply 30 minutes by 60 seconds per minute so 30 times 60 that's going to be 1800 so the average speed using the answer that we got from simpson's rule is 28.1 meters per second now let's compare that answer to the answer that we would get if we simply found the average value of all the velocities in this table so if we add 25 28 32 30 29 26 and 23 and then divide by those seven numbers the average velocity will be 27.6 meters per second so these two values are pretty close to each other which means that those answers are reasonable you
Up Next

Error in Quadrature Formula | Trapezoidal & Simpson's Rule
@lucknowuniversitymathemati687
4.2K views•2020-10-06

Gain Recalibration in Hippocampal Path Integration: Math Theory
@1024kyz
144 views•2020-07-02

Permutations vs Combinations: Key Differences & Formula Examples
@TheOrganicChemistryTutor
4.5M views•2017-02-10

The Mathematical Impossibility of Accurate World Maps
@Vox
23.3M views•2016-12-02
Related Study Plans & Knowledge Roadmaps
Structured learning paths in Mathematics







































