Why Derive the Quotient Rule?
A differentiation rule is useful for calculating derivatives, but it is also useful to know why the rule is true and which assumptions make it valid. For a quotient, the essential issues are visible directly in the definition of a derivative: the denominator must stay nonzero near the point, and the difference quotient must be rearranged so that the limits defining the derivatives appear.
Here we derive the rule from first principles. We assume that the numerator and denominator are differentiable at the point in question. The derivation then uses their derivative limits, together with the fact that differentiability implies continuity.
The Difference Quotient for a Quotient
Let \(f\) and \(g\) be functions defined on an open interval containing \(a\). Suppose both are differentiable at \(a\), and suppose \(g(a)\neq 0\). The quotient function is \(q(x)=f(x)/g(x)\) wherever \(g(x)\neq 0\).
Before using this expression, we must ensure that \(g(a+h)\) is nonzero for all sufficiently small \(h\). Because \(g\) is differentiable at \(a\), it is continuous there. Since \(g(a)\neq0\), continuity ensures that \(g(x)\) stays away from zero when \(x\) is sufficiently close to \(a\). Thus the quotient and its difference quotient are defined near \(a\).
Worked Example: Finding the Quotient Derivative at Zero
Let \(q(x)=(x^2+1)/(x+1)\). Find \(q'(0)\) directly from the difference quotient. At zero, the denominator is \(1\), so the quotient is defined in a neighborhood of zero.
First, \(q(0)=1\). Therefore, for nonzero \(h\) sufficiently close to zero,
Combine the two fractions in the numerator:
Factor the numerator and cancel \(h\), which is permitted because the difference quotient has \(h\neq0\):
Taking the limit gives \(q'(0)=(-1)/1=-1\). As a check, the quotient rule derived below gives \((1\cdot 0-1\cdot 1)/1^2=-1\) at zero, agreeing with the direct limit.
Why the Denominator Stays Nonzero
The derivative definition itself gives a short reason that differentiability implies continuity. For \(h\neq0\), write the increment of \(g\) as
As \(h\to0\), the difference quotient on the right tends to the finite value \(g'(a)\), so it is bounded for all sufficiently small nonzero \(h\). The factor \(h\) tends to zero. Their product therefore tends to zero, which means \(g(a+h)\to g(a)\).
Now apply this continuity to the nonzero value \(g(a)\). There is a neighborhood of \(a\) in which
The triangle inequality then gives \(|g(x)|\geq |g(a)|-|g(x)-g(a)|>|g(a)|/2>0\). So \(g(x)\neq0\) throughout that neighborhood. This justifies the denominator \(g(a+h)\) in the difference quotient when \(h\) is sufficiently small.
Deriving the Formula
We now start from the difference quotient and combine the two fractions over a common denominator. For sufficiently small nonzero \(h\),
The numerator can be rearranged to isolate the increments of \(f\) and \(g\):
To check the rearrangement, expand its right-hand side. It becomes \(g(a)f(a+h)-g(a)f(a)-f(a)g(a+h)+f(a)g(a)\); the two middle terms cancel because \(g(a)f(a)=f(a)g(a)\). Substituting this numerator and dividing the increments by \(h\) yields
As \(h\to0\), the two difference quotients in the numerator tend to \(f'(a)\) and \(g'(a)\), respectively. Also, continuity of \(g\) gives \(g(a+h)\to g(a)\), so the denominator tends to \(g(a)^2\), which is nonzero. The limit laws therefore allow us to take the limit of the numerator and denominator separately. This proves the result:
At any point \(x\) where \(f\) and \(g\) are differentiable and \(g(x)\neq0\), the same argument applies with \(a=x\). In function notation, the result is
Write the difference quotient of \(f/g\) at the point.
Use the common denominator \(g(a+h)g(a)\).
Rewrite the numerator as \(g(a)\) times the increment of \(f\), minus \(f(a)\) times the increment of \(g\).
Use the two derivative limits and \(g(a+h)\to g(a)\).
Checking the Formula with Exact Limits
Worked Example: A Quadratic Numerator and Linear Denominator
Let \(q(x)=(x^2+3)/(2x+1)\), and find \(q'(2)\). The values are \(f(2)=7\), \(g(2)=5\), \(f'(2)=4\), and \(g'(2)=2\). The derived formula gives
Check this result directly. Since \(q(2)=7/5\), the difference quotient is
Taking \(h\to0\) gives \(6/25\), which checks the formula's value.
Worked Example: A Linear Numerator and Quadratic Denominator
Let \(q(x)=(3x-1)/(x^2+1)\), and find \(q'(1)\). Here \(f(1)=2\), \(g(1)=2\), \(f'(1)=3\), and \(g'(1)=2\). Substitution into the formula gives
For a direct check, \(q(1)=1\), so
As \(h\to0\), this tends to \(1/2\). The direct calculation agrees with the derived formula.
Conditions and a Common Sign Error
The conditions in the theorem are not decorative. The functions must be differentiable at the point, and the denominator must be nonzero there. If \(g(a)=0\), the quotient \(f(a)/g(a)\) is not defined, so this derivation cannot establish a derivative of \(f/g\) at \(a\). If \(g(a)\neq0\), differentiability of \(g\) ensures the denominator also stays nonzero close enough to \(a\).
A frequent error is to reverse the two terms in the numerator. For \(q(x)=(x^2+1)/(x+1)\) at zero, reversing them gives
But the direct difference quotient already computed tends to \(-1\), not \(1\). The correct order is denominator times derivative of numerator, minus numerator times derivative of denominator:
The sign and order are consequences of the numerator rearrangement in the proof, not a matter of convention that can be changed freely.
Why the Derivation Matters
Seeing the rule emerge from the difference quotient explains both its structure and its limits. The squared denominator comes from the product \(g(a+h)g(a)\), which approaches \(g(a)^2\). The two numerator terms come from the separate increments of \(f\) and \(g\). The minus sign appears because the increment of \(g\) is subtracted when the fractions are combined.
This reasoning also supplies a reliable check when recalling the formula: return to the common-denominator numerator and identify which increment has a minus sign. The quotient rule is not an isolated instruction; it is the limit of a carefully rearranged difference quotient, under the precise conditions that make that limit meaningful.
Check Your Understanding
Try answering these questions using the definition and derivation above.
- In the quotient-rule proof, why is it necessary to know that \(g(a+h)\neq0\) for all sufficiently small \(h\)?
- Rewrite \(g(a)f(a+h)-f(a)g(a+h)\) in terms of the increments of \(f\) and \(g\).
- Which limits are used to pass from the rearranged difference quotient to the quotient formula?
- For \(q(x)=(x^2+1)/(x+1)\), what does the direct difference quotient show about \(q'(0)\)?
- What happens to the theorem's hypotheses if \(g(a)=0\)?