Calculus I · The Slope of a Single Point

The tangent line: a function’s best straight-line stand-in

The derivative hands you the slope of the tangent at aa, and with a slope and a point you can write the tangent line:

Figure 3.4
Figure 3.4

y=f(a)+f′(a)(x−a)\boxed{\;y = f(a) + f'(a)(x - a)\;}

Example. The tangent to y=x2y = x^2 at x=1x = 1: here f(1)=1f(1) = 1 and f′(1)=2(1)=2f'(1) = 2(1) = 2, so the line is y=1+2(x−1)=2x−1y = 1 + 2(x - 1) = 2x - 1. Near x=1x = 1, the curve x2x^2 and the line 2x−12x - 1 are almost indistinguishable.

That “almost indistinguishable near aa” is a profound idea in disguise, and we’ll name it fully in Chapter 7: the tangent line is the best straight-line approximation of a curve near a point. Zoom in on any smooth curve far enough and it looks straight — and the straight line it looks like is the tangent, whose slope is the derivative. To know a function’s derivative at aa is to know the simplest possible model of it right there.


◆ Layer 2 — When a function has no slope, and what that has to do with Chapter 2

The derivative is a limit, and limits don’t always exist — so neither do derivatives. The cleanest example is one you already know the shape of: f(x)=|x|f(x) = |x| at x=0x = 0. It’s a perfectly continuous function (you can draw it without lifting your pen), but it has a sharp corner at the origin, and a corner has no single slope. Watch the difference quotient confirm it. At a=0a = 0, the quotient is |0+h|−0h=|h|h\dfrac{|0 + h| - 0}{h} = \dfrac{|h|}{h}, which is the sign function from Chapter 2: - from the right (h>0h > 0): |h|h=+1\tfrac{|h|}{h} = +1; - from the left (h<0h < 0): |h|h=−1\tfrac{|h|}{h} = -1.

The two one-sided limits disagree, so the two-sided limit — the derivative — does not exist. This is exactly the |x|x\tfrac{|x|}{x} jump from Chapter 2, reappearing as the slope of |x||x|. The corner of one graph is the jump of its derivative.

So differentiability is genuinely stronger than continuity — every differentiable function is continuous (proved below), but not every continuous function is differentiable. Corners (like |x||x|), cusps, and vertical tangents are all continuous-but-not-differentiable. This is the third floor of the “smoothness has consequences” story from Chapters 2 and 6, seen from below: differentiability asks for more than continuity, and a function can pass the first test and fail the second.

Figure 3.5
Figure 3.5

◆ Layer 2 — Proof that differentiable ⇒\Rightarrow continuous

Suppose f′(a)f'(a) exists. We must show ff is continuous at aa, i.e. f(a+h)→f(a)f(a+h) \to f(a) as h→0h \to 0. The trick is to write the change in ff as the difference quotient times hh: f(a+h)−f(a)=f(a+h)−f(a)h⏟→f′(a)⋅h.f(a+h) - f(a) = \underbrace{\frac{f(a+h) - f(a)}{h}}_{\to\, f'(a)} \cdot \; h. As h→0h \to 0, the first factor approaches the finite number f′(a)f'(a) and the second approaches 00, so the product approaches f′(a)⋅0=0f'(a)\cdot 0 = 0. Therefore f(a+h)→f(a)f(a+h) \to f(a): ff is continuous at aa. ◼\blacksquare (The converse fails — |x||x| is the counterexample — so “differentiable” sits strictly above “continuous.”)


All 12 chapters of Calculus I · Foundations · All courses