Differentiate (x^2)cos(3x) with respect to x

First we start off by seeing that we are multiplying together two functions both containing x, so we want to apply the product rule. As we know the product rule is (f(x)g(x))'=f(x)g'(x)+f'(x)g(x) so we can assign f(x) to x^2 and g(x) to cos 3x. We can differentiate x^2 using the power rule, finding our new factor as 12 = 2, and decreasing the power by 1, giving us f'(x)=2x. We can then also differentiate our g(x), cos3x. For this we can see we need to use the chain rule. We can set u=3x and hence g(x) can be simplified to cos(u) which we know how to differentiate. We differentiate u, giving us u'=3 and differentiate cos(u), giving us -sin(u). We then multiply together (dy/du) and (du/dx), so -sin(u) * 3 = -3sin(u). We can then substitute 3x back in for u as u=3x, giving us g'(x)=-3sin(3x). Now that we have f'(x) and g'(x) we can apply the product rule, giving us the answer as (x^2)-3sin(3x) + 2x * cos(3x), so -3(x^2)sin(3x) + 2xcos(3x).

AB
Answered by Arthur B. Maths tutor

9039 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

How do I plot a graph of y=x^3-9x?


How do you find the stationary points of the curve with equation y=4x^3-12x+1


How do you find the distance a ball travels if fired at speed u and angle theta from the ground?


A new sports car accelerates using rockets at 5m/s for 30 seconds from some traffic lights and then decelerate for 45 seconds to a stop.


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