TExcelTAD
Home › School Analytical Trigonometry & Conic Sections › Solving Basic Cosine and Tangent Equations

Solving Basic Cosine and Tangent Equations

Having mastered Solving Basic Sine Equations, we now turn our attention to the other two fundamental trigonometric functions: Cosine and Tangent.

While all trigonometric equations feature infinite periodic families of solutions, their geometric symmetries differ fundamentally:

  • Cosine represents the horizontal coordinate on the unit circle, creating reflectional symmetry across the horizontal xx-axis (x=±αx = \pm\alpha).
  • Tangent represents the slope of the radial line, repeating every half-turn (π\pi radians) rather than every full circle (x=α+kπx = \alpha + k\pi).

Understanding these distinct paper behaviors ensures you never confuse their solution structures in exams.


Unit Circle Geometry: Cosine vs. Tangent

1. The Cosine Equation: cos⁡x=m\cos x = m

On the unit circle x2+y2=1x^2 + y^2 = 1, the cosine of an angle θ\theta is its horizontal coordinate: x=cos⁡θx = \cos\theta.

Solving cos⁡x=m\cos x = m corresponds geometrically to intersecting the unit circle with the vertical line x=mx = m:

alpha M(cos alpha, sin alpha) x y Unit Circle: cos^2(alpha) + sin^2(alpha) = 1
  1. Existence Condition: Because points on the unit circle satisfy −1≤x≤1-1 \le x \le 1, real solutions exist if and only if:
    −1≤m≤1-1 \le m \le 1
  2. Opposite-Angle Symmetry: If an angle α\alpha has horizontal projection mm, its reflection across the xx-axis, −α-\alpha, has the exact same horizontal coordinate:
    cos⁡(−α)=cos⁡α=m\cos(-\alpha) = \cos\alpha = m
  3. Periodicity: The terminal point completes a full cycle every 2π2\pi radians (360∘360^\circ). Therefore, the two points generate the compact paired family:
    x=±α+k2π(k∈Z)x = \pm\alpha + k2\pi \quad (k \in \mathbb{Z})

2. The Tangent Equation: tan⁡x=m\tan x = m

The tangent of an angle is defined as the ratio tan⁡x=sin⁡xcos⁡x=yx\tan x = \frac{\sin x}{\cos x} = \frac{y}{x}, which is geometrically the slope of the terminal ray passing through the origin (0,0)(0, 0) and P(cos⁡x,sin⁡x)P(\cos x, \sin x).

Quadrant I (All +) sin > 0, cos > 0, tan > 0 Quadrant II (Sin +) sin > 0, cos < 0, tan < 0 Quadrant III (Tan +) sin < 0, cos < 0, tan > 0 Quadrant IV (Cos +) sin < 0, cos > 0, tan < 0
  1. Feasibility: Unlike sine and cosine, which are bounded between −1-1 and 11, a straight line through the origin can have any real slope from −∞-\infty to +∞+\infty. Thus, the equation tan⁡x=m\tan x = m always has real solutions for every m∈Rm \in \mathbb{R}.
  2. Domain Restriction: Because tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x}, tangent is undefined whenever cos⁡x=0\cos x = 0:
    x≠π2+kπ(k∈Z)x \neq \frac{\pi}{2} + k\pi \quad (k \in \mathbb{Z})
  3. Half-Turn Periodicity (π\pi): Diametrically opposite points on the circle (P1P_1 in Quadrant I and P2P_2 in Quadrant III, or Quadrants II and IV) lie on the exact same straight line through the origin and therefore share the identical slope:
    tan⁡(x+π)=sin⁡(x+π)cos⁡(x+π)=−sin⁡x−cos⁡x=tan⁡x\tan(x + \pi) = \frac{\sin(x + \pi)}{\cos(x + \pi)} = \frac{-\sin x}{-\cos x} = \tan x
    Consequently, the tangent equation requires only one single branch with period π\pi:
    x=α+kπ(k∈Z)x = \alpha + k\pi \quad (k \in \mathbb{Z})

Master Formula Box

EquationFeasibility ConditionGeneral Solution Family (k∈Z)cos⁡x=cos⁡α−1≤cos⁡α≤1x=±α+k2πtan⁡x=tan⁡αx,α≠π2+nπx=α+kπ\begin{array}{|c|c|c|} \hline \textbf{Equation} & \textbf{Feasibility Condition} & \textbf{General Solution Family } (k \in \mathbb{Z}) \\ \hline \cos x = \cos\alpha & -1 \le \cos\alpha \le 1 & x = \pm\alpha + k2\pi \\ \hline \tan x = \tan\alpha & x, \alpha \neq \dfrac{\pi}{2} + n\pi & x = \alpha + k\pi \\ \hline \end{array}

Critical Boundary Cases

cos⁡x=0  ⟺  x=π2+kπ(k∈Z)cos⁡x=1  ⟺  x=k2π(k∈Z)cos⁡x=−1  ⟺  x=π+k2π(k∈Z)tan⁡x=0  ⟺  x=kπ(k∈Z)\begin{aligned} \cos x = 0 &\iff x = \frac{\pi}{2} + k\pi \quad (k \in \mathbb{Z}) \\ \cos x = 1 &\iff x = k2\pi \quad (k \in \mathbb{Z}) \\ \cos x = -1 &\iff x = \pi + k2\pi \quad (k \in \mathbb{Z}) \\ \tan x = 0 &\iff x = k\pi \quad (k \in \mathbb{Z}) \end{aligned}

[!NOTE] For cos⁡x=0\cos x = 0, the points on the unit circle are (0,1)(0, 1) at π2\frac{\pi}{2} and (0,−1)(0, -1) at 3π2\frac{3\pi}{2}. Because they are separated by exactly π\pi radians, the two branches π2+k2π\frac{\pi}{2} + k2\pi and −π2+k2π-\frac{\pi}{2} + k2\pi collapse cleanly into x=π2+kπx = \frac{\pi}{2} + k\pi.


Step-by-Step Paper Calculation Method

  1. Cosine Procedure:

    • Step 1: Rewrite in the form cos⁡(u)=m\cos(u) = m. Verify −1≤m≤1-1 \le m \le 1.
    • Step 2: Find the principal angle α∈[0,π]\alpha \in [0, \pi] such that cos⁡α=m\cos\alpha = m.
    • Step 3: Write the two symmetric branches:
      u=α+k2πoru=−α+k2πu = \alpha + k2\pi \quad \text{or} \quad u = -\alpha + k2\pi
    • Step 4: Isolate xx, remembering to divide the periodic term k2πk2\pi by the argument coefficient.
  2. Tangent Procedure:

    • Step 1: State domain conditions: argument u≠π2+nπu \neq \frac{\pi}{2} + n\pi.
    • Step 2: Find the principal angle α∈(−π2,π2)\alpha \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) such that tan⁡α=m\tan\alpha = m.
    • Step 3: Write the single periodic branch using period +kπ+ k\pi:
      u=α+kπ(k∈Z)u = \alpha + k\pi \quad (k \in \mathbb{Z})
    • Step 4: Isolate xx algebraically.

Step-by-Step Notebook Examples

Example 1: Solving a Cosine Equation with Argument Multiplier

Problem Statement: Find all real solutions to cos⁡(2x)=−12\cos(2x) = -\frac{1}{2}, and determine all solutions in the interval [0,π][0, \pi].

Paper Calculation Steps:

  1. Identify the Principal Angle α\alpha: Since cos⁡(π3)=12\cos\left(\frac{\pi}{3}\right) = \frac{1}{2}, and cosine is negative in Quadrant II, we have:

    α=π−π3=2π3\alpha = \pi - \frac{\pi}{3} = \frac{2\pi}{3}

    Check: cos⁡(2π3)=−12\cos\left(\frac{2\pi}{3}\right) = -\frac{1}{2}.

  2. Apply the Master Cosine Rule: Let u=2xu = 2x:

    2x=±2π3+k2π(k∈Z)2x = \pm\frac{2\pi}{3} + k2\pi \quad (k \in \mathbb{Z})
  3. Divide by 22 across all terms:

    x=±π3+kπ(k∈Z)x = \pm\frac{\pi}{3} + k\pi \quad (k \in \mathbb{Z})

    Written as two distinct families:

    {x=π3+kπx=−π3+kπ(k∈Z)\begin{cases} x = \frac{\pi}{3} + k\pi \\ x = -\frac{\pi}{3} + k\pi \end{cases} \quad (k \in \mathbb{Z})
  4. Filter for x∈[0,π]x \in [0, \pi]:

    • From family x=π3+kπx = \frac{\pi}{3} + k\pi:
      • For k=0  ⟹  x=π3∈[0,π]k = 0 \implies x = \frac{\pi}{3} \in [0, \pi].
      • For k=1  ⟹  x=4π3>πk = 1 \implies x = \frac{4\pi}{3} > \pi (rejected).
    • From family x=−π3+kπx = -\frac{\pi}{3} + k\pi:
      • For k=0  ⟹  x=−π3<0k = 0 \implies x = -\frac{\pi}{3} < 0 (rejected).
      • For k=1  ⟹  x=−π3+π=2π3∈[0,π]k = 1 \implies x = -\frac{\pi}{3} + \pi = \frac{2\pi}{3} \in [0, \pi].
      • For k=2  ⟹  x=−π3+2π=5π3>πk = 2 \implies x = -\frac{\pi}{3} + 2\pi = \frac{5\pi}{3} > \pi (rejected).

Final Answer:

  • General Solution: x=±π3+kπx = \pm\frac{\pi}{3} + k\pi (k∈Zk \in \mathbb{Z}).
  • Solutions in [0,π][0, \pi]: x∈{π3,2π3}x \in \left\{ \frac{\pi}{3}, \frac{2\pi}{3} \right\}.

Example 2: Solving a Tangent Equation with Shift

Problem Statement: Solve on paper:

tan⁡(3x+π6)=3\tan\left(3x + \frac{\pi}{6}\right) = \sqrt{3}

Paper Calculation Steps:

  1. Identify the Reference Angle α\alpha: Recall that tan⁡(π3)=sin⁡(π/3)cos⁡(π/3)=3/21/2=3\tan\left(\frac{\pi}{3}\right) = \frac{\sin(\pi/3)}{\cos(\pi/3)} = \frac{\sqrt{3}/2}{1/2} = \sqrt{3}. Therefore, α=π3\alpha = \frac{\pi}{3}.

  2. Set up the Single Periodic Branch: Remember that tangent has fundamental period π\pi:

    3x+π6=π3+kπ(k∈Z)3x + \frac{\pi}{6} = \frac{\pi}{3} + k\pi \quad (k \in \mathbb{Z})
  3. Subtract π6\frac{\pi}{6} from Both Sides:

    3x=π3−π6+kπ3x=2π−π6+kπ3x=π6+kπ\begin{aligned} 3x &= \frac{\pi}{3} - \frac{\pi}{6} + k\pi \\ 3x &= \frac{2\pi - \pi}{6} + k\pi \\ 3x &= \frac{\pi}{6} + k\pi \end{aligned}
  4. Divide by 33:

    x=π18+kπ3(k∈Z)x = \frac{\pi}{18} + \frac{k\pi}{3} \quad (k \in \mathbb{Z})
  5. Verify Domain Exclusion: Tangent is undefined when 3x+π6=π2+nπ3x + \frac{\pi}{6} = \frac{\pi}{2} + n\pi. Here, 3x+π6=π3+kπ≠π2+nπ3x + \frac{\pi}{6} = \frac{\pi}{3} + k\pi \neq \frac{\pi}{2} + n\pi for any integers k,nk, n. Thus all solutions are valid.

Final Answer:

x=π18+kπ3(k∈Z)x = \frac{\pi}{18} + \frac{k\pi}{3} \quad (k \in \mathbb{Z})

Example 3: Mixed Factoring (Cosine and Tangent)

Problem Statement: Solve for x∈[0,2π)x \in [0, 2\pi):

cos⁡2x−sin⁡xcos⁡x=0\cos^2 x - \sin x \cos x = 0

Paper Calculation Steps:

  1. Factor Out the Common Factor cos⁡x\cos x:

    cos⁡x(cos⁡x−sin⁡x)=0\cos x (\cos x - \sin x) = 0

    By the zero-product property, this splits into two independent equations:

    cos⁡x=0orcos⁡x−sin⁡x=0\cos x = 0 \quad \text{or} \quad \cos x - \sin x = 0
  2. Solve Case 1: cos⁡x=0\cos x = 0: On [0,2π)[0, 2\pi), cosine vanishes at the top and bottom of the unit circle:

    x=π2andx=3π2x = \frac{\pi}{2} \quad \text{and} \quad x = \frac{3\pi}{2}
  3. Solve Case 2: cos⁡x−sin⁡x=0  ⟹  sin⁡x=cos⁡x\cos x - \sin x = 0 \implies \sin x = \cos x: If cos⁡x=0\cos x = 0, then sin⁡x=±1≠0\sin x = \pm 1 \neq 0, so cos⁡x≠0\cos x \neq 0 for this branch. We can safely divide both sides by cos⁡x\cos x:

    sin⁡xcos⁡x=1  ⟹  tan⁡x=1\frac{\sin x}{\cos x} = 1 \implies \tan x = 1

    The reference angle for tan⁡x=1\tan x = 1 is π4\frac{\pi}{4}. General formula:

    x=π4+kπx = \frac{\pi}{4} + k\pi

    On [0,2π)[0, 2\pi):

    • For k=0  ⟹  x=π4k = 0 \implies x = \frac{\pi}{4}.
    • For k=1  ⟹  x=π4+π=5π4k = 1 \implies x = \frac{\pi}{4} + \pi = \frac{5\pi}{4}.
  4. Combine All Solutions: Arranging the values in increasing order:

    x∈{π4,π2,5π4,3π2}x \in \left\{ \frac{\pi}{4}, \frac{\pi}{2}, \frac{5\pi}{4}, \frac{3\pi}{2} \right\}

Final Answer:

x∈{π4,π2,5π4,3π2}x \in \left\{ \frac{\pi}{4}, \frac{\pi}{2}, \frac{5\pi}{4}, \frac{3\pi}{2} \right\}

Common Mistakes & Paper Traps

[!WARNING] Trap 1: Writing +k2π+ k2\pi for Tangent Equations. Tangent repeats every half revolution (π\pi). Writing tan⁡x=1  ⟹  x=π4+k2π\tan x = 1 \implies x = \frac{\pi}{4} + k2\pi misses all solutions in Quadrant III! Always use +kπ+ k\pi for tangent.

[!WARNING] Trap 2: Using the Supplementary Formula π−α\pi - \alpha for Cosine. sin⁡x=sin⁡α\sin x = \sin\alpha uses α\alpha and π−α\pi - \alpha. But cos⁡x=cos⁡α\cos x = \cos\alpha uses α\alpha and −α-\alpha (or 2π−α2\pi - \alpha). Do not confuse the horizontal and vertical reflection rules!

[!WARNING] Trap 3: Dividing by cos⁡x\cos x Without Considering cos⁡x=0\cos x = 0. In equations like cos⁡2x=sin⁡xcos⁡x\cos^2 x = \sin x \cos x, do not simply divide through by cos⁡x\cos x and write cos⁡x=sin⁡x\cos x = \sin x. You must factor cos⁡x\cos x out, otherwise you lose the roots where cos⁡x=0\cos x = 0!


Pencil & Paper Practice

Solve these problems in your notebook before comparing with the step-by-step solutions below.

Practice Problems

  1. Problem 1: Solve cos⁡x=−32\cos x = -\frac{\sqrt{3}}{2} and list all solutions in [0,2π)[0, 2\pi).
  2. Problem 2: Solve tan⁡(2x)=−1\tan(2x) = -1 on the interval [0,π][0, \pi].
  3. Problem 3: Find all real solutions to 2cos⁡2x+cos⁡x−1=02\cos^2 x + \cos x - 1 = 0.

Step-by-Step Solutions

Solution 1:

  • cos⁡(π6)=32\cos\left(\frac{\pi}{6}\right) = \frac{\sqrt{3}}{2}. Since cosine is negative in Quadrant II, α=π−π6=5π6\alpha = \pi - \frac{\pi}{6} = \frac{5\pi}{6}.
  • General solution: x=±5π6+k2πx = \pm\frac{5\pi}{6} + k2\pi (k∈Zk \in \mathbb{Z}).
  • On [0,2π)[0, 2\pi):
    • Positive branch (k=0k=0): x=5π6x = \frac{5\pi}{6}.
    • Negative branch (k=1k=1): x=−5π6+2π=7π6x = -\frac{5\pi}{6} + 2\pi = \frac{7\pi}{6}.
  • Solution set: x∈{5π6,7π6}x \in \left\{\frac{5\pi}{6}, \frac{7\pi}{6}\right\}.

Solution 2:

  • tan⁡(−π4)=−1  ⟹  α=−π4\tan\left(-\frac{\pi}{4}\right) = -1 \implies \alpha = -\frac{\pi}{4}.
  • General formula: 2x=−π4+kπ  ⟹  x=−π8+kπ22x = -\frac{\pi}{4} + k\pi \implies x = -\frac{\pi}{8} + \frac{k\pi}{2}.
  • Testing integer values of kk:
    • k=0  ⟹  x=−π8<0k = 0 \implies x = -\frac{\pi}{8} < 0 (rejected).
    • k=1  ⟹  x=−π8+π2=3π8∈[0,π]k = 1 \implies x = -\frac{\pi}{8} + \frac{\pi}{2} = \frac{3\pi}{8} \in [0, \pi].
    • k=2  ⟹  x=−π8+π=7π8∈[0,π]k = 2 \implies x = -\frac{\pi}{8} + \pi = \frac{7\pi}{8} \in [0, \pi].
    • k=3  ⟹  x=−π8+3π2=11π8>πk = 3 \implies x = -\frac{\pi}{8} + \frac{3\pi}{2} = \frac{11\pi}{8} > \pi (rejected).
  • Solutions in [0,π][0, \pi]: x∈{3π8,7π8}x \in \left\{\frac{3\pi}{8}, \frac{7\pi}{8}\right\}.

Solution 3:

  • Let t=cos⁡xt = \cos x. The quadratic equation is 2t2+t−1=02t^2 + t - 1 = 0.
  • Factoring: (2t−1)(t+1)=0  ⟹  t=12(2t - 1)(t + 1) = 0 \implies t = \frac{1}{2} or t=−1t = -1.
  • Case 1: cos⁡x=12  ⟹  x=±π3+k2π\cos x = \frac{1}{2} \implies x = \pm\frac{\pi}{3} + k2\pi.
  • Case 2: cos⁡x=−1  ⟹  x=π+k2π\cos x = -1 \implies x = \pi + k2\pi.
  • General solution set: x=±π3+k2πx = \pm\frac{\pi}{3} + k2\pi or x=π+k2πx = \pi + k2\pi (k∈Zk \in \mathbb{Z}).

Summary

  • Cosine Equation: cos⁡x=cos⁡α  ⟺  x=±α+k2π\cos x = \cos\alpha \iff x = \pm\alpha + k2\pi (k∈Zk \in \mathbb{Z}).
  • Tangent Equation: tan⁡x=tan⁡α  ⟺  x=α+kπ\tan x = \tan\alpha \iff x = \alpha + k\pi (k∈Zk \in \mathbb{Z}).
  • Always remember that cosine solutions come in ±\pm pairs with period 2π2\pi, whereas tangent solutions have a single branch with period π\pi.

Test yourself

What is the general solution family for the equation cos⁡x=22\cos x = \frac{\sqrt{2}}{2}?

  1. x=±π4+k2πx = \pm\frac{\pi}{4} + k2\pi, k∈Zk \in \mathbb{Z}
  2. x=π4+kπx = \frac{\pi}{4} + k\pi, k∈Zk \in \mathbb{Z}
  3. x=π4+k2π∨x=3π4+k2πx = \frac{\pi}{4} + k2\pi \lor x = \frac{3\pi}{4} + k2\pi, k∈Zk \in \mathbb{Z}
  4. x=±π4+kπx = \pm\frac{\pi}{4} + k\pi, k∈Zk \in \mathbb{Z}

Why does the equation tan⁡x=tan⁡α\tan x = \tan\alpha require only the period +kπ+ k\pi rather than +k2π+ k2\pi?

  1. Because adding π\pi rotates the point to the opposite side of the circle, where both sine and cosine change signs, keeping their quotient yx\frac{y}{x} unchanged.
  2. Because the tangent function is bounded between −1-1 and 11.
  3. Because tangent is an even function like cosine.
  4. Because the vertical coordinate remains positive in every quadrant.

What are all solutions to tan⁡(x)=−3\tan(x) = -\sqrt{3} in the interval [0,2π)[0, 2\pi)?

  1. 2π3\frac{2\pi}{3} and 5π3\frac{5\pi}{3}
  2. π3\frac{\pi}{3} and 4π3\frac{4\pi}{3}
  3. 5π6\frac{5\pi}{6} and 11π6\frac{11\pi}{6}
  4. 2π3\frac{2\pi}{3} only