Steply

Derivative of (x^2 - 3x)^5

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

Step by step

The question

Question: find dy/dx for y = (x² − 3x)⁵.

y = (x2 − 3x)5

1 The inside

There is something inside: x² − 3x.

Call it u.

u = x2 − 3x

Then y is just u⁵.

y = u5

2 The outside

First the outside.

Use the power rule on u⁵.

dydu = 5u^(5 − 1)

We get 5 u⁴.

= 5u4

3 The inside's slope

Now the inside.

The power rule on x² − 3x gives 2x − 3.

dudx = 2x − 3

4 Multiply

The chain rule: multiply the two.

dy/du times du/dx.

dydx = dydu × dudx

Put the inside back in place of u.

= 5(x2 − 3x)4 × (2x − 3)

Careful!

Do not stop here!

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

Careful: not 5(x2 − 3x)4 ✗

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

= 5(2x − 3)(x2 − 3x)4

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
= 5(2x − 3)(x2 − 3x)4

Your turn

Try this one yourself, then check:

Find dy/dx for y = (x2 − 6x)5
Show the answer
dydx = 5(2x − 6)(x2 − 6x)4

More from The chain rule

The whole lesson: The chain rule →