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


£20 /hr

Charley H.

Degree: Mathematics and Economics (Bachelors) - Liverpool University

Subjects offered: Maths, Economics


“About Myself: I am currently studying Mathematics and Economics at The University of Liverpool. I have always enjoyed these two subjects, especially maths, and I hope I can help in assisting you achieve your goal- whether that be pass...”

MyTutor guarantee

£20 /hr

Tom T.

Degree: Natural Sciences (Masters) - Durham University

Subjects offered: Maths, Science+ 4 more

Further Mathematics

“About Me: I am a student at Durham University studying Natural Sciences, specifically Maths and Chemistry. I have always been keen to help others understand key scientific and mathematical concepts and I hope to be able to do the same...”

£20 /hr

Zoe N.

Degree: Computer Science (Masters) - St. Andrews University

Subjects offered: Maths, English+ 1 more


“About me: I'm a first year computer science student at the University of St. Andrews. I have been a private tutor previously for two years but I have been helping my younger brother with the subjects he struggles with for many more ye...”

MyTutor guarantee

About the author

Oliver R.

Currently unavailable: for new students

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

What is the equation of the curve that has gradient dy/dx=(4x-5) and passes through the point (3,7)?

Differentiate y = x^3 +x^2 - 4x +5 with respects to x.

Solve the equation; 4 cos^2 (x) + 7 sin (x) – 7 = 0, giving all answers between 0° and 360°.

Why do we need to differentiate?

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