Calculus · real student question

Differentiate f(x) = x/(x^2 + 1).

Question

Differentiate

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

Step-by-step solution

  1. Set up the quotient rule. With u=xu=x and v=x2+1v=x^2+1,

    f=uvuvv2,u=1,v=2xf'=\frac{u'v-uv'}{v^2},\qquad u'=1,\qquad v'=2x

    The order in the numerator matters: it is derivative of top times bottom minus top times derivative of bottom, never the reverse. Note also that v=x2+11>0v=x^2+1\ge1>0 everywhere, so ff is defined and differentiable on all of R\mathbb{R}.

  2. Substitute into the formula.

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

  3. Simplify the numerator.

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

    so

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

    The x2x^2 terms partially cancel — which is what turns a messy expression into a clean one.

  4. Read the turning points straight off the answer. The denominator is always positive, so the sign of ff' is the sign of 1x2=(1x)(1+x)1-x^2=(1-x)(1+x). That is positive on (1,1)(-1,1) and negative outside, giving a local minimum at x=1x=-1 (where f=12f=-\tfrac12) and a local maximum at x=1x=1 (where f=12f=\tfrac12).

  5. Note the end behaviour. As x|x|\to\infty the denominator grows like x2x^2 while the numerator grows like xx, so f(x)0f(x)\to0: the xx-axis is a horizontal asymptote in both directions, and ±12\pm\tfrac12 are the global extreme values.

  6. Verify numerically. Comparing the closed form against symmetric difference quotients of step 10710^{-7}: at x=0.4x=0.4 both give 0.6242570.624257; at x=1.7x=-1.7 both give 0.124900-0.124900; at x=3.3x=3.3 both give 0.069957-0.069957 ✓.

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 →