Topic 8
Numerical Integration: Midpoint, Trapezoidal & Simpson's Rules
Each rule cuts into of width . Then it swaps for simple shapes: flat tops (midpoint), straight lines (trapezoidal) or parabolas (Simpson's, even). An says how far off you can be. Solve it for to find how many pieces you need.
5 kinds of question. Open the one you are stuck on.
1Approximate an integral using the midpoint rule
e.g. “Find the midpoint rule approximation to with ”
Approximate an integral using the midpoint rule
e.g. “Find the midpoint rule approximation to with ”- 1Find
- 2List the midpoints
: the center of the th piece.
- 3Add at the midpoints and multiply by
Remember: Middle of each piece, times the width.
See it in a problem3 worked examples
Find the midpoint rule approximation to with .
- 1Find
.
- 2List the midpoints
Midpoints: and .
- 3Add at the midpoints and multiply by
.
Write out the midpoint rule approximation to with . You do not need to simplify.
- 1Find
.
- 2List the midpoints
Midpoints: .
- 3Add at the midpoints and multiply by
.
A function has , , , , , , . Use the midpoint rule with to estimate .
- 1Find
: pieces , , .
- 2List the midpoints
Midpoints: .
- 3Add at the midpoints and multiply by
.
Common mistakes2
- Using endpoints. Midpoints never include or .
- From a table, you need readings at the midpoints, so is half the number of gaps in the table.
2Approximate an integral using the trapezoidal rule
e.g. “Use the trapezoidal rule with to estimate ”
Approximate an integral using the trapezoidal rule
e.g. “Use the trapezoidal rule with to estimate ”- 1Find
- 2List the values
values, from to . From a table, these are the readings.
- 3Weight the ends , the rest , add, then multiply by
Remember: Halve the ends, add, times the width.
See it in a problem3 worked examples
Use the trapezoidal rule with to estimate .
- 1Find
.
- 2List the values
At : .
- 3Weight the ends , the rest , add, then multiply by
.
A tank is 30 cm tall and its horizontal cross sections are circular. Its diameters at heights 0, 10, 20 and 30 cm are 20, 16, 12 and 10 cm. Use the trapezoidal rule to estimate its volume.
- 1Find
, .
- 2List the values
Areas : .
- 3Weight the ends , the rest , add, then multiply by
.
cm³
Use the trapezoidal rule with to approximate . Is it an overestimate or an underestimate?
- 1Find
.
- 2List the values
At : .
- 3Weight the ends , the rest , add, then multiply by
. Since , the curve is concave up and the trapezoids lie above it.
, an overestimate (the exact value is ).
Common mistakes3
- Giving the end values full weight. Only the inside values count fully.
- For a volume from diameters, integrate the area , not the diameter. From a circumference : .
- Concave up () on all of : the trapezoids sit above the curve, so is an overestimate. Concave down: an underestimate.
3Approximate an integral using Simpson's rule
e.g. “Use Simpson's rule with to approximate ”
Approximate an integral using Simpson's rule
e.g. “Use Simpson's rule with to approximate ”- 1Check is even; find
- 2List the values
- 3Weight them and add
- 4Multiply by
Remember: 1, 4, 2, 4, …, 4, 1, then times a third of the width.
See it in a problem3 worked examples
Use Simpson's rule with to approximate .
- 1Check is even; find
is even; .
- 2List the values
At : .
- 3Weight them and add
.
- 4Multiply by
, exactly .
, the exact value: Simpson's rule is exact for polynomials of degree at most .
Write down the Simpson's rule approximation to with . Leave it in calculator-ready form.
- 1Check is even; find
is even; .
- 2List the values
At : .
- 3Weight them and add
.
- 4Multiply by
.
A 4 m tree trunk has circular cross sections. Its circumference at heights 0, 1, 2, 3, 4 m is 2.0, 1.8, 1.6, 1.2, 0.8 m. Use Simpson's rule to estimate its volume.
- 1Check is even; find
is even; .
- 2List the values
Areas : .
- 3Weight them and add
.
- 4Multiply by
.
m³
Common mistakes3
- Using an odd . Simpson's rule needs an even number of pieces.
- Multiplying by instead of .
- Breaking the pattern: the values next to each end always get weight .
4Find the error bound for the midpoint, trapezoidal or Simpson's rule
e.g. “Find a bound for the error in approximating using Simpson's rule with ”
Find the error bound for the midpoint, trapezoidal or Simpson's rule
e.g. “Find a bound for the error in approximating using Simpson's rule with ”- 1Pick the bound for your rule
, , . The question usually gives these.
- 2Differentiate: for midpoint or trapezoidal, for Simpson's
- 3Find (or ) on all of
Use and the . If only goes up or only goes down, check the endpoints. Any true upper bound is fine. Smaller is better.
- 4Plug in and simplify
Remember: Formula, derivative, bound it, plug in.
See it in a problem3 worked examples
Find a bound for the error in approximating using Simpson's rule with .
- 1Pick the bound for your rule
.
- 2Differentiate: for midpoint or trapezoidal, for Simpson's
.
- 3Find (or ) on all of
is decreasing, so on : .
- 4Plug in and simplify
.
Find a bound for the error when is approximated by the trapezoidal rule with .
- 1Pick the bound for your rule
.
- 2Differentiate: for midpoint or trapezoidal, for Simpson's
, .
- 3Find (or ) on all of
on : .
- 4Plug in and simplify
.
For , which gives the smaller error bound: the midpoint rule with , or Simpson's rule with ?
- 1Pick the bound for your rule
and .
- 2Differentiate: for midpoint or trapezoidal, for Simpson's
and .
- 3Find (or ) on all of
On : and .
- 4Plug in and simplify
; .
Simpson's rule with : its bound is smaller than .
Common mistakes3
- Bounding at one point. must work for every in .
- Using for Simpson's rule. It needs the fourth derivative.
- Thinking the two forms differ: is the same bound as .
5Find how many subintervals n guarantee a given accuracy
e.g. “How many subintervals are required to guarantee that the absolute error is less than …?”
Find how many subintervals n guarantee a given accuracy
e.g. “How many subintervals are required to guarantee that the absolute error is less than …?”- 1Find (or ) on , as for an error bound
- 2Set the error bound less than or equal to the tolerance
"Five decimal places" means error .
- 3Solve for
- 4Round up to a whole number; even, for Simpson's
Remember: Bound, inequality, solve, round up.
See it in a problem3 worked examples
How many subintervals guarantee the trapezoidal rule approximates with error at most ?
- 1Find (or ) on , as for an error bound
, largest in size at : .
- 2Set the error bound less than or equal to the tolerance
.
- 3Solve for
, so .
- 4Round up to a whole number; even, for Simpson's
.
(any works)
How many subintervals are required for Simpson's rule to approximate with error at most ?
- 1Find (or ) on , as for an error bound
, so on .
- 2Set the error bound less than or equal to the tolerance
.
- 3Solve for
, so .
- 4Round up to a whole number; even, for Simpson's
Round up to an even number: .
(any even )
Suppose for . How large must be for the midpoint rule to approximate with error at most ?
- 1Find (or ) on , as for an error bound
Given: .
- 2Set the error bound less than or equal to the tolerance
.
- 3Solve for
, so .
- 4Round up to a whole number; even, for Simpson's
.
(any )
Common mistakes3
- Rounding down. means .
- Forgetting Simpson's must be even: means .
- Working out yourself when is given. Use the you are given.
Need the formulas? Must memorize · Flashcards
