Wait, That’s It?

The Limit: Is the Slope 6, or Nothing?

The derivative isn't the slope of any chord; it's the number the chord slopes head for, found by doing the algebra while the gap is still not zero.

Calculus 1.1: From slope to limit, the companion

Wait, That's It? · the notebook for "Is the Slope 6, or Nothing? The Limit | Calculus 1.1"

The episode in one sentence: the derivative isn't the slope of any chord; it's the number the chord slopes head for, found by doing the algebra while the gap is still not zero.

Where this sits: Calculus 1.1, the limit and the definition of the derivative (Stewart, Calculus: Early Transcendentals, §2.2 and §2.7).

How to use it: run the first code cell (Shift + Enter, or Runtime → Run all), then drag the sliders. In order:

  1. Play: slide the chord in from both sides, predict a slope, then poke the hole of x2−9x−3\frac{x^2-9}{x-3}.
  2. FAQ: the questions students ask about this section.
  3. Practice: four textbook-style problems, easiest first, answers hidden until you click.
  4. One open question to think about.
  5. Optional side trips: the formal ε–δ statement, and why a computer can't just use a tiny gap.

1. Play

The chord, from both sides

A chord through (3,9)(3, 9) and a second point (3+h,(3+h)2)(3 + h, (3 + h)^2) on y=x2y = x^2. The run (orange) is the gap hh; the rise (yellow) is the second height minus the first. Drag the gap toward 0 from the right, then from the left. Every chord's slope is exactly 6+h6 + h: close to 6, never 6. At h=0h = 0 there is no chord at all.

The right panel zooms in with the gap, as the film's magnifier does: at a gap of 0.001 the two points are too close to tell apart on the left, but the zoomed view still shows them apart, and the chord all but on the curve.

The curve y = x squared with a chord from (3, 9) to the point at x = 4.000. The run is the gap, the rise is the second height minus the first.12345101520
The same two points, magnified 1 times: still apart, with the chord close to the curve.zoom ×1
gap h
+1.000
zoom
×1
slope = 6 + h
7.000
+1.000

Predict, then reveal

On the same curve y=x2y = x^2, take the point at x=−2x = -2 instead. Before you run the next cell, write down the number you think the chord slopes head for as the gap shrinks. Then run it.

Show the answer
gap hchord slope
+0.100−3.9000
+0.010−3.9900
+0.001−3.9990
−0.001−4.0010
−0.010−4.0100
−0.100−4.1000

The slopes are −4+h-4 + h, so from both sides they head for −4-4. That is 2x2x at x=−2x = -2: the same algebra as the episode's, (x+h)2−x2h=2x+h\frac{(x+h)^2 - x^2}{h} = 2x + h while h≠0h \neq 0, which heads for 2x2x. A negative number makes sense: at x=−2x = -2 the parabola is going downhill.

The hole

x2−9x−3\frac{x^2 - 9}{x - 3} is the chord slope from 3 to xx (it is the episode's fraction with x=3+hx = 3 + h). Away from 3 it equals x+3x + 3, a straight line. At x=3x = 3 it is 00\frac{0}{0}: no value, a hollow point. Drag xx toward 3 from either side and watch the value.

The line x + 3 with a hollow point at (3, 6), and the fraction's value marked at x = 2.50.1.52.02.53.03.54.04.54.55.05.56.06.57.07.5
x
2.50
(x² − 9)/(x − 3)
5.50
2.50

2. FAQ: where students get stuck

  1. Isn't the limit just plugging in?
  2. Why can't hh be zero?
  3. Can we even divide by hh?
  4. But the slopes never reach 6?
  5. Does the limit have to equal the value at the point?
  6. Is dydx\frac{dy}{dx} a fraction?

1. Isn't the limit just plugging in?

Often it gives the same number, which is why it feels that way: plug 3 into x+3x + 3 and you get 6. But the limit never uses the value at 3. It asks where the values head as xx comes close. For x2−9x−3\frac{x^2 - 9}{x - 3}, plugging in gives 00\frac{0}{0}, no number, while the limit is 6. The derivative is always this case: at h=0h = 0 the chord's slope is 00\frac{0}{0}, so plugging in can never give it.

2. Why can't hh be zero?

A chord needs two points. At h=0h = 0 the two points are one: rise 0, run 0, and 00\frac{0}{0} is not a number. So the algebra is done while h≠0h \neq 0, and only the simplified answer, 2x+h2x + h, which no longer divides by hh, is asked where it heads as h→0h \to 0.

3. Can we even divide by hh?

Yes, because hh is not zero while we do it. 2xh+h2h=2x+h\frac{2xh + h^2}{h} = 2x + h is true for every h≠0h \neq 0. The limit then asks about hh near 0, never at 0. (This is the student's question in the episode.)

4. But the slopes never reach 6?

They don't need to. "The limit is 6" means the slopes come within any tolerance of 6 you name, for every gap that is small enough: within 0.1 of 6 for every gap within ±0.1, within 0.05 for every gap within ±0.05, and so on for any tolerance, because the slope 6+h6 + h is off from 6 by exactly the gap. No other number passes every tolerance. That is the ε–δ definition; see the Optional section, and Calculus 2.2.

5. Does the limit have to equal the value at the point?

No. x2−9x−3\frac{x^2 - 9}{x - 3} has no value at 3, and its limit there is 6. Even a function defined as x+3x + 3 everywhere except g(3)=0g(3) = 0 has limit 6 at 3: the limit ignores the point itself. When the limit does equal the value, the function is called continuous there (Stewart §2.5, Calculus 2.3).

6. Is dydx\frac{dy}{dx} a fraction?

Not as written: dydy and dxdx are not numbers here. dydx\frac{dy}{dx} is the limit of a real fraction, ΔyΔx\frac{\Delta y}{\Delta x}, the rise over the run, and the notation keeps the shape of the fraction it came from. That shape is why some rules look like fraction arithmetic (you'll see it in the chain rule), but the derivative itself is one number for each xx.

3. Practice

Four problems in the textbook's notation, easiest first. Try each on paper, then click to check.

Problem 1.

Find lim⁡x→2x2−4x−2\displaystyle \lim_{x \to 2} \frac{x^2 - 4}{x - 2}.

Show the answer
  • Plugging in x=2x = 2 gives 00\frac{0}{0}, so plugging in doesn't answer it.
  • Factor the top: x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2) (a difference of squares).
  • For x≠2x \neq 2, cancel the common factor: (x−2)(x+2)x−2=x+2\frac{(x - 2)(x + 2)}{x - 2} = x + 2. Cancelling is allowed because x−2≠0x - 2 \neq 0 there, and the limit only looks at x≠2x \neq 2.
  • x+2x + 2 heads for 2+2=42 + 2 = 4 as x→2x \to 2.
lim⁡x→2x2−4x−2=4\lim_{x \to 2} \frac{x^2 - 4}{x - 2} = 4

Problem 2.

Let g(x)=x2g(x) = x^2 for x<2x < 2 and g(x)=x+3g(x) = x + 3 for x>2x > 2 (no value at 2). Find lim⁡x→2−g(x)\displaystyle \lim_{x \to 2^-} g(x) and lim⁡x→2+g(x)\displaystyle \lim_{x \to 2^+} g(x). Does lim⁡x→2g(x)\displaystyle \lim_{x \to 2} g(x) exist?

Show the answer
  • From the left, x<2x < 2, so g(x)=x2g(x) = x^2, which heads for 22=42^2 = 4. So lim⁡x→2−g(x)=4\lim_{x \to 2^-} g(x) = 4.
  • From the right, x>2x > 2, so g(x)=x+3g(x) = x + 3, which heads for 2+3=52 + 3 = 5. So lim⁡x→2+g(x)=5\lim_{x \to 2^+} g(x) = 5.
  • The two one-sided limits differ (4≠54 \neq 5), so the two-sided limit does not exist. (In the episode both sides gave 6, which is why the limit at 3 was 6.)

Problem 3.

Let f(x)=x2+3xf(x) = x^2 + 3x. Find f′(x)f'(x) from the definition f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}.

Show the answer
  • The second height: f(x+h)=(x+h)2+3(x+h)=x2+2xh+h2+3x+3hf(x + h) = (x + h)^2 + 3(x + h) = x^2 + 2xh + h^2 + 3x + 3h (multiply out the square).
  • The rise: f(x+h)−f(x)=2xh+h2+3hf(x + h) - f(x) = 2xh + h^2 + 3h (the x2x^2 and 3x3x cancel).
  • Over the run, while h≠0h \neq 0: 2xh+h2+3hh=2x+h+3\frac{2xh + h^2 + 3h}{h} = 2x + h + 3 (divide each term by hh, allowed since h≠0h \neq 0).
  • Let h→0h \to 0: 2x+h+32x + h + 3 heads for 2x+32x + 3.
f′(x)=2x+3f'(x) = 2x + 3

Check: at x=0x = 0 the slope is 3, the slope of the 3x3x part alone, since x2x^2 is flat at 0.

Problem 4.

Let f(x)=1xf(x) = \frac{1}{x}. Find f′(x)f'(x) from the definition, for x≠0x \neq 0.

Show the answer
  • The rise: f(x+h)−f(x)=1x+h−1x=x−(x+h)x(x+h)=−hx(x+h)f(x + h) - f(x) = \frac{1}{x + h} - \frac{1}{x} = \frac{x - (x + h)}{x(x + h)} = \frac{-h}{x(x + h)} (common denominator x(x+h)x(x + h)).
  • Over the run, while h≠0h \neq 0: −hx(x+h)⋅1h=−1x(x+h)\frac{-h}{x(x + h)} \cdot \frac{1}{h} = \frac{-1}{x(x + h)} (the hh cancels, allowed since h≠0h \neq 0).
  • Let h→0h \to 0: x(x+h)x(x + h) heads for x2x^2, so the slope heads for −1x2-\frac{1}{x^2} (fine for x≠0x \neq 0).
f′(x)=−1x2f'(x) = -\frac{1}{x^2}

Check: the slope is negative everywhere, and 1x\frac{1}{x} does go downhill on both sides of 0. At x=1x = 1 it is −1-1.

4. One open question

For f(x)=x2f(x) = x^2, f′(x)=2xf'(x) = 2x. Do the same triangle on y=x3y = x^3: what does (x+h)3−x3h\frac{(x+h)^3 - x^3}{h} become while h≠0h \neq 0, and what does it head for? Then try x4x^4. Is there a pattern that would give you x100x^{100} without multiplying anything out? (That is Calculus 1.2.)

Optional: the formal statement (epsilon and delta)

A side trip: the precise definition gets an episode of its own, Calculus 2.2 (Stewart §2.4). Here is just the statement, on this episode's picture.

lim⁡h→0slope(h)=6\lim_{h \to 0} \text{slope}(h) = 6 means: for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 such that 0<∣h∣<δ0 < |h| < \delta implies ∣slope(h)−6∣<ε|\text{slope}(h) - 6| < \varepsilon.

Here slope(h)=6+h\text{slope}(h) = 6 + h, so ∣slope(h)−6∣=∣h∣|\text{slope}(h) - 6| = |h|: the slope is off from 6 by exactly the gap. So δ=ε\delta = \varepsilon always works. Drag the tolerance: the yellow band is 6±ε6 \pm \varepsilon, the orange strip is the gaps with ∣h∣<δ|h| < \delta, and the line inside the strip always stays inside the band.

The slope 6 + h against the gap h. A band of slopes within 0.50 of 6, and a strip of gaps within 0.50 of 0: the line inside the strip stays inside the band.−1.0−0.50.00.51.05.56.06.57.0slopegap h
ε
0.50
δ = ε
0.50

every 0 < |h| < δ lands inside 6 ± ε

0.50

Optional: why a computer can't just use a tiny gap

A side trip into how computers store numbers; nothing in the episode depends on it.

If the limit is where the slopes head for tiny gaps, why not let a computer try h=10−16h = 10^{-16}? Because a computer keeps about 16 significant digits. At 3+10−163 + 10^{-16} the gap is lost entirely: the computer stores 3, the rise comes out 0, and the "slope" is 0. Even well before that, the rise is a tiny difference of two nearly equal numbers and loses digits. Run the cell: the error falls as the gap shrinks, then climbs again.

gap hslopeerror
1e-16.1000000000001.0e-01
1e-26.0100000000001.0e-02
1e-36.0009999999991.0e-03
1e-46.0001000000121.0e-04
1e-56.0000099999511.0e-05
1e-66.0000010009281.0e-06
1e-76.0000000878808.8e-08
1e-85.9999999635353.6e-08
1e-96.0000004964425.0e-07
1e-106.0000004964425.0e-07
1e-116.0000004964425.0e-07
1e-126.0005334034945.3e-04
1e-136.0040861171734.1e-03
1e-146.2172489379012.2e-01
1e-155.3290705182016.7e-01
1e-160.0000000000006.0e+00

The algebra avoids all of this: (3+h)2−9h=6+h\frac{(3+h)^2 - 9}{h} = 6 + h exactly, for every h≠0h \neq 0, and 6+h6 + h heads for 6. The limit is found by algebra, not by a very small number.

From the film

Where this sits: Calculus 1.1, the Deep Dive after Calculus 1 (Big Idea): https://youtu.be/ZBqtb7uhrkI

Textbook: James Stewart, Calculus: Early Transcendentals, 9th ed., §2.2 (The Limit of a Function) and §2.7 (Derivatives and Rates of Change).

Next: Calculus 1.2, the power rule.

Sources

The drawings are made with generative AI and drawn on stroke by stroke; the graphs and equations are made by code. The narration is a synthetic voice.