All revision notes topics

The Weierstrass substitutionEdexcel A-Level Further Maths: Revision notes

Section 1

The Weierstrass substitution

The Weierstrass substitution (the tangent half-angle substitution) is t=tan⁡x2t=\tan\frac{x}{2}. It turns an integral of trigonometric functions into an integral of a rational function of tt. The three results needed are sin⁡x=2t1+t2,cos⁡x=1−t21+t2,dx=2 dt1+t2.\sin x=\frac{2t}{1+t^2},\quad\cos x=\frac{1-t^2}{1+t^2},\quad\mathrm{d}x=\frac{2\,\mathrm{d}t}{1+t^2}. The last comes from dtdx=12sec⁡2x2=12(1+t2)\frac{\mathrm{d}t}{\mathrm{d}x}=\frac12\sec^2\frac{x}{2}=\frac12(1+t^2). Use it for integrals whose denominators involve sin⁡x\sin x and cos⁡x\cos x in a combination such as 1+sin⁡x1+\sin x, 2+cos⁡x2+\cos x or cosec⁡x\operatorname{cosec}x.

Key termsWeierstrass substitutiontangent half-angle
Common mistake

Forgetting to convert dx\mathrm{d}x. The factor 21+t2\frac{2}{1+t^2} is part of the integrand.

Section 2

Indefinite integrals: the cosec x example

Find ∫cosec⁡x dx\int\operatorname{cosec}x\,\mathrm{d}x. With cosec⁡x=1+t22t\operatorname{cosec}x=\frac{1+t^2}{2t} and dx=2 dt1+t2\mathrm{d}x=\frac{2\,\mathrm{d}t}{1+t^2}, ∫1+t22t⋅21+t2 dt=∫1t dt=ln⁡∣t∣+c=ln⁡∣tan⁡x2∣+c.\int\frac{1+t^2}{2t}\cdot\frac{2}{1+t^2}\,\mathrm{d}t=\int\frac{1}{t}\,\mathrm{d}t=\ln|t|+c=\ln\left|\tan\frac{x}{2}\right|+c. The (1+t2)(1+t^2) factors cancel completely. The answer must be returned in terms of xx for an indefinite integral.

Key termsindefinite integral
Exam tip

Substitute back t=tan⁡x2t=\tan\frac{x}{2} at the end of an indefinite integral.

Section 3

Definite integrals: changing the limits

For a definite integral, change the limits using t=tan⁡x2t=\tan\frac{x}{2}: x=0→t=0x=0\to t=0, x=π3→t=13x=\frac{\pi}{3}\to t=\frac{1}{\sqrt3}, x=π2→t=1x=\frac{\pi}{2}\to t=1. Example: ∫0π/211+sin⁡x dx\int_0^{\pi/2}\frac{1}{1+\sin x}\,\mathrm{d}x. Since 1+sin⁡x=(1+t)21+t21+\sin x=\frac{(1+t)^2}{1+t^2}, the integrand becomes 2(1+t)2\frac{2}{(1+t)^2} and ∫012(1+t)2 dt=[−21+t]01=1.\int_0^1\frac{2}{(1+t)^2}\,\mathrm{d}t=\left[-\frac{2}{1+t}\right]_0^1=1. Another: ∫11+cos⁡x dx\int\frac{1}{1+\cos x}\,\mathrm{d}x becomes ∫dt=tan⁡x2+c\int\mathrm{d}t=\tan\frac{x}{2}+c.

Key termschanging the limits
Common mistake

Using the xx limits with the tt integral. The limits must be converted, for example x=π2x=\frac{\pi}{2} gives t=1t=1, not t=π2t=\frac{\pi}{2}.

Section 4

A worked example needing partial fractions

Evaluate ∫π/3π/211+sin⁡x−cos⁡x dx\int_{\pi/3}^{\pi/2}\frac{1}{1+\sin x-\cos x}\,\mathrm{d}x. First 1+sin⁡x−cos⁡x=(1+t2)+2t−(1−t2)1+t2=2t(t+1)1+t21+\sin x-\cos x=\frac{(1+t^2)+2t-(1-t^2)}{1+t^2}=\frac{2t(t+1)}{1+t^2}, so the integrand becomes 1t(t+1)\frac{1}{t(t+1)}. Partial fractions: 1t(t+1)=1t−1t+1\frac{1}{t(t+1)}=\frac1t-\frac{1}{t+1}. Then ∫1/31(1t−1t+1)dt=[ln⁡tt+1]1/31=ln⁡12−ln⁡11+3=ln⁡1+32.\int_{1/\sqrt3}^{1}\left(\frac1t-\frac{1}{t+1}\right)\mathrm{d}t=\left[\ln\frac{t}{t+1}\right]_{1/\sqrt3}^{1}=\ln\frac12-\ln\frac{1}{1+\sqrt3}=\ln\frac{1+\sqrt3}{2}.

Key termspartial fractions
Exam tip

Combine logarithms with ln⁡a−ln⁡b=ln⁡ab\ln a-\ln b=\ln\frac ab to give a single exact logarithm.

Section 5

When a quadratic denominator appears

If the substituted integrand has a quadratic denominator of the form a2+t2a^2+t^2, use ∫1a2+t2 dt=1aarctan⁡ta\int\frac{1}{a^2+t^2}\,\mathrm{d}t=\frac1a\arctan\frac ta. Example: ∫0π/212+cos⁡x dx\int_0^{\pi/2}\frac{1}{2+\cos x}\,\mathrm{d}x. Here 2+cos⁡x=3+t21+t22+\cos x=\frac{3+t^2}{1+t^2}, so the integrand is 23+t2\frac{2}{3+t^2} and the integral is [23arctan⁡t3]01=π39\left[\frac{2}{\sqrt3}\arctan\frac{t}{\sqrt3}\right]_0^1=\frac{\pi\sqrt3}{9}. Check: arctan⁡13=π6\arctan\frac{1}{\sqrt3}=\frac{\pi}{6}.

Key termsarctan form
Exam tip

If the (1+t2)(1+t^2) factors do not cancel, recheck the algebra for the denominator.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The Weierstrass substitution

  1. The substitution t=tan⁡x2t=\tan\frac{x}{2} is used to find integrals, for 0≤x<π0\le x<\pi.
    Hence find the exact value of ∫0π/211+cos⁡x dx\displaystyle\int_0^{\pi/2}\frac{1}{1+\cos x}\,\mathrm{d}x.2 marks
  2. The integral I=∫0π/211+sin⁡x dxI=\displaystyle\int_0^{\pi/2}\frac{1}{1+\sin x}\,\mathrm{d}x is evaluated using the substitution t=tan⁡x2t=\tan\frac{x}{2}.
    Hence find the exact value of II.2 marks
  3. Let J=∫π/3π/211+sin⁡x−cos⁡x dxJ=\displaystyle\int_{\pi/3}^{\pi/2}\frac{1}{1+\sin x-\cos x}\,\mathrm{d}x, and let t=tan⁡x2t=\tan\frac{x}{2}.
    Show that J=∫1/311t(1+t) dtJ=\displaystyle\int_{1/\sqrt3}^{1}\frac{1}{t(1+t)}\,\mathrm{d}t.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).