Skip to main content
Examonaut

Topic 1 · Lesson 2 of 3

Solving equations

The method

To solve an equation in sin⁡x\sin x and cos⁡x\cos x:

  1. Substitute the t-formulae.
  2. Multiply by 1+t21 + t^2 to get a polynomial equation in tt.
  3. Solve for tt, taking out common factors rather than dividing by them.
  4. For each tt, find x=2arctan⁡tx = 2\arctan t, adjusting to the required interval.
  5. Check x=πx = \pi (and any other odd multiple of π\pi in the interval) in the original equation.

Step 4 needs care. If 0≤x<2π0 \leq x < 2\pi, then 0≤x2<π0 \leq \frac{x}{2} < \pi. Your calculator gives arctan⁡t\arctan t between −π2-\frac{\pi}{2} and π2\frac{\pi}{2}, so for a negative tt add π\pi before doubling.

The lost solution

When x=πx = \pi, x2=π2\frac{x}{2} = \frac{\pi}{2} and tan⁡x2\tan\frac{x}{2} is undefined. No value of tt corresponds to x=πx = \pi, so if x=πx = \pi solves the equation, the equation in tt cannot show it. You must test x=πx = \pi separately.

There is a warning sign. For asin⁡x+bcos⁡x=ca\sin x + b\cos x = c, the substitution gives

2at1+t2+b(1−t2)1+t2=c⟹(b+c)t2−2at+(c−b)=0\frac{2at}{1 + t^2} + \frac{b(1 - t^2)}{1 + t^2} = c \quad \Longrightarrow \quad (b + c)t^2 - 2at + (c - b) = 0

At x=πx = \pi the left side of the original equation is −b-b, so x=πx = \pi is a solution exactly when c=−bc = -b, that is when the t2t^2 term vanishes. A quadratic that collapses to a linear equation is telling you a solution is hiding at x=πx = \pi.

Worked example

A quadratic in t

Solve 5cos⁡θ−2sin⁡θ=35\cos\theta - 2\sin\theta = 3 for 0≤θ<2π0 \leq \theta < 2\pi.

Show solution
  1. 5(1−t2)1+t2−4t1+t2=3\frac{5(1 - t^2)}{1 + t^2} - \frac{4t}{1 + t^2} = 3, so 5−5t2−4t=3+3t25 - 5t^2 - 4t = 3 + 3t^2 and 4t2+2t−1=04t^2 + 2t - 1 = 0.
  2. t=−2±4+168=−1±54t = \frac{-2 \pm \sqrt{4 + 16}}{8} = \frac{-1 \pm \sqrt{5}}{4}, so t=0.3090t = 0.3090 or t=−0.8090t = -0.8090.
  3. t=0.3090t = 0.3090: θ2=0.2997\frac{\theta}{2} = 0.2997, θ=0.599\theta = 0.599.
  4. t=−0.8090t = -0.8090: arctan⁡t=−0.6801\arctan t = -0.6801, and adding π\pi gives θ2=2.4615\frac{\theta}{2} = 2.4615, so θ=4.92\theta = 4.92.
  5. Check θ=π\theta = \pi: 5cos⁡π−2sin⁡π=−5≠35\cos\pi - 2\sin\pi = -5 \neq 3, so there are no more solutions.

You could also solve this with the Rcos⁡(θ−α)R\cos(\theta - \alpha) form from A level Maths, which is a good check.

Worked example

The lost solution

Solve 3sin⁡x+2cos⁡x=−23\sin x + 2\cos x = -2 for 0≤x<2π0 \leq x < 2\pi.

Show solution
  1. 6t1+t2+2(1−t2)1+t2=−2\frac{6t}{1 + t^2} + \frac{2(1 - t^2)}{1 + t^2} = -2, so 6t+2−2t2=−2−2t26t + 2 - 2t^2 = -2 - 2t^2.
  2. The t2t^2 terms cancel: 6t=−46t = -4, t=−23t = -\frac{2}{3}. Then arctan⁡t=−0.5880\arctan t = -0.5880, adding π\pi gives x2=2.5536\frac{x}{2} = 2.5536, and x=5.11x = 5.11.
  3. Check x=πx = \pi: 3sin⁡π+2cos⁡π=0−2=−23\sin\pi + 2\cos\pi = 0 - 2 = -2. It works.
  4. So x=πx = \pi or x=5.11x = 5.11.

Equations with other functions

The method works for any mixture of sin⁡x\sin x, cos⁡x\cos x, tan⁡x\tan x, their reciprocals and tan⁡x2\tan\frac{x}{2} itself. The polynomial may be a cubic, so look for a common factor.

Worked example

A cubic

Solve 2cos⁡x+tan⁡x2=22\cos x + \tan\frac{x}{2} = 2 for 0≤x<2π0 \leq x < 2\pi.

Show solution
  1. 2(1−t2)1+t2+t=2\frac{2(1 - t^2)}{1 + t^2} + t = 2. Multiply by 1+t21 + t^2: 2−2t2+t+t3=2+2t22 - 2t^2 + t + t^3 = 2 + 2t^2.
  2. t3−4t2+t=0t^3 - 4t^2 + t = 0, so t(t2−4t+1)=0t(t^2 - 4t + 1) = 0.
  3. t=0t = 0 gives x=0x = 0. t=2±3t = 2 \pm \sqrt{3}, and since tan⁡π12=2−3\tan\frac{\pi}{12} = 2 - \sqrt{3} and tan⁡5π12=2+3\tan\frac{5\pi}{12} = 2 + \sqrt{3}, these give x=π6x = \frac{\pi}{6} and x=5π6x = \frac{5\pi}{6}.
  4. x=πx = \pi is not allowed, because tan⁡π2\tan\frac{\pi}{2} appears in the equation itself.

Dividing by tt in step 2 would have lost x=0x = 0. Always factorise.

When does an equation have solutions?

The equation asin⁡x+bcos⁡x=ca\sin x + b\cos x = c has solutions only when c2≤a2+b2c^2 \leq a^2 + b^2, because the greatest value of asin⁡x+bcos⁡xa\sin x + b\cos x is a2+b2\sqrt{a^2 + b^2}. The t-formulae show this through the discriminant of (b+c)t2−2at+(c−b)=0(b + c)t^2 - 2at + (c - b) = 0:

4a2−4(b+c)(c−b)=4(a2+b2−c2)≥04a^2 - 4(b + c)(c - b) = 4(a^2 + b^2 - c^2) \geq 0

When c2=a2+b2c^2 = a^2 + b^2 the quadratic is a perfect square and there is one solution in each interval of length 2π2\pi: the line y=cy = c just touches the curve. For example 8sin⁡x+15cos⁡x=178\sin x + 15\cos x = 17 becomes 32t2−16t+2=032t^2 - 16t + 2 = 0, that is 2(4t−1)2=02(4t - 1)^2 = 0.

Practise this topic

Both are part of Premium.