Combining a cosine and a sine into a single wave makes equations easier to solve and gives the maximum and minimum straight away.
Before you start
This page is easier if you are comfortable with:
What this topic covers
Use R = √(a² + b²) and tan α = b/a (harmonic form R cos(x − α)); the sine version is harmonic form R sin(x + α). The method comes from the compound angle formula and gives the maximum value R directly.
Each part of this topic has its own page with the formula, worked examples and a solver: Small-angle approximations, Reciprocal functions, sec² identity, cosec² identity, Compound angle: sine, Compound angle: cosine, Compound angle: tangent, Double angle: sine, Double angle: cosine (three forms), Double angle: tangent.
Closely related topics: Trigonometric equations, Exact trig values and radians, Trigonometric identities, Right-angled trigonometry.
What is it used for?
Harmonic form writes a cos x + b sin x as a single wave R cos(x − α). It gives the maximum value and makes the equation easy to solve.
- Finding the maximum and minimum of a combined wave.
- Solving equations such as 3 cos x + 4 sin x = 2.
- Describing alternating currents and oscillations.
How to solve it
- Expand R cos(x - α) = R cos α cos x + R sin α sin x.
- Match coefficients: R cos α = a and R sin α = b.
- R = √(a² + b²).
- tan α = b/a, choosing the quadrant from the signs of a and b.
- The maximum value is R and the minimum is -R.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: express 3cos(x)+4sin(x) in the form R cos(x - a)
Worked out by the solver on this page. Press the button to try it yourself.
Harmonic form R cos(x − α) Answer checked
Answer
5cos(x−53.13∘)Expand the target form with the addition formula
Rcos(x−α)=Rcosxcosα+Rsinxsinα
Match the coefficients of cos x and sin x
Rcosα=3,Rsinα=4
Find R
Find α using tan α = (R sin α)/(R cos α)
α=53.13∘ (0.9273 rad)
Check: compare both sides at x = 0.2, 1.1, 2.7, 4.5
equal at every test value ✓
Maximum and minimum
max=5,min=−5
Example 2: write sin(x)+cos(x) in the form R sin(x+a)
Worked out by the solver on this page. Press the button to try it yourself.
Harmonic form R cos(x − α) Answer checked
Answer
2sin(x+45∘)Expand the target form with the addition formula
Rsin(x+α)=Rsinxcosα+Rcosxsinα
Match the coefficients of cos x and sin x
Rcosα=1,Rsinα=1
Find R
Find α using tan α = (R sin α)/(R cos α)
α=45∘ (0.7854 rad)
Check: compare both sides at x = 0.2, 1.1, 2.7, 4.5
equal at every test value ✓
Maximum and minimum
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
R
3cos x + 4sin x: R = 5
√(9 + 16).
α
tan α = 4/3: α = 53.13°
In the first quadrant.
Maximum
Greatest value is R = 5
cos(x − α) = 1.
A sine form
sin x + cos x = √2 sin(x + 45°)
R = √2.
Word problems
Match a cos x + b sin x with R cos(x − α) by expanding, then find R = √(a² + b²) and tan α = b/a.
R
Express 3cos x + 4sin x as R cos(x − α).
- R√(9 + 16) = 5
- Check: R² = a² + b² ✓5
α
Find α.
- tan α4/3
- α53.13°
- Check: 5 cos 53.13° = 3 ✓53.13
A sine form Higher
Write sin x + cos x as R sin(x + α).
- R√2
- α45°
- Check: √2 sin 45° = 1 ✓1.4142
Maximum Higher
Greatest value of 3cos x + 4sin x.
- R5
- Check: the maximum equals R ✓5
Common mistakes
R = a + b
R = 7 ✗
R = 5 ✓
Use Pythagoras.
tan α = a/b
α = 36.87° ✗
α = 53.13° ✓
tan α = b/a for the cosine form.
Wrong quadrant for α
always acute ✗
check the signs of a and b ✓
cos α = a/R, sin α = b/R.
Max is a or b
4 ✗
R = 5 ✓
The amplitude is R.
Exam tips
R = √(a² + b²).
tan α = b/a (cosine form).
Check the quadrant.
Max R, min −R.
Expand to verify.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. R for 5cos x + 12sin x Foundation
13
2. α for 5cos x + 12sin x (2 dp) Foundation
67.38
3. R for cos x + sin x (4 dp) Foundation
1.4142
4. Max of 6cos x + 8sin x Higher
10
5. R for 2cos x + 2sin x (4 dp) Higher
2.8284
6. α for cos x + sin x (degrees) Higher
45
Practice generator
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Key terms
- Harmonic form
- A single sine or cosine wave.
- Amplitude
- R.
- Phase angle
- α.
- Combined wave
- Sum of sine and cosine.
- Compound angle
- The expansion used.
- Maximum value
- R.
Frequently asked questions
What is harmonic form?
Writing a cos x + b sin x as R cos(x − α).
How do I find R and α?
R = √(a² + b²) and tan α = b/a.
What is the maximum value?
R.
Which page covers the cosine form?
harmonic form R cos(x − α).
Which page covers the sine form?
harmonic form R sin(x + α).
Which page covers the underlying formula?
compound angle cosine.