Trigonometry · real student question

Solve cot x + 2 sin x − csc x = 0 for all real x.

Question

Solve

cotx+2sinxcscx=0\cot x + 2\sin x - \csc x = 0

Step-by-step solution

  1. Write everything over sine and record the domain. Using cotx=cosxsinx\cot x = \tfrac{\cos x}{\sin x} and cscx=1sinx\csc x = \tfrac{1}{\sin x}:

    cosx1sinx+2sinx=0\frac{\cos x - 1}{\sin x} + 2\sin x = 0

    Both cot\cot and csc\csc require sinx0\sin x \ne 0, so xπkx \ne \pi k is part of the problem from the start — this restriction decides the answer later.

  2. Multiply by sin x. Because sinx0\sin x \ne 0 on the domain, this is a legitimate step and loses nothing:

    cosx1+2sin2x=0\cos x - 1 + 2\sin^2 x = 0

  3. Convert to a single trigonometric function. Substituting sin2x=1cos2x\sin^2 x = 1 - \cos^2 x turns the equation into a quadratic in cosx\cos x:

    2(1cos2x)+cosx1=02cos2xcosx1=02\left(1-\cos^2 x\right) + \cos x - 1 = 0 \quad \Longrightarrow \quad 2\cos^2 x - \cos x - 1 = 0

    (after multiplying through by 1-1). Reducing to one function is what makes a trig equation solvable by algebra.

  4. Factor the quadratic. With c=cosxc = \cos x,

    2c2c1=(2c+1)(c1)=0cosx=12  or  cosx=12c^2 - c - 1 = (2c+1)(c-1) = 0 \quad \Longrightarrow \quad \cos x = -\frac12 \ \text{ or } \ \cos x = 1

  5. Discard the root that violates the domain. If cosx=1\cos x = 1 then x=2πkx = 2\pi k, where sinx=0\sin x = 0 and both cotx\cot x and cscx\csc x are undefined. So cosx=1\cos x = 1 is extraneous, introduced by multiplying through by sinx\sin x — exactly the kind of root that must be tested against the original equation.

  6. Solve the surviving equation. cosx=12\cos x = -\tfrac12 has reference angle π3\tfrac{\pi}{3} with solutions in quadrants II and III:

    x=2π3+2πkorx=4π3+2πk,kZx = \frac{2\pi}{3} + 2\pi k \qquad \text{or} \qquad x = \frac{4\pi}{3} + 2\pi k, \quad k \in \mathbb{Z}

    Substituting ten of these values back into cotx+2sinxcscx\cot x + 2\sin x - \csc x gives 00 to within 101210^{-12}, and sinx=±320\sin x = \pm\tfrac{\sqrt3}{2} \ne 0 at each, so all are valid.

Answer

x=2π3+2πkorx=4π3+2πk,kZx = \frac{2\pi}{3} + 2\pi k \quad \text{or} \quad x = \frac{4\pi}{3} + 2\pi k, \qquad k \in \mathbb{Z}

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