differentiate y = (4-x)^2

This is a basic example of a very important result: the chain rule. The difficulty of this sort of example is that we have a "function of a function". That is, we have the function '4-x' and then we square this. 

The general approach is as follows. First we will let 'u' be a new function: u=4-x. It is evident that now we have y=u^2 which looks like it might be easier to work with. The chain rule says the following:

dy/dx = (dy/du)*(du/dx)

In this case y=u^2 so, from normal differentiation, we get dy/du = 2u. We also then have u = 4-x. So, again from normal differentiation techniques, we have du/dx=-1.

Using the chain rule gives dy/dx = (2u)*(-1) and if we substitute u=4-x we get

dy/dx = -2(4-x)  = 2x-8    which is the final answer.                                   

BB
Answered by Ben B. Maths tutor

8074 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Given that the increase in the volume of a cube is given by dV/dt = t^3 + 5 (cm^3/s). The volume of the cube is initially at 5 cm^3. Find the volume of the cube at time t = 4.


Use the substitution u=3+(x+4)^1/2 to find the integral of 1/(3+(x+4)^1/2) dx between 0 and 5.


What is the difference between definite and indefinite integrals?


A curve has equation y=x^2 + (3k - 4)x + 13 and a line has equation y = 2x + k, where k is constant. Show that the x-coordinate of any point of intersection of the line and curve satisfies the equation: x^2 + 3(k - 2)x + 13 - k = 0


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:

© 2025 by IXL Learning