Skip to main content
ExamExplained
NSW · Maths Extension 1
Maths Extension 1 study scene
§-Syllabus dot point
NSWMaths Extension 1Syllabus dot point

How does the t-substitution t=tanθ2t = \tan \frac{\theta}{2} help simplify and solve trigonometric equations?

Use the t-formula (Weierstrass substitution) to express sinθ\sin \theta, cosθ\cos \theta and tanθ\tan \theta as rational functions of t=tanθ2t = \tan \frac{\theta}{2}

A focused answer to the HSC Maths Extension 1 dot point on the t-formula. The half-angle right triangle, derivation of the t-substitution, the rational expressions for sin\sin, cos\cos and tan\tan in terms of tt, and its use in solving and simplifying trig equations and integrals, with worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to know the t-formula (also called the Weierstrass or half-angle substitution): set t=tanθ2t = \tan \frac{\theta}{2} and rewrite sinθ\sin \theta, cosθ\cos \theta and tanθ\tan \theta as rational functions of tt. The point is a change of subject: trig equations and integrals that mix sines and cosines are hard, but once everything is written in tt they become ordinary algebra, usually a quadratic. You trade the trigonometry for a polynomial, solve that, then convert back with θ=2arctant\theta = 2\arctan t. The one catch, which the exam loves, is that the substitution quietly excludes θ=π\theta = \pi (plus full turns), so you must check that value by hand.

The answer

The substitution

Let t=tanθ2t = \tan \frac{\theta}{2}. Then

sinθ=2t1+t2,cosθ=1t21+t2,tanθ=2t1t2.\sin \theta = \frac{2 t}{1 + t^2}, \qquad \cos \theta = \frac{1 - t^2}{1 + t^2}, \qquad \tan \theta = \frac{2 t}{1 - t^2}.

These are not arbitrary; they fall straight out of a right triangle for the half-angle together with the double-angle identities.

Where the formulas come from: a half-angle triangle

Write ϕ=θ2\phi = \frac{\theta}{2}, so t=tanϕt = \tan\phi. Build a right triangle whose angle at the origin is ϕ\phi, with the side opposite equal to tt and the side adjacent equal to 11. By Pythagoras the hypotenuse is 1+t2\sqrt{1 + t^2}.

Stage 1: the half-angle triangleA right triangle whose angle at the origin is theta on 2. The side opposite is t, the side adjacent is 1, so tan of theta on 2 equals t.θ/21t√(1 + t²)

Reading the triangle gives sine and cosine of the half-angle directly.

Stage 2: read sine and cosine of theta on 2From the triangle, sine of theta on 2 is t over the square root of 1 plus t squared, and cosine of theta on 2 is 1 over the same hypotenuse.θ/2sin θ/2 = t/√(1+t²)cos θ/2 = 1/√(1+t²)

Now feed these into the double-angle identities for θ=2ϕ\theta = 2\phi. For sine, sinθ=2sinϕcosϕ=2t1+t211+t2=2t1+t2\sin\theta = 2\sin\phi\cos\phi = 2\cdot\frac{t}{\sqrt{1+t^2}}\cdot\frac{1}{\sqrt{1+t^2}} = \frac{2t}{1+t^2}. For cosine, cosθ=cos2ϕsin2ϕ=1t21+t2\cos\theta = \cos^2\phi - \sin^2\phi = \frac{1 - t^2}{1+t^2}. Dividing gives tanθ=2t1t2\tan\theta = \frac{2t}{1-t^2}.

Stage 3: double-angle gives the t-formulasSubstituting sine and cosine of theta on 2 into the double-angle identities gives sine theta equals 2 t over 1 plus t squared, cosine theta equals 1 minus t squared over 1 plus t squared, and tan theta equals 2 t over 1 minus t squared.sin θ = 2 sin θ/2 cos θ/2= 2t / (1 + t²)cos θ = cos² θ/2 − sin² θ/2= (1 − t²) / (1 + t²)tan θ = sin θ / cos θ= 2t / (1 − t²)From the double-angle identities with t = tan θ/2:

The algebraic derivation (no triangle needed)

If you prefer pure algebra, start from the double-angle forms and divide top and bottom by cos2ϕ\cos^2\phi. From sin2ϕ=2sinϕcosϕ\sin 2\phi = 2\sin\phi\cos\phi,

sinθ=2sinϕcosϕcos2ϕ+sin2ϕ=2tanϕ1+tan2ϕ=2t1+t2.\sin\theta = \frac{2\sin\phi\cos\phi}{\cos^2\phi + \sin^2\phi} = \frac{2\tan\phi}{1 + \tan^2\phi} = \frac{2t}{1 + t^2}.

From cos2ϕ=cos2ϕsin2ϕ\cos 2\phi = \cos^2\phi - \sin^2\phi, dividing by cos2ϕ+sin2ϕ\cos^2\phi + \sin^2\phi gives cosθ=1tan2ϕ1+tan2ϕ=1t21+t2\cos\theta = \frac{1 - \tan^2\phi}{1 + \tan^2\phi} = \frac{1 - t^2}{1 + t^2}. Then tanθ=sinθcosθ=2t1t2\tan\theta = \frac{\sin\theta}{\cos\theta} = \frac{2t}{1 - t^2}, valid when 1t201 - t^2 \neq 0.

Turning an equation into a quadratic

To solve asinθ+bcosθ=ca\sin\theta + b\cos\theta = c with the t-formula, substitute and clear the denominator:

a2t1+t2+b1t21+t2=c    2at+b(1t2)=c(1+t2).a\cdot\frac{2t}{1+t^2} + b\cdot\frac{1-t^2}{1+t^2} = c \implies 2at + b(1 - t^2) = c(1 + t^2).

Collect terms into a quadratic in tt:

(b+c)t22at+(cb)=0.(b + c)t^2 - 2at + (c - b) = 0.

Solve for tt (factor or quadratic formula), then recover θ=2arctant\theta = 2\arctan t for each root. The general solution for θ\theta may add further branches, so read the interval the question asks for.

When to reach for the t-formula

The t-formula is the right tool when:

  1. The equation is asinθ+bcosθ=ca\sin\theta + b\cos\theta = c and you want exact or numerical roots (it competes with the auxiliary-angle method; t-formula shines when the quadratic factorises).
  2. You are integrating a rational function of sinθ\sin\theta and cosθ\cos\theta, such as dθ1+sinθ\int\frac{d\theta}{1+\sin\theta}, since dθ=21+t2dtd\theta = \frac{2}{1+t^2}\,dt converts the whole integral to a rational function of tt.
  3. You are proving an identity in which every term can be rewritten in tt and then simplified.

The limitation you must always check

Because t=tanθ2t = \tan\frac{\theta}{2} is undefined when θ2=π2+nπ\frac{\theta}{2} = \frac{\pi}{2} + n\pi, that is θ=π+2nπ\theta = \pi + 2n\pi, the substitution silently drops those angles. After solving in tt, substitute θ=π\theta = \pi (and θ=π\theta = -\pi if relevant to the interval) into the original equation to see whether it is a solution the t-formula missed. This single check is worth a mark and is the most common t-formula trap.

How exam questions ask about the t-formula

  • "Using t=tanθ2t = \tan\frac{\theta}{2}, show that sinθ=\sin\theta = \ldots" (or derive cosθ\cos\theta, tanθ\tan\theta): reproduce the half-angle triangle or the algebraic division.
  • "Use the t-formula to solve asinθ+bcosθ=ca\sin\theta + b\cos\theta = c in [interval]": substitute, clear to a quadratic in tt, solve, convert with θ=2arctant\theta = 2\arctan t, and check θ=π\theta = \pi.
  • "Prove the identity ... using t=tanθ2t = \tan\frac{\theta}{2}": substitute every term, put over the common denominator 1+t21 + t^2, and simplify.
  • "Using t=tanθ2t = \tan\frac{\theta}{2}, evaluate (rational in sin,cos)dθ\int (\text{rational in }\sin,\cos)\,d\theta": substitute including dθ=21+t2dtd\theta = \frac{2}{1+t^2}\,dt, integrate the rational function, back-substitute.
  • "Express sinθ+cosθ\sin\theta + \cos\theta in terms of tt": add the rational forms over 1+t21 + t^2.

Edge cases worth knowing

  • A repeated root gives one angle from the quadratic. If the quadratic in tt is a perfect square, like (3t1)2=0(3t-1)^2 = 0, there is a single tt, hence one base angle from 2arctant2\arctan t (plus any from the θ=π\theta = \pi check).
  • cosθ\cos\theta changes sign with t|t|. cosθ=1t21+t2\cos\theta = \frac{1-t^2}{1+t^2} is positive for t<1|t| < 1 and negative for t>1|t| > 1; a quick number line settles the sign if you are unsure.
  • The integral version needs dθd\theta converted too. Forgetting dθ=21+t2dtd\theta = \frac{2}{1+t^2}\,dt is the usual integral slip; it is what makes the integrand rational in tt.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

HSC-style2 marksGiven t=tanθ2t = \tan \frac{\theta}{2}, show that 1+sinθcosθ=1+t1t\frac{1 + \sin \theta}{\cos \theta} = \frac{1 + t}{1 - t}.
Show worked answer →

Substitute sinθ=2t1+t2\sin \theta = \frac{2 t}{1 + t^2} and cosθ=1t21+t2\cos \theta = \frac{1 - t^2}{1 + t^2}.

Numerator: 1+sinθ=1+2t1+t2=(1+t2)+2t1+t2=(1+t)21+t21 + \sin \theta = 1 + \frac{2 t}{1 + t^2} = \frac{(1 + t^2) + 2 t}{1 + t^2} = \frac{(1 + t)^2}{1 + t^2}.

So 1+sinθcosθ=(1+t)2/(1+t2)(1t2)/(1+t2)=(1+t)21t2\frac{1 + \sin \theta}{\cos \theta} = \frac{(1 + t)^2 / (1 + t^2)}{(1 - t^2) / (1 + t^2)} = \frac{(1 + t)^2}{1 - t^2}.

Factor 1t2=(1t)(1+t)1 - t^2 = (1 - t)(1 + t): (1+t)2(1t)(1+t)=1+t1t\frac{(1 + t)^2}{(1 - t)(1 + t)} = \frac{1 + t}{1 - t}, as required.

HSC-style4 marksUse the substitution t=tanθ2t = \tan \frac{\theta}{2} to solve 3sinθ+4cosθ=53 \sin \theta + 4 \cos \theta = 5 for θ[0,2π)\theta \in [0, 2\pi), giving the answer to two decimal places.
Show worked answer →

Substitute: 32t1+t2+41t21+t2=53 \cdot \frac{2 t}{1 + t^2} + 4 \cdot \frac{1 - t^2}{1 + t^2} = 5.

Multiply by 1+t21 + t^2: 6t+4(1t2)=5(1+t2)6 t + 4(1 - t^2) = 5(1 + t^2).

6t+44t2=5+5t26 t + 4 - 4 t^2 = 5 + 5 t^2, so 9t26t+1=09 t^2 - 6 t + 1 = 0, i.e. (3t1)2=0(3 t - 1)^2 = 0.

Thus t=13t = \frac{1}{3} (repeated), so θ=2arctan132(0.32175)0.64\theta = 2 \arctan \frac{1}{3} \approx 2(0.32175) \approx 0.64 rad.

Check θ=π\theta = \pi (where the substitution fails): 3sinπ+4cosπ=453 \sin \pi + 4 \cos \pi = -4 \neq 5, not a solution. So θ0.64\theta \approx 0.64 in [0,2π)[0, 2\pi).

ExamExplained