Calculus I · Textbook draft · 18 minute reading

Sum, Product, and Quotient Rules

Derive the rules that make differentiation practical and learn to recognize the operation at the outside of an expression.

Before you begin

  • Derivative functions and finite limit laws.

Learning objectives

  • Derive the product rule by adding and subtracting an intermediate term.
  • Apply sum, product, and quotient rules with their domain restrictions.
  • Verify a result by an independent algebraic representation.

First principles establish what a derivative means. They are less convenient for differentiating a complicated expression repeatedly. We can prove rules once, then use them whenever their hypotheses hold. Every rule in this chapter assumes the component functions are differentiable at the point in question. The quotient rule also requires a nonzero denominator.

Linearity comes from the limit laws

For constants c,dc,d, expand the difference quotient of cf+dgcf+dg and split it into two quotients. Taking limits gives

(cf+dg)′=cf′+dg′.(cf+dg)'=cf'+dg'.

Thus (4x3−2x2+7)′=12x2−4x(4x^3-2x^2+7)'=12x^2-4x. The constant contributes zero. Differentiating the square of a function is not covered by linearity; squaring is multiplication, not addition.

Why both factors contribute

For F=fgF=fg, write the numerator as

f(x+h)g(x+h)−f(x)g(x)=f(x+h)[g(x+h)−g(x)]+g(x)[f(x+h)−f(x)].f(x+h)g(x+h)-f(x)g(x) =f(x+h)[g(x+h)-g(x)]+g(x)[f(x+h)-f(x)].

After division by hh, take limits. Differentiability implies f(x+h)→f(x)f(x+h)\to f(x), so

(fg)′=fg′+gf′.(fg)'=fg'+gf'.

The extra term that a naive “differentiate both factors and multiply” approach loses records the change in one factor while the other remains present. For x⋅xx\cdot x, the rule gives x+x=2xx+x=2x, whereas multiplying the two derivatives gives 11, which fails even this basic check.

For F(x)=(x2+1)(x3−2)F(x)=(x^2+1)(x^3-2),

F′=2x(x3−2)+(x2+1)3x2=5x4+3x2−4x.F'=2x(x^3-2)+(x^2+1)3x^2=5x^4+3x^2-4x.

Expanding first gives F=x5+x3−2x2−2F=x^5+x^3-2x^2-2 and the same derivative. Independent representations are useful error checks. They are often more informative than repeating the same calculation with slightly different notation.

The quotient rule

For a differentiable nonzero gg, the difference quotient for 1/g1/g simplifies to

−g(x+h)−g(x)h g(x+h)g(x).-\frac{g(x+h)-g(x)}{h\,g(x+h)g(x)}.

Its limit is −g′/g2-g'/g^2. Continuity and g(x)≠0g(x)\ne0 ensure g(x+h)g(x+h) stays nonzero for sufficiently small increments. Applying the product rule to f(1/g)f(1/g) gives

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

The order in the numerator matters. For Q(x)=(x2+1)/(x−1)Q(x)=(x^2+1)/(x-1),

Q′(x)=2x(x−1)−(x2+1)(x−1)2=x2−2x−1(x−1)2,x≠1.Q'(x)=\frac{2x(x-1)-(x^2+1)}{(x-1)^2} =\frac{x^2-2x-1}{(x-1)^2},\quad x\ne1.

Polynomial division gives Q=x+1+2/(x−1)Q=x+1+2/(x-1), whose derivative is 1−2/(x−1)21-2/(x-1)^2, algebraically identical to the result. The forbidden input 11 remains forbidden in both versions.

Negative integer powers

For a positive integer nn, apply the reciprocal rule to xnx^n:

ddxx−n=−nxn−1x2n=−nx−n−1,x≠0.\frac d{dx}x^{-n}=-\frac{nx^{n-1}}{x^{2n}}=-nx^{-n-1},\qquad x\ne0.

The power rule therefore holds for all integer exponents on their relevant domains. At exponent zero the function is constant wherever it is defined. This extension came from a new argument, not from silently expanding the earlier binomial proof beyond its assumptions.

Choosing a method

First identify the outermost operation. An expression can contain sums inside a product inside a quotient. Start with the outside, retain its component functions intact, then differentiate those components. Simplify when simplification reduces error; leaving a correctly factored derivative is often preferable to an unnecessarily long polynomial.

Numerical difference quotients at ordinary inputs can detect a sign error. Very small increments may instead amplify floating-point cancellation. A numerical agreement supports a check at that input; the proved rules establish the symbolic result across the domain.

Exercises

  1. Differentiate (2x−1)(x2+3)(2x-1)(x^2+3) by the product rule and by expansion.
  2. Differentiate (x+1)/(x+2)(x+1)/(x+2) and state its domain.
  3. Differentiate x−3+5x2−8x^{-3}+5x^2-8.
  4. Explain why (f/g)′=f′/g′(f/g)'=f'/g' cannot be a general rule.
  5. Derive the rule for a product of three differentiable functions using the two-factor rule twice.
  6. Find the tangent slope of (x2+1)/(x−1)(x^2+1)/(x-1) at x=0x=0.
Worked solutions
  1. 2(x2+3)+(2x−1)2x=6x2−2x+62(x^2+3)+(2x-1)2x=6x^2-2x+6. Expanding first gives 2x3−x2+6x−32x^3-x^2+6x-3 and the same derivative.
  2. [(x+2)−(x+1)]/(x+2)2=1/(x+2)2[(x+2)-(x+1)]/(x+2)^2=1/(x+2)^2, for x≠−2x\ne-2.
  3. −3x−4+10x-3x^{-4}+10x, for x≠0x\ne0.
  4. Take f=g=xf=g=x away from zero. The quotient is constant with derivative zero, while f′/g′=1f'/g'=1.
  5. (fgh)′=f′gh+fg′h+fgh′(fgh)'=f'gh+fg'h+fgh'.
  6. Substitute into the verified derivative: (−1)/1=−1(-1)/1=-1.