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).

OR
Answered by Oliver R. Maths tutor

89921 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the equation of the the tangent to the curve y=x^3 - 7x + 3 at the point (1,2)


Given log3(3b + 1) - log3(a-2) = -1 for a > 2. Express b in terms of a.


How can I remember how to differentiate and integrate cos and sin?


The equation of a line is y=3x – x^3 a) Find the coordinates of the stationary points in this curve, stating whether they are maximum or minimum points b) Find the gradient of a tangent to that curve at the point (2,4)


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:

© 2026 by IXL Learning