Tutorials › Calculus I › Deriving the Quotient Rule Directly from First Principles

Product, Quotient, and Chain Rules · Tutorial 474 of 1495

Deriving the Quotient Rule Directly from First Principles

Learn how the quotient rule follows directly from first principles, why its conditions matter, and how to verify the formula at a point.

Intermediate 9 min read

What You'll Learn

  • Set up the difference quotient for a quotient of differentiable functions.
  • Combine its fractions and rearrange the numerator to expose derivative limits.
  • Explain why the denominator remains nonzero near the point of differentiation.
  • Derive the quotient formula and understand its hypotheses.
  • Check the derivation with exact difference-quotient calculations and avoid a common sign error.

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\).

Definition: The derivative of \(q\) at \(a\), if it exists, is the limit $$ q'(a)=\lim_{h\to 0}\frac{q(a+h)-q(a)}{h} =\lim_{h\to 0}\frac{\dfrac{f(a+h)}{g(a+h)}-\dfrac{f(a)}{g(a)}}{h}. $$

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,

$$ \frac{q(h)-q(0)}{h} =\frac{\dfrac{h^2+1}{h+1}-1}{h}. $$

Combine the two fractions in the numerator:

$$ \frac{\dfrac{h^2+1-(h+1)}{h+1}}{h} =\frac{h^2-h}{h(h+1)}. $$

Factor the numerator and cancel \(h\), which is permitted because the difference quotient has \(h\neq0\):

$$ \frac{h(h-1)}{h(h+1)} =\frac{h-1}{h+1}. $$

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

$$ g(a+h)-g(a) =h\frac{g(a+h)-g(a)}{h}. $$

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

$$ |g(x)-g(a)|<\frac{|g(a)|}{2}. $$

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\),

$$ \begin{aligned} \frac{\dfrac{f(a+h)}{g(a+h)}-\dfrac{f(a)}{g(a)}}{h} &=\frac{g(a)f(a+h)-f(a)g(a+h)} {h\,g(a+h)g(a)}. \end{aligned} $$

The numerator can be rearranged to isolate the increments of \(f\) and \(g\):

$$ g(a)f(a+h)-f(a)g(a+h) =g(a)\bigl(f(a+h)-f(a)\bigr) -f(a)\bigl(g(a+h)-g(a)\bigr). $$

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

$$ \frac{\dfrac{f(a+h)}{g(a+h)}-\dfrac{f(a)}{g(a)}}{h} = \frac{ g(a)\dfrac{f(a+h)-f(a)}{h} -f(a)\dfrac{g(a+h)-g(a)}{h} } {g(a+h)g(a)}. $$

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:

Theorem: If \(f\) and \(g\) are differentiable at \(a\) and \(g(a)\neq0\), then \(f/g\) is differentiable at \(a\), and $$ \left(\frac{f}{g}\right)'(a) =\frac{g(a)f'(a)-f(a)g'(a)}{[g(a)]^2}. $$

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

$$ \left(\frac{f}{g}\right)'(x) =\frac{g(x)f'(x)-f(x)g'(x)}{[g(x)]^2}. $$
1
Start with the definition.
Write the difference quotient of \(f/g\) at the point.
2
Combine the fractions.
Use the common denominator \(g(a+h)g(a)\).
3
Expose the increments.
Rewrite the numerator as \(g(a)\) times the increment of \(f\), minus \(f(a)\) times the increment of \(g\).
4
Take the limits.
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

$$ q'(2)=\frac{5\cdot4-7\cdot2}{5^2} =\frac{20-14}{25} =\frac{6}{25}. $$

Check this result directly. Since \(q(2)=7/5\), the difference quotient is

$$ \begin{aligned} \frac{q(2+h)-q(2)}{h} &=\frac{\dfrac{(2+h)^2+3}{5+2h}-\dfrac75}{h}\\ &=\frac{\dfrac{7+4h+h^2}{5+2h}-\dfrac75}{h}\\ &=\frac{5(7+4h+h^2)-7(5+2h)} {5(5+2h)h}\\ &=\frac{35+20h+5h^2-35-14h} {5(5+2h)h}\\ &=\frac{6h+5h^2}{5(5+2h)h} =\frac{6+5h}{25+10h}. \end{aligned} $$

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

$$ q'(1)=\frac{2\cdot3-2\cdot2}{2^2} =\frac{6-4}{4} =\frac12. $$

For a direct check, \(q(1)=1\), so

$$ \begin{aligned} \frac{q(1+h)-q(1)}{h} &=\frac{\dfrac{2+3h}{2+2h+h^2}-1}{h}\\ &=\frac{(2+3h)-(2+2h+h^2)} {h(2+2h+h^2)}\\ &=\frac{h-h^2}{h(2+2h+h^2)} =\frac{1-h}{2+2h+h^2}. \end{aligned} $$

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

$$ \frac{f(0)g'(0)-g(0)f'(0)}{[g(0)]^2} =\frac{1\cdot1-1\cdot0}{1^2} =1. $$

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:

$$ \frac{g(0)f'(0)-f(0)g'(0)}{[g(0)]^2} =\frac{1\cdot0-1\cdot1}{1^2} =-1. $$

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.

  1. In the quotient-rule proof, why is it necessary to know that \(g(a+h)\neq0\) for all sufficiently small \(h\)?
  2. Rewrite \(g(a)f(a+h)-f(a)g(a+h)\) in terms of the increments of \(f\) and \(g\).
  3. Which limits are used to pass from the rearranged difference quotient to the quotient formula?
  4. For \(q(x)=(x^2+1)/(x+1)\), what does the direct difference quotient show about \(q'(0)\)?
  5. What happens to the theorem's hypotheses if \(g(a)=0\)?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon