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.
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
| Function | Last operation | First rule |
|---|---|---|
| \(x^3e^{2x}\) | multiply | product |
| \(\dfrac{\cos x}{1 + \sin x}\) | divide | quotient |
| \(\sin^2\left(e^x\right)\) | square | chain |
| \(\ln\dfrac{(x^2 + 1)^3}{x - 2}\) | log | rewrite with log rules first |
| \(x^2 + y^2 = 25\) | equation in x and y | implicit differentiation |
2Rewrite when you can
\(\dfrac{d}{dx}\left[\dfrac{x^2 + 1}{\sqrt{x}}\right]\)
- 1The bottom is one term, so split: \(\dfrac{x^2}{x^{1/2}} + \dfrac{1}{x^{1/2}} = x^{3/2} + x^{-1/2}\).
- 2Power rule: \(\tfrac32 x^{1/2} - \tfrac12 x^{-3/2}\).
\(\dfrac{d}{dx}\left[\ln\dfrac{(x^2 + 1)^3}{x - 2}\right]\)
- 1A quotient inside a log is painful to differentiate directly. Expand with log rules: \(3\ln(x^2 + 1) - \ln(x - 2)\).
- 2Each term is a simple chain: \(3 \cdot \dfrac{2x}{x^2 + 1} - \dfrac{1}{x - 2}\).
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
\(\dfrac{d}{dx}\left[x^3e^{2x}\right]\)
- 1Last operation: multiplication of \(x^3\) and \(e^{2x}\). Product rule first.
- 2Pieces: \((x^3)' = 3x^2\); \(\left(e^{2x}\right)' = 2e^{2x}\) by the chain rule.
- 3\(3x^2e^{2x} + x^3 \cdot 2e^{2x} = x^2e^{2x}(3 + 2x)\).
\(\dfrac{d}{dx}\left[\sin^2\left(e^x\right)\right]\)
- 1Layers from the outside: a square, around a sine, around \(e^x\).
- 2\(2\sin\left(e^x\right) \cdot \cos\left(e^x\right) \cdot e^x\).
\(\dfrac{d}{dx}\left[\dfrac{\cos x}{1 + \sin x}\right]\)
- 1Quotient 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\(\sin^2 x + \cos^2 x = 1\), so the top is \(-(\sin x + 1)\).
- 3Cancel one factor of \(1 + \sin x\).
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
\(h(x) = x\,f(g(x))\); find \(h'(2)\)
\(g(2) = 1\), \(g'(2) = 4\), \(f(1) = 3\), \(f'(1) = -2\).
- 1Last 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))]\).
- 2The second piece is a chain: \(f'(g(x)) \cdot g'(x)\).
- 3At 2: \(f(g(2)) = f(1) = 3\), and \(f'(g(2))g'(2) = f'(1) \cdot 4 = -8\).
- 4\(h'(2) = 3 + 2(-8) = -13\).
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
| Check | Action |
|---|---|
| Roots, one-term fractions, logs of products or quotients | Rewrite first |
| Last operation +/− | Term by term |
| Last operation × | Product rule |
| Last operation ÷ | Quotient rule (or rewrite) |
| Last operation is a function of an inside | Chain rule |
| y not alone | Implicit differentiation |
| After each rule | Ask the same question about each piece |