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

89909 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A curve has equation y = 4x + 1/(x^2) find dy/dx.


Find the minimum and maximum points of the graph y = x^3 - 4x^2 + 4x +3 in the range 0<=x <= 5.


What is the area under the graph of (x^2)*sin(x) between 0 and pi


Use the formula 5p + 2q = t to find the value of q when p = 4 and t = 24. 6


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