How do I differentiate: (3x + 7)^2?

We can see that (3x + 7)2 is a 'composite function'. We can rewrite this as g(f(x)), where f(x) = 3x + 7 and g(x) = x2. As you will have learnt, you will need to use the chain rule for this type of differentiation. The chain rule is as follows: d/dx(g(f(x))) = d/d(f(x))(g(f(x)) * d/dx(f(x)). This problem can be broken down into 2 calculations. Let's work out each term individually:d/d(f(x))(g(f(x)):d/dx(g(x)) is simply 2x (bring the power down, reduce the power by one). Therefore we can substitute f(x) in as x in this equation which gives us d/d(f(x))(g(f(x)) = 2f(x) = 2*(3x + 7).d/dx(f(x)): We can see that this is 3 (from 3x, the constant 7 term disappears). Putting this all together gives our answer of:d/dx(g(f(x))) = d/d(f(x))(g(f(x)) * d/dx(f(x)) = (2*(3x + 7)) * 3 = 6*(3x + 7) = 18x + 42.

LK
Answered by Lloyd K. Maths tutor

4930 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Describe the 3 types of solution to a quadratic equation


How does finding the gradient of a line and the area under a graph relate to real world problems?


Solve the equation 3x^2/3 + x^1/3 − 2 = 0


The curve C has equation y = (x^2 -4x - 2)^2. Point P lies on C and has coordinates (3,N). Find: a) the value of N. b) the equation of the tangent to C at the point P, in the form y=mx+c where m and c are constants to be found. c) determine d^2y/dx^2.


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