AP Calculus AB and BC

Derivative of ln(x + sqrt(x^2+1)): Answer and Proof

The derivative of ln(x + sqrt(x^2 + 1)) is 1 over sqrt(x^2 + 1). The step that decides it is factoring the inner derivative: 1 + x/sqrt(x^2 + 1) becomes (x + sqrt(x^2 + 1)) over sqrt(x^2 + 1), and that bracket cancels the one from the logarithm.

ddx[ln(x+x2+1)]=1x2+1\frac{d}{dx}\left[\ln\left(x+\sqrt{x^{2}+1}\right)\right] = \frac{1}{\sqrt{x^{2}+1}}

The cancellation that cleans it up

Set u=x+x2+1u=x+\sqrt{x^{2}+1}, so the outer derivative is 1u\frac{1}{u}. The inner derivative needs its own chain rule on the root, where the inside x2+1x^{2}+1 contributes a factor of 2x2x that cancels the 22 underneath.

u=1+2x2x2+1=1+xx2+1=x2+1+xx2+1u' = 1+\frac{2x}{2\sqrt{x^{2}+1}} = 1+\frac{x}{\sqrt{x^{2}+1}} = \frac{\sqrt{x^{2}+1}+x}{\sqrt{x^{2}+1}}

Putting those two terms over the common denominator x2+1\sqrt{x^{2}+1} is the whole trick, because the numerator that appears is uu itself. Multiply by 1u\frac{1}{u} and the bracket disappears.

ddxln(x+x2+1)=1x+x2+1x+x2+1x2+1=1x2+1\frac{d}{dx}\ln\left(x+\sqrt{x^{2}+1}\right) = \frac{1}{x+\sqrt{x^{2}+1}}\cdot\frac{x+\sqrt{x^{2}+1}}{\sqrt{x^{2}+1}} = \frac{1}{\sqrt{x^{2}+1}}

Why every real number is in the domain

A logarithm needs a positive input, so the question is whether x+x2+1x+\sqrt{x^{2}+1} can ever fail to be positive. It cannot. For x0x\geq 0 both pieces are non-negative and the root is strictly positive. For x<0x<0, compare sizes: x2+1>x2=x\sqrt{x^{2}+1}>\sqrt{x^{2}}=|x|, so the root always outweighs the negative term.

That is why the sample point x=1x=-1 is legitimate here, unlike on a page about lnx\ln x. The derivative 1x2+1\frac{1}{\sqrt{x^{2}+1}} is positive for every xx, so the function increases across the whole real line, with its steepest slope of 11 at the origin.

The function is the inverse hyperbolic sine, written sinh1x\sinh^{-1}x, and 1x2+1\frac{1}{\sqrt{x^{2}+1}} is the standard formula for its derivative. Compare ddxsin1x=11x2\frac{d}{dx}\sin^{-1}x=\frac{1}{\sqrt{1-x^{2}}}: one sign inside the root separates the two results.

The mistakes students make

The size of the expression tempts students into shortcuts that are not legal.

  • Answering 1x+x2+1\frac{1}{x+\sqrt{x^{2}+1}} and stopping. That is only the outer derivative, and it is precisely the factor that gets cancelled once the inner derivative is written down.
  • Differentiating the root as 12x2+1\frac{1}{2\sqrt{x^{2}+1}} and forgetting the 2x2x from inside. The correct term is xx2+1\frac{x}{\sqrt{x^{2}+1}}, and without it the cancellation never happens.
  • Splitting the logarithm as lnx+lnx2+1\ln x+\ln\sqrt{x^{2}+1}. The log of a sum is not the sum of logs, and the split also throws away the negative half of the domain.

Check yourself, not just the answer

Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.

Frequently asked questions

What is the derivative of ln(x + sqrt(x^2+1))?

It is 1x2+1\frac{1}{\sqrt{x^{2}+1}}, valid for every real xx.

Why is the derivative so much simpler than the function?

Because the inner derivative factors as x+x2+1x2+1\frac{x+\sqrt{x^{2}+1}}{\sqrt{x^{2}+1}}, and that numerator is exactly the input of the logarithm. It cancels against the 1u\frac{1}{u} from the outer derivative.

Is ln(x + sqrt(x^2+1)) the same as inverse sinh x?

Yes. Solving sinhy=x\sinh y=x for yy gives y=ln(x+x2+1)y=\ln\left(x+\sqrt{x^{2}+1}\right), so the two are the same function, and both have derivative 1x2+1\frac{1}{\sqrt{x^{2}+1}}.