01 · Exponential curvature
Does the trapezium rule overestimate ∫₀² eˣ dx?
Hint
Compute the second derivative.
Worked solution
Yes. f″ = eˣ > 0, so chords lie above the curve.
Understand · explore · practise
Decide whether the trapezium rule overestimates or underestimates using curvature. Compare strip counts, signed and percentage error, mixed curvature and rounded ordinates.
Before you startTrapezium rule, definite integrals and second derivatives.
01 / Compare each chord with the true curve
Convex curve: T ≥ I. Concave curve: T ≤ I.
For a function with that curvature throughout the interval; I is the signed integral.
A trapezium integrates the straight chord joining two neighbouring ordinates. Compare the chord with the curve over the entire strip. Being increasing or decreasing alone does not tell you which is above.
T = 2.75; exact integral I = 2.666667.
Signed error T − I = 0.083333; absolute error = 0.083333.
Percentage error relative to |I| = 3.125%.
The function is convex: each chord lies on or above the curve, so T ≥ I.
These are signed integrals. Overestimate means a larger numerical value, including when the true integral is negative. The exact values here are available so you can check the approximations.
02 / A convex graph lies below its chords
f″(x) = 2 > 0
The curve is convex throughout.
T = (1/4)[0 + 4 + 2(1/4 + 1 + 9/4)] = 11/4
The chord approximation lies above the curve.
I = [x³/3]₀² = 8/3
Evaluate the exact integral for comparison.
T − I = 1/12 > 0
This is an overestimate.
The animation uses two strips to make the chord gaps easier to see.
Pause, replay or seek freely. The notes explain the same idea and stay in view.
Does the trapezium rule overestimate ∫₀² eˣ dx?
Compute the second derivative.
Yes. f″ = eˣ > 0, so chords lie above the curve.
03 / A concave graph lies above its chords
f″(x) = −2 < 0
The curve is concave throughout.
T = 8 − 11/4 = 21/4
The constant part integrates exactly; subtract the x² estimate.
I = 8 − 8/3 = 16/3
Use the exact integral.
T − I = −1/12
This is an underestimate.
For x > 0, does the trapezium rule overestimate or underestimate ∫₁² ln x dx?
f″ = −1/x².
Underestimate: ln x is concave on [1,2].
What happens when f″ = 0 throughout an interval?
The graph is a straight line there.
The trapezium rule is exact, apart from numerical rounding.
04 / Increasing does not mean overestimated
Both functions are increasing
Their first derivatives are positive.
eˣ is convex, so its trapezium estimate is above
Its second derivative is positive.
ln x is concave, so its estimate is below
Its second derivative is negative.
Classify the trapezium estimate for ∫₁² 1/x dx.
f′ = −1/x² but f″ = 2/x³.
Overestimate. The function decreases, but it is convex.
Classify the trapezium estimate for ∫₀¹ −x² dx.
f″ = −2.
Underestimate of the signed integral: T is more negative than I.
05 / Compare numerical values for signed integrals
T = (1/2)(0 − 1) = −1/2
Apply the signed rule.
I = −1/3
This is the true signed integral.
−1/2 < −1/3, so T is an underestimate
The geometric area magnitude 1/2 instead overestimates 1/3.
If T = −2 and I = −3, is T an overestimate of I?
Compare them on a number line.
Yes: −2 > −3. But |T| underestimates |I|.
If T − I = −0.04, what does that say?
The approximation is below the exact signed integral.
It is an underestimate by 0.04 in absolute value.
06 / Do not make a global claim from mixed curvature
f″(x) = 6x changes sign at zero
There is no single curvature sign over the full interval.
The function is odd and the nodes are symmetric
Paired weighted ordinates cancel.
Both the trapezium estimate and the exact signed integral are zero
The cancellation makes the signed result exact here.
The chords still differ from the curve on individual strips
Exact total does not mean exact geometry or zero geometric area.
Can f″ changing sign tell you by itself whether the total trapezium estimate is above or below?
Different strips can contribute opposite errors.
No. Analyse the pieces or calculate a comparison.
Can you quote percentage error relative to an exact integral of zero?
The usual formula divides by |I|.
No. Report absolute error; relative percentage error is undefined.
07 / More strips usually improve a smooth approximation
Exact I = 8/3
Use this to measure actual error.
T₂ = 3; T₄ = 11/4; T₈ = 43/16
Halve the strip width each time.
Errors: 1/3, 1/12, 1/48
Here each doubling divides the error by four.
The estimates approach I from above
This agrees with convexity.
For sufficiently smooth functions, trapezium error commonly scales like h² as the mesh becomes fine. Mixed-curvature cancellation and rounded data can spoil simple monotonic improvement. Do not promise that every larger strip count always gives a closer result.
For the same quadratic, predict the error with 16 strips.
The exact error pattern here divides by four.
1/192.
08 / State what your error is relative to
Absolute error = |11/4 − 8/3| = 1/12
Discard the sign only for the absolute error.
Percentage error = [(1/12)/(8/3)] × 100
Use |I|, not the approximation, in this convention.
3.125%
The signed error is positive, so this is an overestimate.
If I = 5 and T = 5.1, find the percentage error relative to |I|.
Use 0.1/5 × 100.
2%.
If I = −4 and T = −4.2, find absolute and percentage errors.
Use |T − I| and |I|.
Absolute error 0.2; percentage error 5%. T underestimates the signed integral.
09 / Separate curve approximation from rounded data
The weights sum to 2n
Endpoints contribute 2; interiors contribute 2(n − 1).
The maximum propagated change is (h/2)(2n)ε
Use absolute values for a worst-case bound.
Since nh = b − a, the bound is (b − a)ε
This bounds ordinate-rounding error only, not the trapezium approximation error.
On an interval of width 3, each ordinate is rounded to the nearest 0.001. Bound the change in T caused by rounding.
Each ordinate error is at most 0.0005.
At most 3 × 0.0005 = 0.0015, ignoring additional calculator arithmetic rounding.
10 / Give a reason, not just a numerical guess
A useful answer names the chord position and connects it to the integral. For example: “f″ is positive on the interval, so the curve is convex and each chord lies above it; therefore the trapezium rule overestimates the signed integral.” If curvature changes, explain why a single global conclusion does not follow.
“The curve rises, so the estimate is too high.” What is missing?
A rising graph may be concave or convex.
You need the curvature or a direct chord comparison over the interval.
Does a zero total error prove every strip is exact?
Opposite errors can cancel.
No. The odd cubic example has exact total signed integral despite curved gaps on individual strips.
11 / Check curvature, quantity and precision
For f(x) = e⁻ˣ on [0,2], classify the trapezium estimate.
Differentiate twice.
f″ = e⁻ˣ > 0. The function is convex, so the trapezium estimate is an overestimate.
Section 1 of 11 · Compare each chord with the true curve