Lesson 8 of 8 · 22 min

Solving acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c

Solve equations of the form acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c on a domain by converting to harmonic form, decide when solutions exist, and use the method to model real situations.

What you will be able to do

  • Decide how many solutions acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c has in one cycle by comparing ∣c∣|c| with R=a2+b2R = \sqrt{a^2 + b^2}.
  • Solve acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c exactly on a domain, adjusting the domain for the shifted angle.
  • Solve such equations with technology, giving every solution to the accuracy asked.
  • Model and solve problems in context that lead to acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c.

The equation cos⁡(x)+3sin⁡(x)=1\cos(x) + \sqrt{3}\sin(x) = 1 has two different functions in it, so none of your Methods techniques work directly. But the left side is a single wave, 2cos⁡(x−π3)2\cos\left(x - \frac{\pi}{3}\right). Solving the equation is then just asking where a wave of height 22 meets the line y=1y = 1.

The line y=1y = 1 meets y=2cos⁡(x−π3)y = 2\cos\left(x - \frac{\pi}{3}\right) at x=0,2π3,2πx = 0, \frac{2\pi}{3}, 2\pi. The line y=2.5y = 2.5 never does, because 2.5>R=22.5 > R = 2.

Key idea

How many solutions?

Write acos⁡(x)+bsin⁡(x)=Rcos⁡(x−α)a\cos(x) + b\sin(x) = R\cos(x - \alpha) with R=a2+b2>0R = \sqrt{a^2 + b^2} > 0. On a full cycle with exactly one endpoint included, such as 0≤x<2π0 \le x < 2\pi, the equation acos⁡(x)+bsin⁡(x)=ca\cos(x) + b\sin(x) = c has

  • two solutions if ∣c∣<R|c| < R,
  • one solution if ∣c∣=R|c| = R (the line just touches a maximum or minimum),
  • no solutions if ∣c∣>R|c| > R.

If both endpoints are included, count each endpoint that satisfies the equation. For example, cos⁡(x)+3sin⁡(x)=1\cos(x) + \sqrt{3}\sin(x) = 1 has three solutions on [0,2π][0, 2\pi] because both endpoints are solutions.

Solving a cos(x) + b sin(x) = c

  1. Convert to harmonic form

    Choose a form, for example Rcos⁡(x−α)R\cos(x - \alpha), and find RR and α\alpha.

  2. Make the trig function the subject

    cos⁡(x−α)=cR\cos(x - \alpha) = \frac{c}{R}. If ∣cR∣>1\left|\frac{c}{R}\right| > 1, stop: there are no solutions.

  3. Shift the domain

    If 0≤x≤2π0 \le x \le 2\pi, then −α≤x−α≤2π−α-\alpha \le x - \alpha \le 2\pi - \alpha.

  4. Solve for the shifted angle

    Find every value of u=x−αu = x - \alpha in its domain, using the reference angle and quadrants.

  5. Undo the shift

    x=u+αx = u + \alpha. Check each answer is in the original domain, and substitute one back as a check.

Worked example

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

  • Complex familiar
  • Technology free

Solve cos⁡(x)+3sin⁡(x)=1\cos(x) + \sqrt{3}\sin(x) = 1 for 0≤x≤2π0 \le x \le 2\pi.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Convert to Rcos⁡(x−α)=cR\cos(x - \alpha) = c.

  2. Shift the domain by α\alpha and solve for the shifted angle.

  3. Add α\alpha back and check.

Watch out for

  • Solving on 0≤u≤2π0 \le u \le 2\pi and getting x=2π3x = \frac{2\pi}{3} and x=2πx = 2\pi only, missing x=0x = 0.

  • Forgetting to add π3\frac{\pi}{3} back.

Using sin⁡(x)+cos⁡(x)=2sin⁡(x+π4)\sin(x) + \cos(x) = \sqrt{2}\sin\left(x + \frac{\pi}{4}\right), solve sin⁡(x)+cos⁡(x)=1\sin(x) + \cos(x) = 1 for 0≤x≤2π0 \le x \le 2\pi.

x =

Press Enter or type a comma after each value.

Common mistake

Squaring both sides

Another tempting method is to rearrange to 3sin⁡(x)=1−cos⁡(x)\sqrt{3}\sin(x) = 1 - \cos(x) and square both sides. That works only if you check every answer at the end, because squaring creates false solutions (it also solves 3sin⁡(x)=−(1−cos⁡(x))\sqrt{3}\sin(x) = -(1 - \cos(x))). Harmonic form avoids the problem.

Without technology

Use when α\alpha is a special angle and cR\frac{c}{R} is an exact value, like the examples above. Give exact answers as multiples of π\pi.

If cR\frac{c}{R} is not special, inverse notation is still exact: 5cos⁡(x−α)=25\cos(x - \alpha) = 2 gives x=α±cos⁡−1(25)x = \alpha \pm \cos^{-1}\left(\frac{2}{5}\right) plus multiples of 2π2\pi.

With technology

For 3cos⁡(x)+4sin⁡(x)=23\cos(x) + 4\sin(x) = 2: R=5R = 5, α=tan⁡−1(43)≈0.9273\alpha = \tan^{-1}\left(\frac{4}{3}\right) \approx 0.9273, so cos⁡(x−α)=0.4\cos(x - \alpha) = 0.4 and x−α=±1.1593x - \alpha = \pm 1.1593.

On 0≤x≤2π0 \le x \le 2\pi: x≈2.09x \approx 2.09 and x≈−0.2320+2π≈6.05x \approx -0.2320 + 2\pi \approx 6.05. Or graph y=3cos⁡(x)+4sin⁡(x)y = 3\cos(x) + 4\sin(x) and y=2y = 2 and find both intersections.

For which values of cc does 3cos⁡(x)+4sin⁡(x)=c3\cos(x) + 4\sin(x) = c have at least one solution?

Choose one answer

Modelling. Harmonic form turns up whenever two oscillations of the same period add, and whenever a rotating object's width or height depends on its angle. The equation is the same; the work is in setting it up and interpreting the solutions in context.

Worked example

A rotating panel

  • Complex unfamiliar
  • Technology active

A crane lifts a rectangular panel 44 m long and 33 m high. As it turns, the long side makes an angle θ\theta with the horizontal, 0≤θ≤π20 \le \theta \le \frac{\pi}{2}, and the horizontal width the panel takes up is

w=4cos⁡(θ)+3sin⁡(θ) metres.w = 4\cos(\theta) + 3\sin(\theta) \text{ metres.}

(a) Find the maximum width and the angle at which it occurs. (b) The panel must pass between two posts 4.54.5 m apart. Find the angles at which its width is exactly 4.54.5 m, in degrees to 1 decimal place, and state the angles for which it fits.

The width ww is the horizontal shadow of the tilted panel.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Convert the model to harmonic form to see its maximum and shape.

  2. Solve Rcos⁡(θ−α)=cR\cos(\theta - \alpha) = c and keep only the solutions the context allows.

  3. Use the shape of the graph to turn the equation's solutions into an answer about an inequality.

Watch out for

  • Rounding α\alpha to 0.640.64 early, which moves both answers by a few tenths of a degree.

  • Giving only one angle: on this domain the width passes 4.54.5 m twice.

Exam tip

Answer the question asked

In a modelling question, check each solution against the context (is the angle in the allowed range? is the time in the first cycle?), round only at the end, give units, and answer in words: "the panel occupies 4.5 m when it is tilted at about 11∘11^\circ or 63∘63^\circ."

Summary

  • Convert acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) to Rcos⁡(x±α)R\cos(x \pm \alpha) or Rsin⁡(x±α)R\sin(x \pm \alpha) first.

  • For R>0R > 0, solutions exist only when ∣c∣≤R|c| \le R: two per cycle if ∣c∣<R|c| < R, one if ∣c∣=R|c| = R, counting exactly one endpoint of the cycle.

  • Shift the domain for u=x∓αu = x \mp \alpha, solve for uu, then undo the shift and check the original domain.

  • With technology, keep α\alpha unrounded and give every solution to the accuracy asked.

  • In context, interpret each solution and reject any that the situation does not allow.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 8 of 80% read

Save your progress with a free account