Topic 7

Differentiation Rules

Most derivative questions are lost before the first rule is applied: rewrite roots as powers, spot the constants, and decide which rule the function's last operation calls for. Then apply that one rule cleanly and simplify — every recipe below is a way of making that choice automatic.

5 kinds of question. Open the one you are stuck on.

1

Differentiate roots, fractions and powers with the power rule

e.g. “Differentiate 4x−3x2+…4\sqrt{x} - \dfrac{3}{x^2} + \dots”
  1. 1
    Rewrite every root as a fractional power

    xmn=xm/n\sqrt[n]{x^m} = x^{m/n}, so x=x1/2\sqrt{x} = x^{1/2} and x23=x2/3\sqrt[3]{x^2} = x^{2/3}.

  2. 2
    Rewrite cxn\dfrac{c}{x^n} as c x−nc\,x^{-n}

    If the denominator is a single term, split the fraction into one term per numerator term first. Multiply out a short product and combine powers: x2x=x5/2x^2\sqrt{x} = x^{5/2}.

  3. 3
    Circle the constants — they are just numbers

    eπe^{\pi}, π2\pi^2, log⁡5\log 5, 53\sqrt[3]{5} contain no xx. Standing alone they differentiate to 00; in front of a power they ride along as a coefficient.

  4. 4
    Apply the power rule to each term: (xn)′=nxn−1(x^n)' = nx^{n-1}

    It works for every real exponent: 12\tfrac{1}{2}, −7-7, 2.42.4, even −3π-3\pi.

  5. 5
    Rewrite with positive exponents if asked

    Optional: negative exponents are a correct answer unless the question says to simplify.

Remember: Rewrite, spot constants, power rule.

See it in a problem4 worked examples

Differentiate f(x)=4x−3x2+536x7f(x) = 4\sqrt{x} - \dfrac{3}{x^2} + \dfrac{\sqrt[3]{5}}{6x^7}.

  1. 1
    Rewrite every root as a fractional power

    4x=4x1/24\sqrt{x} = 4x^{1/2}. The 53\sqrt[3]{5} is a root of a number, not of xx: leave it.

  2. 2
    Rewrite cxn\dfrac{c}{x^n} as c x−nc\,x^{-n}

    f(x)=4x1/2−3x−2+536x−7f(x) = 4x^{1/2} - 3x^{-2} + \dfrac{\sqrt[3]{5}}{6}x^{-7}.

  3. 3
    Circle the constants — they are just numbers

    44, −3-3 and 536\dfrac{\sqrt[3]{5}}{6} are coefficients; there is no stand-alone constant.

  4. 4
    Apply the power rule to each term: (xn)′=nxn−1(x^n)' = nx^{n-1}

    f′(x)=2x−1/2+6x−3−7536x−8f'(x) = 2x^{-1/2} + 6x^{-3} - \dfrac{7\sqrt[3]{5}}{6}x^{-8}.

  5. 5
    Rewrite with positive exponents if asked

    f′(x)=2x+6x3−7536x8f'(x) = \dfrac{2}{\sqrt{x}} + \dfrac{6}{x^3} - \dfrac{7\sqrt[3]{5}}{6x^8}.

Answer:

f′(x)=2x+6x3−7536x8f'(x) = \dfrac{2}{\sqrt{x}} + \dfrac{6}{x^3} - \dfrac{7\sqrt[3]{5}}{6x^8}

Common mistakes4
  • Treating eπe^{\pi} or π2\pi^2 as a function: there is no xx in them, so ddxeπ=0\dfrac{d}{dx}e^{\pi} = 0, not eπe^{\pi} or πeπ−1\pi e^{\pi - 1}.
  • Differentiating a fraction by differentiating top and bottom separately. Rewrite x3+5x2\dfrac{x^3 + 5}{x^2} as x+5x−2x + 5x^{-2} first.
  • Subtracting 1 from a negative exponent the wrong way: x−3→−3x−4x^{-3} \to -3x^{-4}, not −3x−2-3x^{-2}.
  • Thinking x−3πx^{-3\pi} needs a special rule. A constant exponent is a constant exponent: −3πx−3π−1-3\pi x^{-3\pi - 1}.
2

Differentiate products and quotients

e.g. “Differentiate (2x2−1)ex(2x^2 - 1)e^{x}, x3cos⁡xx^3\cos x, … (two functions multiplied)”
  1. 1
    Simplify first if you can

    Cancel common factors, split a one-term denominator, expand a short product. Fewer rules, fewer slips.

  2. 2
    Decide: product uvuv, quotient uv\dfrac{u}{v}, or neither

    Ask what the last operation would be if you evaluated the function at a number.

  3. 3
    List uu, u′u', vv, v′v'

    Each piece may need its own rule: (e2x)′=2e2x(e^{2x})' = 2e^{2x} by the chain rule.

  4. 4
    Assemble: u′v+uv′u'v + uv' or u′v−uv′v2\dfrac{u'v - uv'}{v^2}

    Quotient order: "low d-high minus high d-low, over the square of what's below."

  5. 5
    Simplify the numerator; keep the denominator factored

Remember: Simplify, decide, list four pieces, assemble.

See it in a problem4 worked examples

Differentiate f(x)=(2x2−1)exf(x) = (2x^2 - 1)e^{x}.

  1. 1
    Simplify first if you can

    Nothing to simplify.

  2. 2
    Decide: product uvuv, quotient uv\dfrac{u}{v}, or neither

    A product: u=2x2−1u = 2x^2 - 1 times v=exv = e^{x}.

  3. 3
    List uu, u′u', vv, v′v'

    u=2x2−1u = 2x^2 - 1, u′=4xu' = 4x, v=exv = e^{x}, v′=exv' = e^{x}.

  4. 4
    Assemble: u′v+uv′u'v + uv' or u′v−uv′v2\dfrac{u'v - uv'}{v^2}

    f′(x)=4x ex+(2x2−1)exf'(x) = 4x\,e^{x} + (2x^2 - 1)e^{x}.

  5. 5
    Simplify the numerator; keep the denominator factored

    Factor out exe^{x}: f′(x)=ex(2x2+4x−1)f'(x) = e^{x}(2x^2 + 4x - 1).

Answer:

f′(x)=ex(2x2+4x−1)f'(x) = e^{x}(2x^2 + 4x - 1)

Common mistakes4
  • (uv)′≠u′v′(uv)' \neq u'v' and (uv)′≠u′v′\left(\dfrac{u}{v}\right)' \neq \dfrac{u'}{v'}.
  • Swapping the quotient-rule numerator to uv′−u′vuv' - u'v: that flips the sign of the whole answer.
  • Forgetting brackets: −(3x−1)(2x)-(3x - 1)(2x) is −6x2+2x-6x^2 + 2x, not −6x2−2x-6x^2 - 2x.
  • Expanding the denominator (x2+4)2(x^2 + 4)^2. Leave it squared; it is already as simple as it gets.
3

Differentiate a composition with the chain rule

e.g. “Differentiate esin⁡(x2)e^{\sin(x^2)}, (1+sin⁡2x)4(1 + \sin 2x)^4, sin⁡(log⁡(1+x2))\sin(\log(1 + x^2)), …”
  1. 1
    List the layers from the outside in

    The outermost layer is the last thing you would press on a calculator.

  2. 2
    Differentiate the outer layer; copy its inside unchanged
  3. 3
    Multiply by each inner layer's derivative, down to xx

    One factor per layer. Stop when the innermost layer is plain xx.

  4. 4
    Tidy up: numbers and simple factors to the front

Remember: Peel the onion: one factor per layer.

See it in a problem3 worked examples

Differentiate f(x)=esin⁡(x2)f(x) = e^{\sin(x^2)}.

  1. 1
    List the layers from the outside in

    Layers: e(⋅)e^{(\cdot)}, then sin⁡(⋅)\sin(\cdot), then x2x^2.

  2. 2
    Differentiate the outer layer; copy its inside unchanged

    Outer: ddueu=eu\dfrac{d}{du}e^{u} = e^{u}, so write esin⁡(x2)e^{\sin(x^2)}.

  3. 3
    Multiply by each inner layer's derivative, down to xx

    Times cos⁡(x2)\cos(x^2) (the sin⁡\sin layer), times 2x2x (the x2x^2 layer).

  4. 4
    Tidy up: numbers and simple factors to the front

    f′(x)=2xcos⁡(x2) esin⁡(x2)f'(x) = 2x\cos(x^2)\,e^{\sin(x^2)}.

Answer:

f′(x)=2xcos⁡(x2) esin⁡(x2)f'(x) = 2x\cos(x^2)\,e^{\sin(x^2)}

Common mistakes3
  • Stopping one layer early: ddxsin⁡(x2)=cos⁡(x2)⋅2x\dfrac{d}{dx}\sin(x^2) = \cos(x^2) \cdot 2x, not just cos⁡(x2)\cos(x^2).
  • Changing the inside while differentiating the outside: (sin⁡(x2))′=cos⁡(x2)⋅2x(\sin(x^2))' = \cos(x^2) \cdot 2x, not cos⁡(2x)\cos(2x).
  • Reading sin⁡2x\sin^2 x as sin⁡(x2)\sin(x^2). sin⁡2x=(sin⁡x)2\sin^2 x = (\sin x)^2, whose outer layer is the square.
4

Differentiate exponentials with any base and natural logs

e.g. “Differentiate 3x23^{x^2}, 10cos⁡x10^{\cos x}, log⁡(5x+1)\log(5x + 1), x2log⁡(3x)x^2\log(3x), …”
  1. 1
    Name each piece: bub^{u}, log⁡u\log u, trig, or power

    Constant base with xx upstairs is bub^{u}. xx in the base with a constant exponent is a power. xx in both needs logarithmic differentiation.

  2. 2
    Write each piece's outer derivative

    bu→bulog⁡bb^{u} \to b^{u}\log b (eu→eue^{u} \to e^{u}),  log⁡u→1u\ \log u \to \dfrac{1}{u},  sin⁡→cos⁡\ \sin \to \cos,  cos⁡→−sin⁡\ \cos \to -\sin,  tan⁡→sec⁡2\ \tan \to \sec^2,  sec⁡→sec⁡tan⁡\ \sec \to \sec\tan,  csc⁡→−csc⁡cot⁡\ \csc \to -\csc\cot,  cot⁡→−csc⁡2\ \cot \to -\csc^2.

  3. 3
    Multiply each by its inside's derivative u′u'
  4. 4
    Combine with the sum, product or quotient rule

Remember: Base bb costs a factor log⁡b\log b.

See it in a problem4 worked examples

Differentiate f(x)=3x2+log⁡(5x+1)f(x) = 3^{x^2} + \log(5x + 1).

  1. 1
    Name each piece: bub^{u}, log⁡u\log u, trig, or power

    3x23^{x^2} is bub^{u} with b=3b = 3, u=x2u = x^2. log⁡(5x+1)\log(5x + 1) is log⁡u\log u with u=5x+1u = 5x + 1.

  2. 2
    Write each piece's outer derivative

    3x2log⁡33^{x^2}\log 3 and 15x+1\dfrac{1}{5x + 1}.

  3. 3
    Multiply each by its inside's derivative u′u'

    Times 2x2x and times 55.

  4. 4
    Combine with the sum, product or quotient rule

    f′(x)=2x 3x2log⁡3+55x+1f'(x) = 2x\,3^{x^2}\log 3 + \dfrac{5}{5x + 1}.

Answer:

f′(x)=2x 3x2log⁡3+55x+1f'(x) = 2x\,3^{x^2}\log 3 + \dfrac{5}{5x + 1}

Common mistakes4
  • Writing (3x)′=x 3x−1(3^{x})' = x\,3^{x - 1}. That is the power rule, which needs xx in the base.
  • Forgetting the inside on a log: (log⁡(5x+1))′=55x+1\big(\log(5x + 1)\big)' = \dfrac{5}{5x + 1}, not 15x+1\dfrac{1}{5x + 1}.
  • Treating πx\pi^x and xπx^{\pi} alike: (πx)′=πxlog⁡π(\pi^x)' = \pi^x\log\pi, (xπ)′=πxπ−1(x^{\pi})' = \pi x^{\pi - 1}.
  • Sign slips in trig: the derivatives of cos⁡\cos, csc⁡\csc, cot⁡\cot all start with a minus.
5

Compute derivatives from a table of values

e.g. “Given f(1)f(1), f′(1)f'(1), g(1)g(1), g′(1)g'(1), … find (fg)′(1)(fg)'(1)”
  1. 1
    Write the derivative with letters only — no numbers yet

    (fg)′=f′g+fg′(fg)' = f'g + fg',  (fg)′=f′g−fg′g2\ \left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2},  (f(g(x)))′=f′(g(x)) g′(x)\ \big(f(g(x))\big)' = f'(g(x))\,g'(x).

  2. 2
    Work out which input each factor needs

    For a composition, evaluate the inside first: f′(g(1))f'(g(1)) needs g(1)g(1), then f′f' at that number.

  3. 3
    Read the values from the table
  4. 4
    Substitute and compute

Remember: Letters first, inside first, numbers last.

See it in a problem4 worked examples

Suppose f(1)=3f(1) = 3, f′(1)=−2f'(1) = -2, g(1)=2g(1) = 2, g′(1)=4g'(1) = 4. Find (fg)′(1)(fg)'(1).

  1. 1
    Write the derivative with letters only — no numbers yet

    (fg)′(x)=f′(x)g(x)+f(x)g′(x)(fg)'(x) = f'(x)g(x) + f(x)g'(x).

  2. 2
    Work out which input each factor needs

    Every factor is evaluated at x=1x = 1.

  3. 3
    Read the values from the table

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

  4. 4
    Substitute and compute

    (fg)′(1)=(−2)(2)+(3)(4)=8(fg)'(1) = (-2)(2) + (3)(4) = 8.

Answer:

(fg)′(1)=8(fg)'(1) = 8

Common mistakes3
  • Writing f′(g(1))f'(g(1)) as f′(1)f'(1). The outer function is evaluated at the inside's value g(1)g(1).
  • Using f′(g(1))⋅g(1)f'(g(1)) \cdot g(1) instead of f′(g(1))⋅g′(1)f'(g(1)) \cdot g'(1).
  • For d2dx2f(g(x))\dfrac{d^2}{dx^2}f(g(x)), forgetting that f′(g(x)) g′(x)f'(g(x))\,g'(x) is a product: you need the product rule and the chain rule again.

Need the formulas? Must memorize · Flashcards

Found this helpful? Leave us a review on Google ↗Spotted a mistake?

Which topics are you reviewing?

The topic list, Flashcards, Must memorize and Exam words will only show these. Change it any time with the Topics button above the topic list.

Limits & continuity
Derivatives
Applications
Theorems & approximation
10 of 17 topics selected