Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Numerical Integration Simpson's & Trapezoidal cheat sheet - grade 11-12

Click image to open full size

Calculus Grade 11-12

Numerical Integration Simpson's & Trapezoidal Cheat Sheet

A printable reference covering trapezoidal rule, Simpson's rule, step size, error bounds, and composite numerical integration for grades 11-12.

Download PNG

Study as Flashcards

Numerical integration estimates definite integrals when an antiderivative is hard or impossible to find exactly. This cheat sheet covers the trapezoidal rule and Simpson's rule, two common methods for approximating area under a curve. Students need these methods for calculator work, data-based problems, and real-world models where only function values are available.

The trapezoidal rule approximates the region using straight-line segments, while Simpson's rule uses parabolic arcs for a usually more accurate estimate. Both methods divide the interval [a,b][a,b] into nn equal subintervals with step size Δx=ban\Delta x = \frac{b-a}{n}. Simpson's rule requires nn to be even, and both methods use weighted sums of function values.

Error bounds depend on higher derivatives, so smoother functions usually give better approximations.

Key Facts

  • For nn equal subintervals on [a,b][a,b], the step size is Δx=ban\Delta x = \frac{b-a}{n}.
  • The partition points are xi=a+iΔxx_i = a + i\Delta x for i=0,1,2,,ni = 0,1,2,\dots,n.
  • The composite trapezoidal rule is Tn=Δx2[f(x0)+2i=1n1f(xi)+f(xn)]T_n = \frac{\Delta x}{2}\left[f(x_0) + 2\sum_{i=1}^{n-1} f(x_i) + f(x_n)\right].
  • The composite Simpson's rule is Sn=Δx3[f(x0)+4odd if(xi)+2even i, i0,nf(xi)+f(xn)]S_n = \frac{\Delta x}{3}\left[f(x_0) + 4\sum_{\text{odd } i} f(x_i) + 2\sum_{\text{even } i,\ i\ne 0,n} f(x_i) + f(x_n)\right].
  • Simpson's rule requires an even number of subintervals, so nn must be even.
  • If ff is concave up on [a,b][a,b], the trapezoidal rule usually overestimates abf(x)dx\int_a^b f(x)\,dx.
  • If ff is concave down on [a,b][a,b], the trapezoidal rule usually underestimates abf(x)dx\int_a^b f(x)\,dx.
  • A common trapezoidal error bound is ETK(ba)312n2|E_T| \le \frac{K(b-a)^3}{12n^2} when f(x)K|f''(x)| \le K on [a,b][a,b].

Vocabulary

Numerical integration
A method for estimating a definite integral using function values instead of finding an exact antiderivative.
Trapezoidal rule
An approximation method that estimates area by connecting points on the graph with straight line segments to form trapezoids.
Simpson's rule
An approximation method that estimates area by fitting parabolas through groups of three points.
Step size
The width of each equal subinterval, given by Δx=ban\Delta x = \frac{b-a}{n}.
Subinterval
One smaller interval created when [a,b][a,b] is divided into equal parts for approximation.
Error bound
A maximum possible difference between the exact integral and a numerical approximation.

Common Mistakes to Avoid

  • Using Simpson's rule with an odd value of nn is wrong because Simpson's rule works in pairs of subintervals and requires nn to be even.
  • Forgetting endpoint weights changes the approximation because f(x0)f(x_0) and f(xn)f(x_n) are not doubled in the trapezoidal rule or given alternating Simpson weights.
  • Using Δx=ban+1\Delta x = \frac{b-a}{n+1} is wrong because nn counts subintervals, not the number of listed points.
  • Mixing Simpson weights in the wrong order gives an incorrect sum because the interior weights must alternate 4,2,4,2,,44,2,4,2,\dots,4.
  • Rounding too early can make the final estimate less accurate, so keep several decimal places until the final answer.

Practice Questions

  1. 1 Use the trapezoidal rule with n=4n=4 to approximate 02(x2+1)dx\int_0^2 (x^2+1)\,dx.
  2. 2 Use Simpson's rule with n=4n=4 to approximate 02(x2+1)dx\int_0^2 (x^2+1)\,dx.
  3. 3 For f(x)=sinxf(x)=\sin x on [0,π][0,\pi], find Δx\Delta x when n=6n=6 and list the partition points x0x_0 through x6x_6.
  4. 4 Explain why Simpson's rule often gives a more accurate approximation than the trapezoidal rule for smooth curves.

Understanding Numerical Integration Simpson's & Trapezoidal

The weights in these rules come from the shapes being added. In the trapezoidal method, each interior height belongs to two neighboring trapezoids. It is therefore counted twice before the final scaling.

The first and last heights belong to only one shape, so they are counted once. Simpson's method works in pairs of subintervals. It fits one quadratic curve through three equally spaced points.

The middle point in each group has the strongest effect on that curve, which explains its weight of four. A point shared by two groups receives weight two. Following this pattern carefully matters more than memorising a long calculator entry.

The graph gives useful clues about the direction of an estimate. Straight segments lie above a curve that bends upward, so trapezoids tend to give too much area there. They lie below a curve that bends downward, so the estimate tends to be too small.

If the curve changes its bending direction, one part may overestimate while another part underestimates. Those errors can partly cancel. This can make a final answer look accurate for the wrong reason.

A sketch is valuable even when a calculator produces the numerical result. It helps students judge whether an answer has a sensible size and likely direction of error.

Using more subintervals usually improves an approximation because each piece covers less horizontal distance. For the trapezoidal method, doubling the number of equal pieces often reduces the error to about one quarter when the function is sufficiently smooth. The error bound makes this idea precise by using a limit on the size of the second derivative.

A large second derivative means the graph bends sharply, so straight edges miss more of its shape. Error bounds are guarantees, not exact error values.

They may be much larger than the actual error because they must work across the whole interval. Simpson's method often improves faster for smooth functions, but it can perform poorly near corners, jumps, or noisy measured data.

Numerical integration appears whenever a total is built from changing rates. A speed record can be used to estimate distance travelled. A graph of water flow over time can estimate the amount of water that passed through a pipe.

Scientists use sampled force values to estimate work. In these settings, there may be no formula for the curve at all. Students should check that input values are equally spaced before applying the standard composite rules.

They should keep units attached throughout the work. If the horizontal axis is in seconds and the vertical axis is in metres per second, the result is in metres. They should also separate exact values from rounded table values, since early rounding can change the final estimate.