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

Integration

Integrating eax+b, 1ax+b, sin(ax+b), cos(ax+b) and sec2(ax+b); using trigonometric identities to integrate squares and products; and estimating a definite integral with the trapezium rule, including deciding whether it over-estimates or under-estimates.

2.5Paper 2: Pure Mathematics 2Free lesson
What the syllabus says

2.5 (Paper 2)

  • extend the idea of ‘reverse differentiation’ to include the integration of eax+b, 1ax+b, sin(ax+b), cos(ax+b) and sec2(ax+b)
  • use trigonometrical relationships in carrying out integration
  • understand and use the trapezium rule to estimate the value of a definite integral.

Notes and examples

  • Knowledge of the general method of integration by substitution is not required.
  • e.g. use of double-angle formulae to integrate sin2x or cos2(2x).
  • Including the use of sketching graphs in simple cases to determine whether the trapezium rule gives an over-estimate or an under-estimate.

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

Integrals of the new functions Paper 2

Each derivative in topic 2.4, read backwards, gives an integral. In Paper 1 you integrated (ax+b)n by increasing the power, then dividing by the new power and by a. The same idea, divide by a, the coefficient of x inside the bracket, works for every function of ax+b:

  • ∫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

Why divide by a: differentiating 1asin(ax+b) multiplies by a (the chain rule), which gives back cos(ax+b). Always check an integral by differentiating it.

The logarithm and the modulus. ∫1xdx=ln|x|+c. The power rule fails at x−1, because it would divide by zero, and the logarithm fills the gap. The modulus is there because 1x exists for negative x too, and ddxln(−x)=−1−x=1x as well. When the bracket is positive throughout a question, you may write ln(ax+b).

Signs. sin integrates to −cos, and cos to +sin: the opposite way round from differentiation.

What is not in this paper. The general method of integration by substitution is not required. Every integral here is one of these standard forms, perhaps after some algebra or an identity: expand brackets, split fractions over a single term, or use the laws of indices, such as 1e2x=e−2x.

In the answer boxes on this site, type ln|2x+1| as ln(2x+1), sin2x as sin(x)^2, and include + c when asked.

Worked example 1 Paper 2

Find (a) ∫(6e3x−1+42x+5)dx (b) ∫(sin12x−3sec24x)dx.

  1. (a) ∫6e3x−1dx=63e3x−1=2e3x−1.

  2. ∫42x+5dx=42ln|2x+5|=2ln|2x+5|.

  3. So the integral is 2e3x−1+2ln|2x+5|+c.

  4. (b) ∫sin12xdx=−112cos12x=−2cos12x, and ∫3sec24xdx=34tan4x.

  5. So the integral is −2cos12x−34tan4x+c.

  6. Check (b) by differentiating: −2×(−12sin12x)−34×4sec24x=sin12x−3sec24x.

Answer: (a) 2e3x−1+2ln|2x+5|+c (b) −2cos12x−34tan4x+c

Check yourself Paper 2

Find ∫63x−2dx, for x>23. Include the constant of integration.

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

Definite integrals and exact values Paper 2

Definite integrals work exactly as in Paper 1: integrate, then work out F(b)−F(a). The new functions give exact answers involving e, ln, π and surds, and you should simplify them with the laws of logarithms and indices: ln9−ln3=ln3, eln2=2, e2ln3=9 and ln1=0.

Limits for trigonometric integrals are in radians, and you need the exact values of sin, cos and tan at 16π, 14π and 13π. If you check an answer on your calculator, set it to radians.

Worked example 2 Paper 2

Find the exact value of (a) ∫1324x−3dx (b) ∫016π(cos2x+sec2x)dx.

  1. (a) ∫24x−3dx=24ln(4x−3)=12ln(4x−3).

  2. [12ln(4x−3)]13=12ln9−12ln1=12ln9=ln3.

  3. (b) [12sin2x+tanx]016π=12sin13π+tan16π−0.

  4. =12×32+13=34+33=7312.

Answer: (a) ln3 (b) 7312

Check yourself Paper 2

Find the exact value of ∫0ln2e2xdx.

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

Integrating with trigonometric identities Paper 2

Many trigonometric integrands are not in the table, but an identity from topic 2.3 turns them into ones that are. The ones you need:

  • cos2x=12(1+cos2x) and sin2x=12(1−cos2x), from cos2x=2cos2x−1=1−2sin2x;
  • sinxcosx=12sin2x;
  • tan2x=sec2x−1, from sec2x=1+tan2x.

Each replaces a square, which you cannot integrate directly, with a first power of a double angle, which you can. For the syllabus example cos22x: cos22x=12(1+cos4x), so ∫cos22xdx=12x+18sin4x+c. The double angle of 2x is 4x.

The syllabus also names sin2x itself, which you can integrate directly, ∫sin2xdx=−12cos2x+c, or recognise inside a product: ∫6sinxcosxdx=∫3sin2xdx=−32cos2x+c.

A common wrong approach is ∫sin2xdx=13sin3x, treating sinx like x. Differentiate it and you get sin2xcosx, which is not the integrand: the check exposes the error at once.

Worked example 3 Paper 2

Find the exact value of ∫014πsin2xdx.

  1. sin2x=12(1−cos2x)=12−12cos2x.

  2. ∫(12−12cos2x)dx=12x−14sin2x.

  3. [12x−14sin2x]014π=(18π−14sin12π)−0=18π−14.

Answer: 18π−14

Worked example 4 Paper 2

Find ∫tan23xdx.

  1. tan23x=sec23x−1.

  2. ∫(sec23x−1)dx=13tan3x−x+c.

  3. Check: ddx(13tan3x−x)=sec23x−1=tan23x.

Answer: 13tan3x−x+c

Check yourself Paper 2

Find the exact value of ∫012π(sinx+cosx)2dx.

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

The trapezium rule Paper 2

Some definite integrals cannot be found exactly with the methods of this paper, for example ∫01ex2dx. The trapezium rule estimates the area under the curve by splitting it into n vertical strips of equal width h and treating each strip as a trapezium: the curve across the top of the strip is replaced by a straight chord.

With h=b−an and the heights (ordinates) y0,y1,…,yn at x=a,a+h,…,b:
∫abydx≈12h{y0+yn+2(y1+y2+…+yn−1)}
Each trapezium has area 12h(yk+yk+1). Adding them, the two end ordinates appear once and every middle ordinate twice, because it is shared by two strips. The formula is not in the formula list, so learn it.

Practical points:

  • n strips need n+1 ordinates: four intervals means h=b−a4 and five y-values.
  • Work in a table, keep at least 4 significant figures in each ordinate, and round only the final answer.
  • Trigonometric functions use radians.

Worked example 5 Paper 2

(a) Use the trapezium rule with four intervals to estimate ∫01ex2dx, giving your answer correct to 3 significant figures.
(b) State, with a reason, whether this is an over-estimate or an under-estimate.
(c) Hence estimate ∫01(ex2+2x)dx.

  1. (a) h=1−04=0.25. The ordinates at x=0,0.25,0.5,0.75,1 are 1.0000,1.0645,1.2840,1.7551,2.7183.

  2. Estimate =12×0.25×{1.0000+2.7183+2(1.0645+1.2840+1.7551)}=1.4907, which is 1.49 to 3 significant figures.

  3. (b) The graph of y=ex2 bends upwards (it is convex) for 0⩽x⩽1, so each chord lies above the curve and the trapezia contain slightly more area than the region: an over-estimate.

  4. (c) ∫012xdx=[x2]01=1 exactly, so the estimate is 1.49+1=2.49.

Answer: (a) 1.49 (b) over-estimate (c) 2.49

Over-estimate or under-estimate? Paper 2

Sketch the curve over the interval and look at the chords.

  • If the curve bends upwards (it is convex, like y=ex or y=x2), each chord lies above the curve, so every trapezium is slightly too big: the rule gives an over-estimate.
  • If the curve bends downwards (it is concave, like y=lnx or y=x), each chord lies below the curve: an under-estimate.
  • If the curve changes the way it bends within the interval, the errors partly cancel and a sketch alone may not decide.

A reason in the exam should name the shape and say where the tops of the trapezia are, for example: 'the curve bends downwards, so the tops of the trapezia lie below the curve'. More strips give a better estimate, because the chords hug the curve more closely, but for a curve that bends one way only, the error never changes sign.

xy0.250.50.7510.511.522.530y = e^(x^2)

For a curve that bends upwards, each straight top lies above the curve, so the trapezium rule over-estimates.

Check yourself Paper 2

Use the trapezium rule with two intervals to estimate ∫13lnxdx, giving your answer correct to 3 significant figures.

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

Key points

  • Divide 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.

  • Squares and products of sin and cos: use cos2x=12(1+cos2x), sin2x=12(1−cos2x), sinxcosx=12sin2x; and tan2x=sec2x−1.

  • Trapezium rule: 12h{y0+yn+2(y1+…+yn−1)} with h=b−an and n+1 ordinates.

  • Curve bending upwards: over-estimate. Bending downwards: under-estimate.

Where marks are lost

  • Multiplying by a instead of dividing, for example ∫e4xdx=4e4x.

  • Getting the sign wrong when integrating sin, or when a is negative, as in ∫11−2xdx=−12ln|1−2x|+c.

  • Integrating sin2x or cos2x as if it were a power of x, instead of using a double-angle identity.

  • Forgetting the 12 in cos2x=12(1+cos2x), or doubling the angle wrongly (cos23x needs cos6x).

  • Using degrees for the limits of a trigonometric integral, or in the trapezium rule.

  • Counting ordinates as strips: n strips have n+1 ordinates, and h=b−an.

  • Giving 'over-estimate' or 'under-estimate' with no reason, or a reason that does not mention the shape of the curve.

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.