Skip to main content
NSWMaths AdvancedSyllabus dot point

How can we estimate the area under a curve, or a definite integral, when we only have a table of values or an integral we cannot evaluate exactly?

Use the trapezoidal rule to estimate areas and definite integrals, and determine whether the estimate is an over- or under-estimate

A focused answer to the HSC Maths Advanced dot point on the trapezoidal rule. The single-application and multi-strip formulas, reading values from a table or a function, estimating a definite integral, and using concavity to decide over- or under-estimate.

Generated by Claude Opus 4.816 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to estimate the area under a curve, or equivalently the value of a definite integral, by slicing the region into vertical strips and treating the top of each strip as a straight line rather than a curve. Each strip becomes a trapezium, you add the trapezium areas, and that total approximates ∫abf(x) dx\int_a^b f(x)\,dx. You also need to say whether the estimate is too big or too small by looking at the concavity of the curve.

This is the tool for the situation where exact integration is unavailable: either you are only given a table of measured values (a surveyor's offsets, a car's speed at fixed times) and have no formula at all, or you have a formula whose integral is beyond the course. The trapezoidal rule turns either case into a few multiplications and additions.

The answer

The idea is to replace the curved top of each strip with the straight chord joining its two end points. A strip with vertical sides of height f(a)f(a) and f(b)f(b) and width bβˆ’ab - a is then a trapezium, and the area of a trapezium is the average of the two parallel sides times the distance between them.

A single trapezium approximating the area under a curve A smooth curve y equals f of x above the x axis. Between x equals a and x equals b a single trapezium is drawn, with vertical sides of heights f of a and f of b and a straight top that is the chord joining the two end points. The trapezium approximates the shaded area under the curve. x y a b f(a) f(b) y = f(x) one trapezium, width b - a

Why the interior ordinates are doubled

The multi-strip formula is not a new rule, just the single rule applied to each strip and the results added. Take three strips with ordinates y0,y1,y2,y3y_0, y_1, y_2, y_3 and common width hh. The three trapezia have areas

h2(y0+y1),h2(y1+y2),h2(y2+y3).\frac{h}{2}(y_0 + y_1), \qquad \frac{h}{2}(y_1 + y_2), \qquad \frac{h}{2}(y_2 + y_3).

Add them and factor out h2\frac{h}{2}:

h2[(y0+y1)+(y1+y2)+(y2+y3)]=h2[y0+2y1+2y2+y3].\frac{h}{2}\big[(y_0 + y_1) + (y_1 + y_2) + (y_2 + y_3)\big] = \frac{h}{2}\big[y_0 + 2y_1 + 2y_2 + y_3\big].

Every interior ordinate is shared by two adjacent trapezia, so it appears twice; the two outermost ordinates belong to only one trapezium each, so they appear once. That is the whole reason for the "ends once, middles twice" pattern, and seeing it this way means you never have to memorise which values get doubled. The single-application rule is just the n=1n = 1 case, where there are no interior ordinates at all.

The multi-strip rule, strip by strip

The multi strip trapezoidal rule with four strips of equal width A smooth concave down curve above the x axis is divided into four vertical strips of equal width h between x equals a and x equals b. Each strip is a trapezium with a straight top joining adjacent points on the curve. The ordinate heights y zero to y four are marked, and the width of one strip is labelled h. x y y0 y1 y2 y3 y4 h a b y = f(x)

The figure shows four strips (n=4n = 4). The five vertical lines are the ordinates y0y_0 through y4y_4, equally spaced hh apart along the xx-axis. Each shaded trapezium has a flat top (the chord), and stacking the four areas with the "ends once, middles twice" weighting gives the estimate. The more strips you use, the more closely the chords hug the curve, so a larger nn gives a more accurate estimate. In the exam you use exactly the number of strips the question (or its table) dictates: "two applications of the trapezoidal rule" means n=2n = 2, and a table with five columns of values means n=4n = 4.

Reading the ordinates: from a table or from a formula

There are two ways the ordinates y0,…,yny_0, \dots, y_n reach you.

From a table. The question hands you a table of xx-values and matching f(x)f(x)-values. Read the heights straight off it; you do not need (and may not have) a formula. This is the common case when the data comes from measurement, and it is exactly how the 2024 exam supplied ln⁑(1+x2)\ln(1 + x^2) to 4 decimal places. Check first that the xx-values are equally spaced, because the rule in this form requires a constant strip width hh.

From a formula. The question gives y=f(x)y = f(x), and you choose (or are told) how many strips to use, work out h=bβˆ’anh = \frac{b - a}{n}, list the xx-values a,a+h,a+2h,…,ba, a + h, a + 2h, \dots, b, and substitute each into ff to get its ordinate. Set the working out as a small table of xx against yy so you do not mismatch a height with the wrong strip.

Either way, the arithmetic of the rule is identical once you have the ordinates.

Estimating a definite integral

Because the area under y=f(x)y = f(x) from aa to bb is the definite integral ∫abf(x) dx\int_a^b f(x)\,dx (for f(x)β‰₯0f(x) \ge 0), the trapezoidal rule is also a way to estimate an integral you cannot evaluate exactly. The phrasing "use the trapezoidal rule to estimate ∫abf(x) dx\int_a^b f(x)\,dx" is asking for precisely the same calculation as "estimate the area under the curve": list the ordinates, weight the ends once and the middles twice, multiply by h2\frac{h}{2}.

Over-estimate or under-estimate: read the concavity

The trapezoidal rule replaces the curve with straight chords, so the only question is whether each chord sits above or below the curve it is cutting across, and that is decided by concavity.

When the trapezoidal rule over estimates and under estimates Two panels. On the left a concave up curve lies below its chord, so the trapezium overestimates the area. On the right a concave down curve lies above its chord, so the trapezium underestimates the area. a b overestimate concave up a b underestimate concave down

If the curve is concave up (fβ€²β€²(x)>0f''(x) > 0, the curve bends upward like a valley) on the interval, every chord lies above the curve, so each trapezium has a little extra area between the chord and the curve. The rule overestimates.

If the curve is concave down (fβ€²β€²(x)<0f''(x) < 0, the curve bends like a hill) on the interval, every chord lies below the curve, so each trapezium misses a sliver of area under the curve. The rule underestimates.

A clean way to remember which is which: a chord always joins two points on the curve, so it is a straight shortcut between them. On a valley (concave up) the shortcut runs over the dip, so it is too high and the area comes out too big. On a hill (concave down) the shortcut cuts under the bulge, so it is too low and the area comes out too small.

How exam questions ask about the trapezoidal rule

The wording is fairly fixed, and it tells you exactly which form of the rule to use:

  • "Use the trapezoidal rule to estimate the area / the shaded region / ∫abf(x) dx\int_a^b f(x)\,dx." The default request. Read or compute the ordinates and apply h2[ ends+2(middles) ]\frac{h}{2}[\,\text{ends} + 2(\text{middles})\,].
  • "Using the function values provided ..." or a table is given. Read y0,…,yny_0, \dots, y_n straight off the table; the number of columns fixes nn (five columns means four strips). Check the xx-values are evenly spaced before using hh.
  • "Use two applications of the trapezoidal rule" (or one, or nn applications). "Applications" counts the strips: two applications means n=2n = 2, so h=bβˆ’a2h = \frac{b - a}{2} and three ordinates. One application is the single-trapezium rule.
  • "Use the trapezoidal rule with n=4n = 4 strips" or "... with sub-intervals of width 0.50.5." Either form pins down hh; if width is given, n=bβˆ’ahn = \frac{b - a}{h}.
  • "Is your answer an over-estimate or an under-estimate? Give a reason." Decide from concavity: concave up over, concave down under. If a graph is shown or fβ€²β€²f'' was found earlier in the question, quote that as your reason.
  • "Hence" after estimating an area exactly and approximately. The two values are sometimes combined to bound a constant (the 2025 paper used the area to deduce an inequality for ee), so keep both your exact and estimated answers.

The trap to watch is the meaning of "applications" or "strips" versus "ordinates": nn strips always need n+1n + 1 ordinates, and the strip width is h=bβˆ’anh = \frac{b - a}{n}, not bβˆ’an+1\frac{b - a}{n+1}.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2024 HSC Q223 marksFor f(x)=ln⁑(1+x2)f(x) = \ln(1 + x^2), a table of values at x=0,0.25,0.5,0.75,1x = 0, 0.25, 0.5, 0.75, 1 is given (to 4 decimal places). Using the trapezoidal rule, estimate the shaded area under the curve from x=0x = 0 to x=1x = 1, then state whether the estimate is an over- or under-estimate, with a reason.
Show worked answer β†’

The table gives y0=0y_0 = 0, y1=0.0606y_1 = 0.0606, y2=0.2231y_2 = 0.2231, y3=0.4463y_3 = 0.4463, y4=0.6931y_4 = 0.6931, with strip width h=1βˆ’04=0.25h = \frac{1 - 0}{4} = 0.25.

Apply the multi-strip rule, adding the two end values once and the three interior values twice:

Aβ‰ˆh2[y0+2(y1+y2+y3)+y4]=0.252[0+2(0.0606+0.2231+0.4463)+0.6931]A \approx \frac{h}{2}\left[ y_0 + 2(y_1 + y_2 + y_3) + y_4 \right] = \frac{0.25}{2}\left[ 0 + 2(0.0606 + 0.2231 + 0.4463) + 0.6931 \right].

The interior sum is 0.0606+0.2231+0.4463=0.730.0606 + 0.2231 + 0.4463 = 0.73, so Aβ‰ˆ0.125[0.6931+1.46]=0.125Γ—2.1531=0.2691A \approx 0.125 \left[ 0.6931 + 1.46 \right] = 0.125 \times 2.1531 = 0.2691 square units.

It is an overestimate. On 0<x<10 < x < 1 the curve is concave up (it was proved in part (a) that fβ€²β€²(x)>0f''(x) > 0 there), so each straight chord lies above the curve and every trapezium captures slightly more than the true area. Markers reward the correct hh, the rule with the interior values doubled, the value 0.26910.2691, and the concave-up reason for the overestimate.

2025 HSC Q272 marksThe region is bounded by y=(12)xy = \left(\tfrac{1}{2}\right)^x, the coordinate axes and x=2x = 2. Use two applications of the trapezoidal rule to estimate the area of the shaded region.
Show worked answer β†’

Two applications means two strips, so n=2n = 2 and h=2βˆ’02=1h = \frac{2 - 0}{2} = 1, with ordinates at x=0,1,2x = 0, 1, 2.

The function values are y0=(12)0=1y_0 = \left(\tfrac{1}{2}\right)^0 = 1, y1=(12)1=0.5y_1 = \left(\tfrac{1}{2}\right)^1 = 0.5 and y2=(12)2=0.25y_2 = \left(\tfrac{1}{2}\right)^2 = 0.25.

Aβ‰ˆh2[y0+2y1+y2]=12[1+2(0.5)+0.25]=12(2.25)=1.125A \approx \frac{h}{2}\left[ y_0 + 2 y_1 + y_2 \right] = \frac{1}{2}\left[ 1 + 2(0.5) + 0.25 \right] = \frac{1}{2}(2.25) = 1.125 square units.

Equivalently, this is the two trapezia 12(1+0.5)=0.75\frac{1}{2}(1 + 0.5) = 0.75 and 12(0.5+0.25)=0.375\frac{1}{2}(0.5 + 0.25) = 0.375, which sum to 1.1251.125. The exact area is 34ln⁑2β‰ˆ1.0820\frac{3}{4\ln 2} \approx 1.0820, so the trapezoidal value is an overestimate, as expected for a concave-up curve. Markers reward h=1h = 1, the three correct ordinates, and the value 1.1251.125.

Related dot points