impera Open Impera

AP Calculus BC · Differentiation: definition and fundamental properties

Product and quotient rules

1The product rule

The derivative of a product is not the product of the derivatives. For example, $\frac{d}{dx}[x \cdot x] = 2x$, but $1 \cdot 1 = 1$.

The product rule:

$$\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)$$

In words: "derivative of the first times the second, plus the first times the derivative of the second."

Worked example

$y = (x^2 + 1)(3x - 5)$

  1. Let $f = x^2 + 1$, so $f' = 2x$. Let $g = 3x - 5$, so $g' = 3$.
  2. $y' = 2x(3x - 5) + (x^2 + 1)(3)$.
  3. Expand: $6x^2 - 10x + 3x^2 + 3 = 9x^2 - 10x + 3$.

(Expanding first and using the power rule gives the same answer, which is a good check.)

Check yourself

Using the product rule, d/dx [x³(2x + 1)] =

  • 3x²(2x + 1) + 2x³

  • 3x²(2x + 1)

  • 6x²

  • 3x² · 2

Show the answer

3x²(2x + 1) + 2x³

First′ × second + first × second′.

2The quotient rule

For a quotient:

$$\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}$$

A memory aid: "low d-high minus high d-low, over the square of what's below." The order of subtraction matters: the numerator's derivative comes first.

Worked example

$y = \frac{2x + 1}{x - 3}$

  1. High $= 2x + 1$, high′ $= 2$. Low $= x - 3$, low′ $= 1$.
  2. $y' = \frac{2(x - 3) - (2x + 1)(1)}{(x - 3)^2}$.
  3. Numerator: $2x - 6 - 2x - 1 = -7$.
  4. $y' = \frac{-7}{(x - 3)^2}$.
Check yourself

In the quotient rule, the denominator of the derivative is:

  • The original denominator

  • The square of the original denominator

  • The derivative of the denominator

  • The product of numerator and denominator

Show the answer

The square of the original denominator

[g(x)]².

3Choosing a method

You do not always need the quotient rule:

  • Constant denominator: $\frac{x^3 + x}{5} = \frac{1}{5}(x^3 + x)$, so just use the power rule.
  • Single-term denominator: $\frac{x^2 + 3}{x} = x + 3x^{-1}$, so split and use the power rule.
  • Constant numerator: $\frac{4}{x^2 + 1} = 4(x^2 + 1)^{-1}$ can use the chain rule (a later lesson).

Use the quotient rule when the denominator has several terms and the numerator is not constant.

Check yourself

The simplest way to differentiate (x⁴ − 2x)/x² is to:

  • Use the quotient rule twice

  • Divide each term by x² and use the power rule

  • Differentiate top and bottom separately

  • Use the product rule

Show the answer

Divide each term by x² and use the power rule

It becomes x² − 2x⁻¹.

4Rules with tables and values

AP questions often give values of $f$, $g$, $f'$ and $g'$ at a point and ask for the derivative of a product or quotient.

Worked example

$f(2) = 3$, $f'(2) = -1$, $g(2) = 4$, $g'(2) = 5$.

  1. If $h(x) = f(x)g(x)$: $h'(2) = f'(2)g(2) + f(2)g'(2) = (-1)(4) + (3)(5) = 11$.
  2. If $k(x) = \frac{f(x)}{g(x)}$: $k'(2) = \frac{f'(2)g(2) - f(2)g'(2)}{[g(2)]^2} = \frac{-4 - 15}{16} = -\frac{19}{16}$.

The product and quotient rules side by side

Check yourself

If f(1) = 2, f′(1) = 3, g(1) = −1 and g′(1) = 4, then (fg)′(1) =

  • 5

  • 11

  • −3

  • 12

Show the answer

5

3(−1) + 2(4) = 5.

5Going deeper: using the rules with formulas, tables and graphs

Product rule: $(fg)' = f'g + fg'$.

Quotient rule: $\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}$. ("Low d-high minus high d-low, over low squared.")

Worked example (product): $y = x^2\sin x$.

  1. $y' = 2x\sin x + x^2\cos x$.

Worked example (quotient): $y = \frac{x}{x^2 + 1}$.

  1. $y' = \frac{(1)(x^2 + 1) - x(2x)}{(x^2 + 1)^2}$.
  2. $= \frac{1 - x^2}{(x^2 + 1)^2}$.
  3. Horizontal tangents where 1 − x² = 0: x = ±1.

Worked example (deriving a trig derivative): $\tan x = \frac{\sin x}{\cos x}$.

  1. $\frac{\cos x\cos x - \sin x(-\sin x)}{\cos^2x} = \frac{1}{\cos^2x}$.
  2. $= \sec^2x$.

From a table: given f(2) = 3, f′(2) = −1, g(2) = 4, g′(2) = 5.

  1. $(fg)'(2) = f'(2)g(2) + f(2)g'(2) = (-1)(4) + (3)(5)$ = 11.
  2. $\left(\frac{f}{g}\right)'(2) = \frac{(-1)(4) - (3)(5)}{4^2} = -\frac{19}{16}$.
  3. $\left(\frac{g}{f}\right)'(2) = \frac{(5)(3) - (4)(-1)}{3^2} = \frac{19}{9}$.

From a graph: read the function values from the heights and the derivative values from the slopes at that x, then apply the rule. At a corner, the derivative does not exist.

Three factors: $(fgh)' = f'gh + fg'h + fgh'$.

Worked example

$y = xe^x\cos x$: $y' = e^x\cos x + xe^x\cos x - xe^x\sin x$.

Choosing the easiest route

  • $\frac{x^3 + 2x}{x}$: simplify to $x^2 + 2$ first.
  • $\frac{5}{x^4}$: write $5x^{-4}$; power rule.
  • $\frac{1}{g(x)}$: quotient rule gives $-\frac{g'}{g^2}$.
  • A constant multiple is not a product needing the rule: $(7\sin x)' = 7\cos x$.

In context: revenue = price × quantity. If the price is 20 dollars and rising at 0.50 dollars a week, and 300 units are sold a week, falling at 4 units a week, then revenue changes at $0.50(300) + 20(-4) = 150 - 80 = 70$ dollars per week.

Tangent line with the product rule: $y = x e^x$ at x = 0.

  1. $y' = e^x + xe^x$; at 0, slope 1.
  2. Point (0, 0): tangent y = x.

Where is the derivative zero? For $y = x^2e^x$: $y' = 2xe^x + x^2e^x = xe^x(2 + x)$; zero at x = 0 and x = −2. Factoring the result is usually the quickest way to solve.

Common mistakes

  • $(fg)' = f'g'$.
  • Reversing the order in the quotient rule's numerator (the sign is then wrong).
  • Forgetting to square the denominator.
  • Using the quotient rule where simplifying first is easier, and making algebra slips.
  • Dropping parentheses, so that a minus sign applies to only part of the numerator.
Check yourself

Given f(1) = 2, f′(1) = 3, g(1) = −1 and g′(1) = 4, what is the derivative of f(x)g(x) at x = 1?

  • 12

  • −3

  • 11

  • 5

Show the answer

5

f′g + fg′ = (3)(−1) + (2)(4) = 5.

6For top marks

  • Write the rule out with the pieces labelled before substituting; a wrong sign in the quotient rule is the most common error.
  • You may leave answers unsimplified on the AP exam, unless you need to solve $y' = 0$ or evaluate.
  • For table questions, write the full expression with numbers substituted, then the value.
  • Check with expanding when it is easy.
Example

"$h'(2) = f'(2)g(2) + f(2)g'(2) = (-1)(4) + (3)(5) = 11$."

Check yourself

Which is the correct quotient rule numerator for f/g?

  • fg′ − f′g

  • f′g + fg′

  • f′g − fg′

  • f′g′

Show the answer

f′g − fg′

High's derivative comes first.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera