impera Open Impera

A levels Mathematics · Pure: calculus and numerical methods

Areas and the trapezium rule

1Definite integrals and area

A definite integral has limits:

$$\int_a^b f(x)\,dx = \Big[F(x)\Big]_a^b = F(b) - F(a)$$

No constant is needed, because it cancels.

If $f(x) \geq 0$ between $a$ and $b$, the definite integral is the area between the curve and the $x$-axis.

Worked example

Area under a parabola

  1. Find the area under $y = x^2 + 1$ from $x = 0$ to $x = 3$.
  2. $\displaystyle\int_0^3 (x^2 + 1)\,dx = \left[\frac{x^3}{3} + x\right]_0^3 = 9 + 3 = 12$.

The Fundamental Theorem of Calculus links the two halves of calculus: integration (area) is the reverse of differentiation (gradient).

Check yourself

What is ∫₁² 3x² dx?

  • 12

  • 7

  • 8

  • 3

Show the answer

7

[x³] from 1 to 2 = 8 − 1.

2Areas below the axis

If the curve is below the $x$-axis, the integral is negative. The area is the positive value.

When a curve crosses the axis, split the integral at the roots and add the sizes of the parts.

Worked example

A curve crossing the axis

  1. Find the total area between $y = x(x - 2)$ and the $x$-axis from $x = 0$ to $x = 3$.
  2. Roots at 0 and 2. $\displaystyle\int_0^2 (x^2 - 2x)\,dx = \left[\frac{x^3}{3} - x^2\right]_0^2 = \frac{8}{3} - 4 = -\frac{4}{3}$.
  3. $\displaystyle\int_2^3 (x^2 - 2x)\,dx = (9 - 9) - \left(\frac{8}{3} - 4\right) = \frac{4}{3}$.
  4. Total area $= \frac{4}{3} + \frac{4}{3} = \frac{8}{3}$. (The single integral from 0 to 3 would wrongly give 0.)
Check yourself

A curve is below the x-axis between a and b. What sign does its integral have?

  • Zero

  • Positive

  • Negative

  • It depends on a

Show the answer

Negative

Area is the size, ignoring the sign.

3Area between two curves

The area between an upper curve $y = f(x)$ and a lower curve $y = g(x)$ from $a$ to $b$ is

$$\int_a^b [f(x) - g(x)]\,dx$$

Usually the limits are the $x$-coordinates where the curves intersect.

Worked example

A line and a parabola

  1. Find the area between $y = 4x - x^2$ and $y = x$.
  2. Intersections: $4x - x^2 = x$, so $x(3 - x) = 0$: $x = 0, 3$.
  3. Area $= \displaystyle\int_0^3 (3x - x^2)\,dx = \left[\frac{3x^2}{2} - \frac{x^3}{3}\right]_0^3 = \frac{27}{2} - 9 = \frac{9}{2}$.

This formula works even if part of the region is below the $x$-axis, as long as $f$ stays above $g$.

Check yourself

What do you integrate to find the area between two curves?

  • The product of the curves

  • Lower curve minus upper curve

  • Each curve separately, then multiply

  • Upper curve minus lower curve

Show the answer

Upper curve minus lower curve

Between the intersection points.

4Areas with parametric curves

For a curve given parametrically, change the variable to $t$:

$$\int y\,dx = \int y\frac{dx}{dt}\,dt$$

with limits in terms of $t$.

Worked example

A parametric area

  1. $x = t^2$, $y = 2t$, for $0 \leq t \leq 2$. Find the area under the curve.
  2. $\dfrac{dx}{dt} = 2t$, so area $= \displaystyle\int_0^2 2t \cdot 2t\,dt = \int_0^2 4t^2\,dt$.
  3. $= \left[\frac{4t^3}{3}\right]_0^2 = \frac{32}{3}$.
  4. Check: this curve is $y = 2\sqrt{x}$ for $0 \leq x \leq 4$, and $\int_0^4 2x^{1/2}\,dx = \frac{4}{3}(8) = \frac{32}{3}$. ✓
Check yourself

What replaces dx in a parametric area integral?

  • dx/dy

  • (dx/dt) dt

  • (dy/dt) dt

  • dt

Show the answer

(dx/dt) dt

Then use t-limits.

5The trapezium rule

When an integral cannot be found exactly, the trapezium rule estimates it by splitting the area into $n$ strips of width $h = \dfrac{b - a}{n}$:

$$\int_a^b y\,dx \approx \frac{h}{2}\left[y_0 + 2(y_1 + y_2 + \cdots + y_{n-1}) + y_n\right]$$

Four strips of width h = 0.5. Each strip is a trapezium; their straight tops sit just above this convex curve.

Worked example

Estimating an integral

  1. Estimate $\displaystyle\int_0^2 \sqrt{1 + x^3}\,dx$ with 4 strips. $h = 0.5$.
  2. $y$-values at $x = 0, 0.5, 1, 1.5, 2$: $1, 1.0607, 1.4142, 2.0917, 3$.
  3. $\approx 0.25[1 + 2(1.0607 + 1.4142 + 2.0917) + 3] = 0.25 \times 13.1332 = 3.28$.
Check yourself

What is h in the trapezium rule?

  • The strip width, (b − a)/n

  • The height of the curve

  • The number of strips

  • b − a

Show the answer

The strip width, (b − a)/n

n strips need n + 1 y-values.

6Over and under estimates

For a curve that is convex (bending upwards), each trapezium's top lies above the curve, so the rule gives an overestimate.

For a concave curve, the trapezium rule gives an underestimate.

Using more strips (smaller $h$) improves the accuracy.

Worked example

Judging the error

  1. $y = \sqrt{1 + x^3}$ is convex on $0 \leq x \leq 2$, so 3.28 is an overestimate.
  2. With 8 strips the estimate falls to about 3.25, closer to the true value of about 3.24.

You can also bound an integral between two estimates, for example using rectangles below and above the curve.

Check yourself

A curve is concave. Does the trapezium rule over- or underestimate the area?

  • Underestimate

  • It depends on h only

  • Overestimate

  • It is exact

Show the answer

Underestimate

The chords lie below a concave curve.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera