Steply

Derivative of 2/(x^2 + 4)

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

Step by step

The question

Question: find dy/dx for y = 2/(x² + 4).

y = 2x2 + 4

1 The inside

There is something inside: x² + 4.

Call it u.

u = x2 + 4

Then y is just 2 u⁻¹.

Written as a power of u.

y = 2u−1

u to a power at the bottom is a minus power on top.

1u1 = u−1

2 The outside

First the outside.

Use the power rule on 2 u⁻¹.

dydu = 2 × (−1)u^(−1 − 1)

We get −2 u⁻².

= −2u−2

Take 1 away from the power: −1 − 1 = −2.

−1 − 1 = −2

3 The inside's slope

Now the inside.

The power rule on x² + 4 gives 2x.

dudx = 2x

4 Multiply

The chain rule: multiply the two.

dy/du times du/dx.

dydx = dydu × dudx

Put the inside back in place of u.

= −2(x2 + 4)−2 × 2x

Careful!

Do not stop here!

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

Careful: not −2(x2 + 4)−2 ✗

Multiply the numbers in front.

Then write the minus power at the bottom.

So dy/dx = −4x/(x² + 4)².

= −4x(x2 + 4)2
−2 × 2x = −4x

5 Check

Let's check: the derivative is the slope.

At x = 0, the rule gives 0.

dy/dx at x = 0: 0

Now the slope between two very close points: x = 0 and x = 0.001.

A calculator gives about 0.

Very close to 0.

Right!

y(0.001) − y(0)0.001 ≈ 0

Let's look back.

First: the inside.

Then: the outside.

Then: the inside's slope.

Then: multiply.

Last: check.

Answer
−2 × 2x = −4x

Your turn

Try this one yourself, then check:

y = 1x2 + 3
Show the answer
dydx = −2x(x2 + 3)2

More from The chain rule

The whole lesson: The chain rule →