a cos x + b sin x = R cos ( x − α ) , R = a 2 + b 2 , tan α = a b
On this page
Before you start
This page is easier if you are comfortable with:
What Harmonic form: a cos x + b sin x means
Expanding R cos ( x − α ) = R cos x cos α + R sin x sin α and comparing with a cos x + b sin x gives R cos α = a and R sin α = b .
Squaring and adding gives R 2 = a 2 + b 2 , and dividing gives tan α = a b .
The form shows that the maximum value is R and the minimum is − R , and it makes equations easy to solve. The two forms are linked by compound angle: sine and compound angle: cosine, the single-term version is harmonic form: R sin, and the result simplifies equations, as with the double angle: sine .
This page is part of Trigonometric identities in Trigonometry . Topics that work alongside it: Harmonic form: R sin(x + α) , Compound angle: cosine , Compound angle: sine , Double angle: tangent , Small-angle approximations , Properties of the sine, cosine and tangent graphs and Inverse trigonometric functions: ranges .
What is it used for? A sum a cos x + b sin x can be written as a single wave R cos(x − α), where R = √(a² + b²).
Finding the maximum and minimum of a sum of sine and cosine. Solving equations such as 3 cos x + 4 sin x = 2. Describing alternating currents and oscillations as a single wave.
How to use harmonic form: a cos x + b sin x
Write a cos x + b sin x = R cos ( x − α ) . Find R = a 2 + b 2 . Find α = tan − 1 ( b / a ) , checking the quadrant. Use the single cosine to solve or find the maximum.
Graph 3 cos x + 4 sin x is a wave of amplitude 5 0 1 2 3 4 5 6 -6 -4 -2 0 2 4 6 3 cos x + 4 sin x is a wave of amplitude 5 x y y = 3 cos x + 4 sin x maximum R = 5 minimum −R Graph with x from 0 to 6.3 and y from -6 to 6. Shows the curve y = 3 cos x + 4 sin x; the curve maximum R = 5; the curve minimum −R. The sum of the two waves is a single wave with amplitude R = √(3² + 4²) = 5.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: write in harmonic form Write 3 cos x + 4 sin x in the form R cos ( x − α ) .
Worked example
Answer
5 cos ( x − 53.1 ∘ ) 5\cos(x-53.1^{\circ}) 5 cos ( x − 53. 1 ∘ ) Find R
Find α
tan α = 3 4 ⇒ α ≈ 53. 1 ∘
Write the result
3 cos x + 4 sin x = 5 cos ( x − 53. 1 ∘ )
Example 2: find the maximum Find the maximum value of 3 cos x + 4 sin x .
Worked example
Use the harmonic form
The maximum of R cos ( x − α ) is R .
Calculate R
Example 3: cos x + √3 sin x Write cos x + 3 sin x in the form R cos ( x − α ) .
Worked example
Answer
2 cos ( x − 60 ∘ ) 2\cos(x - 60^{\circ}) 2 cos ( x − 6 0 ∘ ) Find R
Find α
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
3cos x + 4sin x R = √(9 + 16)
5.
same α = arctan(4/3)
0.9273 rad.
5cos x + 12sin x R
13.
cos x + sin x R
1.4142.
Word problems
a cos x + b sin x = R cos(x − α), with R = √(a² + b²), cos α = a/R, sin α = b/R. Its maximum is R and its minimum −R.
R a = 3, b = 4.
√25 Check: ✓ 5
α tan α = 4/3, first quadrant.
arctan 1.3333 Check: ✓ 0.9273
R Higher a = 5, b = 12.
√169 Check: ✓ 13
R Higher a = b = 1.
√2 Check: ✓ 1.4142
Common mistakes
R = a + b sum ✗
√(a² + b²) ✓
Pythagoras.
tan α = a/b inverted ✗
b/a ✓
Matches cos form.
Ignoring the quadrant always first ✗
check signs of a, b ✓
Quadrant.
Max is a or b a ✗
R ✓
Amplitude.
Exam tips
R = √(a² + b²).
tan α = b/a.
Max R, min −R.
Check quadrant of α.
Use to solve a cos x + b sin x = c.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. R for 6cos x + 8sin x Foundation 10
2. R for 8cos x + 15sin x Foundation 17
3. α for cos x + sin x (rad), 4 dp Foundation 0.7854
4. R for 2cos x + 3sin x, 4 dp Higher 3.6056
5. α for 5cos x + 12sin x (rad), 4 dp Higher 1.176
6. Max of 7cos x + 24sin x Higher 25
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Harmonic form R cos(x − α). Amplitude (R) √(a² + b²). Phase angle (α) tan α = b/a. Combined wave Single cosine. Compound angle cos(x − α) expansion. Maximum value R.
Frequently asked questions
How do I write a cos x + b sin x as one cosine? R cos(x − α) with R = √(a² + b²) and tan α = b/a.
What is the maximum value? R.
How do I find α? arctan(b/a), adjusted for the quadrant.
How do I solve a cos x + b sin x = c? Rewrite and solve R cos(x − α) = c.
Which page covers the sine form? harmonic form R sin(x + α).
Which page covers compound angles? compound angle cosine.