Formula Numerical methods
Trapezium rule
When to use it
Estimating an integral that cannot be done analytically, or from tabulated data.
Last checked Source: Numerical methods for integrals and curves Source: Numerical methods for integrals and curves qualifications.pearson.com (opens in a new tab)
Trapezium rule for your study of A-level maths: where it comes from and what it covers.
Worked case: Estimate ∫₀² x² dx with 4 strips.
Related pages include Gradient of a velocity-time graph, Over- and under-estimates with the trapezium rule, Vertex of a quadratic and Conditional probability from a tree diagram.
Result: 2.75
Application 1: Use the trapezium rule with 4 strips to estimate the integral of x³ from 0 to 2. Step 1: Strip width h = (2.000 − 0)/4 = 0.5000. Step 2: y-values: 0.0000, 0.1250, 1.0000, 3.3750, 8.0000. Step 3: Estimate = h/2 × [first + last + 2(sum of the others)] = 0.2500 × [8.0000 + 2 × 4.5000]. Step 4: Estimate ≈ 4.2500. Result: ≈ 4.2500.
Application 2: Use the trapezium rule with 5 strips to estimate the integral of e^(−x²) from 0 to 1. Step 1: Strip width h = (1.000 − 0)/5 = 0.2000. Step 2: y-values: 1.0000, 0.9608, 0.8521, 0.6977, 0.5273, 0.3679. Step 3: Estimate = h/2 × [first + last + 2(sum of the others)] = 0.1000 × [1.3679 + 2 × 3.0379]. Step 4: Estimate ≈ 0.7444. Result: ≈ 0.7444.
Application 3: Use the trapezium rule with 4 strips to estimate the integral of 1/(1 + x) from 0 to 1. Step 1: Strip width h = (1.000 − 0)/4 = 0.2500. Step 2: y-values: 1.0000, 0.8000, 0.6667, 0.5714, 0.5000. Step 3: Estimate = h/2 × [first + last + 2(sum of the others)] = 0.1250 × [1.5000 + 2 × 2.0381]. Step 4: Estimate ≈ 0.6970. Result: ≈ 0.6970.
Study brief
- The trapezium rule is a numerical method used to estimate the approximate area under a curve. This approach is useful when mathematical problems cannot be solved using analytic means. To apply this technique, one might evaluate the values of a function at specific points. For instance, when estimating the area for the function 2x + 1, points such as x = 0, 0.25, 0.5, 0.75, and 1 can be utilized. By using a given graph, it is possible to determine if the results produced by the trapezium rule result in an over-estimate or an under-estimate. This capability to evaluate the accuracy or limitations of solutions is a key part of using numerical methods to reach a required level of accuracy.
Practise for free
Test yourself with exam-style questions and see why each answer is right or wrong.
Related formulas
-
Change of sign method
Change of sign method: f(a) f(b) < 0 and f continuous ⇒ a root in (a, b).
-
Fixed-point iteration xₙ₊₁ = g(xₙ)
Fixed-point iteration xₙ₊₁ = g(xₙ): xₙ₊₁ = g(xₙ) converges to α if |g′(α)| < 1.
-
Newton-Raphson for square roots
Newton-Raphson for square roots: xₙ₊₁ = (xₙ + N/xₙ)/2.
-
Newton-Raphson formula
Newton-Raphson formula: xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ).
-
Over- and under-estimates with the trapezium rule
Over- and under-estimates with the trapezium rule: convex curve: overestimate; concave curve: underestimate.
-
Relative and absolute error
Relative and absolute error: relative error = |approximate − exact| / |exact|.
-
When Newton-Raphson fails
When Newton-Raphson fails: f′(xₙ) ≈ 0 ⇒ the tangent is nearly horizontal.