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

9008 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A child of m1=48 kg, is initially standing at rest on a skateboard. The child jumps off the skateboard moving horizontally with a speed v1=1.2 ms^-1. The skateboard moves with a speed v2=16 ms^-1 in the opposite direction. Find the mass of the skateboard.


Find the equation of the tangent to the curve y = (2x -3)^3 at the point (1, - 1), giving your answer in the form y = mx + c.


What is the cosine rule and how do I use it?


Given f(x)=2x^3 - 2x^2 + 8x, find f'(x) and f"(x).


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