STEMviz
Mathematics · Introduction to Calculus

An Intuitive Introduction to the Derivative (Difference Quotient)

The derivative defined as the limit of the difference quotient, its two equivalent forms, the link between differentiability and continuity, and numerical estimation.

An Intuitive Introduction to the Derivative (Difference Quotient)

Every idea this block has built so far — limits, asymptotes, continuity — was preparation for a single question: how fast is a function changing at one exact instant? Average rate of change over an interval is easy: divide the change in output by the change in input. But the rate of change at a point, where the interval has shrunk to nothing, seems at first to require dividing by zero. This chapter shows how the limit concept resolves that apparent paradox and defines the derivative.

You will need the limit techniques of Chapter 1 (especially factoring and rationalising to resolve 00\frac00 forms) and the continuity criterion of Chapter 3, since continuity turns out to be a necessary condition for everything built here.

1. Average Rate of Change

For a function ff, the average rate of change between x=ax=a and x=a+hx=a+h (for some nonzero hh) is the familiar "rise over run":

f(a+h)−f(a)h\frac{f(a+h) - f(a)}{h}

Geometrically, this is the gradient of the secant line — the straight line joining the two points (a,f(a))(a, f(a)) and (a+h,f(a+h))(a+h, f(a+h)) on the graph of ff.

Worked example. For f(x)=x2f(x) = x^2, find the average rate of change between x=1x=1 and x=3x=3.

f(3)−f(1)3−1=9−12=4\frac{f(3)-f(1)}{3-1} = \frac{9-1}{2} = 4

This tells us that, on average, ff increased by 44 units of output per unit of input across that interval — but it says nothing about whether ff was changing faster at the start or the end of the interval.

2. From Secant to Tangent: Shrinking the Interval

To find the rate of change at a single point x=ax=a, rather than across an interval, imagine the second point x=a+hx=a+h sliding towards aa, so h→0h\to0. The secant line pivots as it does so, and in the limit it settles into the tangent line — the line that just grazes the curve at (a,f(a))(a, f(a)), matching its direction exactly at that instant.

Definition. The difference quotient of ff at aa is f(a+h)−f(a)h\dfrac{f(a+h)-f(a)}{h}. The derivative of ff at aa, written f′(a)f'(a), is the limit of the difference quotient as h→0h\to0:

f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \lim_{h\to0} \frac{f(a+h)-f(a)}{h}

when this limit exists. Geometrically, f′(a)f'(a) is the gradient of the tangent line to y=f(x)y=f(x) at x=ax=a.

The derivative is not a new kind of object invented from nothing — it is exactly the average-rate-of-change calculation from Section 1, with a limit applied to shrink the interval to a single instant. Every technique from Chapter 1 for resolving indeterminate forms is about to earn its keep, because direct substitution of h=0h=0 into the difference quotient always gives 00\frac00.

3. Computing a Derivative from the Definition

Worked example. Find f′(2)f'(2) for f(x)=x2f(x) = x^2 directly from the definition.

f′(2)=lim⁡h→0f(2+h)−f(2)h=lim⁡h→0(2+h)2−22hf'(2) = \lim_{h\to0} \frac{f(2+h)-f(2)}{h} = \lim_{h\to0} \frac{(2+h)^2 - 2^2}{h}

Expand the numerator:

(2+h)2−4=4+4h+h2−4=4h+h2=h(4+h)(2+h)^2 - 4 = 4 + 4h + h^2 - 4 = 4h+h^2 = h(4+h)

so

f′(2)=lim⁡h→0h(4+h)h=lim⁡h→0(4+h)=4f'(2) = \lim_{h\to0} \frac{h(4+h)}{h} = \lim_{h\to0} (4+h) = 4

The factor of hh that caused the 00\frac00 form cancels exactly, which is no coincidence: h=0h=0 is always a root of the numerator of a difference quotient, because f(a+0)−f(a)=0f(a+0)-f(a) = 0. This guarantees a common factor of hh exists to cancel, provided ff is built from polynomials.

4. An Alternative Form of the Definition

Setting x=a+hx = a+h (so h=x−ah = x-a, and h→0h\to0 corresponds to x→ax\to a), the derivative can equivalently be written as

f′(a)=lim⁡x→af(x)−f(a)x−af'(a) = \lim_{x\to a} \frac{f(x)-f(a)}{x-a}

This form makes the connection to Chapter 1 explicit: f′(a)f'(a) is precisely lim⁡x→a\displaystyle\lim_{x\to a} of the slope between a general point xx and the fixed point aa — another 00\frac00 limit, resolved by exactly the factor-and-cancel method practised there.

Worked example. Use this form to find f′(3)f'(3) for f(x)=x2−2xf(x) = x^2 - 2x.

f′(3)=lim⁡x→3(x2−2x)−(9−6)x−3=lim⁡x→3x2−2x−3x−3f'(3) = \lim_{x\to3} \frac{(x^2-2x) - (9-6)}{x-3} = \lim_{x\to3} \frac{x^2-2x-3}{x-3}

Factor the numerator: x2−2x−3=(x−3)(x+1)x^2-2x-3=(x-3)(x+1), so

f′(3)=lim⁡x→3(x−3)(x+1)x−3=lim⁡x→3(x+1)=4f'(3) = \lim_{x\to3} \frac{(x-3)(x+1)}{x-3} = \lim_{x\to3}(x+1) = 4

5. Why Continuity Is Necessary (But Not Sufficient) for Differentiability

Key distinction. If f′(a)f'(a) exists, ff is called differentiable at aa. Every differentiable function is continuous at that point, but a continuous function need not be differentiable.

The first half follows from the algebra of limits: if f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a) = \displaystyle\lim_{h\to0}\frac{f(a+h)-f(a)}{h} exists, then

lim⁡h→0[f(a+h)−f(a)]=lim⁡h→0[f(a+h)−f(a)h⋅h]=f′(a)⋅0=0\lim_{h\to0} \big[f(a+h)-f(a)\big] = \lim_{h\to0}\left[\frac{f(a+h)-f(a)}{h}\cdot h\right] = f'(a)\cdot 0 = 0

so lim⁡h→0f(a+h)=f(a)\displaystyle\lim_{h\to0}f(a+h) = f(a), which is exactly the continuity condition. The converse fails: f(x)=∣x∣f(x)=|x| is continuous at x=0x=0 (Chapter 3), yet its difference quotient there is ∣h∣−0h=∣h∣h\dfrac{|h|-0}{h} = \dfrac{|h|}{h}, which equals 11 for h>0h>0 and −1-1 for h<0h<0 — a jump, so the limit (and hence f′(0)f'(0)) does not exist. A corner in a graph is continuous but not differentiable: the left-hand and right-hand tangent "directions" disagree.

6. The Derivative as an Instantaneous Rate of Change

Beyond its geometric meaning as a tangent gradient, f′(a)f'(a) has a physical reading: it is the instantaneous rate of change of ff with respect to xx, at x=ax=a — the value the average rate of change approaches as the interval over which it is measured shrinks to nothing. This is why the derivative of a position function with respect to time gives instantaneous velocity (a theme developed fully in a later chapter of this block): velocity is nothing but the rate of change of position, evaluated at an instant rather than averaged over a stretch of time.

7. Estimating a Derivative Numerically

When an algebraic formula for ff is unavailable or unwieldy, f′(a)f'(a) can be estimated by evaluating the difference quotient for a small, fixed value of hh (not a limit, since hh is not actually sent to 00, but a close approximation):

f′(a)≈f(a+h)−f(a)hfor small hf'(a) \approx \frac{f(a+h)-f(a)}{h} \quad \text{for small } h

Worked example. Estimate f′(1)f'(1) for f(x)=xf(x)=\sqrt{x} using h=0.01h=0.01.

f′(1)≈f(1.01)−f(1)0.01=1.004988…−10.01≈0.4988f'(1) \approx \frac{f(1.01)-f(1)}{0.01} = \frac{1.004988\ldots - 1}{0.01} \approx 0.4988

This is already close to the exact value f′(1)=12f'(1)=\tfrac12, found algebraically once the general power rule is established in the next chapter. Smaller hh gives a closer estimate, at the cost of needing more decimal precision to avoid rounding error swamping the genuinely small numerator.

Common Exam Pitfalls

  • Substituting h=0h=0 directly into the difference quotient and stopping at 00\frac00. This is always the starting indeterminate form, never the final answer — algebraic simplification (expansion and cancellation) must happen first.
  • Forgetting to expand (a+h)2(a+h)^2 or similar fully. A dropped cross term is the most common algebra slip in this entire calculation.
  • Treating the two forms of the definition as different results. lim⁡h→0f(a+h)−f(a)h\lim_{h\to0}\frac{f(a+h)-f(a)}{h} and lim⁡x→af(x)−f(a)x−a\lim_{x\to a}\frac{f(x)-f(a)}{x-a} are the same derivative, just with a different substitution for the shrinking interval.
  • Believing continuity guarantees differentiability. f(x)=∣x∣f(x)=|x| at x=0x=0 is the standard counterexample: continuous, but with disagreeing one-sided difference-quotient limits.
  • Confusing the average rate of change over an interval with the instantaneous rate at a point. They coincide only if the function's rate of change happens to be constant over that interval (e.g. a straight line).
  • Treating a numerical derivative estimate as exact. A finite hh gives an approximation whose error shrinks as h→0h\to0, not the true limiting value itself.

Summary

  • The average rate of change of ff from aa to a+ha+h is f(a+h)−f(a)h\dfrac{f(a+h)-f(a)}{h}, the gradient of the secant line.
  • The derivative f′(a)=lim⁡h→0f(a+h)−f(a)h=lim⁡x→af(x)−f(a)x−af'(a) = \displaystyle\lim_{h\to0}\dfrac{f(a+h)-f(a)}{h} = \displaystyle\lim_{x\to a}\dfrac{f(x)-f(a)}{x-a} is the gradient of the tangent line, found by resolving an inevitable 00\frac00 form.
  • Computing a derivative from the definition always involves expanding the numerator, factoring out hh (or x−ax-a), cancelling, then substituting.
  • Differentiability implies continuity, but not conversely: ∣x∣|x| at x=0x=0 is continuous with a corner, where the one-sided difference quotients disagree.
  • The derivative is the instantaneous rate of change, the limiting value the average rate of change approaches as the interval shrinks to a point.
  • A derivative can be estimated numerically using a small fixed hh when an exact algebraic computation is unavailable, with accuracy improving as h→0h\to0.