Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 5.11 · SL and HL

Definite integrals and areas

How do you work out a definite integral exactly, why does it sometimes give a negative or zero answer when the region plainly has an area, and how do you find the area enclosed by a curve and the xx-axis or between two curves?

What you will learn

  • Understand a definite integral as a number found from any antiderivative at the two limits
  • Understand why a region below the x-axis gives a negative integral, so areas must be split at the roots
  • Know that the area between two curves is the integral of top minus bottom between their meeting points
  • Know when a definite integral has to be found with the GDC

You must be able to

  1. Find the area enclosed by a curve and the x-axis, splitting where the curve crosses it, without a calculator
  2. Write down an integral for the area between two curves, then find its value
  3. Calculate the exact value of a definite integral, including by substitution with changed limits
  4. Find an integral from given values or a graph using the rules for limits and signed areas
  5. Solve for an unknown limit when the value of an integral or an area is given
  6. Calculate a definite integral or an area with the GDC, using stored intersection points

In the exam. Paper 1: evaluate a definite integral exactly (3 to 5 marks), and find an area without technology, including one that dips below the xx-axis (5 to 7 marks). Paper 2: areas between curves whose intersections only the GDC can find (5 to 7 marks), and integrals with no elementary antiderivative. On both papers the guide expects a correct integral expression, with limits, before any calculation.

1Evaluating a definite integral

The guide's form:

∫abg′(x) dx=g(b)−g(a)\int_{a}^{b} g'(x)\,dx = g(b) - g(a). Integrate, then subtract the value at the lower limit from the value at the upper limit.

  • The antiderivative goes in square brackets, with the limits on the closing bracket.
    • Write that line every time to show the method.
∫02(3x2−4x+5)dx=[x3−2x2+5x]02=(8−8+10)−(0)upper limit first, then subtract the lower=10\begin{aligned}\int_{0}^{2} \left(3x^{2} - 4x + 5\right)dx &= \Bigl[x^{3} - 2x^{2} + 5x\Bigr]_{0}^{2} \\[6pt] &= (8 - 8 + 10) - (0) && \textcolor{#838c91}{\text{upper limit first, then subtract the lower}} \\[6pt] &= 10\end{aligned}
  • Write a root as a power of xx before integrating.
    • In Figure 1 the curve is above the xx-axis from x=1x = 1 to x=4x = 4, so the answer is the shaded area.
∫14(3x−1) dx=[2x3/2−x]14=(2×8−4)−(2×1−1)=12−1=11\begin{aligned}\int_{1}^{4} \left(3\sqrt{x} - 1\right)\,dx &= \Bigl[2x^{3/2} - x\Bigr]_{1}^{4} \\[6pt] &= (2 \times 8 - 4) - (2 \times 1 - 1) \\[6pt] &= 12 - 1 \\[6pt] &= 11\end{aligned}
Figure 1 · ∫ from 1 to 4 of (3√x − 1) dx = 11 x y x y 1 2 3 4 1 2 3 4 5 6 area = 11 y = 3√x − 1 The curve is above the axis on 1 ≤ x ≤ 4, so the integral is the shaded area: F(4) − F(1) = 12 − 1 = 11, with F(x) = 2x^(3/2) − x.
Figure 1 · ∫ from 1 to 4 of (3√x − 1) dx = 11
  • There is no + C+\,C because it cancels: (F(b)+C)−(F(a)+C)=F(b)−F(a)(F(b) + C) - (F(a) + C) = F(b) - F(a).
    • Any antiderivative gives the same answer.

The same pattern works for every integral from 5.10. Paper 1 chooses limits that give exact values.

∫0π/46cos⁡2x dx=[3sin⁡2x]0π/4=3sin⁡π2−3sin⁡0=3\int_{0}^{\pi/4} 6\cos 2x\,dx = \Bigl[3\sin 2x\Bigr]_{0}^{\pi/4} = 3\sin\tfrac{\pi}{2} - 3\sin 0 = 3∫0π/2(1+sin⁡x) dx=[x−cos⁡x]0π/2=(π2−0)−(0−1)=π2+1the lower limit gives −1, not 0\int_{0}^{\pi/2} (1 + \sin x)\,dx = \Bigl[x - \cos x\Bigr]_{0}^{\pi/2} = \left(\tfrac{\pi}{2} - 0\right) - (0 - 1) = \tfrac{\pi}{2} + 1 \qquad \textcolor{#838c91}{\text{the lower limit gives }-1\text{, not 0}}∫0ln⁡5e−x dx=[−e−x]0ln⁡5=−15+1=45e−ln⁡5=15\int_{0}^{\ln 5} e^{-x}\,dx = \Bigl[-e^{-x}\Bigr]_{0}^{\ln 5} = -\tfrac{1}{5} + 1 = \tfrac{4}{5} \qquad \textcolor{#838c91}{e^{-\ln 5} = \tfrac{1}{5}}∫1e23x dx=[3ln⁡x]1e2=3(2)−3(0)=6\int_{1}^{e^{2}} \frac{3}{x}\,dx = \Bigl[3\ln x\Bigr]_{1}^{e^{2}} = 3(2) - 3(0) = 6∫0212x+1 dx=[12ln⁡(2x+1)]02=12ln⁡5\int_{0}^{2} \frac{1}{2x + 1}\,dx = \Bigl[\tfrac{1}{2}\ln(2x + 1)\Bigr]_{0}^{2} = \tfrac{1}{2}\ln 5

The usual errors are:

  • subtracting in the wrong order
  • losing the minus sign in front of cos⁡\cos or e−xe^{-x}
  • assuming the lower limit gives zero (cos⁡0=1\cos 0 = 1, e0=1e^{0} = 1)

Brackets round each evaluation keep signs right.

2Rules, given values and graphs

Rules you can use. These follow from F(b)−F(a)F(b) - F(a).

  • ∫aaf(x) dx=0\int_{a}^{a} f(x)\,dx = 0.
  • Swapping the limits changes the sign: ∫baf(x) dx=−∫abf(x) dx\int_{b}^{a} f(x)\,dx = -\int_{a}^{b} f(x)\,dx.
  • Adjacent intervals add: ∫abf(x) dx+∫bcf(x) dx=∫acf(x) dx\int_{a}^{b} f(x)\,dx + \int_{b}^{c} f(x)\,dx = \int_{a}^{c} f(x)\,dx.
  • A constant integrates to the constant times the length of the interval: ∫abk dx=k(b−a)\int_{a}^{b} k\,dx = k(b - a).
  • Constants and sums behave: ∫ab(kf(x)+g(x)) dx=k∫abf(x) dx+∫abg(x) dx\int_{a}^{b} \bigl(k f(x) + g(x)\bigr)\,dx = k\int_{a}^{b} f(x)\,dx + \int_{a}^{b} g(x)\,dx, over the same limits.

Integrals from given values. Suppose ∫06f(x) dx=12\int_{0}^{6} f(x)\,dx = 12 and ∫02f(x) dx=5\int_{0}^{2} f(x)\,dx = 5.

∫26f(x) dx=∫06f(x) dx−∫02f(x) dx=12−5=7adjacent intervals, rearranged\int_{2}^{6} f(x)\,dx = \int_{0}^{6} f(x)\,dx - \int_{0}^{2} f(x)\,dx = 12 - 5 = 7 \qquad \textcolor{#838c91}{\text{adjacent intervals, rearranged}}∫62f(x) dx=−7limits swapped\int_{6}^{2} f(x)\,dx = -7 \qquad \textcolor{#838c91}{\text{limits swapped}}∫06(2f(x)+1) dx=2×12+1×6=30the 1 is integrated over a length of 6\int_{0}^{6} \bigl(2f(x) + 1\bigr)\,dx = 2 \times 12 + 1 \times 6 = 30 \qquad \textcolor{#838c91}{\text{the 1 is integrated over a length of 6}}
  • The usual slip is 24+124 + 1.
    • A constant inside the integral contributes the constant times the length of the interval.

Integrals from a graph

  • With a graph and no formula, an integral is a signed area.
    • A region above the axis counts as plus its area, and a region below as minus its area.
  • Use triangles, rectangles or trapezia.
  • Example: the line y=2x−4y = 2x - 4 on 0≤x≤50 \le x \le 5, drawn in Figure 2.
    • Below the axis, from x=0x = 0 to 22, is a triangle of base 2 and height 4. Area 4.
    • Above it, from x=2x = 2 to 55, is a triangle of base 3 and height 6. Area 9.
    • So ∫05(2x−4) dx=−4+9=5\int_{0}^{5} (2x - 4)\,dx = -4 + 9 = 5, while the total area is 4+9=134 + 9 = 13. The antiderivative agrees: [x2−4x]05=25−20=5\bigl[x^{2} - 4x\bigr]_{0}^{5} = 25 - 20 = 5.
Figure 2 · ∫ from 0 to 5 of (2x − 4) dx from the graph x y x y 1 2 3 4 5 −4 −2 2 4 6 −4 +9 y = 2x − 4 Below the axis: a triangle of area ½ × 2 × 4 = 4, counted as −4. Above: ½ × 3 × 6 = 9. The integral is −4 + 9 = 5; the total area is 4 + 9 = 13.
Figure 2 · ∫ from 0 to 5 of (2x − 4) dx from the graph

The graph of a derivative

  • The guide's rule ∫abg′(x) dx=g(b)−g(a)\int_{a}^{b} g'(x)\,dx = g(b) - g(a) turns a signed area on the graph of f′f' into a change in ff.
  • Example: the line in Figure 2 is the graph of f′f', and f(0)=3f(0) = 3.
    • The triangle below the axis gives f(2)−f(0)=−4f(2) - f(0) = -4, so f(2)=−1f(2) = -1.
    • The triangle above it gives f(5)−f(2)=9f(5) - f(2) = 9, so f(5)=8f(5) = 8.
  • A region below the axis takes away from ff. A region above adds to it.
    • ff is least at x=2x = 2, where f′f' changes sign from negative to positive.

Finding an unknown limit

  • When the integral or area is given and a limit is unknown, integrate with the limit left as a letter.
  • Set the result equal to the given value and solve. Reject any root outside the range.
  • Example: the region bounded by y=6x3x2+1y = \dfrac{6x}{3x^{2} + 1}, the xx-axis, x=0x = 0 and x=cx = c, where c>0c > 0, has area ln⁡13\ln 13. Find cc.
∫0c6x3x2+1 dx=[ln⁡(3x2+1)]0c=ln⁡(3c2+1)−ln⁡1=ln⁡(3c2+1)the top is the derivative of the bottom\int_{0}^{c} \frac{6x}{3x^{2} + 1}\,dx = \Bigl[\ln(3x^{2} + 1)\Bigr]_{0}^{c} = \ln(3c^{2} + 1) - \ln 1 = \ln(3c^{2} + 1) \qquad \textcolor{#838c91}{\text{the top is the derivative of the bottom}}ln⁡(3c2+1)=ln⁡13  ⇒  3c2+1=13  ⇒  c2=4  ⇒  c=2c > 0, so −2 is rejected\ln(3c^{2} + 1) = \ln 13 \;\Rightarrow\; 3c^{2} + 1 = 13 \;\Rightarrow\; c^{2} = 4 \;\Rightarrow\; c = 2 \qquad \textcolor{#838c91}{\text{c > 0, so }-2\text{ is rejected}}

The curve is above the axis for x>0x > 0, so the integral is the area.

  • A related question asks for the line that splits an area in half.
    • The region under y=3x2y = 3x^{2} from x=0x = 0 to x=3x = 3 has area 27. The line x=kx = k that halves it needs k3=272k^{3} = \tfrac{27}{2}, so k=3/23≈2.38k = 3/\sqrt[3]{2} \approx 2.38. It is not the midpoint 1.5.

3Substitution with limits

When the integral needs the reverse chain rule of 5.10, you have two safe routes.

Route 1: integrate by inspection, then use the xx-limits.

∫02xex2 dx=[12ex2]02=12e4−12=12(e4−1)\int_{0}^{2} x e^{x^{2}}\,dx = \left[\tfrac{1}{2}e^{x^{2}}\right]_{0}^{2} = \tfrac{1}{2}e^{4} - \tfrac{1}{2} = \tfrac{1}{2}\left(e^{4} - 1\right)

Route 2: substitute, and change the limits to uu-values. With u=x2u = x^{2}, du=2x dxdu = 2x\,dx, so x dx=12dux\,dx = \tfrac{1}{2}du. When x=0x = 0, u=0u = 0. When x=2x = 2, u=4u = 4.

∫02xex2 dx=12∫04eu du=12[eu]04=12(e4−1)\int_{0}^{2} x e^{x^{2}}\,dx = \tfrac{1}{2}\int_{0}^{4} e^{u}\,du = \tfrac{1}{2}\Bigl[e^{u}\Bigr]_{0}^{4} = \tfrac{1}{2}\left(e^{4} - 1\right)
  • Route 2 never needs you to substitute back, but you must change the limits.
    • Keeping x=0x = 0 and x=2x = 2 with uu in the integrand is the classic mistake.

Two more. The first uses u=cos⁡xu = \cos x, where the new upper limit is the smaller one. The second is the guide's sin⁡xcos⁡x\dfrac{\sin x}{\cos x} from 5.10:

∫0π/3sin⁡xcos⁡2x dx=−∫11/2u2 du=∫1/21u2 du=13(1−18)=724du=−sin⁡x dx; x=0→u=1, x=π3→u=12\int_{0}^{\pi/3} \sin x \cos^{2} x\,dx = -\int_{1}^{1/2} u^{2}\,du = \int_{1/2}^{1} u^{2}\,du = \tfrac{1}{3}\left(1 - \tfrac{1}{8}\right) = \tfrac{7}{24} \qquad \textcolor{#838c91}{du = -\sin x\,dx\text{; }x = 0 \to u = 1\text{, }x = \tfrac{\pi}{3} \to u = \tfrac{1}{2}}∫0π/3sin⁡xcos⁡x dx=[−ln⁡(cos⁡x)]0π/3cos⁡x>0 here, so no modulus is needed=−ln⁡12+ln⁡1=ln⁡2−ln⁡2−1=ln⁡2\begin{aligned}\int_{0}^{\pi/3} \frac{\sin x}{\cos x}\,dx &= \Bigl[-\ln(\cos x)\Bigr]_{0}^{\pi/3} && \textcolor{#838c91}{\cos x > 0\text{ here, so no modulus is needed}} \\[6pt] &= -\ln\tfrac{1}{2} + \ln 1 \\[6pt] &= \ln 2 && \textcolor{#838c91}{-\ln 2^{-1} = \ln 2}\end{aligned}
  • "Show that" questions often end in a logarithm like this.
    • Use the log laws of Topic 1 to reach the given form, and write the ln⁡1=0\ln 1 = 0 step.

4Integrals only technology can do

  • The guide says some definite integrals can only be found with technology. ∫e−x2 dx\int e^{-x^{2}}\,dx is the famous one.
    • e−x2e^{-x^{2}} has an antiderivative, but it cannot be written with the functions you know. No Paper 1 method will find it.
  • On Paper 2 you do not need one. The GDC integrates numerically from the function and the limits.
∫01ex2 dx=1.46GDC, 3 s.f.\int_{0}^{1} e^{x^{2}}\,dx = 1.46 \qquad \textcolor{#838c91}{\text{GDC, 3 s.f.}}∫131+x3 dx=6.23GDC, 3 s.f.\int_{1}^{3} \sqrt{1 + x^{3}}\,dx = 6.23 \qquad \textcolor{#838c91}{\text{GDC, 3 s.f.}}∫02sin⁡(x2)dx=0.805GDC in radian mode, 3 s.f.\int_{0}^{2} \sin\left(x^{2}\right)dx = 0.805 \qquad \textcolor{#838c91}{\text{GDC in radian mode, 3 s.f.}}
  • Check the angle mode before any trigonometric integral.
  • Write the integral, with limits and dxdx, before the number.

5Area between a curve and the xx-axis

  • Above the axis the integral is the area, as in Figure 1.
  • Where a curve is below the xx-axis, yy is negative. Each thin strip under it contributes a negative amount, so the integral is minus the area.
    • Figure 3 shows y=x2−2xy = x^{2} - 2x from x=0x = 0 to x=3x = 3.
∫02(x2−2x) dx=[x33−x2]02=83−4=−43below the axis\int_{0}^{2} (x^{2} - 2x)\,dx = \left[\frac{x^{3}}{3} - x^{2}\right]_{0}^{2} = \frac{8}{3} - 4 = -\frac{4}{3} \qquad \textcolor{#838c91}{\text{below the axis}}∫23(x2−2x) dx=[x33−x2]23=0−(−43)=43above the axis\int_{2}^{3} (x^{2} - 2x)\,dx = \left[\frac{x^{3}}{3} - x^{2}\right]_{2}^{3} = 0 - \left(-\frac{4}{3}\right) = \frac{4}{3} \qquad \textcolor{#838c91}{\text{above the axis}}∫03(x2−2x) dx=0\int_{0}^{3} (x^{2} - 2x)\,dx = 0

The integral from 0 to 3 is zero, but the region has an area: 43+43=\tfrac{4}{3} + \tfrac{4}{3} = 83\tfrac{8}{3}.

Figure 3 · The integral of x² − 2x from 0 to 3 is zero x y x y 1 2 3 −1 1 2 3 −4/3 +4/3 y = x² − 2x Below the axis the integral counts −4/3, above it +4/3, and they cancel. The area, which never cancels, is 4/3 + 4/3 = 8/3.
Figure 3 · The integral of x² − 2x from 0 to 3 is zero

Area=∫∣y∣ dx\text{Area} = \int \lvert y\rvert\,dx. Without technology: find where the curve crosses the xx-axis, integrate each piece separately, and add the sizes of the answers.

The method, every time:

  1. Factorise and find the xx-intercepts inside the interval.
  2. Sketch, so you know which pieces are above and which below.
  3. Integrate over each piece separately.
  4. Add the absolute values.

Bounded by vertical lines

  • Only the roots inside the stated interval split the region.
  • Example: find the total area between y=x2−6x+8y = x^{2} - 6x + 8, the xx-axis, x=0x = 0 and x=3x = 3. The roots are x=2x = 2 and x=4x = 4, from (x−2)(x−4)(x - 2)(x - 4). Only x=2x = 2 lies in [0,3][0, 3]. With F(x)=x33−3x2+8xF(x) = \tfrac{x^{3}}{3} - 3x^{2} + 8x:
∫02f(x) dx=F(2)−F(0)=83−12+16=203above the axis\int_{0}^{2} f(x)\,dx = F(2) - F(0) = \tfrac{8}{3} - 12 + 16 = \tfrac{20}{3} \qquad \textcolor{#838c91}{\text{above the axis}}∫23f(x) dx=F(3)−F(2)=6−203=−23below the axis\int_{2}^{3} f(x)\,dx = F(3) - F(2) = 6 - \tfrac{20}{3} = -\tfrac{2}{3} \qquad \textcolor{#838c91}{\text{below the axis}}area=203+23=223\text{area} = \tfrac{20}{3} + \tfrac{2}{3} = \tfrac{22}{3}

Enclosed by the curve and the axis

  • When the question says "enclosed" and gives no lines, the roots themselves are the limits.
  • Example: find the area of the region enclosed by y=x3−x2−6xy = x^{3} - x^{2} - 6x and the xx-axis.
x3−x2−6x=x(x−3)(x+2)meets the axis at x=−2,0,3x^{3} - x^{2} - 6x = x(x - 3)(x + 2) \qquad \textcolor{#838c91}{\text{meets the axis at }x = -2, 0, 3}F(x)=x44−x33−3x2F(x) = \frac{x^{4}}{4} - \frac{x^{3}}{3} - 3x^{2}∫−20f(x) dx=F(0)−F(−2)=0−(4+83−12)=163above the axis\int_{-2}^{0} f(x)\,dx = F(0) - F(-2) = 0 - \left(4 + \frac{8}{3} - 12\right) = \frac{16}{3} \qquad \textcolor{#838c91}{\text{above the axis}}∫03f(x) dx=F(3)−F(0)=814−9−27=−634below the axis\int_{0}^{3} f(x)\,dx = F(3) - F(0) = \frac{81}{4} - 9 - 27 = -\frac{63}{4} \qquad \textcolor{#838c91}{\text{below the axis}}area=163+634=6412+18912=25312\text{area} = \frac{16}{3} + \frac{63}{4} = \frac{64}{12} + \frac{189}{12} = \frac{253}{12}
  • Figure 4 shows the two pieces. The area is 25312≈21.1\tfrac{253}{12} \approx 21.1.
    • The single integral from −2-2 to 3 would have given 163−634=−12512\tfrac{16}{3} - \tfrac{63}{4} = -\tfrac{125}{12}, which is not an area at all.
Figure 4 · The region enclosed by y = x³ − x² − 6x and the x-axis x y x y −2 −1 1 2 3 −20 −16 −12 −8 −4 4 8 16/3 63/4 y = x(x − 3)(x + 2) Two pieces: 16/3 above the axis and 63/4 below. Total area 16/3 + 63/4 = 253/12 ≈ 21.1.
Figure 4 · The region enclosed by y = x³ − x² − 6x and the x-axis

Trigonometric curves do the same: ∫02πsin⁡x dx=0\int_{0}^{2\pi} \sin x\,dx = 0, because the arch below the axis cancels the arch above. The area is 2+2=42 + 2 = 4.

  • On Paper 2, the GDC can integrate ∣f(x)∣\lvert f(x)\rvert directly, so the splitting is automatic.
    • Still write the expression, for example "area=∫−23∣x3−x2−6x∣ dx=21.1\text{area} = \int_{-2}^{3} \lvert x^{3} - x^{2} - 6x\rvert\,dx = 21.1".
    • Still sketch: the GDC cannot tell you the limits are wrong.
  • Mind where the modulus goes.
    • ∫ab∣f(x)∣ dx\int_{a}^{b} \lvert f(x)\rvert\,dx is the area. ∣∫abf(x) dx∣\bigl\lvert \int_{a}^{b} f(x)\,dx \bigr\rvert is not, whenever the curve crosses the axis.
    • For x2−2xx^{2} - 2x on [0,3][0, 3], the first is 83\tfrac{8}{3} and the second is 00.

6Area between two curves

  • Take a thin vertical strip across the region between two curves. Its height is the top curve's yy minus the bottom curve's yy.
    • Adding up those strips gives the area.

Area between two curves=∫(top−bottom) dx\text{Area between two curves} = \int (\text{top} - \text{bottom})\,dx, from the left intersection to the right intersection.

This works even below the xx-axis: a strip's height is top −- bottom wherever it sits.

Example. The region enclosed by y=x+2y = x + 2 and y=x2y = x^{2}, drawn in Figure 5.

x2=x+2  ⇒  x2−x−2=0  ⇒  (x−2)(x+1)=0limits: x=−1 and x=2x^{2} = x + 2 \;\Rightarrow\; x^{2} - x - 2 = 0 \;\Rightarrow\; (x - 2)(x + 1) = 0 \qquad \textcolor{#838c91}{\text{limits: }x = -1\text{ and }x = 2}area=∫−12[(x+2)−x2] dxthe line is on top: at x=0, 2>0=[x22+2x−x33]−12=(2+4−83)−(12−2+13)=103−(−76)=92\begin{aligned}\text{area} &= \int_{-1}^{2} \bigl[(x + 2) - x^{2}\bigr]\,dx && \textcolor{#838c91}{\text{the line is on top: at }x = 0\text{, }2 > 0} \\[6pt] &= \left[\frac{x^{2}}{2} + 2x - \frac{x^{3}}{3}\right]_{-1}^{2} \\[6pt] &= \left(2 + 4 - \frac{8}{3}\right) - \left(\frac{1}{2} - 2 + \frac{1}{3}\right) \\[6pt] &= \frac{10}{3} - \left(-\frac{7}{6}\right) \\[6pt] &= \frac{9}{2}\end{aligned}
Figure 5 · The region between y = x + 2 and y = x² x y x y −1 1 2 1 2 3 4 5 height (x + 2) − x² (−1, 1) (2, 4) y = x + 2 y = x² Each thin strip has height (x + 2) − x², top minus bottom. Adding up the strips from x = −1 to x = 2 gives the area, 9/2.
Figure 5 · The region between y = x + 2 and y = x²
  • The guide expects a correct expression before any calculation.
    • When a question asks you to "write down an expression for the area", the line "area=∫−12((x+2)−x2) dx\text{area} = \int_{-1}^{2} \bigl((x + 2) - x^{2}\bigr)\,dx" is the whole answer. It needs the limits and the dxdx.
  • If the question gives the integral and says "show that", say which curve is on top and subtract in that order.

When the curves cross more than twice, the top one changes

  • y=x3y = x^{3} and y=xy = x meet where x3=xx^{3} = x, at x=−1,0x = -1, 0 and 11.
  • Figure 6 shows that x3x^{3} is on top on −1<x<0-1 < x < 0, and xx is on top on 0<x<10 < x < 1. So split:
area=∫−10(x3−x) dx+∫01(x−x3) dx=[x44−x22]−10+[x22−x44]01=(0−(14−12))+(12−14)=14+14=12\begin{aligned}\text{area} &= \int_{-1}^{0} (x^{3} - x)\,dx + \int_{0}^{1} (x - x^{3})\,dx \\[6pt] &= \left[\frac{x^{4}}{4} - \frac{x^{2}}{2}\right]_{-1}^{0} + \left[\frac{x^{2}}{2} - \frac{x^{4}}{4}\right]_{0}^{1} \\[6pt] &= \left(0 - \left(\frac{1}{4} - \frac{1}{2}\right)\right) + \left(\frac{1}{2} - \frac{1}{4}\right) \\[6pt] &= \frac{1}{4} + \frac{1}{4} = \frac{1}{2}\end{aligned}
Figure 6 · When the curves cross, the top one changes x y x y −1 1 −1 1 y = x y = x³ top − bottom = x³ − x top − bottom = x − x³ On −1 < x < 0, y = x³ is on top; on 0 < x < 1, y = x is. Each piece has area ¼, total ½.
Figure 6 · When the curves cross, the top one changes
  • Integrating (x−x3)(x - x^{3}) from −1-1 to 1 in one go gives 0, the same cancelling trap as section 6.
  • To find the top curve in each interval, test one xx-value between the intersections.

Regions with more than one boundary

  • The bottom may be the xx-axis on one stretch and a curve or line on the next.
  • Find the corners. Split where the boundary changes, or subtract a simple shape.
  • Example: find the area of the region in the first quadrant bounded by y=x2y = x^{2}, the line y=2−xy = 2 - x and the xx-axis.
    • The curve and line meet where x2=2−xx^{2} = 2 - x, so x2+x−2=0x^{2} + x - 2 = 0 and x=1x = 1 or −2-2.
    • Only x=1x = 1 is in the first quadrant, at the point (1,1)(1, 1).
    • The line meets the axis at x=2x = 2.
  • Take the area under the curve from 0 to 1. Then add the area under the line from 1 to 2, a triangle of base 1 and height 1:
area=∫01x2 dx+12(1)(1)=13+12=56\text{area} = \int_{0}^{1} x^{2}\,dx + \tfrac{1}{2}(1)(1) = \tfrac{1}{3} + \tfrac{1}{2} = \tfrac{5}{6}

An integral for the line gives the same: ∫12(2−x) dx=12\int_{1}^{2} (2 - x)\,dx = \tfrac{1}{2}.

On Paper 2, when the intersections cannot be found by hand, the GDC finds them and then the integral. Find the area enclosed by y=4−x2y = 4 - x^{2} and y=exy = e^{x} (Figure 7).

4−x2=ex  ⇒  x=−1.96 or x=1.06GDC intersect, stored to full accuracy4 - x^{2} = e^{x} \;\Rightarrow\; x = -1.96 \ \text{or}\ x = 1.06 \qquad \textcolor{#838c91}{\text{GDC intersect, stored to full accuracy}}area=∫−1.961.06((4−x2)−ex) dx=6.43GDC, 3 s.f.\begin{aligned}\text{area} &= \int_{-1.96}^{1.06} \bigl((4 - x^{2}) - e^{x}\bigr)\,dx \\[6pt] &= 6.43 && \textcolor{#838c91}{\text{GDC, 3 s.f.}}\end{aligned}
  • Store the intersections in the GDC and use them as limits. Rounded limits can shift the third figure.
    • Equally, ∫ab∣g(x)−f(x)∣ dx\int_{a}^{b} \lvert g(x) - f(x)\rvert\,dx on the GDC handles any number of crossings at once.
Figure 7 · Region between y = 4 − x² and y = eˣ, found with the GDC x y x y −2 −1 1 1 2 3 4 5 x ≈ −1.96 x ≈ 1.06 area 6.43 y = 4 − x² y = eˣ The GDC gives the intersections, x ≈ −1.96 and x ≈ 1.06, then the integral of (4 − x²) − eˣ between them: 6.43.
Figure 7 · Region between y = 4 − x² and y = eˣ, found with the GDC

7Accumulated change in context

The definite integral of a rate over an interval is the net change in the quantity.

Example: water flows into a tank at r(t)=12t−3t2r(t) = 12t - 3t^{2} litres per minute for 0≤t≤40 \le t \le 4. The amount that enters in these four minutes is

∫04(12t−3t2) dt=[6t2−t3]04=96−64=32 litres\int_{0}^{4} (12t - 3t^{2})\,dt = \Bigl[6t^{2} - t^{3}\Bigr]_{0}^{4} = 96 - 64 = 32 \text{ litres}
  • Give the unit.
  • The rate is positive throughout, so this is also the total that entered.
    • If the rate changes sign, the integral is only the net change. The amount moved each way needs the splitting used for area.

Practice questions

32 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.