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)


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


So, overall:

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

Daniel R. A Level Maths tutor, A Level Further Mathematics  tutor, GC...

1 year ago

Answered by Daniel, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

Jay L.

Degree: Computer Science (Masters) - Bristol University

Subjects offered: Maths, Computing


“About me: Hi, I’m Jay, a first year Computer Science student at the University of Bristol! I am here to help students prepare for their exams (GCSE, AS/A Level etc) in Maths and Computing. My teaching style can vary depending on how y...”

MyTutor guarantee

£26 /hr

Konrad E.

Degree: Natural Sciences: Physical (Masters) - Cambridge University

Subjects offered: Maths, Physics+ 2 more

Further Mathematics

“I'm studying Natural Sciences (Phys) at Cambridge. I enjoy tutoring science and maths at GCSE and A-Level, and sharing my experience.”

£20 /hr

Iebad A.

Degree: Aerospace Engineering (Masters) - Sheffield University

Subjects offered: Maths, Italian


“About me: Hello, my name is Iebad and I am an aerospace engineering student at The University of Sheffield. As an engineer, maths is the key to unlock all the solutions to our problems in this field. Since the early years I had a broad...”

About the author

£24 /hr

Daniel R.

Degree: Mathematics (Bachelors) - Durham University

Subjects offered: Maths, Physics+ 1 more

Further Mathematics

“About me I’m a first year student studying Maths with European Studies at Durham. I have recently taken my A levels, achieving A* in Maths and Further Maths, so I am familiar with the course content and what the examiners are looking ...”

You may also like...

Other A Level Maths questions

How do you rationalise the denominator?

Find the tangent of the following curve, y=xe^x, at x=1 expressing it in the form y=mx+c?

How do we differentiate y=a^x when 'a' is an non zero real number

Differentiate y^3 + 3y^2 + 5

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss