Steply

Derivative of (2x - 5)^3

Step by step, with the reason for every step · The chain rule · Calculus

Step by step

The question

Question: find dy/dx for y = (2x − 5)³.

y = (2x − 5)3

1 The inside

There is something inside: 2x − 5.

Call it u.

u = 2x − 5

Then y is just u³.

y = u3

2 The outside

First the outside.

Use the power rule on u³.

dydu = 3u^(3 − 1)

We get 3 u².

= 3u2

3 The inside's slope

Now the inside.

The power rule on 2x − 5 gives 2.

dudx = 2

4 Multiply

The chain rule: multiply the two.

dy/du times du/dx.

dydx = dydu × dudx

Put the inside back in place of u.

= 3(2x − 5)2 × 2

Careful!

Do not stop here!

We must multiply by the inside's slope, 2.

Careful: not 3(2x − 5)2 ✗

Multiply the numbers in front.

So dy/dx = 6 (2x − 5)².

= 6(2x − 5)2
3 × 2 = 6

5 Check

Let's check: the derivative is the slope.

At x = undefined, the rule gives NaN.

dy/dx at x = undefined: NaN

Now the slope between two very close points: x = undefined and x = NaN.

A calculator gives about NaN.

Very close to NaN.

Right!

y(NaN) − y(undefined)0.001 ≈ NaN

Let's look back.

First: the inside.

Then: the outside.

Then: the inside's slope.

Then: multiply.

Last: check.

Answer
3 × 2 = 6

Your turn

Try this one yourself, then check:

Find dy/dx for y = (x − 4)4
Show the answer
dydx = 4(x − 4)3

More from The chain rule

The whole lesson: The chain rule →