The first method for solving a linear equation asinx+bcosx+c=0a\sin x + b\cos x + c = 0 uses the parametric formulae, which express sinx\sin x and cosx\cos x in terms of t=tan(x/2)t = \tan(x/2). In this way the equation becomes rational in tt.

In summary — Parametric procedure

  1. Set t=tan(x/2)t = \tan(x/2).
  2. Substitute sinx=2t1+t2\sin x = \dfrac{2t}{1+t^2} and cosx=1t21+t2\cos x = \dfrac{1-t^2}{1+t^2}.
  3. Multiply by 1+t21+t^2 (always positive) to clear the denominator.
  4. Solve the rational equation (usually of second degree) in tt.
  5. For each solution tt, find x=2arctant+2kπx = 2\arctan t + 2k\pi.
  6. Check separately whether x=πx=\pi (that is, x/2=π/2x/2=\pi/2, where tan\tan does not exist) is a solution of the original equation, by substituting directly.

Example

Solve 3sinx+cosx+1=0\sqrt{3}\sin x + \cos x + 1 = 0 with the parametric method.

Substitution: 32t1+t2+1t21+t2+1=0    23t+1t2+1+t21+t2=0\sqrt{3}\cdot\frac{2t}{1+t^2} + \frac{1-t^2}{1+t^2} + 1 = 0 \iff \frac{2\sqrt{3}\,t + 1 - t^2 + 1 + t^2}{1+t^2} = 0     23t+2=0    t=13.\iff 2\sqrt{3}\,t + 2 = 0 \iff t = -\frac{1}{\sqrt{3}}.

Back to xx: tan(x/2)=1/3\tan(x/2) = -1/\sqrt{3}, whence x/2=π/6+kπx/2 = -\pi/6 + k\pi, that is x=π3+2kπx = -\dfrac{\pi}{3} + 2k\pi.

Checking the case x=πx=\pi: 3sinπ+cosπ+1=0+(1)+1=0\sqrt{3}\sin\pi + \cos\pi + 1 = 0 + (-1) + 1 = 0. ✓ It too is a solution.

Final solution:  x=π3+2kπ  x=π+2kπ\ x = -\dfrac{\pi}{3} + 2k\pi \ \vee\ x = \pi + 2k\pi.

Topics: Trigonometric equations
Concepts: Linear trigonometric equation · Parametric formulae · Substitution
Functions: Cosine · Sine · Tangent
Methods: Trigonometric equations
Skills: Solving equations · Using formulae