With t=tan2x: sinx=1+t22t, cosx=1+t21−t2, tanx=1−t22t, and dx=1+t22dt. These turn any rational expression in sinx and cosx into an algebraic one in t, for solving equations and integrating.
Derive the t-formulae from double-angle identities.
Solve trigonometric equations using t.
Integrate rational functions of sinx and cosx with t=tan2x.
Pause and think
How could ∫2+cosxdx possibly be done?
Section 2 of 14
Core idea
Start hereOne substitution to rule them all
Integrals like ∫2+cosxdx resist every usual trick. But set t=tan2x and every sine, cosine and dx becomes a fraction in t. Trigonometry turns into algebra.
✓ CheckIntegrand between 31 and 21 over width 1.57: between 0.52 and 0.79 ✓.
⚠️ Common misconceptionLost x=πAlways test x=π (and odd multiples) separately.
Summary
Derive from double angles.
dx=1+t22dt.
Check x=π.
Key words
Weierstrass substitution
t=tan2x.
📜 HistoryWeierstrass substitution.Named after Karl Weierstrass, though Euler used it a century earlier (1768). Spivak called it "the world's sneakiest substitution".
🤯 Fun factRational points.Rational t gives rational (cosx,sinx): every Pythagorean triple, like (3,4,5) from t=21, comes from this formula.
🪄 TrickCheck x = π.t=tan2π is undefined, so x=π never appears as a t-solution. Substitute x=π into the original equation separately.
Section 4 of 14
Worked examples
Example 1 · An equation0 / 3 steps
Solve 3sinx+4cosx=4, 0<x<2π.
Example 2 · An integral0 / 3 steps
Evaluate ∫0π/21+sinxdx.
Section 5 of 14
Explore the graph
📈t = tan(x/2) on the unit circle
Loading the interactive graph…
Try this
The line of gradient t from (−1,0) meets the circle at (cosx,sinx).
Its angle at (−1,0) is 2x: that's why t=tan2x.
Every point of the circle (except (−1,0)) corresponds to one t.
🌍 In the real worldComputer algebra.Symbolic integrators use this substitution as a fallback to guarantee they can integrate any rational function of sine and cosine.
Section 6 of 14
Common mistakes
Incorrectt=tanx
Correctt=tan2x
The half-angle makes the formulae work.
IncorrectForgetting dx=1+t22dt
CorrectInclude it
The substitution changes the measure too.
IncorrectMissing x=π
CorrectCheck separately
t is undefined there.
∫ 1/(2 + cos x) dx
🥷
t = tan(x/2): the world's sneakiest substitution.
Section 7 of 14
Exam tip
🎯 Exam tipChange the limits.Convert the limits to t values (x=2π→t=1) so you never need to go back to x.
Salam Academy original content · Content status: reviewed and published. Syllabus mapping: Pearson Edexcel 9FM0, First teaching 2017 (official specification).