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


£24 /hr

Elizabeth G.

Degree: Mathematics (G100) (Bachelors) - Durham University

Subjects offered: Maths, Science+ 2 more


“ Hello, my name is Elizabeth, I am studying maths at Durham. I love maths but also studied chemsitry and physcis at A-level. I have two younger sisters who I have helped through similar exams and have tutored various other subjects giv...”

£20 /hr

Alex C.

Degree: Natural Sciences (Bachelors) - University College London University

Subjects offered: Maths, Physics+ 3 more

Further Mathematics
.BMAT (BioMedical Admissions)

“Hi, I'm a first year undergraduate at University College London studying Natural Sciences. I've always had a passion for science and think that tutoring is a great way to bring that across and inspire it in others.  In the past I've t...”

MyTutor guarantee

£20 /hr

Kyle R.

Degree: Mathematics (Masters) - Oxford, Corpus Christi College University

Subjects offered: Maths, Further Mathematics + 2 more

Further Mathematics

“Hi! I'm Kyle, a 2nd year Oxford undergraduate studying Maths at Corpus Christi College. I aim to be an understanding and friendly face, whilst being thorough with the material I cover. I've acheived A* grades in Maths, Further Maths a...”

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

Differentiate xcos(x) with respect to x

How do I prove that an irrational number is indeed irrational?

How do I find the minimum or maximum of a quadratic function?

The equation of a curve is x(y^2)=x^2 +1 . Using the differential, find the coordinates of the stationary point of the curve.

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