The substitution $t = \tan\frac{\theta}{2}$ is one of the most powerful tricks in trigonometry. It converts every trig function into a rational expression in $t$, turning transcendental equations into polynomial ones you can solve with algebra. Known in higher mathematics as the Weierstrass substitution, it appears in calculus, integration, and equation-solving at every level.
Today's hook, If $t = \tan\frac{\theta}{2}$, what is $\tan\theta$ in terms of $t$? Hint: use the double angle formula for tangent. Work it out before reading on. You'll find a pattern that generalises beautifully to $\sin\theta$ and $\cos\theta$.
0/5QUESTS
1
You’re here
Recall, your gut answer first
01
Recall, your gut answer first
+5 XP warm-up
Let $t = \tan\frac{\theta}{2}$. What is $\tan\theta$ in terms of $t$? Recall the double angle formula: $\tan(2A) = \frac{2\tan A}{1-\tan^2 A}$. Set $A = \frac{\theta}{2}$ and substitute $\tan\frac{\theta}{2} = t$. Write your prediction.
auto-saved
2
You’re here
Orientation and key terms
02
The key idea
+5 XP to read
One substitution, $t = \tan\frac{\theta}{2}$, converts all three trig functions into rational expressions in $t$. This transforms trig equations into polynomial equations, which you can solve with algebra. It is called the Weierstrass substitution.
The derivation for $\tan\theta$ uses the double angle formula directly. The derivations for $\sin\theta$ and $\cos\theta$ use a right triangle with opposite $t$, adjacent $1$, hypotenuse $\sqrt{1+t^2}$. Once you have $\sin\frac{\theta}{2} = \frac{t}{\sqrt{1+t^2}}$ and $\cos\frac{\theta}{2} = \frac{1}{\sqrt{1+t^2}}$, multiply using double angle for sine and cosine.
Why is this so powerful? The equation $3\sin\theta + 4\cos\theta = 2$ looks transcendental, it mixes sine and cosine. Substitute the t-formulas: $3 \cdot \frac{2t}{1+t^2} + 4 \cdot \frac{1-t^2}{1+t^2} = 2$, multiply through by $(1+t^2)$: $6t + 4 - 4t^2 = 2 + 2t^2$, rearrange: $6t^4 - 6t + 2 = 0$, wait, $6t^2 - 6t + 2 = 0$. This is a quadratic. Solve with the formula. The t-substitution has tamed a trig equation into algebra.
t = {2}: = 2t{1+t^2}, = 1-t^2{1+t^2}, = 2t{1-t^2}; Derivation: right triangle with opposite t, adjacent 1; then use double angle formulas
Pause, copy the three $t$-formulas into your book: $\sin\theta = \frac{2t}{1+t^2}$, $\cos\theta = \frac{1-t^2}{1+t^2}$, $\tan\theta = \frac{2t}{1-t^2}$, where $t = \tan\frac{\theta}{2}$.
Quick check: Using $t = \tan\frac{\theta}{2} = 1$, what is $\sin\theta$?
06
Domain restriction and using the formulas
core concept
We just saw that $t = \tan\frac{\theta}{2}$ gives $\sin\theta = \frac{2t}{1+t^2}$, $\cos\theta = \frac{1-t^2}{1+t^2}$, $\tan\theta = \frac{2t}{1-t^2}$. That raises a question: at $\theta = \pi$, $\tan\frac{\theta}{2}$ is undefined, does this mean solutions at $\theta = \pi$ are simply missed? This card answers it → yes, so we must check $\theta = \pi$ directly in the original equation before applying the substitution, then solve the resulting polynomial for $t$.
When does the substitution fail? The substitution $t = \tan\frac{\theta}{2}$ is undefined when $\frac{\theta}{2} = \frac{\pi}{2} + n\pi$, i.e. when $\theta = \pi + 2n\pi$. At these values, $\tan\frac{\theta}{2}$ does not exist. Always check whether $\theta = \pi$ is in your domain before applying the t-formulas.
Strategy for simplifying trig expressions:
Check that $\theta \neq \pi + 2n\pi$ in the domain.
Let $t = \tan\frac{\theta}{2}$ and substitute all trig functions.
Check whether the result should be converted back to trig or left in terms of $t$.
The t-substitution converts a transcendental equation into a polynomial, which algebra can solve.
t-substitution is undefined at = + 2n, always check the domain; Strategy: substitute, simplify algebraically, solve the polynomial, then = 2(t)
Pause, copy the domain-check protocol into your book: always test $\theta = \pi$ in the original equation first; if satisfied, record that solution; then apply the $t$-substitution and back-substitute via $\theta = 2\arctan t$.
Did you get this? True or false: the t-substitution is valid for all real values of $\theta$.
4
You’re here
Worked examples
Worked examples · 3 in a row, reveal as you go
PROBLEM 1 · EVALUATE GIVEN t
If $t = \tan\frac{\theta}{2} = \dfrac{1}{2}$, find $\sin\theta$ and $\cos\theta$.
Divide fractions (multiply by reciprocal) and cancel.
Fill the gap: If $t = \tan\frac{\theta}{2} = 2$, then $\sin\theta = \frac{2 \times 2}{1 + 4} = $ .
5
You’re here
Misconceptions to fix
Misconceptions to fix · the traps that cost marks
Trap 01
Forgetting $\theta \neq \pi$
At $\theta = \pi$, $\tan\frac{\theta}{2} = \tan\frac{\pi}{2}$ is undefined. If you substitute $t$-formulas and obtain a denominator of zero, you have missed this case. Always check the domain before applying the substitution.
Trap 02
Mixing up $1+t^2$ and $1-t^2$
$\sin\theta$ uses $1+t^2$ in the denominator; $\cos\theta$ uses $1+t^2$ in the denominator but $1-t^2$ in the numerator. $\tan\theta$ uses $1-t^2$ in the denominator. A mnemonic: $\cos$ and $\tan$ both "minus", $\frac{1-t^2}{1+t^2}$ and $\frac{2t}{1-t^2}$.
Trap 03
Using $t = \tan\theta$ instead of $t = \tan\frac{\theta}{2}$
The substitution is $t = \tan\frac{\theta}{2}$, not $\tan\theta$. Writing $t = \tan\theta$ produces completely different formulas and will give wrong answers. This confusion is especially common under exam pressure.
Did you get this? True or false: $\cos\theta = \dfrac{1+t^2}{1-t^2}$ is the correct t-formula for cosine.
6
You’re here
Activities
Activities · practice with the ideas
1
If $t = \tan\frac{\theta}{2} = 3$, find $\sin\theta$, $\cos\theta$ and $\tan\theta$. Verify your answers satisfy $\sin^2\theta + \cos^2\theta = 1$.
2
Express $5\cos\theta - 12\sin\theta$ entirely in terms of $t = \tan\frac{\theta}{2}$. Write your answer as a single fraction.
3
Show that $\dfrac{\sin\theta}{1+\cos\theta} = t$, i.e. $= \tan\frac{\theta}{2}$.
4
Why does the t-substitution fail at $\theta = \pi$? What is the value of $\sin\pi$ and $\cos\pi$ directly? Does the failure of the substitution cause any actual error in these values?
5
Use the t-substitution to solve $\sin\theta = \cos\theta$ for $\theta \in [0, 2\pi)$, $\theta \neq \pi$. First convert to a polynomial equation in $t$.
7
You’re here
Revisit your thinking
11
Revisit your thinking
Earlier you were asked to find $\tan\theta$ in terms of $t = \tan\frac{\theta}{2}$ using the double angle formula. The answer is $\tan\theta = \frac{2t}{1-t^2}$.
Why is the t-substitution so powerful? Because it eliminates the transcendental nature of trig equations. Every combination $a\sin\theta + b\cos\theta + c = 0$ becomes a quadratic or higher-degree polynomial in $t$, and polynomials obey familiar algebraic rules. This is also why the substitution appears in integral calculus: $\int \frac{1}{a + b\cos\theta}\,d\theta$ becomes a standard rational integral in $t$. The $d\theta$ transforms too: since $t = \tan\frac{\theta}{2}$, we get $dt = \frac{1}{2}\sec^2\frac{\theta}{2}\,d\theta$, so $d\theta = \frac{2}{1+t^2}\,dt$.
auto-saved
Odd one out: Three of these are correct when $t = \tan\frac{\theta}{2}$. Which one is WRONG?
1
You’re here
Multiple choice
01
Multiple choice
+5 XP per correct · +25 XP all-correct
Pick your answer, then rate your confidence. That tells the system what to drill next. Each retry pulls a fresh mix from the bank.
4. At $\theta = \pi$: $\tan(\pi/2)$ is undefined (vertical asymptote), so $t = \infty$. Directly: $\sin\pi = 0$, $\cos\pi = -1$. The t-formulas would give $\frac{2\cdot\infty}{1+\infty^2} \to 0$ (limit exists) and $\frac{1-\infty^2}{1+\infty^2} \to -1$ (limit exists), so the values are recoverable as limits, but the formulas are not directly applicable.
5. $\sin\theta = \cos\theta$: $\frac{2t}{1+t^2} = \frac{1-t^2}{1+t^2}$, so $2t = 1-t^2$, giving $t^2+2t-1=0$, $t = \frac{-2\pm\sqrt{8}}{2} = -1 \pm \sqrt{2}$. So $\tan\frac{\theta}{2} = \sqrt{2}-1$ or $-1-\sqrt{2}$, giving $\theta = \frac{\pi}{4}$ or $\frac{5\pi}{4}$.