Integration AA SL

Integration reverses differentiation: it recovers a function from its gradient, and it turns a rate or a curve into a total or an area. This page shows how to find an antiderivative and fix the constant from a given point, how to evaluate a definite integral and use it for an area, how to integrate a composite function by inspection or substitution, and how to find the area between two curves, with worked examples and exam-style questions.

Formulas at a glance

The integral of a power of xx, the standard integrals of exe^x, 1x\dfrac1x and the basic trigonometric functions, and the area formula A=∫abydxA=\int_a^b y\,dx are in the formula booklet. The result ∫abg′(x)dx=g(b)−g(a)\int_a^b g'(x)\,dx=g(b)-g(a), the rule for dividing by aa when the inner function is ax+bax+b, substitution and the area between two curves are not, so learn them.

Indefinite integral of a power

∫axndx=axn+1n+1+C, n≠−1\displaystyle\int ax^n\,dx = \dfrac{ax^{n+1}}{n+1}+C,\ n\neq-1

In the booklet

Indefinite integral of 1/x1/x

∫1xdx=ln⁡|x|+C\displaystyle\int \dfrac{1}{x}\,dx = \ln|x|+C

In the booklet

Fundamental theorem (definite integral)

∫abg′(x)dx=g(b)−g(a)\displaystyle\int_a^b g'(x)\,dx = g(b)-g(a)

Not in the booklet

Area under a curve, f(x)≥0f(x)\ge0

Area =∫abf(x)dx=\displaystyle\int_a^b f(x)\,dx

In the booklet

Which method to use

Decide whether you need an antiderivative, a number or an area, and whether the integrand is a power, a function of ax+bax+b or a composite.

The question asks forUseNotes
An indefinite integral of a power of xx, or of a sum of such termsRaise the power by one and divide by the new power, term by termRewrite roots and fractions as powers first, and always add +C+C
A function, given its derivative and a point on its curveIntegrate, then substitute the point to find CCA second derivative needs two integrations and two conditions
An integral of exe^x, 1x\dfrac1x, sin⁡x\sin x or cos⁡x\cos x with an inner function ax+bax+bThe standard integral, divided by aaDifferentiate your answer to check that the factor of aa is right
An integral of (ax+b)n(ax+b)^nThe reverse chain rule: raise the power, divide by the new power and by aaThis is inspection, a substitution u=ax+bu=ax+b done in your head
An integral with a function and its derivative inside, of the form ∫kg′(x)f(g(x))dx\int kg'(x)f(g(x))\,dxSubstitution u=g(x)u=g(x), or inspectionChange the limits for a definite integral, or go back to xx before using them
A definite integral∫abg′(x)dx=g(b)−g(a)\int_a^b g'(x)\,dx=g(b)-g(a), or the calculatorNo constant is needed. Upper limit first, then subtract the lower
The area between a curve and the xx-axis, with the curve above the axis∫abf(x)dx\int_a^b f(x)\,dxCheck the sign of f(x)f(x) on the interval before you trust the answer
The area between a curve and the xx-axis, where the curve crosses itSplit at each xx-intercept and take each area as positiveA signed integral lets the negative parts cancel the positive ones
The area between two curves∫ab(upper−lower)dx\int_a^b\big(\text{upper}-\text{lower}\big)\,dxSolve f(x)=g(x)f(x)=g(x) for the limits, then test a point to decide which curve is on top

Section 1 of 4 SL5.5

Basic integration and boundary conditions

Integration is anti-differentiation: it finds a function whose derivative is the one you are given. For a term axnax^n with n≠−1n\neq-1, raise the power by one and divide by the new power, then add the constant CC. A given point or gradient on the curve lets you find the value of CC.

The power rule

The rule below is in the formula booklet, so the challenge is applying it term by term rather than recalling it.

Using a boundary condition

Given yy (or dydx\tfrac{dy}{dx}) at a specific xx-value, substitute it in after integrating and solve for CC.

If you're integrating a second derivative, you'll do this twice - once for each constant.

Key terms

What is an antiderivative?

An antiderivative of f(x)f(x) is a function whose derivative is f(x)f(x). Any two antiderivatives of the same function differ only by a constant.

e.g. The derivative of x3+5x^3+5 is 3x23x^2, so x3+5x^3+5 is an antiderivative of 3x23x^2, and so is x3x^3.

What does the integral sign mean?

The notation ∫f(x)dx\int f(x)\,dx means the indefinite integral of f(x)f(x) with respect to xx. The dxdx shows which variable you are integrating with respect to.

e.g. ∫4x3dx=x4+C\int 4x^3\,dx=x^4+C.

Why is there a constant of integration?

The derivative of any constant is zero, so integrating cannot tell which constant was there. The +C+C stands for the unknown constant.

e.g. The derivatives of x2+7x^2+7 and x2−3x^2-3 are both 2x2x, so ∫2xdx=x2+C\int 2x\,dx=x^2+C.

What is a boundary condition?

A boundary condition is a known value, such as a point on the curve, that lets you find CC. Substitute it into the integrated expression and solve.

e.g. If dydx=2x\dfrac{dy}{dx}=2x and the curve passes through (1,5)(1,5), then y=x2+Cy=x^2+C and 5=1+C5=1+C, so C=4C=4.

Worked example, step by step

The question No calculator needed [5 marks]

A curve has gradient function dydx=8x3−2x2+1\dfrac{dy}{dx}=8x^3-\dfrac{2}{x^2}+1 and passes through the point (1,9)(1,\,9). Find the equation of the curve, giving your answer in the form y=f(x)y=f(x).

Worked solution: worked example

Answer: y=2x4+2x+x+4y=2x^4+\dfrac{2}{x}+x+4.

Step 1 - Write every term as a power of xx.

dydx=8x3−2x−2+1.\dfrac{dy}{dx}=8x^3-2x^{-2}+1.

Why? The power rule only works on terms of the form axnax^n. A term such as 2x2\dfrac{2}{x^2} must be written as 2x−22x^{-2} before you integrate, and the constant 11 is x0x^0.

Step 2 - Integrate term by term.

y=∫(8x3−2x−2+1)dx=8x44−2x−1−1+x+C=2x4+2x−1+x+C.y=\int\left(8x^3-2x^{-2}+1\right)dx=\dfrac{8x^4}{4}-\dfrac{2x^{-1}}{-1}+x+C=2x^4+2x^{-1}+x+C. M1 - Integrate by raising the power and dividing, on at least two terms A1 - 2x4+2x−1+x+C2x^4+2x^{-1}+x+C

Why? For each term, raise the power by one and divide by the new power. Dividing by −1-1 turns −2x−2-2x^{-2} into +2x−1+2x^{-1}. The +C+C is essential, because the original function could have had any constant term.

Step 3 - Use the point to find CC.

The curve passes through (1,9)(1,9), so x=1x=1 and y=9y=9: 9=2(1)4+2(1)−1+1+C=5+C,9=2(1)^4+2(1)^{-1}+1+C=5+C, so C=4C=4. M1 - Substitute (1,9)(1,9) into the integrated expression A1 - C=4C=4

Why? The integral gives a whole family of curves that differ only by a vertical shift. The given point picks out the one curve you want, and it must be substituted into the integrated expression, not into dydx\dfrac{dy}{dx}.

Step 4 - State the equation.

y=2x4+2x+x+4.y=2x^4+\dfrac{2}{x}+x+4. A1 - y=2x4+2x+x+4y=2x^4+\dfrac2x+x+4

Why? The question asks for the equation of the curve, so put the value of CC back in and write the answer as y=…y=\dots.

Step 5 - Check.

Differentiate: ddx(2x4+2x−1+x+4)=8x3−2x−2+1\dfrac{d}{dx}\left(2x^4+2x^{-1}+x+4\right)=8x^3-2x^{-2}+1, and at x=1x=1 the curve gives 2+2+1+4=92+2+1+4=9.

Why? Differentiating your answer must return the gradient function you started with, and the curve must pass through the given point. Together these catch a slip in the powers or in CC.

Marks (5):
M1 Integrate by raising the power and dividing, on at least two terms
A1 2x4+2x−1+x+C2x^4+2x^{-1}+x+C
M1 Substitute (1,9)(1,9) into the integrated expression
A1 C=4C=4
A1 y=2x4+2x+x+4y=2x^4+\dfrac2x+x+4

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Medium
No calc
[4 marks]
Given that dydx=6x2−4x\dfrac{dy}{dx}=6x^{2}-4x and that the curve passes through (1,3)(1,3), find yy in terms of xx.
[4]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[5 marks]
A curve has gradient dydx=3x2−6x\dfrac{dy}{dx} = 3x^2 - 6x and passes through (2,1).(2, 1).
(a) Find yy in terms of x.x.
[4]
(b) Find yy when x=0.x = 0.
[1]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[5 marks]
A curve satisfies d2ydx2=6x\dfrac{d^2y}{dx^2} = 6x. At x=0x = 0, the gradient is 2 and y=1y = 1.

Find yy in terms of xx.
[5]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 14 marks

Common mistakes

  • Dropping the "+C". An indefinite integral is a family of functions, not one curve - the accuracy mark is very often tied to writing +C+C, even if the rest of the working is perfect.
  • Dividing by the old power instead of the new one. ∫x3dx\int x^3\,dx becomes x44\tfrac{x^4}{4}, not x43\tfrac{x^4}{3} - the divisor is always n+1n+1, the power you just raised to.
  • Muddling the two constants in a second-derivative problem. Each integration introduces its own constant, and each is fixed by a different piece of given information - match the gradient condition to C1C_1 and the yy-value condition to C2C_2, not the other way round.

Try some questions on basic integration and boundary conditions

Section 2 of 4 SL5.5 SL5.11

Definite integrals and area under a curve

A definite integral ∫abf(x)dx\int_a^b f(x)\,dx has limits and evaluates to a single number, found by subtracting the value of an antiderivative at aa from its value at bb. When f(x)≥0f(x)\ge0 on the interval, this number is the area between the curve and the xx-axis. Where the curve lies below the axis the integral is negative, so area needs care.

Fundamental theorem and area

The fundamental theorem below is not in the formula booklet, so learn it. The area formula A=∫abydxA=\int_a^b y\,dx is in the booklet.

Key terms

What is a definite integral?

A definite integral is an integral with limits, written ∫abf(x)dx\int_a^b f(x)\,dx. It equals F(b)−F(a)F(b)-F(a), where FF is any antiderivative of ff.

e.g. ∫132xdx=[x2]13=9−1=8\int_1^3 2x\,dx=\left[x^2\right]_1^3=9-1=8.

What are the limits of integration?

The limits are the lower value aa and the upper value bb of xx, and they define the interval over which you integrate. Substitute the upper limit first, then subtract the value at the lower limit.

e.g. In ∫023x2dx\int_0^2 3x^2\,dx the limits are 00 and 22, and the value is [x3]02=8\left[x^3\right]_0^2=8.

How does a definite integral relate to area?

If f(x)≥0f(x)\ge0 on [a,b][a,b], the definite integral equals the area enclosed by the curve, the xx-axis and the lines x=ax=a and x=bx=b.

e.g. For f(x)=2xf(x)=2x from x=0x=0 to x=3x=3, ∫032xdx=9\int_0^3 2x\,dx=9, which matches the triangle of base 33 and height 66 with area 12×3×6=9\tfrac{1}{2}\times3\times6=9.

What does a negative definite integral mean?

A negative value means the curve lies below the xx-axis over the interval, or mostly below it. The area is the absolute value of the integral for a region that is wholly below the axis.

e.g. For f(x)=x−2f(x)=x-2 on [0,2][0,2], ∫02(x−2)dx=[x22−2x]02=2−4=−2\int_0^2(x-2)\,dx=\left[\dfrac{x^2}{2}-2x\right]_0^2=2-4=-2, so the area is 22.

Worked example, step by step

The question No calculator needed [5 marks]

The region RR is bounded by the curve y=x+8x2y=x+\dfrac{8}{x^2}, the xx-axis and the lines x=1x=1 and x=4x=4. Find the area of RR.

Worked solution: worked example

Answer: 272\dfrac{27}{2} (that is, 13.513.5).

Step 1 - Write the area as an integral.

For x>0x>0 both xx and 8x2\dfrac{8}{x^2} are positive, so the curve is above the xx-axis between x=1x=1 and x=4x=4. Then Area=∫14(x+8x2)dx.\text{Area}=\int_1^4\left(x+\dfrac{8}{x^2}\right)dx. M1 - Write the area as ∫14(x+8x2)dx\displaystyle\int_1^4\left(x+\dfrac8{x^2}\right)dx

Why? When f(x)>0f(x)>0 on the interval, the area under the curve is the definite integral itself. Check the sign first, because a part of the curve below the axis would give a negative contribution.

Step 2 - Write the integrand as powers of xx.

x+8x2=x+8x−2.x+\dfrac{8}{x^2}=x+8x^{-2}.

Why? The power rule needs each term in the form axnax^n, so the fraction becomes a negative power.

Step 3 - Find an antiderivative.

∫(x+8x−2)dx=x22+8x−1−1=x22−8x.\int\left(x+8x^{-2}\right)dx=\dfrac{x^2}{2}+\dfrac{8x^{-1}}{-1}=\dfrac{x^2}{2}-\dfrac{8}{x}. M1 - Integrate using the power rule on at least one term A1 - x22−8x\dfrac{x^2}{2}-\dfrac8x

Why? Raise each power by one and divide by it. No +C+C is written, because it would cancel when you subtract the two limits.

Step 4 - Substitute the limits.

[x22−8x]14=(162−84)−(12−81)=6−(−152).\left[\dfrac{x^2}{2}-\dfrac{8}{x}\right]_1^4=\left(\dfrac{16}{2}-\dfrac{8}{4}\right)-\left(\dfrac{1}{2}-\dfrac{8}{1}\right)=6-\left(-\dfrac{15}{2}\right). M1 - Substitute both limits and subtract

Why? A definite integral is the value at the upper limit minus the value at the lower limit. Put the lower value in brackets so that its negative sign is not lost.

Step 5 - State the area.

Area=6+152=272.\text{Area}=6+\dfrac{15}{2}=\dfrac{27}{2}. A1 - 272\dfrac{27}{2}

Why? The area is positive, as it must be for a region above the axis. A negative answer would signal a slip with the limits or a sign error.

Marks (5):
M1 Write the area as ∫14(x+8x2)dx\displaystyle\int_1^4\left(x+\dfrac8{x^2}\right)dx
M1 Integrate using the power rule on at least one term
A1 x22−8x\dfrac{x^2}{2}-\dfrac8x
M1 Substitute both limits and subtract
A1 272\dfrac{27}{2}

Now you try: enter your answers to be marked

1
Easy
No calc
[3 marks]
Evaluate ∫02xdx.\displaystyle\int_0^2 x\,dx.
[3]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
No calc
[3 marks]
Find the area of the region enclosed by the curve y=x2y=x^{2}, the x-axis, and the lines x=1x=1 and x=4x=4.
[3]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[6 marks]
Consider the integrals ∫−22xex2dx\displaystyle\int_{-2}^{2} x\mathrm{e}^{x^{2}}\,\mathrm{d}x and ∫−aa(x3+3x2)dx\displaystyle\int_{-a}^{a}\left(x^{3}+3x^{2}\right)\mathrm{d}x, where a>0a>0.
(a) Find ∫−22xex2dx\displaystyle\int_{-2}^{2} x\mathrm{e}^{x^{2}}\,\mathrm{d}x.
[2]
(b) Given that ∫−aa(x3+3x2)dx=54\displaystyle\int_{-a}^{a}\left(x^{3}+3x^{2}\right)\mathrm{d}x=54, find the value of aa.
[4]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 12 marks

Common mistakes

  • Treating a negative definite integral as a negative area. Where the curve dips below the xx-axis the integral comes out negative - area itself is always positive, so take the absolute value.
  • Adding "+C" to a definite integral. The constant cancels when you subtract the value at the lower limit, so a definite integral is a number with no constant in it.
  • Integrating (bottom minus top) for an area between two curves. Check which curve lies above the other over the interval first - integrating in the wrong order gives a negative answer for what should be a positive area.

Try some questions on definite integrals and area under a curve

Section 3 of 4 SL5.10

Integration by inspection and substitution

Integration by substitution reverses the chain rule: you replace a composite expression by a single variable uu, integrate in uu, then substitute back. For a linear inner function ax+bax+b the result always carries a factor of 1a\dfrac{1}{a}. The method also handles integrals of the form ∫kg′(x)f(g(x))dx\int kg'(x)f(g(x))\,dx.

Integration by substitution

These composite results aren't separately listed in the formula booklet - you build them from the basic integrals using a substitution.

Substitution, u=g(x)u = g(x)

If the integrand contains g′(x)g'(x) multiplied by a function of g(x)g(x), let u=g(x)u=g(x), so du=g′(x)dxdu=g'(x)\,dx.

For example, in ∫2x(x2+1)3dx\displaystyle\int 2x(x^2+1)^3\,dx let u=x2+1u=x^2+1, so du=2xdxdu=2x\,dx and the integral becomes ∫u3du\displaystyle\int u^3\,du.

Substitution, u=ax+bu = ax+b

Let u=ax+bu=ax+b, so dudx=a\dfrac{du}{dx}=a and dx=1adudx = \dfrac{1}{a}\,du.

Rewrite the integral entirely in terms of uu, integrate, then substitute ax+bax+b back in for uu. The result always carries a factor 1a\tfrac1a, for example ∫eax+bdx=1aeax+b+C\displaystyle\int e^{ax+b}\,dx=\dfrac1a e^{ax+b}+C.

Key terms

What is a composite function?

A composite function has one function inside another, such as f(g(x))f(g(x)), where g(x)g(x) is the inner function. Spotting the inner function is the first step in substitution.

e.g. (2x+3)4(2x+3)^4 has inner function 2x+32x+3 and outer function u4u^4.

How do you change dxdx into dudu?

Differentiate the substitution with respect to xx to get dudx\dfrac{du}{dx}, then rearrange to replace dxdx. Every xx left in the integral must also be written in terms of uu.

e.g. If u=5x−1u=5x-1, then dudx=5\dfrac{du}{dx}=5, so dx=15dudx=\dfrac{1}{5}\,du.

What is integration by inspection?

Integration by inspection means recognising the reverse chain rule: write down the antiderivative of the outer function, then divide by the derivative of the linear inner function. Differentiating your answer checks it.

e.g. ∫cos⁡(2x)dx=12sin⁡(2x)+C\int\cos(2x)\,dx=\dfrac{1}{2}\sin(2x)+C.

How do the limits change in a definite integral?

When you substitute, either convert the limits to values of uu using the substitution, or return to xx before using the original limits. Do not mix xx-limits with a uu-integral.

e.g. With u=x2+1u=x^2+1, the limits x=0x=0 and x=1x=1 become u=1u=1 and u=2u=2.

Worked example, step by step

The question No calculator needed [5 marks]

Use the substitution u=ln⁡xu=\ln x to find the exact value of ∫1e(ln⁡x)2xdx\displaystyle\int_1^{e}\dfrac{(\ln x)^2}{x}\,dx.

Worked solution: worked example

Answer: 13\dfrac13.

Step 1 - Write dudu in terms of dxdx.

u=ln⁡xu=\ln x, so dudx=1x\dfrac{du}{dx}=\dfrac1x, which gives du=1xdx.du=\dfrac{1}{x}\,dx. M1 - Substitution u=ln⁡xu=\ln x with du=1xdxdu=\dfrac1x\,dx

Why? Differentiate the substitution to find dudu. The integrand contains 1xdx\dfrac1x\,dx, which is exactly dudu, so this substitution is a good choice: the inner function ln⁡x\ln x has its derivative sitting beside it.

Step 2 - Change the limits.

When x=1x=1, u=ln⁡1=0u=\ln1=0. When x=ex=e, u=ln⁡e=1u=\ln e=1. A1 - New limits 00 and 11

Why? The new integral is in uu, so the limits must be values of uu. Do not mix the old limits with the new variable.

Step 3 - Rewrite the integral in terms of uu.

∫1e(ln⁡x)2⋅1xdx=∫01u2du.\int_1^{e}(\ln x)^2\cdot\dfrac1x\,dx=\int_0^1u^2\,du. M1 - Integral completely in terms of uu: ∫01u2du\displaystyle\int_0^1u^2\,du

Why? Every xx must disappear: (ln⁡x)2(\ln x)^2 becomes u2u^2 and 1xdx\dfrac1x\,dx becomes dudu. If an xx is left over, the substitution has not been completed.

Step 4 - Integrate with respect to uu.

∫01u2du=[u33]01.\int_0^1u^2\,du=\left[\dfrac{u^3}{3}\right]_0^1. M1 - Integrate to u33\dfrac{u^3}{3}

Why? This is now a basic power integral. Raise the power and divide by the new power.

Step 5 - Substitute the limits.

133−033=13.\dfrac{1^3}{3}-\dfrac{0^3}{3}=\dfrac13. A1 - 13\dfrac13

Why? Because the limits are already values of uu, there is no need to go back to xx.

Step 6 - Check.

By inspection, ddx[(ln⁡x)33]=(ln⁡x)2⋅1x\dfrac{d}{dx}\left[\dfrac{(\ln x)^3}{3}\right]=(\ln x)^2\cdot\dfrac1x. Then (ln⁡e)33−(ln⁡1)33=13−0=13\dfrac{(\ln e)^3}{3}-\dfrac{(\ln1)^3}{3}=\dfrac13-0=\dfrac13.

Why? Differentiating the antiderivative (ln⁡x)33\dfrac{(\ln x)^3}{3} by the chain rule returns the integrand, and using the original limits gives the same value.

Marks (5):
M1 Substitution u=ln⁡xu=\ln x with du=1xdxdu=\dfrac1x\,dx
A1 New limits 00 and 11
M1 Integral completely in terms of uu: ∫01u2du\displaystyle\int_0^1u^2\,du
M1 Integrate to u33\dfrac{u^3}{3}
A1 13\dfrac13

Now you try: enter your answers to be marked

1
Medium
No calc
[4 marks]
Find ∫3x2x3+5dx.\displaystyle\int \dfrac{3x^2}{x^3 + 5}\,dx.
[4]
Fractions & powers
Logs
Other

Worked solution: practice question 1

2
Medium
No calc
[4 marks]
Use the substitution u=x2u = x^2 to find ∫xex2dx.\displaystyle\int xe^{x^2}\,dx.
[4]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[5 marks]
Using the substitution u=x2−1u = x^2 - 1, find ∫122xx2−1dx.\displaystyle\int_1^2 2x\sqrt{x^2-1}\,dx.
[5]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 13 marks

Common mistakes

  • Forgetting the factor from dxdx. With u=2x+3u=2x+3, dx=12dudx=\tfrac12\,du, so ∫(2x+3)4dx\int(2x+3)^4\,dx is not (2x+3)55\dfrac{(2x+3)^5}{5} - the 12\tfrac12 from the substitution must appear in the answer.
  • Losing the sign with a negative coefficient. ∫e−xdx=−e−x+C\int e^{-x}\,dx = -e^{-x}+C, not e−x+Ce^{-x}+C - with u=−xu=-x, dx=−dudx=-du flips the sign, and it's easy to drop under time pressure.
  • Substituting u=ax+bu=ax+b but forgetting to convert dxdx. If you let u=ax+bu=ax+b, then dx=1adudx=\tfrac{1}{a}\,du has to appear in the new integral too - dropping that factor of 1a\tfrac{1}{a} is the most common substitution error.

Try some questions on integration by inspection and substitution

Section 4 of 4 SL5.11

Area between curves and the x-axis

The area enclosed between two curves is found by integrating the upper curve minus the lower curve between the xx-values where they meet. Solve f(x)=g(x)f(x)=g(x) for the limits, decide which curve is on top, then integrate the difference. A related case is the area between a curve and the xx-axis where the function takes negative values.

Finding the area

The area formula A=∫abydxA=\int_a^b y\,dx is in the formula booklet, but the rule for the area between two curves is not. Both are applications of the definite integral that you are expected to set up yourself.

Top minus bottom

Once you know which curve lies above the other on the interval [a,b][a,b], the enclosed area is ∫ab(f(x)−g(x))dx\displaystyle\int_a^b \big(f(x)-g(x)\big)\,dx, with f(x)≥g(x)f(x)\ge g(x) throughout.

Finding the limits

Set the two expressions equal, f(x)=g(x)f(x)=g(x), and solve. The resulting xx-values are almost always your limits of integration - sketch the curves if it isn't obvious which one is on top.

Key terms

What are the points of intersection?

The points of intersection are where the two curves meet, so their yy-values are equal. Solve f(x)=g(x)f(x)=g(x) to get the xx-values, which become the limits of integration.

e.g. For y=x2y=x^2 and y=2xy=2x, x2=2xx^2=2x gives x(x−2)=0x(x-2)=0, so x=0x=0 and x=2x=2.

How do you decide which curve is the upper curve?

The upper curve is the one with the larger yy-value across the interval. Test one xx-value between the limits, or use a sketch.

e.g. For xx between 00 and 22, at x=1x=1 we have 2x=22x=2 and x2=1x^2=1, so y=2xy=2x is the upper curve.

How do you write the area as an integral?

Use the upper function minus the lower function, with the intersection values as limits: ∫ab(f(x)−g(x))dx\int_a^b\left(f(x)-g(x)\right)dx. Then integrate and substitute the limits.

e.g. The area between y=2xy=2x and y=x2y=x^2 is ∫02(2x−x2)dx=[x2−x33]02=4−83=43\int_0^2(2x-x^2)\,dx=\left[x^2-\dfrac{x^3}{3}\right]_0^2=4-\dfrac{8}{3}=\dfrac{4}{3}.

How do you find the area between a curve and the xx-axis when the curve is below it?

Where f(x)<0f(x)<0, the integral is negative, so use the axis y=0y=0 as the upper curve and integrate 0−f(x)0-f(x). Alternatively, take the absolute value of that integral.

e.g. The curve y=x2−9y=x^2-9 lies below the xx-axis between x=−3x=-3 and x=3x=3, so the area is ∫−33(9−x2)dx=[9x−x33]−33=18−(−18)=36\int_{-3}^{3}(9-x^2)\,dx=\left[9x-\dfrac{x^3}{3}\right]_{-3}^{3}=18-(-18)=36.

Worked example, step by step

The question No calculator needed [6 marks]

The curves C1C_1 and C2C_2 have equations y=4−x2y=4-x^2 and y=x2−2xy=x^2-2x respectively. The curves meet at two points. Find the area of the region enclosed between C1C_1 and C2C_2.

Worked solution: worked example

Answer: 99.

Step 1 - Find where the curves meet.

Equate the two expressions: 4−x2=x2−2x ⇒ 2x2−2x−4=0 ⇒ x2−x−2=0 ⇒ (x−2)(x+1)=0,4-x^2=x^2-2x\ \Rightarrow\ 2x^2-2x-4=0\ \Rightarrow\ x^2-x-2=0\ \Rightarrow\ (x-2)(x+1)=0, so x=−1x=-1 and x=2x=2. M1 - Equate the two expressions A1 - x=−1x=-1 and x=2x=2

Why? The xx-coordinates of the points of intersection become the limits of the integral. Divide through by 22 before factorising to keep the numbers small.

Step 2 - Decide which curve is on top.

Test a value between the limits, such as x=0x=0: C1C_1 gives 44 and C2C_2 gives 00. So C1C_1 is the upper curve on −1≤x≤2-1\le x\le2.

Why? The area is the integral of upper minus lower. Testing one point between the limits is quick and reliable, and the two curves cannot swap over without meeting again.

Step 3 - Write the area as an integral.

Area=∫−12[(4−x2)−(x2−2x)]dx=∫−12(4+2x−2x2)dx.\text{Area}=\int_{-1}^{2}\left[(4-x^2)-(x^2-2x)\right]dx=\int_{-1}^{2}\left(4+2x-2x^2\right)dx. M1 - Integral of upper minus lower with limits −1-1 and 22

Why? Subtract the lower curve from the upper curve before integrating, and bracket the whole of the lower curve so that its signs are changed correctly.

Step 4 - Find an antiderivative.

∫(4+2x−2x2)dx=4x+x2−2x33.\int\left(4+2x-2x^2\right)dx=4x+x^2-\dfrac{2x^3}{3}. A1 - 4x+x2−2x334x+x^2-\dfrac{2x^3}{3}

Why? Integrate each term with the power rule. There is no +C+C in a definite integral.

Step 5 - Substitute the limits.

[4x+x2−2x33]−12=(8+4−163)−(−4+1+23)=203−(−73).\left[4x+x^2-\dfrac{2x^3}{3}\right]_{-1}^{2}=\left(8+4-\dfrac{16}{3}\right)-\left(-4+1+\dfrac23\right)=\dfrac{20}{3}-\left(-\dfrac73\right). M1 - Substitute both limits and subtract

Why? Upper limit first, then subtract the value at the lower limit. Take care with the negative limit: (−1)3=−1\left(-1\right)^3=-1.

Step 6 - State the area.

Area=203+73=9.\text{Area}=\dfrac{20}{3}+\dfrac{7}{3}=9. A1 - 99

Why? The area is positive, as it should be. The exact value is a whole number, which is a good sign when the limits and the algebra are both right.

Marks (6):
M1 Equate the two expressions
A1 x=−1x=-1 and x=2x=2
M1 Integral of upper minus lower with limits −1-1 and 22
A1 4x+x2−2x334x+x^2-\dfrac{2x^3}{3}
M1 Substitute both limits and subtract
A1 99

Now you try: enter your answers to be marked

1
Medium
No calc
[4 marks]
Find the area enclosed between the curve y=6x−x2y=6x-x^2, the xx-axis and the lines x=1x=1 and x=4.x=4.
[4]
Fractions & powers
Other

Worked solution: practice question 1

2
Hard
No calc
[4 marks]
The curves y=2x2y=2x^2 and y=x+3y=x+3 meet at x=−1x=-1 and x=32.x=\dfrac32. Find the area enclosed between them.
[4]
Fractions & powers
Other

Worked solution: practice question 2

3
Hard
No calc
[4 marks]
The curves y=x2y=x^2 and y=8−x2y=8-x^2 intersect at two points.

Calculate the area of the region enclosed between them.
[4]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 12 marks

Common mistakes

  • Integrating in the wrong order. If you subtract the top curve's expression from the bottom one by mistake, the integral comes out negative - always check which curve has the larger yy-value on the interval first, by sketching or testing a point.
  • Skipping the intersection step. The limits of integration for area-between-curves questions come from solving f(x)=g(x)f(x)=g(x), not from limits given elsewhere in the question - forgetting to find them is the most common way to lose the method mark.
  • Treating a negative result as the final answer. Even with the correct order of subtraction, an arithmetic slip can leave a negative value - area itself is always positive, so a negative answer is a signal to recheck the setup, not something to just make positive.

Try some questions on area between curves and the x-axis

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Definite integral (area under a curve)

Used in: Definite integrals and area under a curve

How to find a definite integral on a TI-84 Plus CE

Route A: type the integral (quickest)

On the home screen press math, then 9 to choose 9:fnInt. In MathPrint mode (the default) an integral template appears, with boxes for the limits and the function.

The cursor starts in the lower limit box: type 0. Press ▶ to move to the next box and type 3 for the upper limit, then press ▶ again and type X,T,θ,n x² − 4 for the function. Use the X,T,θ,n key for x, not ALPHA. If the template has a box for the variable after the function, type X,T,θ,n there too.

∫03(X2−4)dX\int_0^3 (X^2-4)\,dX

Press enter.

The signed value is −3-3.

∫03(X2−4)dX\int_0^3 (X^2-4)\,dX
-3

For the area. Open the template again. In the function box press math ▶ (NUM) 1 for abs(, then type X,T,θ,n x² − 4. If abs( shows an open bracket, close it with ); if it shows bars, press ▶ to move out of them. Keep the limits 0 and 3 and press enter.

The area is 7.677.67 to 3 significant figures.

∫03abs(X2−4)dX\int_0^3 \mathrm{abs}(X^2-4)\,dX
7.666666667

If you see fnInt( instead of a template, the calculator is in Classic mode. Type fnInt(X²-4,X,0,3) with commas between the four parts, or press mode and choose MATHPRINT.

Route B: from the graph (shows the region)

Press Y=, clear any old function with clear, then type X,T,θ,n x² − 4 next to Y1=.

Plot1 Plot2 Plot3
\Y1=X²-4
\Y2=
\Y3=

Press window and set Xmin = −1, Xmax = 4, Ymin = −5, Ymax = 6. For a negative number use the (−) key next to the decimal point, not the subtraction key.

WINDOW
Xmin=-1
Xmax=4
Xscl=1
Ymin=-5
Ymax=6
Yscl=1

Press graph, then 2nd trace (CALC) and choose 7:∫f(x)dx\int f(x)\,dx.

If more than one function is drawn, press ▲ or ▼ to choose it. At Lower Limit? type 0 and press enter. At Upper Limit? type 3 and press enter.

Upper Limit?

The region is shaded and the value appears. The part below the axis is counted as negative, which is why the value is −3-3 and not the area. Use Route A with abs( for the area.

∫f(x)dx=-3

Tip: Route B only works if x = 0 and x = 3 are inside the window, so check WINDOW before pressing CALC. In MathPrint mode this route and the template in Route A both use a tolerance of 0.001, which is accurate enough for 3 significant figures. Typing fnInt( in Classic mode uses 0.00001 unless you choose another.

The full guide: Definite integral (area under a curve)

Area between two curves

Used in: Area between curves and the x-axis

On a TI-84 Plus CE

Step 1: graph both curves

Press Y=, clear any old functions with clear, then type 2nd ln X,T,θ,n ) next to Y1= (this is ex).

Next to Y2= type 4 − X,T,θ,n x².

Plot1 Plot2 Plot3
\Y1=e^(X)
\Y2=4-X²
\Y3=

Press window and set Xmin = −3, Xmax = 2, Ymin = −1, Ymax = 5. Use the (−) key for a negative number. Press graph.

Step 2: find and store the intersection x-values

Press 2nd trace (CALC) and choose 5:intersect. At First curve? press enter. At Second curve? press enter. At Guess? move the cursor close to the left crossing (x is about −2) and press enter.

Intersection

Leave the graph with 2nd mode (QUIT). On the home screen press X,T,θ,n sto▶ alpha math (A) enter to store the x-value in A.

X→A
-1.964635597

Repeat the intersect steps for the right crossing (x is about 1) and store it in B with X,T,θ,n sto▶ alpha apps (B) enter.

X→B
1.058006401
Step 3: integrate upper minus lower

Press math, then 9 to choose 9:fnInt. Fill the boxes: alpha math (A) for the lower limit and alpha apps (B) for the upper limit. Press ▶ to move between boxes.

For the function press vars ▶ (Y-VARS), choose 1:Function then 2:Y2, then −, then vars ▶ 1:Function 1:Y1. Press enter.

The area is 6.436.43 to 3 significant figures.

∫AB(Y2−Y1)dX\int_A^B (Y_2-Y_1)\,dX
6.427687376

Y2 is the upper curve here. If your graph shows the other curve on top, swap them. If you see fnInt( instead of a template, the calculator is in Classic mode: type fnInt(Y2-Y1,X,A,B) with commas. If the curves cross between A and B, put abs( around Y2 − Y1 (press math ▶ (NUM) 1).

Tip: The intersect tool leaves the full-accuracy x-value in X, which is why storing it in A or B keeps every digit. Typing -1.96 and 1.06 gives a slightly different area.

The full guide: Area between two curves

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL5.5Introduction to integration as anti-differentiation of functions of the form f(x)=axn+bxn−1+…f(x)=ax^n+bx^{n-1}+\dots, n∈Zn\in\mathbb{Z}, n≠−1n\neq-1. Anti-differentiation with a boundary condition to determine the constant term. Definite integrals using technology. Area of a region enclosed by a curve y=f(x)y=f(x) and the xx-axis, where f(x)>0f(x)>0.
SL5.10Indefinite integral of xnx^n (n∈Qn\in\mathbb{Q}), sin⁡x\sin x, cos⁡x\cos x, exe^x and 1x\dfrac1x. The composites of any of these with the linear function ax+bax+b. Integration by inspection (reverse chain rule) or by substitution for expressions of the form ∫kg′(x)f(g(x))dx\int kg'(x)f(g(x))\,dx.
SL5.11Definite integrals, including analytical approach: ∫abg′(x)dx=g(b)−g(a)\int_a^b g'(x)\,dx=g(b)-g(a). The value of some definite integrals can only be found using technology. Areas of a region enclosed by a curve y=f(x)y=f(x) and the xx-axis, where f(x)f(x) can be positive or negative, without the use of technology. Areas between curves.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Quick questions

What is the power rule for integration?

∫axndx=axn+1n+1+C\displaystyle\int ax^n\,dx = \dfrac{ax^{n+1}}{n+1}+C, for n≠−1n \neq -1. Raise the power by one and divide by the new power.

How do I find the area enclosed between a curve and the x-axis?

Area =∫abf(x)dx=\int_a^b f(x)\,dx, provided f(x)≥0f(x)\ge0 on [a,b][a,b]. Where the curve dips below the axis, take the absolute value of that portion before adding it.

How do you integrate a composite of ax+bax+b by substitution?

Let u=ax+bu=ax+b, so du=adxdu=a\,dx and dx=1adudx=\tfrac1a\,du. Rewrite the integral in terms of uu, integrate, then substitute ax+bax+b back in for uu. The result always carries a factor 1a\tfrac1a. This works for powers, exponentials, sines and cosines of a linear expression.

How do you find the area between two curves?

Find where the curves intersect to get the limits of integration, then integrate f(x)−g(x)f(x)-g(x) between those limits, with f(x)f(x) being the curve on top.

How do I integrate a term written as a fraction, such as 3x2\dfrac{3}{x^2}?

Rewrite it as a power of xx first, then use the usual rule. Here 3x2=3x−2\dfrac{3}{x^2}=3x^{-2}, so ∫3x−2dx=−3x−1+C=−3x+C\int 3x^{-2}\,dx=-3x^{-1}+C=-\dfrac{3}{x}+C.

Do I need a GDC to evaluate a definite integral?

Not always. The syllabus allows technology for definite integrals, and a GDC can evaluate one numerically, but a polynomial can be done by hand. Use the method the question asks for, and show an integral expression with its limits.

How do I integrate e3xe^{3x} or sin⁡(2x)\sin(2x)?

Integrate the outer function and divide by the coefficient of xx. So ∫e3xdx=13e3x+C\int e^{3x}\,dx=\dfrac{1}{3}e^{3x}+C and ∫sin⁡(2x)dx=−12cos⁡(2x)+C\int\sin(2x)\,dx=-\dfrac{1}{2}\cos(2x)+C.

Do I need to know which curve is on top before integrating?

Yes. Sketch or reason out which curve has the larger yy-value on the interval between the intersection points, then subtract the lower curve from the upper one so the integral comes out positive.

How do I integrate a constant term?

A constant kk has the form kx0kx^0, so ∫kdx=kx+C\int k\,dx=kx+C. For example, ∫5dx=5x+C\int 5\,dx=5x+C.

What if the curve crosses the xx-axis between the limits?

The positive and negative parts partly cancel in the integral, so find the roots, integrate each part separately and add the sizes of the results. For f(x)=xf(x)=x on [−1,1][-1,1], the integral is 00 but the area is 11.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.