Topic 5

The Derivative from the Definition

The derivative is a limit of slopes: f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}, and f′(a)f'(a) is the slope of the tangent line at x=ax = a, not the tangent line itself. Every "use the definition" question is the same job — build that quotient, do the algebra until the hh on the bottom cancels, then let h→0h \to 0 — and the recipes below differ only in the algebra.

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

1

Use the limit definition to differentiate a polynomial

e.g. “Use the limit definition of the derivative to compute f′(x)f'(x) for f(x)=2x2+5f(x) = 2x^2 + 5”
  1. 1
    Write f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}

    Replace every xx in ff by (x+h)(x + h), brackets included.

  2. 2
    Expand f(x+h)f(x + h) completely
  3. 3
    Subtract f(x)f(x): every term without hh cancels

    If something without hh survives, there is an algebra mistake.

  4. 4
    Factor hh out of the numerator and cancel it
  5. 5
    Let h→0h \to 0

    Keep writing lim⁡h→0\lim_{h \to 0} on every line until this step.

Remember: Expand, cancel, factor hh, kill hh.

See it in a problem2 worked examples

Use the limit definition of the derivative to find f′(x)f'(x) for f(x)=3x2−5x+2f(x) = 3x^2 - 5x + 2.

  1. 1
    Write f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}

    f′(x)=lim⁡h→0[3(x+h)2−5(x+h)+2]−[3x2−5x+2]hf'(x) = \lim_{h \to 0} \dfrac{\left[3(x + h)^2 - 5(x + h) + 2\right] - \left[3x^2 - 5x + 2\right]}{h}.

  2. 2
    Expand f(x+h)f(x + h) completely

    3(x+h)2−5(x+h)+2=3x2+6xh+3h2−5x−5h+23(x + h)^2 - 5(x + h) + 2 = 3x^2 + 6xh + 3h^2 - 5x - 5h + 2.

  3. 3
    Subtract f(x)f(x): every term without hh cancels

    Numerator: 6xh+3h2−5h6xh + 3h^2 - 5h.

  4. 4
    Factor hh out of the numerator and cancel it

    f′(x)=lim⁡h→0h(6x+3h−5)h=lim⁡h→0(6x+3h−5)f'(x) = \lim_{h \to 0} \dfrac{h(6x + 3h - 5)}{h} = \lim_{h \to 0} (6x + 3h - 5).

  5. 5
    Let h→0h \to 0

    =6x−5= 6x - 5.

Answer:

f′(x)=6x−5f'(x) = 6x - 5

Common mistakes4
  • "Must use the definition" means no power rule anywhere in the answer. The power rule may only check your result on scrap paper.
  • Writing f(x)+hf(x) + h or f(x)hf(x)h for f(x+h)f(x + h). Substitute x+hx + h for xx.
  • Setting h=0h = 0 before canceling: that gives 00\tfrac{0}{0}, not an answer.
  • Dropping "lim⁡h→0\lim_{h \to 0}" in the middle lines. Markers take marks for it.
2

Use the limit definition to differentiate a fraction

e.g. “Use the definition of the derivative to compute f′(x)f'(x) for f(x)=x−3x+1f(x) = \dfrac{x - 3}{x + 1}”
  1. 1
    Write the definition with f(x+h)f(x + h) and f(x)f(x)
  2. 2
    Combine the two fractions over a common denominator

    Multiply the denominators; leave the denominator factored.

  3. 3
    Expand the numerator: only multiples of hh survive
  4. 4
    Cancel the hh against the 1h\dfrac{1}{h}
  5. 5
    Let h→0h \to 0

    Every (x+h)(x + h) in the denominator becomes xx.

Remember: One fraction, expand the top, cancel hh.

See it in a problem3 worked examples

Use the limit definition to find f′(x)f'(x) for f(x)=41−3xf(x) = \dfrac{4}{1 - 3x}.

  1. 1
    Write the definition with f(x+h)f(x + h) and f(x)f(x)

    f′(x)=lim⁡h→01h[41−3x−3h−41−3x]f'(x) = \lim_{h \to 0} \dfrac{1}{h}\left[\dfrac{4}{1 - 3x - 3h} - \dfrac{4}{1 - 3x}\right].

  2. 2
    Combine the two fractions over a common denominator

    =lim⁡h→01h⋅4(1−3x)−4(1−3x−3h)(1−3x−3h)(1−3x)= \lim_{h \to 0} \dfrac{1}{h} \cdot \dfrac{4(1 - 3x) - 4(1 - 3x - 3h)}{(1 - 3x - 3h)(1 - 3x)}.

  3. 3
    Expand the numerator: only multiples of hh survive

    Numerator: 4−12x−4+12x+12h=12h4 - 12x - 4 + 12x + 12h = 12h.

  4. 4
    Cancel the hh against the 1h\dfrac{1}{h}

    f′(x)=lim⁡h→012(1−3x−3h)(1−3x)f'(x) = \lim_{h \to 0} \dfrac{12}{(1 - 3x - 3h)(1 - 3x)}.

  5. 5
    Let h→0h \to 0

    =12(1−3x)2= \dfrac{12}{(1 - 3x)^2}.

Answer:

f′(x)=12(1−3x)2f'(x) = \dfrac{12}{(1 - 3x)^2}

Common mistakes3
  • Expanding the denominator. Leave it factored; it only needs h→0h \to 0 at the end.
  • Losing a minus sign when subtracting a whole numerator: bracket it, −[ ⋯ ]-\left[\,\cdots\right].
  • Using the quotient rule. With "use the definition", that scores 0.
3

Use the limit definition to differentiate a square root

e.g. “Use the limit definition to find the derivative of f(x)=3x+2f(x) = \sqrt{3x + 2}”
  1. 1
    Write the definition with f(x+h)f(x + h) and f(x)f(x)
  2. 2
    Multiply top and bottom by the conjugate

    The conjugate of A−B\sqrt{A} - \sqrt{B} is A+B\sqrt{A} + \sqrt{B}. Root in a denominator? Combine the fractions first.

  3. 3
    Simplify the numerator: the roots square away, leaving a multiple of hh

    (A−B)(A+B)=A−B(\sqrt{A} - \sqrt{B})(\sqrt{A} + \sqrt{B}) = A - B.

  4. 4
    Cancel hh
  5. 5
    Let h→0h \to 0

    A+B\sqrt{A} + \sqrt{B} becomes 2B2\sqrt{B}.

Remember: Conjugate, square away the roots, cancel hh.

See it in a problem3 worked examples

Use the limit definition to find f′(x)f'(x) for f(x)=2x+1f(x) = \sqrt{2x + 1}.

  1. 1
    Write the definition with f(x+h)f(x + h) and f(x)f(x)

    f′(x)=lim⁡h→02x+2h+1−2x+1hf'(x) = \lim_{h \to 0} \dfrac{\sqrt{2x + 2h + 1} - \sqrt{2x + 1}}{h}.

  2. 2
    Multiply top and bottom by the conjugate

    =lim⁡h→02x+2h+1−2x+1h⋅2x+2h+1+2x+12x+2h+1+2x+1= \lim_{h \to 0} \dfrac{\sqrt{2x + 2h + 1} - \sqrt{2x + 1}}{h} \cdot \dfrac{\sqrt{2x + 2h + 1} + \sqrt{2x + 1}}{\sqrt{2x + 2h + 1} + \sqrt{2x + 1}}.

  3. 3
    Simplify the numerator: the roots square away, leaving a multiple of hh

    Numerator: (2x+2h+1)−(2x+1)=2h(2x + 2h + 1) - (2x + 1) = 2h.

  4. 4
    Cancel hh

    f′(x)=lim⁡h→022x+2h+1+2x+1f'(x) = \lim_{h \to 0} \dfrac{2}{\sqrt{2x + 2h + 1} + \sqrt{2x + 1}}.

  5. 5
    Let h→0h \to 0

    =222x+1=12x+1= \dfrac{2}{2\sqrt{2x + 1}} = \dfrac{1}{\sqrt{2x + 1}}.

Answer:

f′(x)=12x+1f'(x) = \dfrac{1}{\sqrt{2x + 1}}

Common mistakes3
  • Multiplying out the denominator after using the conjugate. Leave h(A+B)h(\sqrt{A} + \sqrt{B}) alone so the hh can cancel.
  • Writing x+h=x+h\sqrt{x + h} = \sqrt{x} + \sqrt{h}. Roots do not split over sums.
  • Forgetting the inner coefficient: for 2x+1\sqrt{2x + 1}, A−B=2hA - B = 2h, not hh.
4

Find the derivative at a point using the definition

e.g. “With f(x)=x2f(x) = x^2, use the definition of the derivative to show that f′(4)=8f'(4) = 8”
  1. 1
    Write f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \lim_{h \to 0} \dfrac{f(a + h) - f(a)}{h} with the number in

    Or the other form, f′(a)=lim⁡x→af(x)−f(a)x−af'(a) = \lim_{x \to a} \dfrac{f(x) - f(a)}{x - a}, if the question uses it.

  2. 2
    Compute f(a+h)f(a + h) and f(a)f(a)

    In the x→ax \to a form, f(x)f(x) stays as it is; just compute the number f(a)f(a).

  3. 3
    Simplify the numerator until hh (or x−ax - a) factors out

    Expand, combine fractions, or use the conjugate, as in the recipes above.

  4. 4
    Cancel that factor, then let h→0h \to 0 (or x→ax \to a)

Remember: Same algebra, with a number instead of xx.

See it in a problem3 worked examples

Use the definition of the derivative to find f′(5)f'(5) for f(x)=x2−3xf(x) = x^2 - 3x.

  1. 1
    Write f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \lim_{h \to 0} \dfrac{f(a + h) - f(a)}{h} with the number in

    f′(5)=lim⁡h→0f(5+h)−f(5)hf'(5) = \lim_{h \to 0} \dfrac{f(5 + h) - f(5)}{h}.

  2. 2
    Compute f(a+h)f(a + h) and f(a)f(a)

    f(5+h)=25+10h+h2−15−3h=h2+7h+10f(5 + h) = 25 + 10h + h^2 - 15 - 3h = h^2 + 7h + 10 and f(5)=25−15=10f(5) = 25 - 15 = 10.

  3. 3
    Simplify the numerator until hh (or x−ax - a) factors out

    f(5+h)−f(5)=h2+7h=h(h+7)f(5 + h) - f(5) = h^2 + 7h = h(h + 7).

  4. 4
    Cancel that factor, then let h→0h \to 0 (or x→ax \to a)

    f′(5)=lim⁡h→0(h+7)=7f'(5) = \lim_{h \to 0} (h + 7) = 7.

Answer:

f′(5)=7f'(5) = 7

Common mistakes2
  • Finding f′(x)f'(x) by the power rule and plugging in aa. Correct number, zero marks.
  • Writing f(a)+hf(a) + h for f(a+h)f(a + h). With f(x)=x2−3xf(x) = x^2 - 3x, f(5+h)=(5+h)2−3(5+h)f(5 + h) = (5 + h)^2 - 3(5 + h).
5

Evaluate a limit by recognizing it as a derivative

e.g. “Evaluate lim⁡h→0(2+h)5−32h\lim_{h \to 0} \dfrac{(2 + h)^5 - 32}{h}”
  1. 1
    Match the limit to a difference quotient

    f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h} or f(x)−f(a)x−a\dfrac{f(x) - f(a)}{x - a}.

  2. 2
    Read off ff and aa, and check the constant is f(a)f(a)
  3. 3
    Differentiate ff with the rules

    Allowed here: the question asks for the value of a limit, not for the definition.

  4. 4
    Evaluate f′(a)f'(a)

Remember: Spot the quotient, name ff and aa, differentiate.

See it in a problem3 worked examples

Evaluate lim⁡h→0(3+h)4−81h\lim_{h \to 0} \dfrac{(3 + h)^4 - 81}{h}.

  1. 1
    Match the limit to a difference quotient

    It has the shape f(a+h)−f(a)h\dfrac{f(a + h) - f(a)}{h}.

  2. 2
    Read off ff and aa, and check the constant is f(a)f(a)

    f(x)=x4f(x) = x^4, a=3a = 3; check f(3)=81f(3) = 81 ✓.

  3. 3
    Differentiate ff with the rules

    f′(x)=4x3f'(x) = 4x^3.

  4. 4
    Evaluate f′(a)f'(a)

    f′(3)=4⋅27=108f'(3) = 4 \cdot 27 = 108.

Answer:

108108

Common mistakes3
  • Expanding (2+h)5(2 + h)^5 by brute force. It works, but recognizing f′(2)f'(2) takes one line.
  • Choosing the wrong aa: in (3+h)4−81h\dfrac{(3 + h)^4 - 81}{h}, a=3a = 3, not a=81a = 81.
  • When a question says "use the definition", this shortcut is not allowed — it is the reverse direction.
6

Decide if a piecewise function is differentiable, or find a and b

e.g. “Is ff differentiable at x=ax = a? Justify.”
  1. 1
    Check continuity at the junction: left value = right value

    If it fails, ff is not differentiable there: stop. With unknowns, this is equation 1. For ∣ ∣|\ |, the junctions are where the inside is 00.

  2. 2
    Differentiate each piece on its own

    For ∣ ∣|\ |, first write the formula without bars on each side of the junction.

  3. 3
    Find the left and right slopes at aa

    Plug aa into each piece's derivative. Asked for the definition? Use lim⁡h→0±f(a+h)−f(a)h\lim_{h \to 0^\pm} \dfrac{f(a + h) - f(a)}{h}.

  4. 4
    Compare the slopes, or set them equal

    Equal: differentiable. Different: a corner. With unknowns, this is equation 2.

  5. 5
    Conclude, or solve the two equations

Remember: Values match, then slopes match.

See it in a problem4 worked examples

Find aa and bb so that f(x)={x0≤x≤4ax+bx>4f(x) = \begin{cases} \sqrt{x} & 0 \leq x \leq 4 \\ ax + b & x > 4 \end{cases} is differentiable at x=4x = 4.

  1. 1
    Check continuity at the junction: left value = right value

    Left value 4=2\sqrt{4} = 2, right value 4a+b4a + b: 4a+b=24a + b = 2.

  2. 2
    Differentiate each piece on its own

    Left: (x)′=12x\left(\sqrt{x}\right)' = \dfrac{1}{2\sqrt{x}}. Right: (ax+b)′=a(ax + b)' = a.

  3. 3
    Find the left and right slopes at aa

    Left slope 124=14\dfrac{1}{2\sqrt{4}} = \dfrac{1}{4}. Right slope aa.

  4. 4
    Compare the slopes, or set them equal

    a=14a = \dfrac{1}{4}.

  5. 5
    Conclude, or solve the two equations

    b=2−4⋅14=1b = 2 - 4 \cdot \tfrac{1}{4} = 1.

Answer:

a=14a = \dfrac{1}{4}, b=1b = 1

Common mistakes3
  • Matching slopes but skipping continuity. x2x^2 and 2x2x have the same slope 22 at x=1x = 1, yet a jump there kills differentiability.
  • Assuming every absolute value makes a corner. x2∣x∣x^2|x| is differentiable at 00: both slopes are 00.
  • Differentiating ∣x2−2x∣|x^2 - 2x| as 2x−22x - 2 on both sides. Inside the bars it is negative for 0<x<20 < x < 2, so that piece is 2x−x22x - x^2.

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