How do I express y=acosx+bsinx in the form y=Rcos(x-c)?

From the addition formula, we know that:

Rcos(x-c) = Rcos(x)sin(c)+Rsin(x)cos(c)

Therefore:

acos(x)+bsin(x) = Rcos(x)cos(c)+Rsin(x)sin(c)

If we equate the coefficients of cos(x) and sin(x) we see that:

acos(x) = Rcos(x)sin(c);   therefore a = Rcos(c)

And that:

bsin(x) = Rsin(x)cos(c);    therefore b = Rsin(c)

To find c:

If we divide one of the above results by the other:

Rsin(c)/Rcos(c) = b/a

Rsin(c)/Rcos(c) = b/a

tan(c) = b/a

Therefore, c = arctan(b/a)

To find R:

a2+b2 = R2cos2(c)+R2sin2(c)

a2+b2 = R2(cos2(c)+sin2(c))

As cos2(c)+sin2(c) = 1,

a2+b2 = R2

(a2+b2)1/2=R

So, overall:

acos(x)+bsin(x) = (a2+b2)1/2cos(x-arctan(b/a))

DR
Answered by Daniel R. Maths tutor

25771 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

In this question, take 'log' to mean 'log base 5'. Solve the equation log(x^2-5)-log(x) = 2*log(2)


Integrate 2x^5 - 1/4x^3 - 5


Use logarithms to solve 9^x=15


Line AB has equation 4x+5y+2=0. If the point P=(p, p+5) lies on AB, find P . The point A has coordinates (1, 2). The point C(5, k) is such that AC is perpendicular to AB. Find the value of k.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning