Definite integrals and the area under a curve

AS · P1 · 11 min

An indefinite integral is a family of functions; a definite integral is a single number. Put limits on an integral and it measures the area between a curve and the xx-axis, which is the first big application of integration and a near-certain question on every Paper 1. This note covers evaluating definite integrals, the area between a curve and the xx-axis (including regions below the axis, where the integral comes out negative), and areas measured against the yy-axis. Regions between a curve and a line or two curves are in area between curves.

Evaluating a definite integral

Definition

If F(x)F(x) is any integral of f(x)f(x), the definite integral of f(x)f(x) from x=ax = a to x=bx = b is

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x)\, dx = \Big[F(x)\Big]_a^b = F(b) - F(a)

aa is the lower limit and bb is the upper limit.

The constant of integration is not needed. If you used F(x)+cF(x) + c, you would get (F(b)+c)−(F(a)+c)\big(F(b) + c\big) - \big(F(a) + c\big), and the cc cancels.

Evaluating a definite integral
  1. Rewrite the integrand as powers (and (ax+b)n(ax + b)^n brackets) and integrate, without + c+\,c.
  2. Write the result in square brackets with the limits: [F(x)]ab\Big[F(x)\Big]_a^b.
  3. Substitute the upper limit, then the lower limit, each in its own brackets.
  4. Subtract: upper minus lower. Take care with negative signs.

For example,

∫13(3x2−2x)dx=[x3−x2]13=(27−9)−(1−1)=18\int_1^3 \left(3x^2 - 2x\right) dx = \Big[x^3 - x^2\Big]_1^3 = (27 - 9) - (1 - 1) = 18

Swapping the limits changes the sign: ∫baf(x) dx=−∫abf(x) dx\displaystyle\int_b^a f(x)\, dx = -\int_a^b f(x)\, dx. And integrals over adjacent intervals add: ∫ab+∫bc=∫ac\displaystyle\int_a^b + \int_b^c = \int_a^c.

Why the integral gives the area

Let A(x)A(x) be the area under the curve y=f(x)y = f(x) from a fixed starting line up to the vertical line at xx. Move that line a tiny distance δx\delta x to the right. The extra area is a thin strip, almost a rectangle of height f(x)f(x) and width δx\delta x:

δA≈f(x) δx⇒δAδx≈f(x)\delta A \approx f(x)\,\delta x \quad\Rightarrow\quad \frac{\delta A}{\delta x} \approx f(x)

As δx→0\delta x \to 0 the approximation becomes exact, so dAdx=f(x)\dfrac{dA}{dx} = f(x). The area function is an integral of f(x)f(x). The area from x=ax = a to x=bx = b is then A(b)−A(a)A(b) - A(a), which is exactly ∫abf(x) dx\displaystyle\int_a^b f(x)\, dx.

y = 4x - x^2 fill 0 4 y = 4x - x^2

The shaded region under y=4x−x2y = 4x - x^2, between x=0x = 0 and x=4x = 4, has area

∫04(4x−x2)dx=[2x2−x33]04=32−643=323\int_0^4 \left(4x - x^2\right) dx = \left[2x^2 - \frac{x^3}{3}\right]_0^4 = 32 - \frac{64}{3} = \frac{32}{3}
Key result

The area of the region bounded by the curve y=f(x)y = f(x), the xx-axis and the lines x=ax = a and x=bx = b, where the curve is above the xx-axis, is

∫aby dx\int_a^b y\, dx

If the curve is below the xx-axis, the integral is negative and the area is its absolute value.

Regions below the axis

Between x=ax = a and x=bx = b, if f(x)<0f(x) < 0, every strip has negative "height", so the integral is negative. The area itself is positive: take the size of the integral.

When a region lies partly above and partly below the axis, the positive and negative parts cancel in a single integral. To find the total area you must split at the points where the curve crosses the axis, integrate each part separately, and add their sizes.

y = x^3 - 4x fill 0 2 y = x^3 - 4x fill 2 3 y = x^3 - 4x (2, 0)

For y=x3−4xy = x^3 - 4x from 00 to 33, the curve is below the axis between 00 and 22 and above it between 22 and 33. The single integral ∫03\displaystyle\int_0^3 gives 94\tfrac{9}{4}, which is neither area. Example 4 finds the true total, 414\tfrac{41}{4}.

Area between a curve and the x-axis
  1. Sketch the curve and find where it crosses the xx-axis (solve y=0y = 0).
  2. Split the interval at every crossing point inside it.
  3. Integrate over each piece separately.
  4. Take the absolute value of each result and add.

Areas against the y-axis

A region can instead be bounded by the curve, the yy-axis and horizontal lines y=cy = c and y=dy = d. Slice it into horizontal strips of width xx and thickness δy\delta y, and the same argument gives

Key result

The area between a curve, the yy-axis and the lines y=cy = c and y=dy = d is

∫cdx dy\int_c^d x\, dy

where the equation of the curve is rearranged into the form x=g(y)x = g(y) and the limits are yy-values.

For example, the region between y=x2y = x^2 (for x≥0x \ge 0), the yy-axis, y=1y = 1 and y=4y = 4 has x=yx = \sqrt{y}, so its area is

∫14y12 dy=[23y32]14=23(8−1)=143\int_1^4 y^{\frac{1}{2}}\, dy = \left[\tfrac{2}{3}y^{\frac{3}{2}}\right]_1^4 = \tfrac{2}{3}(8 - 1) = \tfrac{14}{3}
y = x^2 y = 1 y = 4 (1, 1) (2, 4)

The region is to the left of the curve, between the horizontal lines y=1y = 1 and y=4y = 4 and the yy-axis.

Worked examples

Evaluating with negative powers

Evaluate ∫12(6x3+2x)dx\displaystyle\int_1^2 \left(\frac{6}{x^3} + 2x\right) dx.

Solution∫12(6x−3+2x)dx=[−3x−2+x2]12=(−34+4)−(−3+1)=134+2=214\int_1^2 \left(6x^{-3} + 2x\right) dx = \Big[-3x^{-2} + x^2\Big]_1^2 = \left(-\frac{3}{4} + 4\right) - (-3 + 1) = \frac{13}{4} + 2 = \frac{21}{4}

Bracketing each substitution keeps the signs right: the lower limit gives −2-2, and subtracting it adds 22.

A region below the axis

Find the area of the region enclosed by the curve y=x2−4x+3y = x^2 - 4x + 3 and the xx-axis.

Solution

The curve crosses the axis where x2−4x+3=(x−1)(x−3)=0x^2 - 4x + 3 = (x - 1)(x - 3) = 0, at x=1x = 1 and x=3x = 3. Between these it is below the axis (it is a ∪\cup-shaped parabola).

∫13(x2−4x+3)dx=[x33−2x2+3x]13=(9−18+9)−(13−2+3)=0−43=−43\int_1^3 \left(x^2 - 4x + 3\right) dx = \left[\frac{x^3}{3} - 2x^2 + 3x\right]_1^3 = (9 - 18 + 9) - \left(\frac{1}{3} - 2 + 3\right) = 0 - \frac{4}{3} = -\frac{4}{3}

The integral is negative because the region is below the axis. The area is 43\tfrac{4}{3}.

y = x^2 - 4x + 3 fill 1 3 y = x^2 - 4x + 3
An unknown limit

The region bounded by the curve y=1xy = \dfrac{1}{\sqrt{x}}, the xx-axis and the lines x=1x = 1 and x=kx = k, where k>1k > 1, has area 66. Find kk.

Solution∫1kx−12 dx=[2x12]1k=2k−2\int_1^k x^{-\frac{1}{2}}\, dx = \Big[2x^{\frac{1}{2}}\Big]_1^k = 2\sqrt{k} - 2

Set equal to 66: 2k=82\sqrt{k} = 8, k=4\sqrt{k} = 4, k=16k = 16.

A region crossing the axis

Find the total area of the regions between the curve y=x3−4xy = x^3 - 4x and the xx-axis for 0≤x≤30 \le x \le 3.

Solution

x3−4x=x(x−2)(x+2)x^3 - 4x = x(x - 2)(x + 2), so in the interval the curve crosses the axis at x=2x = 2 (and touches the end point x=0x = 0). Split there. Let F(x)=x44−2x2F(x) = \dfrac{x^4}{4} - 2x^2.

∫02(x3−4x)dx=F(2)−F(0)=(4−8)−0=−4\int_0^2 \left(x^3 - 4x\right) dx = F(2) - F(0) = (4 - 8) - 0 = -4∫23(x3−4x)dx=F(3)−F(2)=(814−18)−(−4)=94+4=254\int_2^3 \left(x^3 - 4x\right) dx = F(3) - F(2) = \left(\frac{81}{4} - 18\right) - (-4) = \frac{9}{4} + 4 = \frac{25}{4}

Total area =4+254=414= 4 + \dfrac{25}{4} = \dfrac{41}{4}.

A single integral from 00 to 33 gives −4+254=94-4 + \tfrac{25}{4} = \tfrac{9}{4}, which is wrong for the area.

Area against the y-axis

Find the area of the region bounded by the curve y=x3y = x^3, the yy-axis and the lines y=1y = 1 and y=8y = 8.

Solution

Rearrange: x=y13x = y^{\frac{1}{3}}. The region is between the curve and the yy-axis, so integrate with respect to yy:

∫18y13 dy=[34y43]18=34(16−1)=454\int_1^8 y^{\frac{1}{3}}\, dy = \left[\frac{3}{4}y^{\frac{4}{3}}\right]_1^8 = \frac{3}{4}(16 - 1) = \frac{45}{4}

since 843=24=168^{\frac{4}{3}} = 2^4 = 16.

Stationary points and an enclosed area

The curve y=x3−6x2+9xy = x^3 - 6x^2 + 9x meets the xx-axis at the origin and at the point AA.

(a) Find the coordinates of the stationary points and determine their nature.

(b) Find the area of the region enclosed by the curve and the xx-axis.

Solution

(a) dydx=3x2−12x+9=3(x−1)(x−3)\dfrac{dy}{dx} = 3x^2 - 12x + 9 = 3(x - 1)(x - 3), so x=1x = 1 or x=3x = 3, giving (1,4)(1, 4) and (3,0)(3, 0). d2ydx2=6x−12\dfrac{d^2y}{dx^2} = 6x - 12: at x=1x = 1 it is −6-6, a maximum; at x=3x = 3 it is 66, a minimum. (See stationary points.)

(b) y=x(x2−6x+9)=x(x−3)2y = x(x^2 - 6x + 9) = x(x - 3)^2, so the curve meets the axis at OO and touches it at A(3,0)A(3, 0), the minimum point. Between them it is above the axis.

∫03(x3−6x2+9x)dx=[x44−2x3+9x22]03=814−54+812=274\int_0^3 \left(x^3 - 6x^2 + 9x\right) dx = \left[\frac{x^4}{4} - 2x^3 + \frac{9x^2}{2}\right]_0^3 = \frac{81}{4} - 54 + \frac{81}{2} = \frac{27}{4}
y = x^3 - 6x^2 + 9x fill 0 3 y = x^3 - 6x^2 + 9x (1, 4) (3, 0)
Watch out

Adding + c+\,c and keeping it. A definite integral is a number. The constant cancels; do not write it.

Subtracting the wrong way round. It is (upper) −- (lower), always.

Losing signs when substituting the lower limit. Put each substitution in brackets: (…)−(…)(\ldots) - (\ldots).

Integrating straight across a crossing point. The parts above and below the axis cancel. Split at the roots for a total area.

Giving a negative area. An integral can be negative; an area cannot. State the area as a positive number.

Mixing variables against the yy-axis. In ∫x dy\int x\, dy, write xx in terms of yy, and use yy-values as limits.

Exam tip
  • Show the bracket with limits [ … ]ab\Big[\ \ldots\ \Big]_a^b and the substitution of both limits. Examiners need to see "F(b)−F(a)F(b) - F(a)" to award the method mark, even if you can do it on a calculator.
  • Exact answers are expected: 323\tfrac{32}{3}, not 10.6710.67, unless the question asks for decimals.
  • A sketch helps you decide whether any of the region is below the axis. If the question gives a diagram, check the shading carefully.
  • "Hence find the area" after a stationary point or intercept part means the earlier answers give the limits.
  • Regions bounded by a curve and a line need the method in area between curves; infinite limits need improper integrals.
Summary
  • ∫abf(x) dx=F(b)−F(a)\displaystyle\int_a^b f(x)\, dx = F(b) - F(a); no constant of integration.
  • The area between y=f(x)y = f(x), the xx-axis, x=ax = a and x=bx = b is ∫aby dx\displaystyle\int_a^b y\, dx when the curve is above the axis.
  • Below the axis the integral is negative; the area is its absolute value.
  • For regions crossing the axis, split at the roots and add the absolute values.
  • Area against the yy-axis: ∫cdx dy\displaystyle\int_c^d x\, dy with xx written in terms of yy.
  • Swapping limits changes the sign; adjacent intervals add.

Practice questions

Question
  1. Evaluate ∫02(x3+2x)dx\displaystyle\int_0^2 \left(x^3 + 2x\right) dx.
  2. Evaluate ∫14(3x−1)dx\displaystyle\int_1^4 \left(3\sqrt{x} - 1\right) dx.
  3. Evaluate ∫126x3 dx\displaystyle\int_1^2 \frac{6}{x^3}\, dx.
  4. Find the area of the region enclosed by the curve y=9−x2y = 9 - x^2 and the xx-axis.
  5. Find the area of the region enclosed by the curve y=x2−5x+4y = x^2 - 5x + 4 and the xx-axis.
  6. The curve y=x3−4x2+3xy = x^3 - 4x^2 + 3x crosses the xx-axis at x=0x = 0, 11 and 33. Find the total area of the regions enclosed by the curve and the xx-axis.
  7. Find the area of the region bounded by the curve y=x3y = x^3, the yy-axis and the lines y=1y = 1 and y=8y = 8, and hence the area of the region bounded by the curve, the xx-axis and the lines x=1x = 1 and x=2x = 2. (Hint: consider a rectangle.)
  8. Find the exact area of the region bounded by the curve y=4x+1y = \sqrt{4x + 1}, the axes and the line x=2x = 2.
  9. The curve y=kx−x2y = kx - x^2, where kk is a positive constant, encloses a region of area 3636 with the xx-axis. Find kk.
Answers
  1. [x44+x2]02=4+4=8\left[\dfrac{x^4}{4} + x^2\right]_0^2 = 4 + 4 = 8.

  2. [2x32−x]14=(16−4)−(2−1)=11\Big[2x^{\frac{3}{2}} - x\Big]_1^4 = (16 - 4) - (2 - 1) = 11.

  3. [−3x−2]12=−34−(−3)=94\Big[-3x^{-2}\Big]_1^2 = -\tfrac{3}{4} - (-3) = \tfrac{9}{4}.

  4. Roots x=±3x = \pm 3; the curve is above the axis between them. ∫−33(9−x2) dx=[9x−x33]−33=(27−9)−(−27+9)=36\displaystyle\int_{-3}^{3} (9 - x^2)\, dx = \left[9x - \tfrac{x^3}{3}\right]_{-3}^{3} = (27 - 9) - (-27 + 9) = 36.

  5. Roots x=1,4x = 1, 4; the curve is below the axis between them. ∫14(x2−5x+4) dx=[x33−5x22+4x]14=(643−40+16)−(13−52+4)=−83−116=−92\displaystyle\int_1^4 (x^2 - 5x + 4)\, dx = \left[\tfrac{x^3}{3} - \tfrac{5x^2}{2} + 4x\right]_1^4 = \left(\tfrac{64}{3} - 40 + 16\right) - \left(\tfrac{1}{3} - \tfrac{5}{2} + 4\right) = -\tfrac{8}{3} - \tfrac{11}{6} = -\tfrac{9}{2}. The area is 92\tfrac{9}{2}.

  6. Let F(x)=x44−4x33+3x22F(x) = \tfrac{x^4}{4} - \tfrac{4x^3}{3} + \tfrac{3x^2}{2}. ∫01=F(1)−F(0)=14−43+32=512\displaystyle\int_0^1 = F(1) - F(0) = \tfrac{1}{4} - \tfrac{4}{3} + \tfrac{3}{2} = \tfrac{5}{12} (above the axis). ∫13=F(3)−F(1)=(814−36+272)−512=−94−512=−83\displaystyle\int_1^3 = F(3) - F(1) = \left(\tfrac{81}{4} - 36 + \tfrac{27}{2}\right) - \tfrac{5}{12} = -\tfrac{9}{4} - \tfrac{5}{12} = -\tfrac{8}{3} (below). Total area =512+83=3712= \tfrac{5}{12} + \tfrac{8}{3} = \tfrac{37}{12}.

  7. x=y13x = y^{\frac{1}{3}}: ∫18y13 dy=34(16−1)=454\displaystyle\int_1^8 y^{\frac{1}{3}}\, dy = \tfrac{3}{4}(16 - 1) = \tfrac{45}{4}. The rectangle from x=0x = 0 to 22, y=0y = 0 to 88 (area 1616) is made of: the region under the curve from x=1x = 1 to 22, the region against the yy-axis (454\tfrac{45}{4}), and the 1×11 \times 1 square at the bottom left. So the area under the curve is 16−454−1=15416 - \tfrac{45}{4} - 1 = \tfrac{15}{4}. Check: ∫12x3 dx=4−14=154\displaystyle\int_1^2 x^3\, dx = 4 - \tfrac{1}{4} = \tfrac{15}{4}.

  8. ∫02(4x+1)12 dx=[(4x+1)326]02=27−16=133\displaystyle\int_0^2 (4x + 1)^{\frac{1}{2}}\, dx = \left[\dfrac{(4x + 1)^{\frac{3}{2}}}{6}\right]_0^2 = \dfrac{27 - 1}{6} = \dfrac{13}{3}.

  9. The curve meets the axis at x=0x = 0 and x=kx = k and is above it between. ∫0k(kx−x2) dx=[kx22−x33]0k=k32−k33=k36=36\displaystyle\int_0^k (kx - x^2)\, dx = \left[\tfrac{kx^2}{2} - \tfrac{x^3}{3}\right]_0^k = \tfrac{k^3}{2} - \tfrac{k^3}{3} = \tfrac{k^3}{6} = 36, so k3=216k^3 = 216 and k=6k = 6.

How well do you know this?

Builds on

Where this leads

Console

Search notes, courses and tools, or run an action