All revision notes topics

The R-formula (a cos + b sin)AQA A-Level Maths: Revision notes

Section 1

The R-formula

An expression acos⁡θ+bsin⁡θa\cos\theta+b\sin\theta can always be written as a single trigonometric function. To write it as Rcos⁡(θ−α)R\cos(\theta-\alpha), expand with the compound angle formula: Rcos⁡(θ−α)=Rcos⁡αcos⁡θ+Rsin⁡αsin⁡θ.R\cos(\theta-\alpha)=R\cos\alpha\cos\theta+R\sin\alpha\sin\theta. Comparing coefficients, Rcos⁡α=aR\cos\alpha=a and Rsin⁡α=bR\sin\alpha=b, so R=a2+b2,tan⁡α=ba.R=\sqrt{a^2+b^2},\qquad\tan\alpha=\frac{b}{a}. For 3cos⁡θ+4sin⁡θ3\cos\theta+4\sin\theta: R=5R=5, tan⁡α=43\tan\alpha=\frac43, α=53.1∘\alpha=53.1^\circ, so 3cos⁡θ+4sin⁡θ=5cos⁡(θ−53.1∘)3\cos\theta+4\sin\theta=5\cos(\theta-53.1^\circ).

Key termsR-formulaamplitude
Exam tip

Write Rcos⁡α=aR\cos\alpha=a and Rsin⁡α=bR\sin\alpha=b first, then find RR and α\alpha. If both are positive, α\alpha is acute.

Section 2

The four forms

You can choose any of four equivalent forms. For acos⁡θ+bsin⁡θa\cos\theta+b\sin\theta, expand each and match coefficients:

  • Rcos⁡(θ−α)R\cos(\theta-\alpha): Rcos⁡α=aR\cos\alpha=a, Rsin⁡α=bR\sin\alpha=b.
  • Rcos⁡(θ+α)R\cos(\theta+\alpha): Rcos⁡α=aR\cos\alpha=a, Rsin⁡α=−bR\sin\alpha=-b.
  • Rsin⁡(θ+α)R\sin(\theta+\alpha): Rsin⁡α=aR\sin\alpha=a, Rcos⁡α=bR\cos\alpha=b.
  • Rsin⁡(θ−α)R\sin(\theta-\alpha): Rsin⁡α=−aR\sin\alpha=-a, Rcos⁡α=bR\cos\alpha=b. Example: 3sin⁡θ−cos⁡θ=Rsin⁡(θ−α)\sqrt3\sin\theta-\cos\theta=R\sin(\theta-\alpha) gives Rcos⁡α=3R\cos\alpha=\sqrt3, Rsin⁡α=1R\sin\alpha=1, so R=2R=2, α=30∘\alpha=30^\circ: 2sin⁡(θ−30∘)2\sin(\theta-30^\circ). For 5sin⁡x+12cos⁡x=13sin⁡(x+67.4∘)5\sin x+12\cos x=13\sin(x+67.4^\circ), α\alpha is the angle with tan⁡α=125\tan\alpha=\frac{12}{5}.
Key termsform
Common mistake

Swapping the coefficients: for Rcos⁡(θ−α)R\cos(\theta-\alpha), tan⁡α=coefficient of sin⁡coefficient of cos⁡\tan\alpha=\frac{\text{coefficient of }\sin}{\text{coefficient of }\cos}, not the other way round.

Section 3

Maximum and minimum values

Since −1≤cos⁡(θ−α)≤1-1\le\cos(\theta-\alpha)\le1, the expression acos⁡θ+bsin⁡θa\cos\theta+b\sin\theta has maximum RR and minimum −R-R. The maximum for 3cos⁡θ+4sin⁡θ3\cos\theta+4\sin\theta is 55 at θ=α=53.1∘\theta=\alpha=53.1^\circ, and the minimum is −5-5 at θ=233.1∘\theta=233.1^\circ. For 10+3cos⁡θ+4sin⁡θ10+3\cos\theta+4\sin\theta the greatest value is 10+5=1510+5=15 and the least is 10−5=510-5=5. In a model such as a tide depth, RR is the amplitude of the variation.

Key termsmaximumminimum

Section 4

Solving equations

To solve acos⁡θ+bsin⁡θ=ca\cos\theta+b\sin\theta=c, write the left side as Rcos⁡(θ−α)R\cos(\theta-\alpha), so cos⁡(θ−α)=cR\cos(\theta-\alpha)=\frac{c}{R}. A solution exists only if ∣c∣≤R|c|\le R. Work out the range of θ−α\theta-\alpha for the interval before listing solutions. Example: 3cos⁡θ+4sin⁡θ=2.53\cos\theta+4\sin\theta=2.5 for 0∘≤θ<360∘0^\circ\le\theta<360^\circ: 5cos⁡(θ−53.1∘)=2.55\cos(\theta-53.1^\circ)=2.5, so cos⁡(θ−53.1∘)=0.5\cos(\theta-53.1^\circ)=0.5 and θ−53.1∘=±60∘\theta-53.1^\circ=\pm60^\circ, giving θ=113.1∘\theta=113.1^\circ or −6.9∘+360∘=353.1∘-6.9^\circ+360^\circ=353.1^\circ. Example: 5sin⁡x+12cos⁡x=6.55\sin x+12\cos x=6.5: 13sin⁡(x+67.4∘)=6.513\sin(x+67.4^\circ)=6.5, so x+67.4∘=150∘x+67.4^\circ=150^\circ or 390∘390^\circ and x=82.6∘x=82.6^\circ or 322.6∘322.6^\circ.

Key termssolution interval
Exam tip

Change the interval for the new angle: for θ−α\theta-\alpha with 0≤θ<360∘0\le\theta<360^\circ, the range is −α≤θ−α<360∘−α-\alpha\le\theta-\alpha<360^\circ-\alpha.

Section 5

Modelling with the R-formula

Periodic models, such as tides, often take the form D=k+acos⁡(ωt)+bsin⁡(ωt)D=k+a\cos(\omega t)+b\sin(\omega t). Rewriting as D=k+Rcos⁡(ωt−α)D=k+R\cos(\omega t-\alpha) shows that the depth oscillates between k−Rk-R and k+Rk+R, with the first maximum when ωt=α\omega t=\alpha. Example: D=10+3cos⁡(30t)∘+4sin⁡(30t)∘=10+5cos⁡(30t−53.1)∘D=10+3\cos(30t)^\circ+4\sin(30t)^\circ=10+5\cos(30t-53.1)^\circ. Maximum depth 1515 m at t=1.77t=1.77 h. D=12D=12 when cos⁡(30t−53.1)∘=0.4\cos(30t-53.1)^\circ=0.4, that is t=3.99t=3.99 and t=11.56t=11.56, so the depth is below 1212 m for about 7.577.57 hours.

Key termsmodel

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The R-formula (a cos + b sin)

  1. Let f(θ)=3cos⁡θ+4sin⁡θf(\theta)=3\cos\theta+4\sin\theta, with θ\theta in degrees. It is written in the form rcos⁡(θ−α)r\cos(\theta-\alpha), where r>0r>0 and 0∘<α<90∘0^\circ<\alpha<90^\circ.
    Write down the maximum value of f(θ)f(\theta) and the smallest positive value of θ\theta at which it occurs.2 marks
  2. Let g(θ)=3sin⁡θ−cos⁡θg(\theta)=\sqrt3\sin\theta-\cos\theta, with θ\theta in degrees. It is written in the form Rsin⁡(θ−α)R\sin(\theta-\alpha), where R>0R>0 and 0∘<α<90∘0^\circ<\alpha<90^\circ.
    Solve g(θ)=1g(\theta)=1 for 0∘≤θ≤360∘0^\circ\le\theta\le360^\circ.2 marks
  3. Let h(x)=5sin⁡x+12cos⁡xh(x)=5\sin x+12\cos x, where xx is in degrees.
    Express h(x)h(x) in the form Rsin⁡(x+α)R\sin(x+\alpha), where R>0R>0 and 0∘<α<90∘0^\circ<\alpha<90^\circ.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).