Introduction
Differentiation asks, at a single point on a curve, "how steep is it at this instant?" But the very word slope is normally defined using two points: it is the difference in their heights divided by the horizontal distance between them. Measuring a slope at a place with only one point sounds, at first, as contradictory as being told to clap with one hand.
The way out of this contradiction is to turn a secant into a tangent. First mark two points on the curve and draw the straight line (the secant) joining them; then slide the two points closer and closer together. By the time they nearly coincide, that line gets endlessly close to a tangent that merely grazes the curve. The slope of the tangent — that is precisely the "instantaneous slope" at that single point.
Here a troublesome scene appears. The instant the two points fully coincide, the slope formula's numerator becomes 0 and its denominator becomes 0 as well. Zero divided by zero — the dead end we met in an earlier post — turns up again. This post has two goals: to grasp, with a picture, why a secant turns into a tangent, and to reveal, with algebra, why that computation does not collapse into zero over zero. And where those two threads meet sits exactly the definition of the derivative.
1. The secant — a slope you can measure only with two points
Let us first put the symbols into plain words. On the curve \(y = f(x)\), call one reference point \(P\), and call its \(x\)-coordinate simply \(x\). Take a second point a little to the side of it, call it \(Q\), and write that horizontal distance as \(\Delta x\) (delta x). Here \(\Delta\) is just a symbol meaning "an amount of change," so \(\Delta x\) reads simply as "a small gap opened up horizontally."
The coordinates of the two points are these.
$$P = (x,\; f(x)), \qquad Q = (x + \Delta x,\; f(x + \Delta x))$$The straight line joining these two points is the secant. Its slope follows the definition of slope exactly — "the change in height divided by the change across."
$$\text{slope of the secant} = \frac{f(x + \Delta x) - f(x)}{\Delta x}$$- Intuition: it is the grade of the shortcut running straight between the two points. When the points are far apart, it is closer to an "average grade" that smears out the curve's bends.
- Explanation: the numerator is the height difference between the two points; the denominator is the gap \(\Delta x\) opened up across.
- Formula: that one fraction above is all there is to the secant's slope.
When \(\Delta x\) is large, the secant cuts across the curve and flattens its bends. The smaller \(\Delta x\) gets, the closer the two points come, and the more tightly the secant hugs the curve.
2. Slide the two points together — and the secant becomes a tangent
Now push \(Q\) toward \(P\); that is, shrink the gap \(\Delta x\) toward zero. As the gap shrinks, the secant loses its "cutting across" character and turns into a line that merely touches the curve at point \(P\). This limiting line is the tangent, and its slope is exactly the instantaneous slope we were after.
Put in words, this is "sending \(\Delta x\) to zero," which we write with the limit symbol \(\lim\). Here \(\lim\) means "the value being headed toward as you approach without bound." So the instantaneous slope is defined like this.
$$f'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x) - f(x)}{\Delta x}$$This one line is the definition of the derivative. Here \(f'(x)\) is "the instantaneous slope at the point \(x\)" — that is, the value of the derivative. The fraction on the right is the secant's slope we just saw, and the \(\lim\) in front of it is the instruction, "narrow the gap \(\Delta x\) toward zero and catch the value that slope heads toward."
The trouble comes when you follow this instruction too literally. Substitute 0 straight into \(\Delta x\), and the numerator becomes \(f(x) - f(x) = 0\) and the denominator becomes \(\Delta x = 0\). The result is \(\dfrac{0}{0}\). As we saw in zero divided by zero, this is not "there is no value" but an indeterminate form meaning "we do not know yet." So you must not rush the substitution — not because the answer is truly absent, but because it has simply not been revealed yet.
3. Order is everything — cancel first, substitute later
Here is the one key sentence of this post. Before you make the gap zero, first cancel the gap out of the denominator. Merely swapping the order of substitution and canceling lets you dodge the zero-over-zero trap entirely.
Let us do it directly with the simplest curve, \(f(x) = x^2\). Plugging it into the definition, we start here.
$$\frac{(x + \Delta x)^2 - x^2}{\Delta x}$$① Expand — expand the square in the numerator.
$$\frac{x^2 + 2x\,\Delta x + (\Delta x)^2 - x^2}{\Delta x}$$② Simplify — the \(x^2\) terms cancel, leaving only terms carrying \(\Delta x\).
$$\frac{2x\,\Delta x + (\Delta x)^2}{\Delta x}$$Up to here there is still a \(\Delta x\) in the denominator. If you plug in \(\Delta x = 0\) now, numerator and denominator become 0 together, giving \(\dfrac{0}{0}\) — still the hazard zone.
③ Cancel — divide numerator and denominator by \(\Delta x\). Both terms in the numerator carry one \(\Delta x\) each, so they cancel cleanly.
$$2x + \Delta x$$This is the decisive moment. The \(\Delta x\) in the denominator is gone. With no division left, the zero-over-zero hazard has switched fully off.
④ Limit — only now do we safely apply \(\Delta x \to 0\). The leftover \(\Delta x\) term vanishes, leaving just the instantaneous slope.
$$f'(x) = \lim_{\Delta x \to 0} (2x + \Delta x) = 2x$$- Intuition: kill the dangerous division first, and then plugging in zero does nothing alarming.
- Explanation: the secant's slope was always the perfectly ordinary value \(2x + \Delta x\) for \(\Delta x \ne 0\). It looked like 0/0 only because the substitution was made too early.
- Formula: the derivative of \(f(x) = x^2\) is \(f'(x) = 2x\).
To underline the point once more: the secant's slope was never zero over zero to begin with. As long as \(\Delta x\) was not zero, it always held the crisp value \(2x + \Delta x\); it only disguised itself as \(\dfrac{0}{0}\) when we hastily substituted zero before seeing that fact. Canceling strips off that disguise and reveals the true value that was hiding underneath.
4. Why is canceling allowed — "in the middle of approaching," it is not zero yet
You might doubt: "Can we really divide numerator and denominator by \(\Delta x\)? If \(\Delta x\) is zero, isn't that the forbidden divide-by-zero?" Here the essence of a limit comes in.
The limit \(\lim_{\Delta x \to 0}\) does not deal with the instant \(\Delta x\) becomes zero; it deals with the process of approaching zero. Throughout that process, \(\Delta x\) is a nonzero value — be it 0.1 or 0.001. Dividing by a nonzero number is of course allowed, so the cancellation is legitimate.
So the logical order runs like this. First, with \(\Delta x \ne 0\), finish canceling to get the clean expression \(2x + \Delta x\). That expression has no trouble at all when you plug in \(\Delta x = 0\) (there is no denominator anymore). Only then do you substitute zero. The hazard disappeared thanks to postponing the substitution. This is the real reason differentiation gives a value even though it looks like 0/0.
5. Check it yourself in the interactive below
Let us join the two stories so far — the picture of a secant turning into a tangent, and the computation where canceling switches off the hazard — on one screen.
- Press the step buttons ① Expand → ② Simplify → ③ Cancel → ④ Limit in turn, and as the expression on the left tidies up, in the graph above point \(Q\) slides into point \(P\), and the secant (orange) turns into the tangent (green).
- Watch the zero-over-zero warning light. At steps ① and ② it is red (there is still a \(\Delta x\) in the denominator, so it is hazardous), but at step ③ Cancel it turns green. That is the very instant the \(\Delta x\) leaves the denominator.
- Move the \(x\) of point \(P\) with the slider below, and the tangent slope \(2x\) and this step's secant slope \(2x + \Delta x\) update together. At step ④, where \(\Delta x\) is close to zero, you can see the two become nearly equal.
Handling it, you feel with your fingertips that the instantaneous slope is not mysterious magic but an honest computation that keeps the order of canceling and substituting.
6. Summary — reading the derivative definition again
Now you can read the definition of the derivative with different eyes than at the start.
$$f'(x) = \lim_{\Delta x \to 0} \frac{f(x + \Delta x) - f(x)}{\Delta x}$$- The fraction part is the secant's slope — the average grade joining the two points \(P\) and \(Q\).
- The \(\lim_{\Delta x \to 0}\) in front is the act of sliding the two points together — the hand that turns a secant into a tangent.
- And the reason that transformation does not run aground on zero over zero is that we cancel first and substitute later.
Keeping a slope that needed two points, even as you fuse the two points into one — that is differentiation. And the trick lies not in anything grand, but in a single matter of order: "cancel before you make it zero."
Closing
The definition of the derivative is a spot where three different stories overlap in one formula. Seen geometrically, it is the limit in which a secant turns into a tangent; seen algebraically, it is the computation in which canceling clears away zero over zero; seen in meaning, it is the instantaneous slope at a single point. All three point to the same \(f'(x)\).
The next step is to apply this definition directly to several functions. A function like a straight line whose slope is always constant, a downhill function whose slope is negative, a function that grows ever gentler — differentiate each by the definition, and you see just how precisely the derivative reads off the behavior of the graph.
Related posts
- Why Is 0 Divided by 0 'Not Nothing' but 'Not Yet Known' — The Hidden Limit That Canceling Reveals — the identity of the very indeterminate form today's canceling rescued.
- Why Is a Derivative an 'Instantaneous Slope' — It Looks Like 0/0, So Why Is It Fine — a sister post that narrows the secant onto the tangent with a slider.
- Why Can a Function Value and a Limit Value Differ — The Value Arrived At and the Value Approached — the root that "a limit is approaching, not arriving," which held up today's canceling.