Wave Function | Higher Maths
The Wave Function lets you rewrite expressions of the form k sin x + a cos x in the simpler R cos(x − α) form. This makes it easy to find max/min values and solve equations. It is one of the highest-mark Paper 2 topics — often 7–9 marks.
Wave function form
Worked example
Worked example — Convert and solve
Problem: Express √3 sin x + cos x in the form R cos(x − α) with R > 0 and 0 < α < 2π, and use it to solve √3 sin x + cos x = 1 for 0 ≤ x ≤ 2π.
- Expand R cos(x − α) using the compound angle formula.R cos(x − α) = R cos x cos α + R sin x sin α
- Match coefficients.R sin α = √3 (sin coefficient); R cos α = 1 (cos coefficient)
- Find R.R2 = (√3)2 + 12 = 4 ⇒ R = 2
- Find α using tan α = sin/cos coefficients.tan α = √3 / 1 ⇒ α = π/3 (1st quadrant since both positive). So √3 sin x + cos x = 2 cos(x − π/3).
- Solve 2 cos(x − π/3) = 1.cos(x − π/3) = 1/2 ⇒ x − π/3 = π/3 or 5π/3
- Solve for x.x = 2π/3 or 2π
Practice questions
Try these SQA-style questions. Tap "Show answer" to check your working.
Practice questions
- Express 4 sin x + 3 cos x in the form R sin(x + α).
Show answer
R = 5, tan α = 3/4 ⇒ α ≈ 0.6435 rad. 5 sin(x + 0.6435) - Find the maximum value of 4 sin x + 3 cos x and the value of x at which it occurs.
Show answer
Maximum = 5, when x + α = π/2 ⇒ x ≈ 0.927 rad - Express 3 cos x − 4 sin x in the form R cos(x + α).
Show answer
R = 5, R cos α = 3, R sin α = 4 ⇒ tan α = 4/3 ⇒ α ≈ 0.927. 5 cos(x + 0.927) - Solve 4 sin x + 3 cos x = 2.5 for 0 ≤ x ≤ 2π.
Show answer
5 sin(x + 0.6435) = 2.5 ⇒ sin(x + 0.6435) = 0.5 ⇒ x + 0.6435 = π/6 or 5π/6 (then add 2π). Solving: x ≈ 1.88 or 5.93 - What is the minimum value of 7 cos x − 24 sin x?
Show answer
R = √(49 + 576) = 25. Minimum = −25
Common mistakes
Common mistakes & how to avoid them
- Choosing the wrong quadrant for α — the quadrant depends on the signs of the original coefficients.
- Setting up R sin α and R cos α the wrong way round (e.g. expanding as cos but matching coefficients as if it were sin).
- Forgetting to convert the compound angle expansion exactly: cos(x − α) = cos x cos α + sin x sin α (note the +).
Frequently asked questions
Why convert to wave function form?
Is R always positive?
Which form should I use: R sin or R cos?
Related Higher Maths topics
These topics often appear together in SQA exam questions.
Need one-to-one help with The Wave Function?
Our Glasgow Higher Maths specialists run 1-hour one-to-one sessions and 80-minute group classes — online or at our Pollokshields Tuition Centre.
Get matched with a Glasgow specialist
Tell us the subject and level — we’ll come back the same day with availability and a clear quote.