Skip to main content
SingaporeAdditional MathematicsSyllabus dot point

How does the R-formula combine a sine and a cosine term into one, and what does it tell us about maximum and minimum values?

Express a sine plus cosine as a single R sine or R cosine function and use it to find maximum and minimum values and to solve equations

A focused answer to the O-Level A-Maths outcome on the R-formula. Writing a cosine plus sine as a single R cosine or R sine, finding R and the angle, and using the form for maxima, minima and equations.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to combine an expression of the form asinθ+bcosθa\sin\theta + b\cos\theta into a single trigonometric term Rsin(θ+α)R\sin(\theta + \alpha) or Rcos(θ±α)R\cos(\theta \pm \alpha). This is powerful because a single sine or cosine has an obvious maximum and minimum and is easy to solve, so the R-formula unlocks both optimisation and equation-solving.

The answer

The idea

A sum of a sine and a cosine of the same angle is itself a single sinusoid of that angle, just shifted. Writing it as Rsin(θ+α)R\sin(\theta + \alpha) makes its amplitude RR and phase shift α\alpha explicit.

Finding R and the angle

Expand the target form using the addition formula and compare coefficients. For asinθ+bcosθ=Rsin(θ+α)a\sin\theta + b\cos\theta = R\sin(\theta + \alpha):

Rsin(θ+α)=Rcosαsinθ+Rsinαcosθ,R\sin(\theta + \alpha) = R\cos\alpha\,\sin\theta + R\sin\alpha\,\cos\theta,

so Rcosα=aR\cos\alpha = a and Rsinα=bR\sin\alpha = b. Therefore:

R=a2+b2,tanα=ba.R = \sqrt{a^2 + b^2}, \qquad \tan\alpha = \frac{b}{a}.

Take RR positive and α\alpha acute (the standard convention).

Maximum and minimum

Since 1sin(θ+α)1-1 \leq \sin(\theta + \alpha) \leq 1, the expression ranges between R-R and RR:

maximum=R (when the bracket=1),minimum=R (when the bracket=1).\text{maximum} = R \ \text{(when the bracket} = 1\text{)}, \qquad \text{minimum} = -R \ \text{(when the bracket} = -1\text{)}.

You can also find the value of θ\theta at which each occurs by solving θ+α=90\theta + \alpha = 90^\circ (maximum of a sine form) or the appropriate angle.

Solving equations

To solve asinθ+bcosθ=ka\sin\theta + b\cos\theta = k, rewrite the left as Rsin(θ+α)=kR\sin(\theta + \alpha) = k, so sin(θ+α)=kR\sin(\theta + \alpha) = \dfrac{k}{R}, an equation in a single ratio that you solve in the usual way.

Examples in context

Example 1. Amplitude of a combined signal. Two alternating voltages asinωta\sin\omega t and bcosωtb\cos\omega t of the same frequency combine to a single oscillation of amplitude a2+b2\sqrt{a^2 + b^2}, which is exactly the value RR, telling an engineer the peak voltage.

Example 2. Greatest projection on a slope. A force resolved into components asinθ+bcosθa\sin\theta + b\cos\theta along a direction is maximised when the direction aligns with the force; the R-formula gives that maximum RR and the angle at which it happens.

Try this

Q1. Express sinθ+cosθ\sin\theta + \cos\theta in the form Rsin(θ+α)R\sin(\theta + \alpha). [3 marks]

  • Cue. R=2R = \sqrt{2}, tanα=1\tan\alpha = 1 so α=45\alpha = 45^\circ: 2sin(θ+45)\sqrt{2}\sin(\theta + 45^\circ).

Q2. State the maximum value of 6sinθ+8cosθ6\sin\theta + 8\cos\theta. [2 marks]

  • Cue. R=36+64=10R = \sqrt{36 + 64} = 10, so the maximum is 1010.

Q3. State the minimum value of 5+3sinθ+4cosθ5 + 3\sin\theta + 4\cos\theta. [2 marks]

  • Cue. The sine-cosine part has minimum 5-5, so the whole expression has minimum 55=05 - 5 = 0.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original5 marksExpress 3sinθ+4cosθ3\sin\theta + 4\cos\theta in the form Rsin(θ+α)R\sin(\theta + \alpha), where R>0R > 0 and 0<α<900^\circ < \alpha < 90^\circ. Hence state the maximum value of the expression.
Show worked answer →

Compare Rsin(θ+α)=Rsinθcosα+RcosθsinαR\sin(\theta + \alpha) = R\sin\theta\cos\alpha + R\cos\theta\sin\alpha with 3sinθ+4cosθ3\sin\theta + 4\cos\theta.

So Rcosα=3R\cos\alpha = 3 and Rsinα=4R\sin\alpha = 4. Then R=32+42=5R = \sqrt{3^2 + 4^2} = 5 and tanα=43\tan\alpha = \dfrac{4}{3}, so α=53.13\alpha = 53.13^\circ.

Thus 3sinθ+4cosθ=5sin(θ+53.13)3\sin\theta + 4\cos\theta = 5\sin(\theta + 53.13^\circ). The maximum value is R=5R = 5, when sin(θ+α)=1\sin(\theta + \alpha) = 1.

Markers reward matching coefficients, R=a2+b2R = \sqrt{a^2 + b^2}, the angle from tanα\tan\alpha, and the maximum value 55.

Original4 marksThe expression 5cosθ12sinθ5\cos\theta - 12\sin\theta is written as Rcos(θ+α)R\cos(\theta + \alpha). Find RR and the minimum value of the expression.
Show worked answer →

Expand Rcos(θ+α)=RcosθcosαRsinθsinαR\cos(\theta + \alpha) = R\cos\theta\cos\alpha - R\sin\theta\sin\alpha and compare with 5cosθ12sinθ5\cos\theta - 12\sin\theta.

So Rcosα=5R\cos\alpha = 5 and Rsinα=12R\sin\alpha = 12, giving R=52+122=13R = \sqrt{5^2 + 12^2} = 13.

The minimum value of Rcos(θ+α)R\cos(\theta + \alpha) is R=13-R = -13, when cos(θ+α)=1\cos(\theta + \alpha) = -1.

Markers reward correct matching with the cosine expansion, R=13R = 13, and the minimum value 13-13.

Related dot points