Unit 3, lesson 24

The Quotient Rule

How to differentiate a reciprocal and a quotient of differentiable functions, why the denominator must be nonzero, and how the rule follows from the product rule and applies to every rational function.

  • Theory part 47
  • Practice part 48
  • Differentiation Rules

Theory, part 47

Nothing loads from YouTube until you press play.

Practice, part 48

Nothing loads from YouTube until you press play.

Average cost per item, concentration of a solution and many other everyday quantities are one thing divided by another. To know how fast such a ratio changes you need the derivative of a quotient. It comes from the product rule with one extra ingredient, the derivative of a reciprocal.

Key terms

Reciprocal rule

Definition If gg is differentiable at xx and g(x)≠0g(x) \neq 0, then 1g\frac{1}{g} is differentiable at xx and

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

Proof. Since gg is differentiable at xx, it is continuous there. So g(x+h)→g(x)≠0g(x + h) \to g(x) \neq 0, and in particular g(x+h)≠0g(x + h) \neq 0 for all small hh. For those h≠0h \neq 0,

1g(x+h)−1g(x)h=−g(x+h)−g(x)h⋅1g(x+h)g(x)→−g′(x)g(x)2.\frac{\frac{1}{g(x + h)} - \frac{1}{g(x)}}{h} = -\frac{g(x + h) - g(x)}{h} \cdot \frac{1}{g(x + h) g(x)} \to -\frac{g'(x)}{g(x)^2}.

The first factor tends to g′(x)g'(x), and the second tends to 1g(x)2\frac{1}{g(x)^2} because g(x+h)→g(x)g(x + h) \to g(x).

In plain words When gg grows, 1g\frac{1}{g} shrinks, which explains the minus sign. Dividing by g2g^2 accounts for how sensitive 1g\frac{1}{g} is to changes in gg.

Example For y=1x2+1y = \frac{1}{x^2 + 1} the rule gives

y′=−2x(x2+1)2,y' = -\frac{2x}{(x^2 + 1)^2},

valid for all xx since x2+1>0x^2 + 1 > 0. At x=1x = 1 this is −24=−12-\frac{2}{4} = -\frac{1}{2}. The rule also proves the power rule for negative integers. For a positive integer nn and x≠0x \neq 0,

ddx1xn=−nxn−1x2n=−nx−n−1.\frac{d}{dx} \frac{1}{x^n} = -\frac{n x^{n - 1}}{x^{2n}} = -n x^{-n - 1}.

Quotient rule

Definition If ff and gg are differentiable at xx and g(x)≠0g(x) \neq 0, then fg\frac{f}{g} is differentiable at xx and

(fg)′(x)=f′(x)g(x)−f(x)g′(x)g(x)2.\left(\frac{f}{g}\right)'(x) = \frac{f'(x) g(x) - f(x) g'(x)}{g(x)^2}.

In plain words Derivative of the top times the bottom, minus the top times the derivative of the bottom, all over the bottom squared. The order in the numerator matters, because subtraction is not symmetric.

Example For y=x2x+1y = \frac{x^2}{x + 1} with x≠−1x \neq -1,

y′=2x(x+1)−x2⋅1(x+1)2=x2+2x(x+1)2.y' = \frac{2x(x + 1) - x^2 \cdot 1}{(x + 1)^2} = \frac{x^2 + 2x}{(x + 1)^2}.

At x=1x = 1 the slope is 34\frac{3}{4}.

Nonzero denominator

Definition The quotient rule needs g(x)≠0g(x) \neq 0 at the point in question. Where g(x)=0g(x) = 0 the quotient fg\frac{f}{g} is not defined at xx, so it has no derivative there, whatever the formula seems to give after simplifying. In the proof, g(x)≠0g(x) \neq 0 together with continuity also guarantees g(x+h)≠0g(x + h) \neq 0 for small hh, so every difference quotient is defined.

In plain words You can only ask for a slope where the function exists. Cancelling a factor does not create a value at a point that was never in the domain.

Example Consider

q(x)=x2−1x−1.q(x) = \frac{x^2 - 1}{x - 1}.

For x≠1x \neq 1 it equals x+1x + 1, so q′(x)=1q'(x) = 1 for x≠1x \neq 1. But qq is undefined at 11, so q′(1)q'(1) does not exist. If you want a derivative there, you must first take the continuous extension x+1x + 1, which is a different function.

Rational functions

Definition A rational function is a quotient of polynomials

R(x)=P(x)Q(x),R(x) = \frac{P(x)}{Q(x)},

where QQ is not the zero polynomial, with domain {x∣Q(x)≠0}\{x \mid Q(x) \neq 0\}. By the quotient rule, RR is differentiable at every point of its domain, and

R′(x)=P′(x)Q(x)−P(x)Q′(x)Q(x)2R'(x) = \frac{P'(x) Q(x) - P(x) Q'(x)}{Q(x)^2}

is again a rational function, defined on the same domain.

In plain words Rational functions are smooth everywhere they are defined, and their derivatives are rational functions too.

Example For R(x)=3x−1x2−4R(x) = \frac{3x - 1}{x^2 - 4}, defined for x≠±2x \neq \pm 2,

R′(x)=3(x2−4)−(3x−1)(2x)(x2−4)2=−3x2+2x−12(x2−4)2.R'(x) = \frac{3(x^2 - 4) - (3x - 1)(2x)}{(x^2 - 4)^2} = \frac{-3x^2 + 2x - 12}{(x^2 - 4)^2}.

At x=0x = 0 this gives R′(0)=−1216=−34R'(0) = \frac{-12}{16} = -\frac{3}{4}.

Derivation from the product rule

Definition Write fg=f⋅1g\frac{f}{g} = f \cdot \frac{1}{g}. Under the hypotheses of the quotient rule, both factors are differentiable at xx, the second by the reciprocal rule. The product rule gives

(fg)′=f′⋅1g+f⋅(−g′g2)=f′g−fg′g2.\left(\frac{f}{g}\right)' = f' \cdot \frac{1}{g} + f \cdot \left(-\frac{g'}{g^2}\right) = \frac{f' g - f g'}{g^2}.

A shortcut often seen is to set q=fgq = \frac{f}{g}, differentiate f=qgf = q g to get f′=q′g+qg′f' = q' g + q g', and solve for q′q'. That recovers the same formula, but it quietly assumes qq is already known to be differentiable, which is exactly what the reciprocal rule supplies.

In plain words A quotient is a product with a reciprocal in it. Product rule plus reciprocal rule gives the quotient rule.

Example Take f(x)=x2+1f(x) = x^2 + 1 and g(x)=xg(x) = x for x≠0x \neq 0. Splitting first, x2+1x=x+x−1\frac{x^2 + 1}{x} = x + x^{-1}, whose derivative is 1−1x21 - \frac{1}{x^2}. The quotient rule gives the same answer,

2x⋅x−(x2+1)⋅1x2=x2−1x2=1−1x2.\frac{2x \cdot x - (x^2 + 1) \cdot 1}{x^2} = \frac{x^2 - 1}{x^2} = 1 - \frac{1}{x^2}.

Check yourself

  1. Differentiate y=2x+3x−1y = \frac{2x + 3}{x - 1} and state where the result holds.
Show the answer

For every x≠1x \neq 1 the quotient rule gives

y′=2(x−1)−(2x+3)(x−1)2=−5(x−1)2.y' = \frac{2(x - 1) - (2x + 3)}{(x - 1)^2} = -\frac{5}{(x - 1)^2}.
  1. Suppose f(3)=2f(3) = 2, f′(3)=4f'(3) = 4, g(3)=−1g(3) = -1 and g′(3)=5g'(3) = 5. Find (fg)′(3)\left(\frac{f}{g}\right)'(3).
Show the answer

Since g(3)=−1≠0g(3) = -1 \neq 0, the quotient rule applies and gives

(fg)′(3)=f′(3)g(3)−f(3)g′(3)g(3)2=4⋅(−1)−2⋅51=−14.\left(\frac{f}{g}\right)'(3) = \frac{f'(3) g(3) - f(3) g'(3)}{g(3)^2} = \frac{4 \cdot (-1) - 2 \cdot 5}{1} = -14.
  1. Find the tangent line to y=4x2+1y = \frac{4}{x^2 + 1} at x=1x = 1.
Show the answer

By the reciprocal and constant multiple rules y′=−8x(x2+1)2y' = -\frac{8x}{(x^2 + 1)^2}, so the slope at 11 is −2-2. The point is (1,2)(1, 2), and the tangent line is y=2−2(x−1)y = 2 - 2(x - 1), or y=−2x+4y = -2x + 4.

How this lesson connects