Calculus · real student question

Differentiate f(x) = x/(x^2 + 1) using the quotient rule.

Question

Differentiate

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

using the quotient rule.

Step-by-step solution

  1. Recognise the shape and pick the rule. The function is a single fraction whose numerator and denominator both contain xx, so neither the constant-multiple rule nor the power rule applies directly. The quotient rule is built for exactly this:

    (uv)=uvuvv2\left(\frac{u}{v}\right)'=\frac{u'v-uv'}{v^{2}}

  2. Name the two parts and differentiate each.

    u=x  u=1,v=x2+1  v=2xu=x\ \Longrightarrow\ u'=1,\qquad v=x^{2}+1\ \Longrightarrow\ v'=2x

    Writing them out before substituting is what stops the classic mistake of swapping the order in the numerator — the rule is uvu'v minus uvuv', and it is not symmetric.

  3. Substitute into the rule.

    f(x)=1(x2+1)x2x(x2+1)2f'(x)=\frac{1\cdot\left(x^{2}+1\right)-x\cdot 2x}{\left(x^{2}+1\right)^{2}}

  4. Simplify the numerator only. The denominator is already in its most useful factored form, so leave it alone:

    x2+12x2=1x2x^{2}+1-2x^{2}=1-x^{2}

    giving

    f(x)=1x2(x2+1)2f'(x)=\frac{1-x^{2}}{\left(x^{2}+1\right)^{2}}

  5. Read the answer for a free sanity check. The numerator 1x21-x^{2} is positive on (1,1)(-1,1) and negative outside it, so ff rises between x=1x=-1 and x=1x=1 and falls elsewhere — matching the fact that ff has its maximum 12\tfrac12 at x=1x=1 and its minimum 12-\tfrac12 at x=1x=-1.

  6. Verify numerically. Central differences with h=106h=10^{-6} give f(0.3)0.7659288f'(0.3)\approx 0.7659288 against the formula's 0.76592880.7659288, and f(2)0.1200000f'(2)\approx -0.1200000 against 3/25=0.12-3/25=-0.12.

Answer

f(x)=1x2(x2+1)2f'(x)=\frac{1-x^{2}}{\left(x^{2}+1\right)^{2}}

Need to solve a different problem like this? Open the solver →