Differentiate the function f(x) = 2x^3 + (cos(x))^2 + e^x

When differentiating a function that is the sum of three different parts we can differentiate each part separately:

a) 2x3 is easy to differentiate. We remember the rule d/dx[axb] = abxb-1. So

2x3 --> 6x2

b) (cos(x))2 is a bit harder. We can use the chain rule, as we have a function raised to a power. The chain rule is:

d/dx[(g(x))n] = n(g(x))n-1 * d/dx[g(x)]

Also we need to remember that cos(x) differentiates to -sin(x)

So we have that

(cos(x))2 --> -2cos(x)sin(x).

c) ex is the easiest of the lot: it doesnt change when differentiated. 

ex --> ex

Therefore the final answer is:

d/dx[f(x)] = 6x2 - 2cos(x)sin(x) + ex

SP
Answered by Seth P. Maths tutor

5991 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the equation of the tangent line to the graph of y=2x^4-7x^3+x^2+3x when x=5


How do I do this question: A small stone is projected vertically upwards from the point A with speed 11.2 m/s. Find the maximum height above A reached by the stone.


A car is accelerating at 2 ms^-2 along a horizontal road. It passes a point A with a velocity of 10 ms^-1 and later a point B, where AB = 50m. FInd the velocity of the car as it passes through B.


What is the difference between mutually exclusive and indepedent events?


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