Unit 5, lesson 68

Solving Quadratic Trigonometric Equations

How to solve trigonometric equations that factor or become quadratics in one function, how to handle multiple angles over the right interval, and how to reject candidates that fail the original equation.

  • Theory part 135
  • Practice part 136
  • Trigonometric Equations

The equation 2cos⁡2x+3sin⁡x−3=02\cos^2 x + 3\sin x - 3 = 0 looks unfamiliar until you notice that it is a quadratic in disguise. The algebra is what you already know from quadratics, factoring and the quadratic formula. What is new is the bookkeeping afterwards, collecting every angle over the right interval and throwing out the ones that only look like solutions.

Key terms

Factoring trigonometric equations

Definition Suppose an equation can be written as A(x) B(x)=0A(x) \, B(x) = 0, where AA and BB are expressions in trigonometric functions of xx. At every xx where both factors are defined, the product is zero exactly when A(x)=0A(x) = 0 or B(x)=0B(x) = 0. So the solutions are the solutions of A(x)=0A(x) = 0 together with those of B(x)=0B(x) = 0, restricted to inputs where both factors are defined. To use this, move every term to one side and factor. Do not divide both sides by a trigonometric expression, because that loses every solution that makes the expression zero.

In plain words Gather everything on one side, pull out a common factor, and set each factor equal to zero. Dividing by a factor instead quietly throws away the solutions that make it zero.

Example Solve 2sin⁡xcos⁡x=cos⁡x2\sin x \cos x = \cos x on [0,2π)[0, 2\pi). Moving everything to the left and factoring gives

cos⁡x (2sin⁡x−1)=0.\cos x \, (2\sin x - 1) = 0.

The factor cos⁡x\cos x is zero at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}. The factor 2sin⁡x−12\sin x - 1 is zero when sin⁡x=12\sin x = \frac{1}{2}, at π6\frac{\pi}{6} and 5π6\frac{5\pi}{6}. The solutions are π6\frac{\pi}{6}, π2\frac{\pi}{2}, 5π6\frac{5\pi}{6} and 3π2\frac{3\pi}{2}. Dividing by cos⁡x\cos x at the start would have lost two of them.

Substitution by a trig expression

Definition Suppose an equation can be written as

au2+bu+c=0,a≠0,a u^2 + b u + c = 0, \qquad a \neq 0,

where u=T(x)u = T(x) is a single trigonometric expression such as sin⁡x\sin x or tan⁡2x\tan 2x. Solve this quadratic for uu by factoring or by the quadratic formula. Discard any root that is not in the range of TT, and for each remaining root u0u_0 solve the linear equation T(x)=u0T(x) = u_0. If the equation mixes two functions, an identity such as sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 can often rewrite it in a single function first.

In plain words Rename the trig function as uu, solve an ordinary quadratic, and turn each answer back into angles. A root such as u=2u = 2 can never be a sine or a cosine, so it gives no angles.

Example Solve 2cos⁡2x+3sin⁡x−3=02\cos^2 x + 3\sin x - 3 = 0 on [0,2π)[0, 2\pi). Replace cos⁡2x\cos^2 x by 1−sin⁡2x1 - \sin^2 x and simplify.

2(1−sin⁡2x)+3sin⁡x−3=0  ⟺  2sin⁡2x−3sin⁡x+1=0.\begin{aligned} &2(1 - \sin^2 x) + 3\sin x - 3 = 0 \\[0.4em] &\iff 2\sin^2 x - 3\sin x + 1 = 0. \end{aligned}

With u=sin⁡xu = \sin x this is (2u−1)(u−1)=0(2u - 1)(u - 1) = 0, so u=12u = \frac{1}{2} or u=1u = 1. The value sin⁡x=12\sin x = \frac{1}{2} gives π6\frac{\pi}{6} and 5π6\frac{5\pi}{6}, and sin⁡x=1\sin x = 1 gives π2\frac{\pi}{2}. The solutions are π6\frac{\pi}{6}, π2\frac{\pi}{2} and 5π6\frac{5\pi}{6}.

Multiple angles

Definition An equation with a multiple angle contains a trigonometric function of nxnx for a constant nn other than 00 and 11, as in sin⁡2x\sin 2x or tan⁡3x\tan 3x. If every term uses the same angle nxnx, substitute θ=nx\theta = nx, solve for θ\theta, and divide each solution by nn. The period of T(nx)T(nx) is the period of TT divided by ∣n∣\lvert n \rvert, so with n=2n = 2 the solutions come twice as often as for T(x)T(x). If the equation mixes angles such as xx and 2x2x, first use a double-angle formula to write everything in terms of one angle.

In plain words When one angle appears throughout, solve for that whole angle as if it were a single letter and divide at the end. When different angles appear, rewrite them as one angle first.

Example Solve cos⁡2x=cos⁡x\cos 2x = \cos x on [0,2π)[0, 2\pi). The form cos⁡2x=2cos⁡2x−1\cos 2x = 2\cos^2 x - 1 puts everything in terms of cos⁡x\cos x,

2cos⁡2x−cos⁡x−1=0  ⟺  (2cos⁡x+1)(cos⁡x−1)=0.\begin{aligned} &2\cos^2 x - \cos x - 1 = 0 \\[0.4em] &\iff (2\cos x + 1)(\cos x - 1) = 0. \end{aligned}

The value cos⁡x=1\cos x = 1 gives x=0x = 0, and cos⁡x=−12\cos x = -\frac{1}{2} gives x=2π3x = \frac{2\pi}{3} and 4π3\frac{4\pi}{3}. The solutions are 00, 2π3\frac{2\pi}{3} and 4π3\frac{4\pi}{3}.

Full interval for the multiple angle

Definition Let xx be restricted to an interval with endpoints p<qp < q, and let θ=nx\theta = nx with n>0n > 0. Then θ\theta is restricted to the interval with endpoints npnp and nqnq, with the same endpoints included or excluded. Every solution for θ\theta in this stretched interval must be found before dividing by nn.

In plain words As xx goes once around the circle, 2x2x goes around twice. So you have to collect the angles for 2x2x over two full turns, not one.

Example Solve sin⁡2x=32\sin 2x = \frac{\sqrt{3}}{2} on [0,2π)[0, 2\pi). With θ=2x\theta = 2x the interval becomes 0≤θ<4π0 \le \theta < 4\pi. Sine equals 32\frac{\sqrt{3}}{2} at π3\frac{\pi}{3} and 2π3\frac{2\pi}{3}, and again one turn later.

θ=2x\theta = 2xxx
π3\frac{\pi}{3}π6\frac{\pi}{6}
2π3\frac{2\pi}{3}π3\frac{\pi}{3}
7π3\frac{7\pi}{3}7π6\frac{7\pi}{6}
8π3\frac{8\pi}{3}4π3\frac{4\pi}{3}

There are four solutions. Stopping at θ<2π\theta < 2\pi would miss the last two.

Extraneous candidates

Definition A candidate is a value found by solving an equation derived from the original one. It is extraneous if it satisfies the derived equation but not the original. Squaring both sides can create extraneous candidates, since a2=b2a^2 = b^2 holds when a=−ba = -b as well as when a=ba = b. Multiplying both sides by an expression that can be zero can create them too. After either step, every candidate must be checked in the original equation.

In plain words A number and its negative have the same square, so squaring lets in angles where the two sides differ only in sign. Plug every candidate back into the equation you started with.

Example Solve cos⁡x−sin⁡x=1\cos x - \sin x = 1 on [0,2π)[0, 2\pi). Squaring gives cos⁡2x−2sin⁡xcos⁡x+sin⁡2x=1\cos^2 x - 2\sin x \cos x + \sin^2 x = 1, which simplifies to sin⁡xcos⁡x=0\sin x \cos x = 0. The candidates are 00, π2\frac{\pi}{2}, π\pi and 3π2\frac{3\pi}{2}.

xxcos⁡x−sin⁡x\cos x - \sin xSolution
0011yes
π2\frac{\pi}{2}−1-1no
π\pi−1-1no
3π2\frac{3\pi}{2}11yes

The solutions are 00 and 3π2\frac{3\pi}{2}. The two rejected values solve cos⁡x−sin⁡x=−1\cos x - \sin x = -1, which squares to the same equation.

Domain checks

Definition A solution must lie in the domain of every expression in the original equation. Tangent and secant require x≠π2+kπx \neq \frac{\pi}{2} + k\pi, and cotangent and cosecant require x≠kπx \neq k\pi, for every integer kk. The zero product rule only applies where every factor is defined, so after factoring or using identities, each candidate must be checked against these restrictions.

In plain words Zero times something undefined is not zero. The product is undefined. A candidate that makes any part of the original equation undefined has to go.

Example Solve tan⁡xsin⁡x=tan⁡x\tan x \sin x = \tan x on [0,2π)[0, 2\pi). Factoring gives tan⁡x (sin⁡x−1)=0\tan x \, (\sin x - 1) = 0. The factor tan⁡x\tan x is zero at 00 and π\pi. The factor sin⁡x−1\sin x - 1 is zero at π2\frac{\pi}{2}, but tan⁡π2\tan \frac{\pi}{2} is undefined, so π2\frac{\pi}{2} is not in the domain and is rejected. The solutions are 00 and π\pi.

Check yourself

  1. Solve 2sin⁡2x+3sin⁡x+1=02\sin^2 x + 3\sin x + 1 = 0 on [0,2π)[0, 2\pi).
Show the answer

With u=sin⁡xu = \sin x the equation is (2u+1)(u+1)=0(2u + 1)(u + 1) = 0. The value sin⁡x=−12\sin x = -\frac{1}{2} gives 7π6\frac{7\pi}{6} and 11π6\frac{11\pi}{6}, and sin⁡x=−1\sin x = -1 gives 3π2\frac{3\pi}{2}. The solutions are 7π6\frac{7\pi}{6}, 3π2\frac{3\pi}{2} and 11π6\frac{11\pi}{6}.

  1. Solve 2cos⁡3x=12\cos 3x = 1 on [0,2π)[0, 2\pi).
Show the answer

Let θ=3x\theta = 3x, so 0≤θ<6π0 \le \theta < 6\pi and cos⁡θ=12\cos \theta = \frac{1}{2}. Over three turns,

θ=π3, 5π3, 7π3, 11π3, 13π3, 17π3.\theta = \frac{\pi}{3}, \ \frac{5\pi}{3}, \ \frac{7\pi}{3}, \ \frac{11\pi}{3}, \ \frac{13\pi}{3}, \ \frac{17\pi}{3}.

Dividing by 33 gives six solutions,

x=π9, 5π9, 7π9, 11π9, 13π9, 17π9.x = \frac{\pi}{9}, \ \frac{5\pi}{9}, \ \frac{7\pi}{9}, \ \frac{11\pi}{9}, \ \frac{13\pi}{9}, \ \frac{17\pi}{9}.
  1. Solve cos⁡2x+cos⁡x−1=0\cos^2 x + \cos x - 1 = 0 on [0,2π)[0, 2\pi), rounding to four decimal places.
Show the answer

With u=cos⁡xu = \cos x the quadratic formula gives

u=−1±52.u = \frac{-1 \pm \sqrt{5}}{2}.

The root −1−52≈−1.618\frac{-1 - \sqrt{5}}{2} \approx -1.618 is less than −1-1, so it is discarded. The other root gives cos⁡x=5−12≈0.6180\cos x = \frac{\sqrt{5} - 1}{2} \approx 0.6180, with principal value arccos⁡5−12≈0.9046\arccos \frac{\sqrt{5} - 1}{2} \approx 0.9046. The second solution in the interval is 2π−0.9046≈5.37862\pi - 0.9046 \approx 5.3786, so the solutions are about 0.90460.9046 and 5.37865.3786.

How this lesson connects

Where this leads in Calculus