Trigonometry · real student question

Solve cos(2x - pi/3) + cos(x) = 1/2 for x in [0, 2 pi).

Question

Solve cos ⁣(2xπ3)+cosx=12\cos\!\left(2x-\frac{\pi}{3}\right)+\cos x = \frac12 for x[0,2π)x\in[0,2\pi).

Step-by-step solution

  1. Expand the compound angle. Using cos(AB)=cosAcosB+sinAsinB\cos(A-B)=\cos A\cos B+\sin A\sin B with cosπ3=12\cos\tfrac\pi3=\tfrac12, sinπ3=32\sin\tfrac\pi3=\tfrac{\sqrt3}{2}: 12cos2x+32sin2x+cosx=12.\frac12\cos 2x+\frac{\sqrt3}{2}\sin 2x+\cos x = \frac12.

  2. Write everything in terms of sin x and cos x. With cos2x=2c21\cos 2x = 2c^2-1 and sin2x=2sc\sin 2x = 2sc (writing c=cosxc=\cos x, s=sinxs=\sin x): 2c212+3sc+c=12c2+c1=3sc.\frac{2c^2-1}{2}+\sqrt3\,sc+c = \frac12 \quad\Longrightarrow\quad c^2+c-1 = -\sqrt3\,sc.

  3. Square to eliminate the sine, and note the risk. Replacing s2s^2 by 1c21-c^2: (c2+c1)2=3c2(1c2)4c4+2c34c22c+1=0.(c^2+c-1)^2 = 3c^2(1-c^2) \quad\Longrightarrow\quad 4c^4+2c^3-4c^2-2c+1 = 0. Squaring can create roots that satisfy the quartic but not the original equation, so every candidate must be tested at the end.

  4. Solve the quartic numerically. In [1,1][-1,1] the quartic has exactly two roots: c0.3369592andc0.8941126.c \approx 0.3369592 \quad\text{and}\quad c \approx 0.8941126. Neither is a nice surd, so the answer will be numerical.

  5. Convert each cosine value to angles and filter. Each cc gives two angles in [0,2π)[0,2\pi): for c=0.3369592c=0.3369592, x=1.227111x=1.227111 or 5.0560745.056074; for c=0.8941126c=0.8941126, x=0.464350x=0.464350 or 5.8188355.818835. Substituting into the original equation, only x=1.227111x=1.227111 and x=5.818835x=5.818835 give 12\tfrac12 - the other two are the extraneous roots introduced by squaring (they satisfy the sign-flipped version c2+c1=+3scc^2+c-1=+\sqrt3 sc).

  6. Verify the survivors. At x=1.227111x=1.227111: cos(1.407024)+cos(1.227111)=0.162669+0.337331=0.500000\cos(1.407024)+\cos(1.227111) = 0.162669+0.337331 = 0.500000. At x=5.818835x=5.818835: cos(10.590472)+cos(5.818835)=0.394113+0.894113=0.500000\cos(10.590472)+\cos(5.818835) = -0.394113+0.894113 = 0.500000. Both are correct to the digits shown.

Answer

x1.227111 and x5.818835 (radians, on [0,2π))x \approx 1.227111 \ \text{and} \ x \approx 5.818835 \ \text{(radians, on } [0,2\pi))

Need to solve a different problem like this? Open the solver →