The derivative is one of the two core ideas in calculus (the other is the integral). At its simplest, the derivative measures how quickly something is changing at an exact moment — like the speedometer reading in your car at a specific instant, not just the average speed over a trip.

🎯 In this section you will learn

🚗 A Real-World Starting Point: Average vs. Instantaneous Speed

Suppose you drive from mile marker 10 to mile marker 20, and it takes you 15 minutes. Your average speed is:

$$ \text{Average speed} = \frac{\text{distance}}{\text{time}} = \frac{10 \text{ miles}}{0.25 \text{ hours}} = 40 \text{ mph} $$

But your speed at the exact moment you pass mile marker 15 could be different — maybe you slowed down or sped up. That's your instantaneous speed. The derivative gives us a way to calculate that exact instantaneous rate of change.

📐 Geometric Meaning: Slope of the Tangent Line

On a graph, the derivative at a point is the slope of the tangent line at that point. The tangent line touches the curve at exactly one point and has the same direction as the curve at that instant.

📊 Visualizing the Derivative

Interactive graph below. The orange line is the tangent line at the selected point:

📌 The Two Limit Definitions of the Derivative

$$ f'(a) = \lim_{x \to a} \frac{f(x) - f(a)}{x - a} $$
The derivative at a specific point $a$
$$ f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} $$
The derivative of $f$ with respect to $x$

Both definitions are equivalent. The first is convenient when you only need the derivative at one specific point $x = a$. The second is often used to find the derivative function $f'(x)$.

💡 Understanding the Difference
Example 1Using the Second Definition

Find $f'(x)$ for $f(x) = x^2$ using $\displaystyle f'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h}$.

Write the difference quotient
$\frac{f(x+h)-f(x)}{h} = \frac{(x+h)^2 - x^2}{h}$
Expand and simplify
$(x+h)^2 - x^2 = x^2 + 2xh + h^2 - x^2 = 2xh + h^2$
Divide by $h$
$\frac{2xh + h^2}{h} = 2x + h$
Take the limit as $h \to 0$
$\lim_{h \to 0} (2x + h) = 2x$
Conclusion
$f'(x) = 2x$
Example 2Using the First Definition

Find $f'(2)$ for $f(x) = x^2$ using $\displaystyle f'(a) = \lim_{x \to a} \frac{f(x)-f(a)}{x-a}$.

Write the difference quotient with $a=2$
$\frac{f(x)-f(2)}{x-2} = \frac{x^2 - 4}{x-2}$
Factor the numerator
$x^2 - 4 = (x-2)(x+2)$
Cancel $x-2$ (for $x \neq 2$)
$\frac{(x-2)(x+2)}{x-2} = x+2$
Take the limit as $x \to 2$
$\lim_{x \to 2} (x+2) = 4$
Conclusion
$f'(2) = 4$ (which matches $2x$ evaluated at $x=2$)

📝 Notation for Derivatives

NotationMeaning
$f'(x)$"f prime of x" — derivative of $f$ with respect to $x$
$\frac{dy}{dx}$Leibniz notation — derivative of $y$ with respect to $x$
$\frac{d}{dx}[f(x)]$Operator notation — "the derivative of $f(x)$ with respect to $x$"
$\dot{y}$Newton notation (used in physics for time derivatives)

⚠️ When a Derivative Does NOT Exist (Not Differentiable)

A function is differentiable at $x = a$ if $f'(a)$ exists. Common reasons a derivative might not exist:

🔗 Differentiability Implies Continuity

Theorem: If $f$ is differentiable at $x = a$, then $f$ is continuous at $x = a$.
The converse is NOT true: a function can be continuous but not differentiable (like $|x|$ at $x = 0$).

🔍 Key Takeaways
← Back to Module Page