Skip to content

Definite integrals and areas

A definite integral gives the signed area between a curve and the xx-axis. It is positive where the curve is above the axis and negative where the curve is below it.

If F(x)=f(x)F'(x)=f(x), the fundamental theorem of calculus gives

abf(x)dx=[F(x)]ab=F(b)F(a).\int_a^b f(x)\,dx=\left[F(x)\right]_a^b=F(b)-F(a).

This lesson develops the distinction between an integral and a geometric area, then applies it to regions under curves and between curves.

You should be able to:

  • find antiderivatives using the power rule;
  • solve linear and quadratic equations;
  • sketch basic graphs and identify where one graph lies above another;
  • work exactly with fractions, surds, exponentials and logarithms.

Review integration basics or function graphs if these skills are uncertain.

The numbers aa and bb are the limits of integration. The lower limit is aa and the upper limit is bb.

To evaluate abf(x)dx\int_a^b f(x)\,dx:

  1. Find an antiderivative F(x)F(x).
  2. Substitute the upper limit to obtain F(b)F(b).
  3. Substitute the lower limit to obtain F(a)F(a).
  4. Calculate upper value minus lower value.

Evaluate

13(2x24x+5)dx.\int_1^3 (2x^2-4x+5)\,dx.

Integrate term by term:

(2x24x+5)dx=23x32x2+5x.\int (2x^2-4x+5)\,dx=\frac23x^3-2x^2+5x.

Now apply the limits:

13(2x24x+5)dx=[23x32x2+5x]13=(1818+15)(232+5)=15113=343.\begin{aligned} \int_1^3 (2x^2-4x+5)\,dx &=\left[\frac23x^3-2x^2+5x\right]_1^3\\ &=\left(18-18+15\right)-\left(\frac23-2+5\right)\\ &=15-\frac{11}{3}\\ &=\boxed{\frac{34}{3}}. \end{aligned}

There is no +C+C in the final calculation. Any constant would occur in both F(b)F(b) and F(a)F(a), so it would cancel.

Worked example 2: an exact logarithmic answer

Section titled “Worked example 2: an exact logarithmic answer”

Evaluate

143xdx.\int_1^4 \frac{3}{x}\,dx.

Since 1xdx=lnx+C\int \frac1x\,dx=\ln|x|+C,

143xdx=[3lnx]14=3ln43ln1=3ln4.\begin{aligned} \int_1^4 \frac3x\,dx &=\left[3\ln x\right]_1^4\\ &=3\ln4-3\ln1\\ &=\boxed{3\ln4}. \end{aligned}

Here xx is positive throughout [1,4][1,4], so writing lnx\ln x is sufficient. Unless a decimal is requested, 3ln43\ln4 is the appropriate exact answer.

Definite integrals obey three useful rules:

aaf(x)dx=0,\int_a^a f(x)\,dx=0, baf(x)dx=abf(x)dx,\int_b^a f(x)\,dx=-\int_a^b f(x)\,dx,

and, for any cc between aa and bb,

abf(x)dx=acf(x)dx+cbf(x)dx.\int_a^b f(x)\,dx=\int_a^c f(x)\,dx+\int_c^b f(x)\,dx.

The second rule explains why reversing the limits changes the sign. The third allows an interval to be split wherever the geometry changes.

Given that 27f(x)dx=9\int_2^7 f(x)\,dx=9 and 25f(x)dx=4\int_2^5 f(x)\,dx=4, find:

  1. 72f(x)dx\int_7^2 f(x)\,dx;
  2. 57f(x)dx\int_5^7 f(x)\,dx.
Answer

Reversing the limits gives

72f(x)dx=9.\int_7^2 f(x)\,dx=-9.

Splitting at x=5x=5 gives

9=4+57f(x)dx,9=4+\int_5^7 f(x)\,dx,

so 57f(x)dx=5\int_5^7 f(x)\,dx=5.

For a continuous function ff:

  • where f(x)>0f(x)>0, the integral contributes positively;
  • where f(x)<0f(x)<0, the integral contributes negatively;
  • where f(x)=0f(x)=0, the graph meets or touches the axis.

Therefore

abf(x)dx=area above the axisarea below the axis.\int_a^b f(x)\,dx =\text{area above the axis}-\text{area below the axis}.

By contrast, geometric area is never negative. The total area between y=f(x)y=f(x) and the xx-axis is

abf(x)dx.\int_a^b |f(x)|\,dx.

At A-level, this is usually calculated by finding every root in the interval, splitting the integral there, and changing the sign of any negative contribution.

Worked example 3: integral versus total area

Section titled “Worked example 3: integral versus total area”

The curve is

y=x2x2=(x2)(x+1).y=x^2-x-2=(x-2)(x+1).

Find both the value of 23ydx\int_{-2}^{3}y\,dx and the total area between the curve and the xx-axis over this interval.

First locate the crossings:

x2x2=0x=1 or x=2.x^2-x-2=0 \quad\Longrightarrow\quad x=-1\text{ or }x=2.

An antiderivative is

F(x)=x33x222x.F(x)=\frac{x^3}{3}-\frac{x^2}{2}-2x.

The signed integral is

23(x2x2)dx=F(3)F(2)=32(23)=56.\begin{aligned} \int_{-2}^{3}(x^2-x-2)\,dx &=F(3)-F(-2)\\ &=-\frac32-\left(-\frac23\right)\\ &=\boxed{-\frac56}. \end{aligned}

This negative answer does not mean the geometric area is negative. It means the area below the axis exceeds the area above it by 56\frac56 square units.

For total area, split at both roots. The curve is above the axis on [2,1][-2,-1], below it on [1,2][-1,2], and above it on [2,3][2,3]:

A=21ydx12ydx+23ydx=116(92)+116=496.\begin{aligned} A &=\int_{-2}^{-1}y\,dx-\int_{-1}^{2}y\,dx+\int_2^3y\,dx\\ &=\frac{11}{6}-\left(-\frac92\right)+\frac{11}{6}\\ &=\boxed{\frac{49}{6}}. \end{aligned}

Notice that the roots were found before integrating. A sketch or sign test then determined which pieces needed a sign change.

If f(x)0f(x)\geq 0 throughout [a,b][a,b], then

A=abf(x)dx.A=\int_a^b f(x)\,dx.

The limits must match the horizontal boundaries of the region. Sometimes they are given. Sometimes they must be found from intersections.

The curve y=6xx2y=6x-x^2 and the positive xx-axis enclose a finite region. Find its area.

Find the axis intersections:

6xx2=x(6x)=0,6x-x^2=x(6-x)=0,

so x=0x=0 or x=6x=6. The downward opening parabola lies above the axis between these roots. Therefore

A=06(6xx2)dx=[3x2x33]06=(10872)0=36 square units.\begin{aligned} A &=\int_0^6(6x-x^2)\,dx\\ &=\left[3x^2-\frac{x^3}{3}\right]_0^6\\ &=(108-72)-0\\ &=\boxed{36\text{ square units}}. \end{aligned}

The equation 6xx2=06x-x^2=0 was needed to obtain the limits. Integrating first would not identify the enclosed region.

Worked example 5: a curve entirely below the axis

Section titled “Worked example 5: a curve entirely below the axis”

Find the area between y=x24xy=x^2-4x and the xx-axis for 1x31\leq x\leq3.

Since

x24x=x(x4),x^2-4x=x(x-4),

the curve is below the axis for 0<x<40<x<4. Thus its integral from 11 to 33 is negative, and the area is its negative:

A=13(x24x)dx=[x332x2]13=(9+53)=223 square units.\begin{aligned} A &=-\int_1^3(x^2-4x)\,dx\\ &=-\left[\frac{x^3}{3}-2x^2\right]_1^3\\ &=-\left(-9+\frac53\right)\\ &=\boxed{\frac{22}{3}\text{ square units}}. \end{aligned}

Equivalently, integrate 4xx24x-x^2, the vertical distance from the curve up to the axis.

Suppose y=f(x)y=f(x) is above y=g(x)y=g(x) throughout [a,b][a,b]. Their vertical separation is f(x)g(x)f(x)-g(x), so the enclosed area is

A=ab(f(x)g(x))dx.A=\int_a^b\bigl(f(x)-g(x)\bigr)\,dx.

The reliable rule is

area=(upper functionlower function)dx.\boxed{\text{area}=\int(\text{upper function}-\text{lower function})\,dx.}

Do not decide which is upper from the order in which equations are printed. Use a sketch or test a value.

Find the area enclosed by

y=x2andy=2x+3.y=x^2 \qquad\text{and}\qquad y=2x+3.

First find the intersections:

x2=2x+3x^2=2x+3 x22x3=0x^2-2x-3=0 (x3)(x+1)=0.(x-3)(x+1)=0.

Hence the boundaries are x=1x=-1 and x=3x=3.

At x=0x=0, the line has value 33 and the parabola has value 00, so the line is above the parabola between the intersections. Therefore

A=13[(2x+3)x2]dx=[x2+3xx33]13=9(53)=323 square units.\begin{aligned} A &=\int_{-1}^{3}\left[(2x+3)-x^2\right]dx\\ &=\left[x^2+3x-\frac{x^3}{3}\right]_{-1}^{3}\\ &=9-\left(-\frac53\right)\\ &=\boxed{\frac{32}{3}\text{ square units}}. \end{aligned}

A quick check is that the vertical separation is 44 at x=1x=1 and the interval has width 44. An area of 32310.7\frac{32}{3}\approx10.7 is plausible.

Find the total area between

y=xandy=x3y=x \qquad\text{and}\qquad y=x^3

for 1x1-1\leq x\leq1.

The intersections satisfy

x=x3x(x1)(x+1)=0,x=x^3 \quad\Longrightarrow\quad x(x-1)(x+1)=0,

so they occur at x=1,0,1x=-1,0,1.

On (1,0)(-1,0), x3>xx^3>x. On (0,1)(0,1), x>x3x>x^3. The upper curve changes at x=0x=0, so split the area:

A=10(x3x)dx+01(xx3)dx=[x44x22]10+[x22x44]01=14+14=12 square unit.\begin{aligned} A &=\int_{-1}^{0}(x^3-x)\,dx+\int_0^1(x-x^3)\,dx\\ &=\left[\frac{x^4}{4}-\frac{x^2}{2}\right]_{-1}^{0} +\left[\frac{x^2}{2}-\frac{x^4}{4}\right]_0^1\\ &=\frac14+\frac14\\ &=\boxed{\frac12\text{ square unit}}. \end{aligned}

The symmetry gives a shorter method:

A=201(xx3)dx=12.A=2\int_0^1(x-x^3)\,dx=\frac12.

Symmetry may shorten a correct setup, but it does not replace deciding which curve is upper.

If a region is bounded by the yy-axis, that boundary is x=0x=0. When the curves are given as yy in terms of xx, integration with respect to xx is usually still the direct method.

Find the area enclosed by y=4x2y=4-x^2, y=2x+1y=2x+1, and the yy-axis in the first quadrant.

The nonzero boundary comes from the intersection:

4x2=2x+14-x^2=2x+1 x2+2x3=0x^2+2x-3=0 (x+3)(x1)=0.(x+3)(x-1)=0.

The first quadrant intersection is at x=1x=1. At x=0x=0, the parabola has value 44 and the line has value 11. Hence

A=01[(4x2)(2x+1)]dx=01(32xx2)dx=[3xx2x33]01=53 square units.\begin{aligned} A &=\int_0^1\left[(4-x^2)-(2x+1)\right]dx\\ &=\int_0^1(3-2x-x^2)\,dx\\ &=\left[3x-x^2-\frac{x^3}{3}\right]_0^1\\ &=\boxed{\frac53\text{ square units}}. \end{aligned}

A definite integral may be given as an equation. Evaluate it in terms of the unknown, then solve while respecting any information about the region.

Worked example 9: finding an unknown boundary

Section titled “Worked example 9: finding an unknown boundary”

The area under y=6xx2y=6x-x^2 from x=0x=0 to x=kx=k is 283\frac{28}{3} square units, where 0<k<30<k<3. Find kk.

Form the area equation:

0k(6xx2)dx=283.\int_0^k(6x-x^2)\,dx=\frac{28}{3}.

Therefore

3k2k33=283.3k^2-\frac{k^3}{3}=\frac{28}{3}.

Multiplying by 33 and rearranging gives

k39k2+28=0.k^3-9k^2+28=0.

Since k=2k=2 is a root, factorise:

(k2)(k27k14)=0.(k-2)(k^2-7k-14)=0.

The quadratic factor gives

k=7±1052.k=\frac{7\pm\sqrt{105}}{2}.

Of the three algebraic solutions, only k=2k=2 satisfies 0<k<30<k<3. Hence

k=2.\boxed{k=2}.

The interval condition is essential. Solving the integral equation can produce values that do not describe the stated region.

If both axes represent lengths, an area integral has square units. If the variables represent different quantities, multiply their units.

For example, if v(t)v(t) is measured in metres per second and tt in seconds, then

abv(t)dt\int_a^b v(t)\,dt

has units of metres and represents displacement, not a geometric area in square metres. If velocity changes sign, total distance requires the same splitting idea used for total area:

distance=abv(t)dt.\text{distance}=\int_a^b |v(t)|\,dt.

Before integrating, ask:

  1. What are the horizontal boundaries?
  2. Where do the relevant graphs intersect?
  3. Does any curve cross the xx-axis inside the interval?
  4. Which function is upper on each part of the interval?
  5. Does the question ask for a signed integral or a geometric area?

This short analysis prevents most errors in area questions.

  • A definite integral is always an area. It is a signed accumulation. Contributions below the xx-axis are negative.
  • Area can be negative. Geometric area cannot. Split at crossings and use positive vertical distances.
  • The larger formula is the upper curve. Which curve is upper depends on xx. Test a point in each interval.
  • The limits can be read from the yy-coordinates. When integrating with respect to xx, the limits are xx-coordinates.
  • Intersection points are found after integration. They define the region, so find them first.
  • Upper minus lower means upper limit minus lower limit. These are separate ideas. Upper function minus lower function forms the integrand; upper limit minus lower limit is not a valid evaluation rule. Evaluate F(b)F(a)F(b)-F(a).
  • Every antiderivative needs +C+C. An indefinite integral does. In a definite integral, the constant cancels.
  • A decimal is as good as an exact answer. Keep fractions, surds, π\pi, exponentials and logarithms exact unless approximation is requested.

Evaluate

02(3x2+2x1)dx.\int_0^2(3x^2+2x-1)\,dx.
Answer 02(3x2+2x1)dx=[x3+x2x]02=8+42=10.\begin{aligned} \int_0^2(3x^2+2x-1)\,dx &=\left[x^3+x^2-x\right]_0^2\\ &=8+4-2\\ &=\boxed{10}. \end{aligned}

Find the total area between y=x2y=x-2 and the xx-axis for 0x50\leq x\leq5.

Answer

The curve crosses the axis at x=2x=2. Therefore

A=02(x2)dx+25(x2)dx=2+92=132 square units.\begin{aligned} A &=-\int_0^2(x-2)\,dx+\int_2^5(x-2)\,dx\\ &=2+\frac92\\ &=\boxed{\frac{13}{2}\text{ square units}}. \end{aligned}

The signed integral would instead be 52\frac52.

Find the area enclosed by y=x2+1y=x^2+1 and y=3x+1y=3x+1.

Answer

The intersections satisfy

x2+1=3x+1x(x3)=0,x^2+1=3x+1 \quad\Longrightarrow\quad x(x-3)=0,

so x=0x=0 and x=3x=3. At x=1x=1, the line is above the parabola. Thus

A=03[(3x+1)(x2+1)]dx=[32x2x33]03=92 square units.\begin{aligned} A &=\int_0^3\left[(3x+1)-(x^2+1)\right]dx\\ &=\left[\frac32x^2-\frac{x^3}{3}\right]_0^3\\ &=\boxed{\frac92\text{ square units}}. \end{aligned}

Without evaluating an antiderivative, state the value of

44x3dx.\int_{-4}^{4}x^3\,dx.
Answer

x3x^3 is an odd function, and the interval is symmetric about zero. The positive and negative signed areas cancel, so

44x3dx=0.\boxed{\int_{-4}^{4}x^3\,dx=0}.

The total geometric area is not zero.

For an antiderivative FF of ff,

abf(x)dx=F(b)F(a).\int_a^b f(x)\,dx=F(b)-F(a).

Remember the three distinct setups:

signed area:abf(x)dx,total area against the axis:abf(x)dx,area between curves:ab(upperlower)dx.\begin{aligned} \text{signed area} &:\quad \int_a^b f(x)\,dx,\\ \text{total area against the axis} &:\quad \int_a^b|f(x)|\,dx,\\ \text{area between curves} &:\quad \int_a^b(\text{upper}-\text{lower})\,dx. \end{aligned}

Find intersections and sign changes before integrating. Split the interval whenever a curve crosses the axis or the upper curve changes.

Study integration as the limit of a sum to understand why a definite integral represents accumulated area. Use the trapezium rule when an antiderivative is unavailable or values are given in a table. Then extend your techniques with integration by substitution and integration by parts.