For any numbers a and b, the expression a sin x + b cos x can be rewritten as a single sine wave, √(a² + b²) × sin(x + α), for some fixed angle α. A sine wave runs between −1 and +1, so:
Maximum of a sin x + b cos x = √(a² + b²) Minimum = −√(a² + b²)
The angle α only decides where the maximum occurs, not how large it is, so exam questions almost never need it. You can answer with the amplitude alone.
The sum is never a + b, because sin x and cos x never both equal 1 at once. Pythagorean triplets make these questions quick: 3 and 4 give 5, 5 and 12 give 13, 8 and 15 give 17. See Pythagorean triplets.
Worked example 1: 3 sin x + 4 cos x
Maximum = √(9 + 16) = 5, minimum −5.
Is the maximum really reached?
At the angle where tan x = 3/4 (about 36.87°), sin x = 3/5 and cos x = 4/5, so 3 sin x + 4 cos x = 9/5 + 16/5 = 5. The maximum is attained, not just approached.