Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
MediumDerivativesCalculus

Differentiate ln⁡(x2+1)\ln(x^2 + 1).

Chain rule with the natural logarithm.

Try it first: work the problem on paper, then open the solution below and compare each step.
Show the step-by-step solution

Final answer

f′(x)=2xx2+1f'(x) = \frac{2x}{{x}^{2}+1}

How we read your problem

Find the derivative of ln(x² + 1) with respect to x.

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

Step-by-step solution

  1. Chain rule — d/dx[ln u] = u′/u

    ddx[ln⁡(x2+1)]=2xx2+1\frac{d}{dx}\left[\ln\left({x}^{2}+1\right)\right] = \frac{2x}{{x}^{2}+1}
  2. Sum rule: differentiate each term separately

    ddx[x2+1]=2x\frac{d}{dx}\left[{x}^{2}+1\right] = 2x
  3. Power rule: d/dx[xⁿ] = n·xⁿ⁻¹

    ddx[x2]=2x\frac{d}{dx}\left[{x}^{2}\right] = 2x
  4. Combine and simplify

    f′(x)=2xx2+1f'(x) = \frac{2x}{{x}^{2}+1}

Formulas used

  • Power rule

    ddxxn=nxn−1\frac{d}{dx}x^n = n x^{n-1}
  • Chain rule

    ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)

The derivative is built from the outside in: sums split into terms, constants factor out, products and quotients use their rules, and every composite function multiplies by the derivative of its inside (chain rule).

Verification

  • Cross-checked numerically against an independent symbolic differentiator at 8 sample points ✓

About derivatives

Power, product, quotient and chain rules.

Power rule

Bring the exponent down and reduce it by one.

ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}
Chain rule

Differentiate the outer function, then multiply by the derivative of the inner.

ddxf(g(x))=f′(g(x)) g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)

Check your own work