AP Calculus BC · Study guide

Selecting Procedures for Calculating Derivatives

AP® Calculus BC · Unit 3 · Differentiation: Composite, Implicit, and Inverse Functions

Choosing a Derivative Method

Real functions mix sums, products, quotients and compositions. This guide gives one question that tells you which rule to use first, and works through six functions that each need a different combination.

The idea in one paragraph

Before differentiating, ask two things. Can the function be rewritten into something simpler (roots as powers, one-term fractions split, log rules)? Then: what is the last operation in it? A sum calls for term-by-term, a product for the product rule, a quotient for the quotient rule, and a function applied to something other than plain \(x\) for the chain rule. Apply that rule, then ask the same question about each piece.

1One question to start

Figure 1. The last operation decides the first rule. After that rule is applied, each piece is a smaller differentiation problem, and the same question is asked again.
FunctionLast operationFirst rule
\(x^3e^{2x}\)multiplyproduct
\(\dfrac{\cos x}{1 + \sin x}\)dividequotient
\(\sin^2\left(e^x\right)\)squarechain
\(\ln\dfrac{(x^2 + 1)^3}{x - 2}\)logrewrite with log rules first
\(x^2 + y^2 = 25\)equation in x and yimplicit differentiation

2Rewrite when you can

Worked Example 1 Simplify instead of the quotient rule

\(\dfrac{d}{dx}\left[\dfrac{x^2 + 1}{\sqrt{x}}\right]\)

  1. 1
    The bottom is one term, so split: \(\dfrac{x^2}{x^{1/2}} + \dfrac{1}{x^{1/2}} = x^{3/2} + x^{-1/2}\).
  2. 2
    Power rule: \(\tfrac32 x^{1/2} - \tfrac12 x^{-3/2}\).
Answer: \(\tfrac32\sqrt{x} - \dfrac{1}{2x\sqrt{x}}\)
Worked Example 2 Log rules first

\(\dfrac{d}{dx}\left[\ln\dfrac{(x^2 + 1)^3}{x - 2}\right]\)

  1. 1
    A quotient inside a log is painful to differentiate directly. Expand with log rules: \(3\ln(x^2 + 1) - \ln(x - 2)\).
  2. 2
    Each term is a simple chain: \(3 \cdot \dfrac{2x}{x^2 + 1} - \dfrac{1}{x - 2}\).
Answer: \(\dfrac{6x}{x^2 + 1} - \dfrac{1}{x - 2}\)
Common Mistake 1 · Reaching for the quotient rule by reflex

Every fraction can be done with the quotient rule, but a one-term bottom or a constant top makes it slow and error-prone. \(\dfrac{5}{x^3}\) is \(5x^{-3}\), one step.

3Rules inside rules

Worked Example 3 Product with a chain inside

\(\dfrac{d}{dx}\left[x^3e^{2x}\right]\)

  1. 1
    Last operation: multiplication of \(x^3\) and \(e^{2x}\). Product rule first.
  2. 2
    Pieces: \((x^3)' = 3x^2\); \(\left(e^{2x}\right)' = 2e^{2x}\) by the chain rule.
  3. 3
    \(3x^2e^{2x} + x^3 \cdot 2e^{2x} = x^2e^{2x}(3 + 2x)\).
Answer: \(x^2e^{2x}(3 + 2x)\)
Worked Example 4 Chain inside a chain

\(\dfrac{d}{dx}\left[\sin^2\left(e^x\right)\right]\)

  1. 1
    Layers from the outside: a square, around a sine, around \(e^x\).
  2. 2
    \(2\sin\left(e^x\right) \cdot \cos\left(e^x\right) \cdot e^x\).
Answer: \(2e^x\sin\left(e^x\right)\cos\left(e^x\right)\)
Worked Example 5 Quotient, then simplify

\(\dfrac{d}{dx}\left[\dfrac{\cos x}{1 + \sin x}\right]\)

  1. 1
    Quotient rule: \(\dfrac{-\sin x(1 + \sin x) - \cos x \cdot \cos x}{(1 + \sin x)^2} = \dfrac{-\sin x - \sin^2 x - \cos^2 x}{(1 + \sin x)^2}\).
  2. 2
    \(\sin^2 x + \cos^2 x = 1\), so the top is \(-(\sin x + 1)\).
  3. 3
    Cancel one factor of \(1 + \sin x\).
Answer: \(-\dfrac{1}{1 + \sin x}\)
Common Mistake 2 · Applying rules in the wrong order

For \(x^3e^{2x}\), starting with the chain rule on the whole expression has no meaning: it is not one function inside another. The last operation is multiplication, so the product rule comes first and the chain rule works inside one factor.

4Mixed rules with values

Worked Example 6 Rules together, with values

\(h(x) = x\,f(g(x))\); find \(h'(2)\)

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

  1. 1
    Last operation: product of \(x\) and \(f(g(x))\). Product rule: \(h'(x) = 1 \cdot f(g(x)) + x \cdot \dfrac{d}{dx}[f(g(x))]\).
  2. 2
    The second piece is a chain: \(f'(g(x)) \cdot g'(x)\).
  3. 3
    At 2: \(f(g(2)) = f(1) = 3\), and \(f'(g(2))g'(2) = f'(1) \cdot 4 = -8\).
  4. 4
    \(h'(2) = 3 + 2(-8) = -13\).
Answer: \(h'(2) = -13\)
Common Mistake 3 · Losing a factor in a long chain

Count layers and count factors: three layers, three factors. In Worked Example 4, forgetting the \(e^x\) at the end is the most common slip.

Quick reference

CheckAction
Roots, one-term fractions, logs of products or quotientsRewrite first
Last operation +/−Term by term
Last operation ×Product rule
Last operation ÷Quotient rule (or rewrite)
Last operation is a function of an insideChain rule
y not aloneImplicit differentiation
After each ruleAsk the same question about each piece