TExcelTAD
Home › School Analytical Trigonometry & Conic Sections › Linear Combinations of Sine and Cosine

Linear Combinations of Sine and Cosine (The Auxiliary Angle Method)

A common challenge in school mathematics and physics is solving an equation where both sin⁡x\sin x and cos⁡x\cos x appear to the first power with different coefficients:

asin⁡x+bcos⁡x=c(a,b≠0)a \sin x + b \cos x = c \quad (a, b \neq 0)

At first glance, having two different trigonometric functions of the same angle makes it impossible to apply our basic single-function formulas. However, using the Auxiliary Angle Method (also known as the harmonic combination technique), we can collapse this linear combination of two orthogonal waves into a single shifted sinusoid of amplitude R=a2+b2R = \sqrt{a^2 + b^2}.


Conceptual Foundation: Why Can We Combine Them?

Consider the expressions for the addition formulas:

sin⁡(x+α)=sin⁡xcos⁡α+cos⁡xsin⁡α=(cos⁡α)sin⁡x+(sin⁡α)cos⁡x\sin(x + \alpha) = \sin x \cos\alpha + \cos x \sin\alpha = (\cos\alpha)\sin x + (\sin\alpha)\cos x

Notice the striking resemblance between:

asin⁡x+bcos⁡xandR[(cos⁡α)sin⁡x+(sin⁡α)cos⁡x]a \sin x + b \cos x \quad \text{and} \quad R[(\cos\alpha)\sin x + (\sin\alpha)\cos x]

If we can choose a positive number RR and an angle α\alpha such that:

{Rcos⁡α=aRsin⁡α=b\begin{cases} R \cos\alpha = a \\ R \sin\alpha = b \end{cases}

then we can factor out RR and rewrite the entire left side as Rsin⁡(x+α)R \sin(x + \alpha)!

1. Determining the Amplitude RR

Square both equations and add them together on paper:

(Rcos⁡α)2+(Rsin⁡α)2=a2+b2R2(cos⁡2α+sin⁡2α)=a2+b2R2(1)=a2+b2R=a2+b2(since R>0)\begin{aligned} (R \cos\alpha)^2 + (R \sin\alpha)^2 &= a^2 + b^2 \\ R^2 (\cos^2\alpha + \sin^2\alpha) &= a^2 + b^2 \\ R^2(1) &= a^2 + b^2 \\ R &= \sqrt{a^2 + b^2} \quad (\text{since } R > 0) \end{aligned}

2. Determining the Auxiliary Angle α\alpha

Dividing by R=a2+b2R = \sqrt{a^2 + b^2} gives the coordinates:

cos⁡α=aa2+b2,sin⁡α=ba2+b2\cos\alpha = \frac{a}{\sqrt{a^2 + b^2}}, \quad \sin\alpha = \frac{b}{\sqrt{a^2 + b^2}}

Because (aa2+b2)2+(ba2+b2)2=a2+b2a2+b2=1\left(\frac{a}{\sqrt{a^2+b^2}}\right)^2 + \left(\frac{b}{\sqrt{a^2+b^2}}\right)^2 = \frac{a^2+b^2}{a^2+b^2} = 1, the point (aR,bR)\left(\frac{a}{R}, \frac{b}{R}\right) lies strictly on the unit circle! Therefore, there is a unique angle α∈[0,2π)\alpha \in [0, 2\pi) (or (−π,π](-\pi, \pi]) that satisfies both equations simultaneously.

3. The Feasibility Condition

Once transformed, our equation becomes:

Rsin⁡(x+α)=c  ⟺  sin⁡(x+α)=ca2+b2R \sin(x + \alpha) = c \iff \sin(x + \alpha) = \frac{c}{\sqrt{a^2 + b^2}}

Since the sine of any real angle must lie between −1-1 and 11:

−1≤ca2+b2≤1  ⟺  c2≤a2+b2-1 \le \frac{c}{\sqrt{a^2 + b^2}} \le 1 \iff c^2 \le a^2 + b^2

[!IMPORTANT] The equation asin⁡x+bcos⁡x=ca \sin x + b \cos x = c has real solutions if and only if:

a2+b2≥c2a^2 + b^2 \ge c^2

If a2+b2<c2a^2 + b^2 < c^2, the maximum possible value of the left side is less than cc, meaning no real solutions exist.


Master Formula Box

The Auxiliary Angle Transformationasin⁡x+bcos⁡x=a2+b2sin⁡(x+α)where cos⁡α=aa2+b2andsin⁡α=ba2+b2Alternative Cosine Formasin⁡x+bcos⁡x=a2+b2cos⁡(x−φ)where cos⁡φ=ba2+b2andsin⁡φ=aa2+b2Existence Criterion for asin⁡x+bcos⁡x=ca2+b2≥c2\begin{array}{|c|} \hline \textbf{The Auxiliary Angle Transformation} \\ \hline a \sin x + b \cos x = \sqrt{a^2 + b^2} \sin(x + \alpha) \\ \text{where } \cos\alpha = \dfrac{a}{\sqrt{a^2 + b^2}} \quad \text{and} \quad \sin\alpha = \dfrac{b}{\sqrt{a^2 + b^2}} \\ \hline \textbf{Alternative Cosine Form} \\ \hline a \sin x + b \cos x = \sqrt{a^2 + b^2} \cos(x - \varphi) \\ \text{where } \cos\varphi = \dfrac{b}{\sqrt{a^2 + b^2}} \quad \text{and} \quad \sin\varphi = \dfrac{a}{\sqrt{a^2 + b^2}} \\ \hline \textbf{Existence Criterion for } a \sin x + b \cos x = c \\ \hline a^2 + b^2 \ge c^2 \\ \hline \end{array}

Step-by-Step Paper Calculation Method

  1. Identify and Write a,b,ca, b, c: Ensure the equation is arranged with all trigonometric terms on the left: asin⁡x+bcos⁡x=ca \sin x + b \cos x = c.
  2. Compute RR and Check Feasibility: Calculate R=a2+b2R = \sqrt{a^2 + b^2} and test whether R2≥c2R^2 \ge c^2. If R2<c2R^2 < c^2, stop and conclude there are no solutions.
  3. Divide Every Term by RR:
    (aR)sin⁡x+(bR)cos⁡x=cR\left(\frac{a}{R}\right)\sin x + \left(\frac{b}{R}\right)\cos x = \frac{c}{R}
  4. Determine the Angle α\alpha: Identify the unique angle α\alpha matching the signs of both cos⁡α=aR\cos\alpha = \frac{a}{R} and sin⁡α=bR\sin\alpha = \frac{b}{R}.
  5. Compress into a Single Sine: Rewrite the left side as sin⁡(x+α)=cR\sin(x + \alpha) = \frac{c}{R}.
  6. Solve the Standard Sine Branches: Let sin⁡β=cR\sin\beta = \frac{c}{R}.
    {x+α=β+k2πx+α=π−β+k2π(k∈Z)\begin{cases} x + \alpha = \beta + k2\pi \\ x + \alpha = \pi - \beta + k2\pi \end{cases} \quad (k \in \mathbb{Z})
  7. Isolate xx: Subtract α\alpha from each branch.

Step-by-Step Notebook Examples

Example 1: Standard Special Angle Form

Problem Statement: Solve on paper for x∈Rx \in \mathbb{R}:

3sin⁡x+cos⁡x=1\sqrt{3}\sin x + \cos x = 1

Paper Calculation Steps:

  1. Identify Coefficients: a=3a = \sqrt{3}, b=1b = 1, c=1c = 1.

  2. Compute Amplitude RR:

    R=(3)2+12=3+1=4=2R = \sqrt{(\sqrt{3})^2 + 1^2} = \sqrt{3 + 1} = \sqrt{4} = 2

    Check feasibility: a2+b2=4≥12=1a^2 + b^2 = 4 \ge 1^2 = 1. Real solutions exist.

  3. Divide the Entire Equation by 22:

    32sin⁡x+12cos⁡x=12\frac{\sqrt{3}}{2}\sin x + \frac{1}{2}\cos x = \frac{1}{2}
  4. Identify the Auxiliary Angle α\alpha: We require:

    cos⁡α=32andsin⁡α=12\cos\alpha = \frac{\sqrt{3}}{2} \quad \text{and} \quad \sin\alpha = \frac{1}{2}

    Both values are positive (Quadrant I), so α=π6\alpha = \frac{\pi}{6} (30∘30^\circ).

  5. Compress Using Sine Addition Formula:

    sin⁡(x+π6)=12\sin\left(x + \frac{\pi}{6}\right) = \frac{1}{2}
  6. Solve Using the Two Branches of Sine: Since sin⁡(π6)=12\sin\left(\frac{\pi}{6}\right) = \frac{1}{2}, our reference angle is β=π6\beta = \frac{\pi}{6}.

    • Branch 1:
      x+π6=π6+k2π  ⟹  x=k2πx + \frac{\pi}{6} = \frac{\pi}{6} + k2\pi \implies x = k2\pi
    • Branch 2:
      x+π6=π−π6+k2π=5π6+k2π  ⟹  x=5π6−π6+k2π=4π6+k2π=2π3+k2πx + \frac{\pi}{6} = \pi - \frac{\pi}{6} + k2\pi = \frac{5\pi}{6} + k2\pi \implies x = \frac{5\pi}{6} - \frac{\pi}{6} + k2\pi = \frac{4\pi}{6} + k2\pi = \frac{2\pi}{3} + k2\pi

Final Answer:

x=k2πorx=2π3+k2π(k∈Z)x = k2\pi \quad \text{or} \quad x = \frac{2\pi}{3} + k2\pi \quad (k \in \mathbb{Z})

Example 2: Negative Coefficient and Maximum Value

Problem Statement: Solve on paper:

sin⁡x−cos⁡x=2\sin x - \cos x = \sqrt{2}

Paper Calculation Steps:

  1. Identify Coefficients: a=1a = 1, b=−1b = -1, c=2c = \sqrt{2}.

  2. Compute RR:

    R=12+(−1)2=1+1=2R = \sqrt{1^2 + (-1)^2} = \sqrt{1 + 1} = \sqrt{2}

    Notice that c=2=Rc = \sqrt{2} = R. The right-hand side exactly matches the maximum amplitude!

  3. Divide Through by 2\sqrt{2}:

    12sin⁡x−12cos⁡x=22=1\frac{1}{\sqrt{2}}\sin x - \frac{1}{\sqrt{2}}\cos x = \frac{\sqrt{2}}{\sqrt{2}} = 1
  4. Identify Auxiliary Angle α\alpha:

    cos⁡α=12=22,sin⁡α=−12=−22\cos\alpha = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}, \quad \sin\alpha = -\frac{1}{\sqrt{2}} = -\frac{\sqrt{2}}{2}

    Cosine is positive and sine is negative, placing α\alpha in Quadrant IV:

    α=−π4\alpha = -\frac{\pi}{4}
  5. Compress into Single Sinusoid:

    sin⁡(x−π4)=1\sin\left(x - \frac{\pi}{4}\right) = 1
  6. Solve the Boundary Equation sin⁡u=1\sin u = 1: The sine function achieves its maximum value of 11 at π2+k2π\frac{\pi}{2} + k2\pi:

    x−π4=π2+k2πx - \frac{\pi}{4} = \frac{\pi}{2} + k2\pi

    Add π4\frac{\pi}{4} to both sides:

    x=π2+π4+k2π=3π4+k2πx = \frac{\pi}{2} + \frac{\pi}{4} + k2\pi = \frac{3\pi}{4} + k2\pi

Final Answer:

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

Example 3: Feasibility Check and Pythagorean Triple

Problem Statement:

  1. Determine whether 3sin⁡x+4cos⁡x=63\sin x + 4\cos x = 6 has real solutions.
  2. Solve 3sin⁡x+4cos⁡x=53\sin x + 4\cos x = 5 for x∈[0,2π)x \in [0, 2\pi).

Paper Calculation Steps:

  1. Part 1 (Testing 3sin⁡x+4cos⁡x=63\sin x + 4\cos x = 6):

    • a=3a = 3, b=4b = 4, c=6c = 6.
    • a2+b2=32+42=9+16=25a^2 + b^2 = 3^2 + 4^2 = 9 + 16 = 25.
    • c2=62=36c^2 = 6^2 = 36.
    • Since a2+b2=25<36=c2a^2 + b^2 = 25 < 36 = c^2, the maximum value of 3sin⁡x+4cos⁡x3\sin x + 4\cos x is 25=5\sqrt{25} = 5.
    • The expression can never reach 66.
    • Conclusion: No real solutions.
  2. Part 2 (Solving 3sin⁡x+4cos⁡x=53\sin x + 4\cos x = 5):

    • Here R=32+42=5R = \sqrt{3^2 + 4^2} = 5, and c=5c = 5.
    • Divide by 55:
      35sin⁡x+45cos⁡x=1\frac{3}{5}\sin x + \frac{4}{5}\cos x = 1
    • Let cos⁡α=35\cos\alpha = \frac{3}{5} and sin⁡α=45\sin\alpha = \frac{4}{5} where α=arcsin⁡(45)≈0.927 rad\alpha = \arcsin\left(\frac{4}{5}\right) \approx 0.927\text{ rad}.
    • Rewriting:
      sin⁡(x+α)=1\sin(x + \alpha) = 1
    • Solve:
      x+α=π2+k2π  ⟹  x=π2−α+k2πx + \alpha = \frac{\pi}{2} + k2\pi \implies x = \frac{\pi}{2} - \alpha + k2\pi
    • For k=0k = 0, x=π2−arcsin⁡(45)=arccos⁡(45)∈[0,2π)x = \frac{\pi}{2} - \arcsin\left(\frac{4}{5}\right) = \arccos\left(\frac{4}{5}\right) \in [0, 2\pi).

Final Answer:

  • For c=6c = 6: No real solutions.
  • For c=5c = 5: x=arccos⁡(45)+k2πx = \arccos\left(\frac{4}{5}\right) + k2\pi (k∈Zk \in \mathbb{Z}).

Common Mistakes & Paper Traps

[!WARNING] Trap 1: Squaring Both Sides Blindly. Never square both sides of asin⁡x+bcos⁡x=ca\sin x + b\cos x = c! Squaring produces terms like 2absin⁡xcos⁡x=absin⁡(2x)2ab\sin x \cos x = ab\sin(2x), but it introduces extraneous roots that do not satisfy the original equation with its initial signs. Always use the auxiliary angle method.

[!WARNING] Trap 2: Misidentifying the Quadrant of α\alpha. Do not simply compute tan⁡α=ba\tan\alpha = \frac{b}{a} on a calculator or notebook without checking signs! For instance, if a=−1a = -1 and b=−1b = -1, tan⁡α=1\tan\alpha = 1, but α\alpha is in Quadrant III (5π4\frac{5\pi}{4}), not Quadrant I (π4\frac{\pi}{4}). You must inspect the signs of both cos⁡α=aR\cos\alpha = \frac{a}{R} and sin⁡α=bR\sin\alpha = \frac{b}{R}.

[!WARNING] Trap 3: Forgetting to Divide the Right-Hand Side by RR. After factoring out RR on the left, remember that the right side becomes cR\frac{c}{R}:

sin⁡(x+α)=cRNOT c!\sin(x + \alpha) = \frac{c}{R} \quad \text{NOT } c!

Pencil & Paper Practice

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

Practice Problems

  1. Problem 1: Transform f(x)=sin⁡x+3cos⁡xf(x) = \sin x + \sqrt{3}\cos x into the form Rsin⁡(x+α)R\sin(x + \alpha).
  2. Problem 2: Find all real solutions to cos⁡x−sin⁡x=1\cos x - \sin x = 1.
  3. Problem 3: For what values of parameter mm does the equation 5sin⁡x−12cos⁡x=m5\sin x - 12\cos x = m have real solutions?

Step-by-Step Solutions

Solution 1:

  • a=1a = 1, b=3b = \sqrt{3}.
  • R=12+(3)2=1+3=2R = \sqrt{1^2 + (\sqrt{3})^2} = \sqrt{1 + 3} = 2.
  • cos⁡α=aR=12\cos\alpha = \frac{a}{R} = \frac{1}{2} and sin⁡α=bR=32\sin\alpha = \frac{b}{R} = \frac{\sqrt{3}}{2}.
  • Both are positive   ⟹  α=π3\implies \alpha = \frac{\pi}{3}.
  • Therefore:
    f(x)=2sin⁡(x+π3)f(x) = 2\sin\left(x + \frac{\pi}{3}\right)

Solution 2:

  • Rearrange to standard order: −sin⁡x+cos⁡x=1  ⟹  a=−1,b=1,c=1-\sin x + \cos x = 1 \implies a = -1, b = 1, c = 1.
  • R=(−1)2+12=2R = \sqrt{(-1)^2 + 1^2} = \sqrt{2}.
  • Divide by 2\sqrt{2}:
    −12sin⁡x+12cos⁡x=12-\frac{1}{\sqrt{2}}\sin x + \frac{1}{\sqrt{2}}\cos x = \frac{1}{\sqrt{2}}
  • Find α\alpha: cos⁡α=−12=−22\cos\alpha = -\frac{1}{\sqrt{2}} = -\frac{\sqrt{2}}{2} and sin⁡α=12=22  ⟹  α=3π4\sin\alpha = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2} \implies \alpha = \frac{3\pi}{4}.
  • Compact equation:
    sin⁡(x+3π4)=22\sin\left(x + \frac{3\pi}{4}\right) = \frac{\sqrt{2}}{2}
  • Reference angle is π4\frac{\pi}{4}:
    • Branch 1: x+3π4=π4+k2π  ⟹  x=−π2+k2πx + \frac{3\pi}{4} = \frac{\pi}{4} + k2\pi \implies x = -\frac{\pi}{2} + k2\pi.
    • Branch 2: x+3π4=π−π4+k2π=3π4+k2π  ⟹  x=k2πx + \frac{3\pi}{4} = \pi - \frac{\pi}{4} + k2\pi = \frac{3\pi}{4} + k2\pi \implies x = k2\pi.
  • Solution set: x=−π2+k2πx = -\frac{\pi}{2} + k2\pi or x=k2πx = k2\pi (k∈Zk \in \mathbb{Z}).

Solution 3:

  • a=5a = 5, b=−12b = -12.
  • R=52+(−12)2=25+144=169=13R = \sqrt{5^2 + (-12)^2} = \sqrt{25 + 144} = \sqrt{169} = 13.
  • The expression 5sin⁡x−12cos⁡x5\sin x - 12\cos x oscillates between −R-R and +R+R, so its range is [−13,13][-13, 13].
  • Therefore, real solutions exist if and only if −13≤m≤13-13 \le m \le 13 (or m2≤169m^2 \le 169).

Summary

  • Any linear combination asin⁡x+bcos⁡xa\sin x + b\cos x can be compressed into Rsin⁡(x+α)R\sin(x+\alpha) where R=a2+b2R = \sqrt{a^2+b^2}.
  • The auxiliary angle α\alpha is determined by cos⁡α=aR\cos\alpha = \frac{a}{R} and sin⁡α=bR\sin\alpha = \frac{b}{R}.
  • The equation asin⁡x+bcos⁡x=ca\sin x + b\cos x = c has real solutions if and only if a2+b2≥c2a^2 + b^2 \ge c^2.

Test yourself

What is the maximum value that the expression f(x)=6sin⁡x−8cos⁡xf(x) = 6\sin x - 8\cos x can attain?

  1. 10
  2. 14
  3. 2
  4. 48

Under what condition does the equation 4sin⁡x+3cos⁡x=c4\sin x + 3\cos x = c have no real solutions?

  1. ∣c∣>5|c| > 5
  2. ∣c∣<5|c| < 5
  3. c=5c = 5
  4. c=0c = 0

When compressing −3sin⁡x+cos⁡x-\sqrt{3}\sin x + \cos x into 2sin⁡(x+α)2\sin(x + \alpha), what is the auxiliary angle α\alpha in [0,2π)[0, 2\pi)?

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