Cambridge International AS & A Level Mathematics 9709 · Pure Mathematics 3

Integration

Integrating eax+b, 1ax+b, sin(ax+b), cos(ax+b), sec2(ax+b) and 1x2+a2; using trigonometric identities; recognising kf′(x)f(x); partial fractions; integration by parts; and integration by a given substitution, for definite and indefinite integrals.

3.5Paper 3: Pure Mathematics 3Free lesson
What the syllabus says

3.5 (Paper 3)

  • extend the idea of ‘reverse differentiation’ to include the integration of eax+b, 1ax+b, sin(ax+b), cos(ax+b), sec2(ax+b) and 1x2+a2
  • use trigonometrical relationships in carrying out integration
  • integrate rational functions by means of decomposition into partial fractions
  • recognise an integrand of the form kf′(x)f(x), and integrate such functions
  • recognise when an integrand can usefully be regarded as a product, and use integration by parts
  • use a given substitution to simplify and evaluate either a definite or an indefinite integral.

Notes and examples

  • Including examples such as 12+3x2.
  • e.g. use of double-angle formulae to integrate sin2x or cos2(2x).
  • Restricted to types of partial fractions as specified in topic 3.1 above.
  • e.g. integration of xx2+1, tanx.
  • e.g. integration of xsin2x, x2e−x, lnx, xtan−1x.
  • e.g. to integrate sin22xcosx using the substitution u=sinx.

Quoted from the Cambridge International AS and A Level Mathematics 9709 syllabus (2026-2027 and 2028-2030 editions, which share this content).

Reversing the standard derivatives Paper 3

Every derivative in topic 3.4 can be read backwards. When the inside of the function is linear, ax+b, the chain rule multiplied by a when differentiating, so integrating divides by a:

  • ∫eax+bdx=1aeax+b+c
  • ∫1ax+bdx=1aln|ax+b|+c
  • ∫sin(ax+b)dx=−1acos(ax+b)+c
  • ∫cos(ax+b)dx=1asin(ax+b)+c
  • ∫sec2(ax+b)dx=1atan(ax+b)+c

Check any of these by differentiating the answer. The rule works only for a linear inside: ex2 cannot be integrated this way.

Why the modulus. lnx is defined only for x>0, but 1x exists for negative x too. For x<0, ddxln(−x)=−1−x=1x, so ln|x| covers both cases. In a definite integral both limits must lie on the same side of the point where ax+b=0, since the integrand is not defined there.

Lay definite integrals out with square brackets and exact values: ln1=0, e0=1, cos0=1, and use the laws of logarithms to combine terms when a single logarithm is asked for.

Integrals that give inverse tangents Paper 3

Since ddxtan−1xa=1a×11+x2a2=aa2+x2, dividing by a gives the MF19 result
∫1x2+a2dx=1atan−1(xa)+c
When x2 has a coefficient, take it out first so that the bracket matches. For example
19+4x2=14×1x2+94
so a=32 and ∫19+4x2dx=14×23tan−1(2x3)+c=16tan−1(2x3)+c. The same method handles 12+3x2: take out the 3 and use a=23.

Definite integrals of this type usually come out as multiples of π, because tan−11=π4, tan−13=π3 and tan−113=π6. Work in radians.

Worked example 1 Paper 3

(a) Find ∫(e4x−1+63x+2)dx. (b) Find the exact value of ∫018πsec22xdx. (c) Find the exact value of ∫03219+4x2dx.

  1. (a) 14e4x−1+6×13ln|3x+2|+c=14e4x−1+2ln|3x+2|+c.

  2. (b) [12tan2x]018π=12tanπ4−0=12.

  3. (c) From the section above, [16tan−1(2x3)]032=16tan−11−0=16×π4=π24.

Answer: (a) 14e4x−1+2ln|3x+2|+c (b) 12 (c) π24

Check yourself Paper 3

Find ∫(6sin3x+2e−x)dx. Include the constant of integration.

Answer it in the portal, where your answer is checked as you type →

Using trigonometric identities Paper 3

There is no direct rule for sin2x or cos2x, and the reverse chain rule fails because there is no cosx factor to absorb. Rewrite them with the double angle formula cos2A=1−2sin2A=2cos2A−1:
sin2x=12(1−cos2x)cos2x=12(1+cos2x)
Then ∫cos2xdx=12x+14sin2x+c. With a multiple angle, double it: cos25x=12(1+cos10x).

Other identities that turn an integrand into something standard:

  • tan2x=sec2x−1, so ∫tan2xdx=tanx−x+c;
  • sinxcosx=12sin2x;
  • (sinx+cosx)2=1+sin2x, using sin2x+cos2x=1.

Choose the identity that leaves only first powers of sines, cosines or sec2, each of a linear angle.

Check yourself Paper 3

Find the exact value of ∫014πcos2xdx.

Answer it in the portal, where your answer is checked as you type →

Integrals of the form k f'(x) over f(x) Paper 3

Differentiating ln|f(x)| gives f′(x)f(x), so (as in MF19)
∫f′(x)f(x)dx=ln|f(x)|+c
Look for a numerator that is a multiple of the derivative of the denominator, and adjust the constant. For ∫x2x3+5dx the derivative of x3+5 is 3x2, so the integrand is 13×3x2x3+5 and the integral is 13ln|x3+5|+c.

The classic case is tanx=sinxcosx. The derivative of cosx is −sinx, so
∫tanxdx=−ln|cosx|+c=ln|secx|+c
Only a constant can be adjusted. ∫1x2+1dx is not of this type: its numerator is not a multiple of 2x, and the answer is tan−1x.

Partial fractions Paper 3

A rational function whose denominator factorises is split into partial fractions (topic 3.1), and each piece is then a standard integral. The denominators are no more complicated than these, with the numerator of lower degree:

  • (ax+b)(cx+d)(ex+f): Aax+b+Bcx+d+Cex+f, each giving a logarithm;
  • (ax+b)(cx+d)2: Aax+b+Bcx+d+C(cx+d)2, where the last term integrates to −Cc(cx+d), not a logarithm;
  • (ax+b)(cx2+d): Aax+b+Bx+Ccx2+d. Split the second fraction: Bxcx2+d is a kf′(x)f(x) logarithm, and Ccx2+d gives an inverse tangent.

Find the constants by substituting the roots of the factors into the identity, then compare coefficients for any that remain. Remember the factor 1a from each 1ax+b.

Worked example 2 Paper 3

(a) Express x+5(x+1)(2x+1) in partial fractions. (b) Hence find the exact value of ∫01x+5(x+1)(2x+1)dx.

  1. (a) x+5≡A(2x+1)+B(x+1).

  2. x=−1: 4=−A, so A=−4. x=−12: 92=12B, so B=9.

  3. So the fraction is −4x+1+92x+1.

  4. (b) ∫01(−4x+1+92x+1)dx=[−4ln(x+1)+92ln(2x+1)]01.

  5. =(−4ln2+92ln3)−(0+0)=92ln3−4ln2.

Answer: (a) −4x+1+92x+1 (b) 92ln3−4ln2

Integration by parts Paper 3

Integrating the product rule ddx(uv)=udvdx+vdudx and rearranging gives the MF19 formula
∫udvdxdx=uv−∫vdudxdx
Use it when the integrand is a product of two different kinds of function, such as xe2x or xcosx. It trades one integral for another, so choose u and dvdx to make the new integral easier:

  • u is usually the power of x, because differentiating it lowers the power;
  • dvdx is the factor you can integrate, such as ekx, sinkx or coskx;
  • except lnx and tan−1x, which must be u, since you can differentiate them but have no rule to integrate them. To integrate lnx on its own, write it as 1×lnx with dvdx=1.

With x2 as u, one application leaves ∫x(…)dx, so apply the formula a second time. Watch the signs: the minus in the formula applies to the whole of the second integral. For a definite integral, ∫abudvdxdx=[uv]ab−∫abvdudxdx.

Worked example 3 Paper 3

(a) Find ∫(2x+1)sinxdx. (b) Find the exact value of ∫1exlnxdx.

  1. (a) u=2x+1, dvdx=sinx, so dudx=2 and v=−cosx.

  2. ∫(2x+1)sinxdx=−(2x+1)cosx−∫(−cosx)×2dx=−(2x+1)cosx+2sinx+c.

  3. (b) lnx must be u: u=lnx, dvdx=x, so dudx=1x and v=12x2.

  4. ∫xlnxdx=12x2lnx−∫12x2×1xdx=12x2lnx−14x2.

  5. [12x2lnx−14x2]1e=(12e2−14e2)−(0−14)=14(e2+1).

Answer: (a) −(2x+1)cosx+2sinx+c (b) 14(e2+1)

Check yourself Paper 3

Find ∫xe−xdx. Include the constant of integration.

Answer it in the portal, where your answer is checked as you type →

Integration by substitution Paper 3

A substitution u=g(x) reverses the chain rule. The question gives the substitution; your job is to rewrite the whole integral in u:

  1. differentiate: find dudx and so replace dx by dududx;
  2. replace every remaining x by an expression in u;
  3. for a definite integral, change the limits to values of u; for an indefinite one, substitute back to x at the end.

The syllabus illustration is ∫sin22xcosxdx with u=sinx. Here dudx=cosx, so cosxdx becomes du. Also sin22x=4sin2xcos2x=4u2(1−u2). The integral becomes ∫(4u2−4u4)du=43u3−45u5+c=43sin3x−45sin5x+c.

Changing the limits saves substituting back and is where most marks go: once the integral is in u, the old x limits are wrong. A Show that part usually asks you to reach a stated integral in u, so show the dx replacement and both new limits.

Worked example 4 Paper 3

Let I=∫0ln3e2x1+exdx. (a) Use the substitution u=1+ex to show that I=∫24u−1udu. (b) Hence find the exact value of I.

  1. (a) dudx=ex, so exdx=du.

  2. Write e2xdx=ex×exdx=(u−1)du, since ex=u−1.

  3. Limits: x=0 gives u=2; x=ln3 gives u=1+3=4. So I=∫24u−1udu.

  4. (b) I=∫24(1−1u)du=[u−lnu]24=(4−ln4)−(2−ln2).

  5. =2−ln4+ln2=2−ln2.

Answer: (b) 2−ln2

Key points

  • Linear inside ax+b: integrate as usual, then divide by a. ∫1ax+bdx=1aln|ax+b|+c.

  • ∫1x2+a2dx=1atan−1xa+c; take out any coefficient of x2 first.

  • sin2x=12(1−cos2x), cos2x=12(1+cos2x), tan2x=sec2x−1.

  • ∫kf′(x)f(x)dx=kln|f(x)|+c; ∫tanxdx=−ln|cosx|+c.

  • Partial fractions first, then integrate each term; a squared factor gives a reciprocal, not a logarithm.

  • By parts: ∫uv′dx=uv−∫vu′dx, with u the power of x, unless lnx or tan−1x is present.

  • Substitution: replace dx, replace every x, and change the limits.

Where marks are lost

  • Multiplying by a instead of dividing, as in ∫e3xdx=3e3x.

  • Writing ∫1x2+9dx=tan−1x3 without the factor 13.

  • Integrating cos2x as 13cos3x: rewrite it with the double angle formula.

  • In parts, losing the minus sign in front of the second integral, or choosing u=ex so the integral gets harder.

  • Integrating C(x+1)2 as a logarithm.

  • Keeping the x limits after substituting u, or leaving a stray x in the integrand.

  • Using degrees: every trigonometric integral assumes radians.

  • Leaving out the constant of integration in an indefinite integral.

Related AS & A Level Mathematics 9709 lessons

All AS & A Level Mathematics 9709 lessons →

An original lesson written to the Cambridge International AS & A Level Mathematics 9709 syllabus (2026 to 2027 and 2028 to 2030). The worked examples and questions are our own, not Cambridge questions. Back to every AS & A Level Mathematics 9709 lesson.