The sum of sine and cosine
Write a sin x + b cos x as R sin(x + α) or R cos(x − α) using an auxiliary angle, read off its maximum and minimum, and solve equations and inequations of the form a sin x + b cos x = c.
Add a sine wave to a cosine wave with the same period and you might expect a mess. In fact you always get another perfect sine wave, just taller and shifted sideways. Writing it that way turns hard equations into easy ones, and gives the maximum and minimum for free.
One wave from two
Sketch $y = \sin x$ and $y = \cos x$ and add their heights (as in 1D). The sum is zero where the heights are opposite, at $x = \tfrac{3\pi}4$ and $\tfrac{7\pi}4$. At $x = \tfrac\pi4$ both are $\tfrac{1}{\sqrt2}$, giving $\sqrt2$. It looks exactly like $y = \sin x$ moved left $\tfrac\pi4$ and stretched by $\sqrt2$. Expanding confirms it:
$$\sqrt2\sin\left(x + \tfrac\pi4\right) = \sqrt2\left(\sin x \cdot \tfrac{1}{\sqrt2} + \cos x \cdot \tfrac{1}{\sqrt2}\right) = \sin x + \cos x$$
Orange: the sum. Blue dashed: y = a sin x. Pink dashed: y = b cos x. The orange curve is a sine wave with amplitude R, shifted left by α.
Before moving anything, predict the height of the highest point of the orange curve for $a = 3$, $b = 4$. Then set $a = 1$, $b = 1$ and check that the maximum is $\sqrt2 \approx 1.41$, at $x = \tfrac\pi4$.
The auxiliary angle method
Write $\sqrt3\sin x - \cos x$ in the form $R\sin(x - \alpha)$, with $R \gt 0$ and $0 \le \alpha \lt 2\pi$.
Once it is one wave, the extremes are immediate. $R\sin(x - \alpha)$ has maximum $R$ and minimum $-R$, because sine runs between $-1$ and $1$. For example, $3\sin x + 4\cos x$ has maximum $5$ and minimum $-5$.
Solving a sin x + b cos x = c
Solve $5\sin x + 12\cos x = 6.5$ for $0^\circ \le x \le 360^\circ$, to the nearest $0.1^\circ$.
This also gives a neat way to do $\sin x + \cos x = 1$ from 3D without squaring: $\sqrt2\sin\left(x + \tfrac\pi4\right) = 1$, so $x + \tfrac\pi4 = \tfrac\pi4, \tfrac{3\pi}4, \tfrac{9\pi}4$, giving $x = 0, \tfrac\pi2, 2\pi$, with no false solutions to check.
Inequations
Solve the equation first, then use the shape of the single wave to decide which pieces satisfy the inequality. For $5\sin x + 12\cos x \ge 6.5$ on $0^\circ \le x \le 360^\circ$: at $x = 0$ the left side is $12$, which is bigger than $6.5$, so the wave starts above the line, drops below it at $82.6^\circ$ and comes back up at $322.6^\circ$. So $0^\circ \le x \le 82.6^\circ$ or $322.6^\circ \le x \le 360^\circ$.
Your turn
Write $2\cos x - \sin x$ in the form $R\cos(x + \alpha)$, with $\alpha$ acute in degrees to 1 decimal place.
Show the working
$R\cos(x + \alpha) = R\cos\alpha\cos x - R\sin\alpha\sin x$. So $R\cos\alpha = 2$ and $R\sin\alpha = 1$. $R = \sqrt5$, and $\tan\alpha = \tfrac12$ with both positive, so $\alpha \approx 26.6^\circ$. Hence $2\cos x - \sin x = \sqrt5\cos(x + 26.6^\circ)$.
Find the maximum value of $3\sin x + 4\cos x$.
$R = \sqrt{9 + 16} = 5$, and $R\sin(x + \alpha)$ has maximum $R$.
Write $2\cos x - \sin x$ as $R\cos(x + \alpha)$. Find $R$, correct to 2 decimal places.
$R = \sqrt{2^2 + 1^2} = \sqrt5 \approx 2.24$.
$\sin x + \cos x$ equals:
$R = \sqrt{1 + 1} = \sqrt2$, with $R\cos\alpha = 1$ and $R\sin\alpha = 1$, so $\alpha = \tfrac\pi4$.
$\sqrt3\sin x - \cos x = R\sin(x - \alpha)$. Then:
$R\cos\alpha = \sqrt3$ and $R\sin\alpha = 1$. $R = \sqrt{3 + 1} = 2$, and $\cos\alpha = \tfrac{\sqrt3}{2}$, $\sin\alpha = \tfrac12$, so $\alpha = \tfrac\pi6$.
$3\sin x - 4\cos x = 5\cos(x - \alpha)$ with $0^\circ \le \alpha \lt 360^\circ$. Find $\alpha$ to the nearest degree.
$5\cos(x - \alpha) = 5\cos\alpha\cos x + 5\sin\alpha\sin x$. So $5\cos\alpha = -4$ and $5\sin\alpha = 3$: cosine negative, sine positive, second quadrant. Related angle $\tan^{-1}\tfrac34 \approx 36.87^\circ$, so $\alpha \approx 143^\circ$.
Find the minimum value of $5\sin x + 12\cos x + 2$.
$5\sin x + 12\cos x = 13\sin(x + \alpha)$, which has minimum $-13$. Adding $2$ gives $-11$.
Solve $\sqrt3\sin x - \cos x = 1$ for $0^\circ \le x \le 360^\circ$. Enter both solutions in degrees, separated by &.
$2\sin(x - 30^\circ) = 1$, so $\sin(x - 30^\circ) = \tfrac12$. With $-30^\circ \le x - 30^\circ \le 330^\circ$: $x - 30^\circ = 30^\circ$ or $150^\circ$, so $x = 60^\circ$ or $180^\circ$.
An equation $a\sin x + b\cos x = c$ has no solutions when:
The left side is $R\sin(x + \alpha)$, which only takes values from $-R$ to $R$, where $R = \sqrt{a^2 + b^2}$.
Exam style: solve $5\sin x + 12\cos x = 6.5$ for $0^\circ \le x \le 180^\circ$, to 1 decimal place.
$13\sin(x + \alpha) = 6.5$ with $\alpha \approx 67.38^\circ$. So $\sin(x + \alpha) = \tfrac12$, and with $67.38^\circ \le x + \alpha \le 247.38^\circ$, $x + \alpha = 150^\circ$. Then $x \approx 150^\circ - 67.38^\circ = 82.6^\circ$.
Exam style: find the value of $x$ between $0^\circ$ and $90^\circ$ where $5\sin x + 12\cos x$ is greatest, to 1 decimal place.
$13\sin(x + \alpha)$ is greatest when $x + \alpha = 90^\circ$, so $x = 90^\circ - 67.38^\circ \approx 22.6^\circ$.
Coaching Centre