The quotient rule

A function in the form of a fraction is differentiated with the quotient rule1. We check it with f(x)=x21x2+1f(x) = \dfrac{x^2 - 1}{x^2 + 1}.

The formula

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

Taking u=x21u = x^2 - 1 and v=x2+1v = x^2 + 1 gives u=v=2xu' = v' = 2x, so the derivative is as follows.

f(x)=2x(x2+1)(x21)2x(x2+1)2=4x(x2+1)2f'(x) = \frac{2x(x^2 + 1) - (x^2 - 1) \cdot 2x}{(x^2 + 1)^2} = \frac{4x}{(x^2 + 1)^2}

The numerator is uvuvu'v - uv', and reversing the order of the subtraction reverses the sign. Unlike the product rule, the order matters.

Monotonicity

The denominator is a square and so always positive; the sign comes from the numerator 4x4x alone.

Rangeff'Behavior
x<0x < 0negativedecreasing
x>0x > 0positiveincreasing

At x=0x = 0 the function attains its minimum f(0)=1f(0) = -1.

Asymptote

As x±x \to \pm\infty the numerator and the denominator have the same degree, so f1f \to 1. The line y=1y = 1 is an asymptote. Indeed the function can be rewritten as follows.

f(x)=12x2+1f(x) = 1 - \frac{2}{x^2 + 1}

It is 11 minus a positive quantity. In this form the same answer follows from differentiating 2(x2+1)1-2(x^2+1)^{-1}, without the quotient rule at all.

The main values

xxf(x)f(x)f(x)f'(x)
1-1001-1
001-100
110011

Being even, the graph is symmetric about the yy-axis. The range is 1f<1-1 \leq f < 1, and the curve meets the xx-axis at the two points x=±1x = \pm 1.

It follows from the product rule

Reading uv\dfrac{u}{v} as uv1uv^{-1} and using the product rule with (v1)=vv2\left( v^{-1} \right)' = -\dfrac{v'}{v^2} gives the following.

uv1+u(vv2)=uvuvv2u'v^{-1} + u\left( -\frac{v'}{v^2} \right) = \frac{u'v - uv'}{v^2}

Anyone who would rather not memorize another formula can stop here.

Where the denominator vanishes the function is not defined in the first place, so it cannot be differentiated there either. For this function x2+1>0x^2 + 1 > 0, so it is differentiable at every xx.

The upward-curving graph is y=x21x2+1y = \dfrac{x^2 - 1}{x^2 + 1}, the curve through the origin is the derivative, and the large dots are the minimum and the crossings of the xx-axis.

  1. Quotient rule, Wikipedia