🎯⭐ INTERACTIVE LESSON

Definition of the Derivative

Learn step-by-step with interactive practice!

Loading lesson...

Definition of the Derivative - Complete Interactive Lesson

Part 1: Derivative as Limit

∫ The Derivative as a Limit

Part 1 of 7 — From Average to Instantaneous Rate of Change

1. Average Rate of Change

The average rate of change of ff on [a,b][a,b] is the slope of the secant line:

f(b)f(a)ba\frac{f(b) - f(a)}{b - a}

2. Instantaneous Rate of Change

As bab \to a, the secant line becomes the tangent line, and we get the derivative:

f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}

This is the limit definition of the derivative — the most fundamental formula in calculus.

3. Computing Derivatives from the Definition

Example: Find f(x)f'(x) for f(x)=x2f(x) = x^2.

f(x)=limh0(x+h)2x2h=limh0x2+2xh+h2x2h=limh02xh+h2h=limh0(2x+h)=2xf'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} = \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h} = \lim_{h \to 0} (2x + h) = 2x

4. Alternate Form

f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a}

This form is useful when given a specific point rather than a general formula.

Check Your Understanding 🎯

Two Forms of the Derivative Definition

FormFormulaUse When
Standardlimh0f(x+h)f(x)h\lim_{h \to 0} \frac{f(x+h)-f(x)}{h}Finding f(x)f'(x) as a function
Alternatelimxaf(x)f(a)xa\lim_{x \to a} \frac{f(x)-f(a)}{x-a}Finding f(a)f'(a) at a specific point

AP Exam note: You may be given a limit and asked to identify it as a derivative. For example, limh0sin(π/6+h)1/2h\lim_{h \to 0} \frac{\sin(\pi/6 + h) - 1/2}{h} represents f(π/6)f'(\pi/6) where f(x)=sinxf(x) = \sin x.

Check Your Understanding 🎯

Identify the Derivative 🔍

Match each limit to the derivative it represents.

Part 2: Differentiability

∫ Differentiability

Part 2 of 7 — When Derivatives Exist (and When They Don't)

1. Differentiability Requires Continuity

If ff is differentiable at x=cx = c, then ff is continuous at x=cx = c.

Contrapositive: If ff is NOT continuous at cc, then ff is NOT differentiable at cc.

⚠️ The converse is false: f(x)=xf(x) = |x| is continuous at x=0x = 0 but NOT differentiable there.

2. When Derivatives Fail to Exist

The derivative does not exist at:

  • Corners/cusps: f(x)=xf(x) = |x| at x=0x = 0 (left slope =1= -1, right slope =1= 1)
  • Vertical tangent lines: f(x)=x1/3f(x) = x^{1/3} at x=0x = 0 (slope ±\to \pm\infty)
  • Discontinuities: Any type of discontinuity
  • Endpoints: Only one-sided derivative exists

3. Checking Differentiability for Piecewise Functions

For f(x)={x2x12x1x>1f(x) = \begin{cases} x^2 & x \leq 1 \\ 2x - 1 & x > 1 \end{cases}:

  1. Check continuity: limx1x2=1=limx1+(2x1)=1\lim_{x \to 1^-} x^2 = 1 = \lim_{x \to 1^+} (2x-1) = 1
  2. Check derivatives match: Left: f(x)=2x2(1)=2f'(x) = 2x \to 2(1) = 2. Right: f(x)=2f'(x) = 2. ✓

Both derivatives equal 2, so ff IS differentiable at x=1x = 1.

4. Local Linearity

A differentiable function "looks like a line" when you zoom in enough. This is the geometric meaning of differentiability — the graph has no sharp turns or breaks at the microscopic level.

Check Your Understanding 🎯

Quick Reference: Differentiability vs. Continuity

FunctionContinuous at x=0x=0?Differentiable at x=0x=0?
f(x)=x2f(x) = x^2YesYes
f(x)=xf(x) = \|x\|YesNo (corner)
f(x)=x1/3f(x) = x^{1/3}YesNo (vertical tangent)
f(x)=1/xf(x) = 1/xNoNo

Memory aid: Differentiable ⟹ Continuous, but Continuous ⟹ Differentiable is FALSE.

Check Your Understanding 🎯

Differentiability Check 🔍

Part 3: Graphical Interpretation

∫ Graphical Interpretation of Derivatives

Part 3 of 7 — Reading Derivatives from Graphs

1. Derivative = Slope of Tangent Line

At any point, f(a)f'(a) equals the slope of the tangent line to ff at x=ax = a.

  • f(a)>0f'(a) > 0: ff is increasing at aa
  • f(a)<0f'(a) < 0: ff is decreasing at aa
  • f(a)=0f'(a) = 0: ff has a horizontal tangent at aa (possible max, min, or inflection)

2. From Graph of ff to Graph of ff'

Feature of ffCorresponding feature of ff'
ff increasingf>0f' > 0 (above xx-axis)
ff decreasingf<0f' < 0 (below xx-axis)
Local max of fff=0f' = 0 (crosses from ++ to -)
Local min of fff=0f' = 0 (crosses from - to ++)
Inflection point of ffLocal max or min of ff'
ff concave upff' increasing
ff concave downff' decreasing

3. Estimating Derivatives from Data

From a table of values, approximate f(a)f'(a) using the symmetric difference quotient:

f(a)f(a+h)f(ah)2hf'(a) \approx \frac{f(a+h) - f(a-h)}{2h}

This is more accurate than the one-sided difference quotient.

4. Reading ff from ff'

Given the graph of ff':

  • Where f>0f' > 0, ff is increasing
  • Where f<0f' < 0, ff is decreasing
  • Where ff' changes sign, ff has a local extremum

Check Your Understanding 🎯

AP Exam Graph-Reading Tips

When given the graph of ff' and asked about ff:

  1. Zeros of ff' = horizontal tangent lines of ff (possible extrema)
  2. Sign changes of ff' = extrema of ff
  3. Extrema of ff' = inflection points of ff
  4. ff' positive = ff rising, ff' negative = ff falling

Common trap: A zero of ff' is NOT always an extremum. If ff' doesn't change sign (like f(x)=x3f(x) = x^3 at x=0x=0), it's just an inflection point.

Check Your Understanding 🎯

From ff to ff' 🔍

Determine the sign of ff' at each point.

Part 4: Notation

∫ Derivative Notation

Part 4 of 7 — The Language of Derivatives

1. Common Notations

All of these mean "the derivative of yy with respect to xx":

NotationRead asEmphasized by
f(x)f'(x)"ff prime of xx"Lagrange
dydx\frac{dy}{dx}"dydxdy\,dx"Leibniz
ddx[f(x)]\frac{d}{dx}[f(x)]"d dx of f(x)f(x)"Operator form
y˙\dot{y}"yy dot"Newton (time derivatives)

2. Leibniz Notation: More Than Just a Symbol

dydx\frac{dy}{dx} is NOT a fraction, but it behaves like one in many situations:

Chain rule: dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} (cancels like fractions!)

Evaluated at a point: dydxx=3\left.\frac{dy}{dx}\right|_{x=3} means "evaluate the derivative at x=3x = 3"

3. Higher-Order Derivatives

OrderLagrangeLeibniz
Firstf(x)f'(x)dydx\frac{dy}{dx}
Secondf(x)f''(x)d2ydx2\frac{d^2y}{dx^2}
Thirdf(x)f'''(x)d3ydx3\frac{d^3y}{dx^3}
nn-thf(n)(x)f^{(n)}(x)dnydxn\frac{d^ny}{dx^n}

4. Units of Derivatives

If yy has units of meters and xx has units of seconds, then:

  • dydx\frac{dy}{dx} has units of metersseconds\frac{\text{meters}}{\text{seconds}} (velocity)
  • d2ydx2\frac{d^2y}{dx^2} has units of metersseconds2\frac{\text{meters}}{\text{seconds}^2} (acceleration)

Check Your Understanding 🎯

When to Use Which Notation

  • f(x)f'(x) — Best for general function manipulation, stating rules
  • dydx\frac{dy}{dx} — Best for related rates, implicit differentiation, chain rule
  • ddx[expression]\frac{d}{dx}[\text{expression}] — Best as an operator: "take the derivative of this expression"

Example in context: "Find ddx[x2sinx]\frac{d}{dx}[x^2 \sin x]" means "differentiate x2sinxx^2 \sin x with respect to xx."

Check Your Understanding 🎯

Match the Notation 🔍

Part 5: Tangent Lines

∫ Tangent Lines and Linear Approximation

Part 5 of 7 — The Tangent Line Equation

1. Equation of the Tangent Line

The tangent line to ff at x=ax = a has:

  • Slope: m=f(a)m = f'(a)
  • Point: (a,f(a))(a, f(a))

Point-slope form: yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)

2. Worked Example

Find the tangent line to f(x)=x3f(x) = x^3 at x=2x = 2.

  1. f(2)=8f(2) = 8, so the point is (2,8)(2, 8)
  2. f(x)=3x2f'(x) = 3x^2, so f(2)=12f'(2) = 12
  3. Tangent line: y8=12(x2)y - 8 = 12(x - 2)y=12x16y = 12x - 16

3. Normal Line

The normal line is perpendicular to the tangent line. If the tangent slope is mm, the normal slope is 1m-\frac{1}{m} (negative reciprocal).

4. Tangent Line as a Local Approximation

Near x=ax = a, the function f(x)f(x) is well-approximated by its tangent line:

f(x)f(a)+f(a)(xa)f(x) \approx f(a) + f'(a)(x - a)

This is called linearization or linear approximation.

Example: Approximate 4.1\sqrt{4.1} using the tangent line to f(x)=xf(x) = \sqrt{x} at x=4x = 4:

f(4)=2f(4) = 2, f(x)=12xf'(x) = \frac{1}{2\sqrt{x}}, f(4)=14f'(4) = \frac{1}{4}

4.12+14(4.14)=2+0.025=2.025\sqrt{4.1} \approx 2 + \frac{1}{4}(4.1 - 4) = 2 + 0.025 = 2.025

(Actual: 4.1=2.02485...\sqrt{4.1} = 2.02485...)

Check Your Understanding 🎯

Tangent Line Checklist

  1. Find f(a)f(a) — the yy-value at the point
  2. Find f(a)f'(a) — the slope at the point
  3. Write: yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)

Is the Approximation an Over- or Under-estimate?

  • If ff is concave up near aa: tangent line is below the curve → underestimate
  • If ff is concave down near aa: tangent line is above the curve → overestimate

This is a common AP FRQ follow-up question!

Check Your Understanding 🎯

Tangent Line Practice 🔍

Part 6: Problem-Solving Workshop

∫ Problem-Solving Workshop

Part 6 of 7 — Derivative Definition Practice

Strategy: Limit-Definition Problems

When asked to find a derivative using the limit definition:

  1. Write out f(x+h)f(x)h\frac{f(x+h)-f(x)}{h}
  2. Expand f(x+h)f(x+h) carefully
  3. Simplify — everything should cancel the hh in the denominator
  4. Take limh0\lim_{h \to 0}

Worked Example: f(x)=1xf(x) = \frac{1}{x}

f(x)=limh01x+h1xh=limh0x(x+h)x(x+h)h=limh0hhx(x+h)=limh01x(x+h)=1x2f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h} - \frac{1}{x}}{h} = \lim_{h \to 0} \frac{\frac{x-(x+h)}{x(x+h)}}{h} = \lim_{h \to 0} \frac{-h}{hx(x+h)} = \lim_{h \to 0} \frac{-1}{x(x+h)} = \frac{-1}{x^2}

Worked Example: Recognizing Derivative Limits

"Find limh0cos(π+h)cos(π)h\lim_{h \to 0} \frac{\cos(\pi + h) - \cos(\pi)}{h}"

This IS f(π)f'(\pi) where f(x)=cosxf(x) = \cos x. So the answer is f(π)=sin(π)=0f'(\pi) = -\sin(\pi) = 0.

Much faster than trying to expand cos(π+h)\cos(\pi + h)!

Check Your Understanding 🎯

Recognizing Derivatives in Disguise

Limit ExpressionRecognized AsAnswer
limh0e2+he2h\lim_{h \to 0} \frac{e^{2+h}-e^2}{h}f(2)f'(2), f(x)=exf(x)=e^xe2e^2
limx3x29x3\lim_{x \to 3} \frac{x^2-9}{x-3}f(3)f'(3), f(x)=x2f(x)=x^266
limh0ln(1+h)h\lim_{h \to 0} \frac{\ln(1+h)}{h}f(1)f'(1), f(x)=lnxf(x)=\ln x? No: f(0)f'(0), f(x)=ln(1+x)f(x)=\ln(1+x)11

These "recognize the derivative" problems save huge amounts of computation on the AP exam.

Check Your Understanding 🎯

Recognize & Evaluate 🔍

Part 7: Review & Applications

∫ Review & Applications

Part 7 of 7 — Comprehensive Review

The Big Picture

The derivative f(a)f'(a) answers: "How fast is ff changing at x=ax = a?"

  • Geometrically: slope of the tangent line
  • Physically: instantaneous rate of change
  • Algebraically: limh0f(a+h)f(a)h\lim_{h \to 0} \frac{f(a+h)-f(a)}{h}

Key Relationships

Position s(t)derivativeVelocity v(t)=s(t)derivativeAcceleration a(t)=v(t)=s(t)\text{Position } s(t) \xrightarrow{\text{derivative}} \text{Velocity } v(t) = s'(t) \xrightarrow{\text{derivative}} \text{Acceleration } a(t) = v'(t) = s''(t)

Differentiability Hierarchy

Differentiable    Continuous    Limit exists\text{Differentiable} \implies \text{Continuous} \implies \text{Limit exists}

But NONE of the reverse implications hold!

Essential Formulas

  • Derivative definition: f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}
  • Alternate form: f(a)=limxaf(x)f(a)xaf'(a) = \lim_{x \to a} \frac{f(x)-f(a)}{x-a}
  • Tangent line: y=f(a)+f(a)(xa)y = f(a) + f'(a)(x-a)
  • Linear approximation: f(x)f(a)+f(a)(xa)f(x) \approx f(a) + f'(a)(x-a) for xx near aa

Check Your Understanding 🎯

Common AP Exam Derivative Questions

  1. "Find f(a)f'(a) using the definition" — Must show the limit, not just use shortcut rules
  2. "What does f(3)=2f'(3) = -2 mean in context?" — At x=3x = 3, ff is decreasing at a rate of 2 [units] per [unit]
  3. "Is ff differentiable at x=cx = c?" — Check continuity AND matching derivatives from both sides
  4. "Find the tangent/normal line" — Use point-slope form with f(a)f(a) and f(a)f'(a)
  5. "Approximate using linearization"f(x)f(a)+f(a)(xa)f(x) \approx f(a) + f'(a)(x-a)

Check Your Understanding 🎯

Final Review 🔍