5 · IB Maths
Area under a curve
The definite integral is the exact area between a curve and the x-axis. Rectangles or trapezia estimate it. Add more strips, change the method and the limits, and watch the estimate close in on the exact value.
Predict first
Start from the defaults (f(x) = 0.3x² + 0.5, a = 1, b = 4, n = 8, midpoint rectangles). If you switch the method to Left rectangles, how does the estimate compare with the exact integral?
f is increasing on [1, 4], so each left rectangle has the height of the smallest value in its strip and misses some area. The estimate is about 6.98 against an exact 7.80.
Check it in the model: Change the Method selector from Midpoint rectangles to Left rectangles and compare the Estimate and Exact integral readouts.
curve and strips estimate (this method) exact value
width h = (b − a) ÷ n
left: h × Σ f(xᵢ), right: h × Σ f(xᵢ₊₁)
midpoint: h × Σ f(xᵢ + h/2)
trapezium: (h ÷ 2) × [f(x₀) + 2f(x₁) + … + f(xₙ)]
Exact integral:
Error (estimate − exact):
Relative error:
Strip width h:
Try this
- Use f(x) = 0.3x² + 0.5 from a = 1 to b = 4 with the left and then the right rectangle method at n = 8. Which one under-estimates and which over-estimates, and why?
- Keep the trapezium rule and double n from 5 to 10. Roughly how does the error change? Compare with the midpoint method.
- Choose f(x) = sin(x) + 1.2 and the limits a = 0, b = 5. The curve is concave on part of the interval, so look at where the trapezium rule over-estimates and where it under-estimates.
Exam tip: for an increasing function the left rectangles give an under-estimate and the right rectangles an over-estimate, so the exact area lies between them; for a concave-up curve the trapezium rule over-estimates, for concave-down it under-estimates.
More on 5: Chain and product rules · Second derivative and points of inflexion · Trapezoidal rule and Riemann sums · Displacement and distance travelled · Euler's method and differential equations · Implicit differentiation · Related rates of change · Calculus of motion · Limits · Maclaurin series · Newton–Raphson method (enrichment) · Optimisation · Slope fields · Tangents and the derivative · Volume of revolution