Steply

Derivative of ln(x^2 + 1)

Step by step, with the reason for every step · Derivatives of sin, cos, e and ln · Calculus

Step by step

The question

Question: find dy/dx for y = ln(x² + 1).

y = ln(x2 + 1)

1 The inside

There is something inside: x² + 1.

Call it u.

u = x2 + 1

Then y is just ln u.

y = ln u

2 The outside

The derivative of ln x is 1 over x.

ln x → 1x

First the outside.

The rule on ln u gives 1 over u.

dydu = 1u

3 The inside's slope

Now the inside.

The power rule on x² + 1 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.

= 1x2 + 1 × 2x

Careful!

Do not stop here!

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

Careful: not 1x2 + 1 ✗

So dy/dx = 2x/(x² + 1).

= 2xx2 + 1

5 Check

Let's check: the derivative is the slope.

At x = 1, the rule gives 1, with a calculator.

dy/dx at x = 1: 1

Now the slope between two very close points: x = 1 and x = 1.001.

A calculator gives about 1.

Very close to 1.

Right!

y(1.001) − y(1)0.001 ≈ 1

Let's look back.

First: the inside.

Then: the outside.

Then: the inside's slope.

Then: multiply.

Last: check.

Answer
= 2xx2 + 1

Your turn

Try this one yourself, then check:

Find dy/dx for y = 2 ln(x2 + 1)
Show the answer
dydx = 4xx2 + 1

More from Derivatives of sin, cos, e and ln

The whole lesson: Derivatives of sin, cos, e and ln →