3.5 The Quotient Rule

If ff and gg are differentiable at a point xx, the familiar product rule guarantees us two beautiful facts:

  1. 1)
    ​

    f⁢gfg is differentiable at xx, and

  2. 2)
    ​

    (f⁢g)′⁢(x)=f′⁢(x)⁢g⁢(x)+f⁢(x)⁢g′⁢(x)(fg)^{\prime}(x)=f^{\prime}(x)g(x)+f(x)g^{\prime}(x).

The soulmate of the product is the quotient. One naturally asks: do we have fg\frac{f}{g} is differentiable at xx? Obviously, the first requirement is that we avoid division by zero: g⁢(x)≠0g(x)\neq 0.

Let’s try to bring this seemingly difficult question back to familiar territory. Remember, a quotient is merely another kind of product in disguise. We can formally write

fg=f⋅1g\frac{f}{g}=f\cdot\frac{1}{g}

and so, if we simply trust that the product rule will carry the day, we obtain

equation (3.10) (3.10)
(fg)′=(f⋅1g)′=f′⁢(1g)+f⁢(1g)′.\left(\frac{f}{g}\right)^{\prime}=\left(f\cdot\frac{1}{g}\right)^{\prime}=f^{% \prime}\left(\frac{1}{g}\right)+f\left(\frac{1}{g}\right)^{\prime}.

It becomes immediately clear that to answer the general question about fg\frac{f}{g}, one needs to start with the more specific case of 1g\frac{1}{g}.

Intuition (Bootstrapping from the Known).

Mathematics is a vast exercise in bootstrapping. When faced with a new object (the quotient), we decompose it into familiar atoms (the product) and a single new core mystery (the reciprocal).

3.5.1 Differentiating the Reciprocal

Let h⁢(x)=1g⁢(x)h(x)=\frac{1}{g(x)}. By the very definition of a reciprocal, this implies

h⁢(x)⁢g⁢(x)=1.h(x)g(x)=1.

If we act boldly and differentiate both sides using product rule, we find:

(h⁢(x)⁢g⁢(x))′=(1)′⟹h′⁢(x)⁢g⁢(x)+h⁢(x)⁢g′⁢(x)=0.(h(x)g(x))^{\prime}=(1)^{\prime}\implies h^{\prime}(x)g(x)+h(x)g^{\prime}(x)=0.

Rearranging to isolate the unknown h′⁢(x)h^{\prime}(x), we arrive at:

⟹(1g)′=h′⁢(x)=−h⁢(x)⁢g′⁢(x)g⁢(x)=−g′⁢(x)g⁢(x)2.\implies\left(\frac{1}{g}\right)^{\prime}=h^{\prime}(x)=-\frac{h(x)g^{\prime}(% x)}{g(x)}=-\frac{g^{\prime}(x)}{g(x)^{2}}.
Caveat (A Minor Mathematical Sin).

Is it over? Lo and behold, to carry out the second-to-last calculation, we implicitly assumed that h⁢(x)=1g⁢(x)h(x)=\frac{1}{g(x)} is differentiable at xx to begin with! We have found what the derivative must be, assuming it exists. To be completely rigorous, we must return to first principles.

Let us write out the rigorous limit definition for the derivative of hh.

limt→0h⁢(x+t)−h⁢(x)t=limt→01g⁢(x+t)−1g⁢(x)t=limt→0g⁢(x)−g⁢(x+t)t⁢g⁢(x+t)⁢g⁢(x)=(limt→0g⁢(x)−g⁢(x+t)t)⁢(limt→01g⁢(x+t)⁢g⁢(x))=−g′⁢(x)⋅1g⁢(x)2.\begin{split}\lim_{t\to 0}\frac{h(x+t)-h(x)}{t}&{}=\lim_{t\to 0}\frac{\frac{1}% {g(x+t)}-\frac{1}{g(x)}}{t}\\ &{}=\lim_{t\to 0}\frac{g(x)-g(x+t)}{tg(x+t)g(x)}\\ &{}=\left(\lim_{t\to 0}\frac{g(x)-g(x+t)}{t}\right)\left(\lim_{t\to 0}\frac{1}% {g(x+t)g(x)}\right)\\ &{}=-g^{\prime}(x)\cdot\frac{1}{g(x)^{2}}.\end{split}

This limit exists as long as gg is differentiable at xx and g⁢(x)≠0g(x)\neq 0 (which also implies gg is continuous at xx, hence g⁢(x+t)→g⁢(x)g(x+t)\to g(x) as t→0t\to 0).

We have successfully proven our first major result.

Theorem 3.5.3 (Reciprocal Rule).

If gg is differentiable at xx and g⁢(x)≠0g(x)\neq 0, then 1/g1/g is also differentiable at xx and

equation (3.11) (3.11)
(1g)′⁢(x)=−g′⁢(x)g⁢(x)2.\left(\frac{1}{g}\right)^{\prime}(x)=-\frac{g^{\prime}(x)}{g(x)^{2}}.

3.5.2 Synthesizing the Quotient Rule

Going back to our initial maneuvering (3.10), we can now evaluate the derivative of the general quotient:

(fg)′=(f⋅1g)′=f′⋅1g+f⋅(1g)′=f′g+f⁢(−g′g2)=f′⁢gg2−f⁢g′g2=f′⁢g−f⁢g′g2.\begin{split}\left(\frac{f}{g}\right)^{\prime}&{}=\left(f\cdot\frac{1}{g}% \right)^{\prime}\\ &{}=f^{\prime}\cdot\frac{1}{g}+f\cdot\left(\frac{1}{g}\right)^{\prime}\\ &{}=\frac{f^{\prime}}{g}+f\left(-\frac{g^{\prime}}{g^{2}}\right)\\ &{}=\frac{f^{\prime}g}{g^{2}}-\frac{fg^{\prime}}{g^{2}}\\ &{}=\frac{f^{\prime}g-fg^{\prime}}{g^{2}}.\end{split}

We formalize this as our next theorem.

Theorem 3.5.4 (Quotient Rule).

If f,gf,g are differentiable at xx and g⁢(x)≠0g(x)\neq 0, then f/gf/g is also differentiable at xx and

equation (3.12) (3.12)
(fg)′⁢(x)=g⁢(x)⁢f′⁢(x)−f⁢(x)⁢g′⁢(x)g⁢(x)2.\left(\frac{f}{g}\right)^{\prime}(x)=\frac{g(x)f^{\prime}(x)-f(x)g^{\prime}(x)% }{g(x)^{2}}.
Moral (The Sanity Check).

Whenever you derive a grand new theorem, it is good practice to test it on a trivial case. The quotient rule must provide the exact same answer as the reciprocal rule when we set f⁢(x)=1f(x)=1. Let’s test it: if f⁢(x)=1f(x)=1 for all xx, then f′⁢(x)=0f^{\prime}(x)=0. By the Quotient Rule:

(1g)′=g⁢(x)⁢(1)′−1⋅g′⁢(x)g⁢(x)2=g⁢(x)⋅0−g′⁢(x)g⁢(x)2=−g′⁢(x)g⁢(x)2,\begin{split}\left(\frac{1}{g}\right)^{\prime}&{}=\frac{g(x)(1)^{\prime}-1% \cdot g^{\prime}(x)}{g(x)^{2}}\\ &{}=\frac{g(x)\cdot 0-g^{\prime}(x)}{g(x)^{2}}=-\frac{g^{\prime}(x)}{g(x)^{2}}% ,\end{split}

which perfectly agrees with the Reciprocal Rule.

Now for a splendid application. We already have the power rule for positive integers: (xn)′=n⁢xn−1(x^{n})^{\prime}=nx^{n-1}. The reciprocal rule allows us to effortlessly extend this machinery to negative integers.

Consider x−nx^{-n} for some positive integer nn:

(x−n)′=(1xn)′=−(xn)′(xn)2=−n⁢xn−1x2⁢n=−n⁢x(n−1)−2⁢n=(−n)⁢x−n−1.\begin{split}(x^{-n})^{\prime}&{}=\left(\frac{1}{x^{n}}\right)^{\prime}\\ &{}=-\frac{(x^{n})^{\prime}}{(x^{n})^{2}}\\ &{}=-\frac{nx^{n-1}}{x^{2n}}\\ &{}=-nx^{(n-1)-2n}\\ &{}=(-n)x^{-n-1}.\end{split}

The same machinery holds! You simply bring down the power, and the new power is reduced by 1.

Story (The Horizon of Abstraction).

An ambitious reader may naturally wonder: if the power rule operates so seamlessly for negative integers, does it operate similarly for rational powers? Or even irrational powers? We leave this tantalizing question for a later day. For now, let’s practice our mastery with our newfound reciprocal and quotient rules.

Example 3.5.5.

By the reciprocal rule,

(1x)′=−1x2.\left(\frac{1}{x}\right)^{\prime}=-\frac{1}{x^{2}}.

Compare this seemingly innocuous result with the general form of the reciprocal rule to appreciate its similarity.

Example 3.5.6.

Applying the reciprocal rule to a quadratic denominator:

(1x2+1)′=−(x2+1)′(x2+1)2=−2⁢x(x2+1)2.\left(\frac{1}{x^{2}+1}\right)^{\prime}=-\frac{(x^{2}+1)^{\prime}}{(x^{2}+1)^{% 2}}=-\frac{2x}{(x^{2}+1)^{2}}.
Example 3.5.7.

Find the derivative of h⁢(x)=xx2+1h(x)=\frac{x}{x^{2}+1}. We can solve this problem via two distinct paths.

Approach 1 (Product Rule + Reciprocal):

h′⁢(x)=(x⋅1x2+1)′=(x)′⋅1x2+1+x⁢(1x2+1)′=1x2+1+x⁢(−2⁢x(x2+1)2)=1x2+1−2⁢x2(x2+1)2=(x2+1)−2⁢x2(x2+1)2=−x2+1(x2+1)2.\begin{split}h^{\prime}(x)&{}=\left(x\cdot\frac{1}{x^{2}+1}\right)^{\prime}\\ &{}=(x)^{\prime}\cdot\frac{1}{x^{2}+1}+x\left(\frac{1}{x^{2}+1}\right)^{\prime% }\\ &{}=\frac{1}{x^{2}+1}+x\left(-\frac{2x}{(x^{2}+1)^{2}}\right)\\ &{}=\frac{1}{x^{2}+1}-\frac{2x^{2}}{(x^{2}+1)^{2}}\\ &{}=\frac{(x^{2}+1)-2x^{2}}{(x^{2}+1)^{2}}=\frac{-x^{2}+1}{(x^{2}+1)^{2}}.\end% {split}

Approach 2 (Quotient Rule directly):

h′⁢(x)=(x)′⁢(x2+1)−x⁢(x2+1)′(x2+1)2=x2+1−x⁢(2⁢x)(x2+1)2=−x2+1(x2+1)2.\begin{split}h^{\prime}(x)&{}=\frac{(x)^{\prime}(x^{2}+1)-x(x^{2}+1)^{\prime}}% {(x^{2}+1)^{2}}\\ &{}=\frac{x^{2}+1-x(2x)}{(x^{2}+1)^{2}}\\ &{}=\frac{-x^{2}+1}{(x^{2}+1)^{2}}.\end{split}

Both paths lead to Rome.

3.5.3 The Hierarchy of Rules

Let us pause and reflect our intuition on all the differentiation rules established thus far. They are not merely an arbitrary list to be memorized, but a logical hierarchy born from basic principles.

  1. 1.
    ​

    Sum and Scalar Multiplication: We start with these as direct consequences of limit laws:

    (f±g)′=f′±g′(c⁢f)′=c⁢f′(c⁢ is constant).\begin{split}(f\pm g)^{\prime}&{}=f^{\prime}\pm g^{\prime}\\ (cf)^{\prime}&{}=cf^{\prime}\quad(c\text{ is constant}).\end{split}
  2. 2.
    ​

    The Product Rule: A deeper symmetry exists here. The commutativity of the product h=f⁢g=g⁢fh=fg=gf, combined with the scalar multiplication law, naturally implies the symmetric structure of the product rule:

    h′=(f⁢g)′=f′⁢g+f⁢g′.h^{\prime}=(fg)^{\prime}=f^{\prime}g+fg^{\prime}.
  3. 3.
    ​

    The Descendants of the Product: As we witnessed in this chapter, the logical chain continues. The Product rule implies the Reciprocal rule, which in turn completely implies the Quotient rule:

    (1g)′=−g′g2(fg)′=f′⁢g−f⁢g′g2.\begin{split}\left(\frac{1}{g}\right)^{\prime}&{}=-\frac{g^{\prime}}{g^{2}}\\ \left(\frac{f}{g}\right)^{\prime}&{}=\frac{f^{\prime}g-fg^{\prime}}{g^{2}}.% \end{split}