Differentiate: y = xsin(x)

This is a function which is in the form, 

y = f(x)g(x)

It's the product of two functions and so we must make use of the product rule. This is a simple formula which you have to remember:

dy/dx = f'(x)g(x) + f(x)g'(x).

In words: the derivative of first function multiplied by the original second function, plus, the derivative of the second function multiplied by the original first function.

In this question,

f(x) = x

g(x) = sin(x)

so we can find that, 

f'(x) = 1

g'(x) = cos(x)

and by substituting this into the formula for the product rule we get the answer:

dy/dx = sin(x) + xcos(x).

Oliver R. GCSE Maths tutor, A Level Maths tutor, GCSE Further Mathema...

1 year ago

Answered by Oliver, an A Level Maths tutor with MyTutor

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


£22 /hr

David S.

Degree: Engineering (Masters) - Warwick University

Subjects offered: Maths, Physics+ 1 more

Further Mathematics

“About MeI am a first year engineering student at the University of Warwick, I enjoy maths and physics. I am patient, reliable and flexible to suit you but the focus of my tutoring is instilling confidence into a student as they work....”

£20 /hr

Tate C.

Degree: Mechanical Engineering (Masters) - Bath University

Subjects offered: Maths, Physics+ 1 more


“My name is Tate. I am, immensely interested in everything Physics simply because I really see no subject offering the same level of awe inpsiring information that consistently motivates me to go and learn more. I love it so much Ieven...”

£22 /hr

Alex B.

Degree: Physics (Masters) - Durham University

Subjects offered: Maths, Physics


“About me: I’m Alex and I have just completed my first year studying physics at Durham University, with a first. I have a passion for mathematics and how it can be applied to solve problems in physics. Throughout my A levels, other stu...”

About the author

£24 /hr

Oliver R.

Degree: Economics and Mathematics (Bachelors) - Bristol University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“About Me:I'm currently an undergraduate at the University of Bristol studying Economics & Mathematics (Joint Honours). I am one of those few who havea genuine love of studying Maths and hope that enthusiasm will help you in tutorials...”

You may also like...

Other A Level Maths questions

Given x = 3tan(2y) find dy/dx in terms of x

How do you find the coordinate of where two lines intersect?

How do I differentiate y = (3 + 6x)^5 with respect to x

Differentiate x^3(sinx) with respect to x

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