Calculus I · The Slope of a Single Point

The derivative is a function

Look back at what we found: f′(a)=2af'(a) = 2a held for every value of aa. So the derivative isn’t really a single number attached to one point — it’s a rule that takes any point and returns the slope there. That rule is itself a function, and we write it with the variable xx:

ddxx2=2x,ddxx3=3x2,ddx1x=−1x2,ddxx=12x.\frac{d}{dx}\,x^2 = 2x, \qquad \frac{d}{dx}\,x^3 = 3x^2, \qquad \frac{d}{dx}\frac1x = -\frac{1}{x^2}, \qquad \frac{d}{dx}\sqrt{x} = \frac{1}{2\sqrt{x}}.

This reframe is bigger than it looks, and the rest of the book depends on it. The derivative of ff is a new function f′f', which you can then graph, evaluate, or differentiate again (giving f″f'', the second derivative — the star of Chapters 7 and 8). The derivative is not just an answer; it’s an object you can keep working with.

A word on notation, because you’ll see two styles everywhere. Lagrange’s f′(x)f'(x) is compact — “ff prime of xx.” Leibniz’s dfdx\dfrac{df}{dx} or dydx\dfrac{dy}{dx} keeps the idea of the difference quotient visible: it’s the limit of ΔyΔx\dfrac{\Delta y}{\Delta x} (change in output over change in input) as the changes shrink to nothing. The symbol ddx\dfrac{d}{dx} all by itself is read as an operator — “take the derivative with respect to xx of whatever comes next.” Both names mean the identical thing; we’ll use whichever is clearer, and you should grow comfortable with both. (Leibniz’s notation will earn its keep especially in Chapter 4’s chain rule, where it almost does the thinking for you.)


The most physical version: velocity

The reason this idea felt urgent to the people who invented it was motion. Let s(t)s(t) be the position of a moving object at time tt. Over a time interval, its average speed is (change in position)/(change in time) — a difference quotient. Shrink the interval to an instant, and you get the instantaneous velocity: the number on the speedometer, the rate of change of position right now.

v(t)=s′(t)=limh→0s(t+h)−s(t)h.v(t) = s'(t) = \lim_{h\to 0}\frac{s(t+h) - s(t)}{h}.

Worked example — a thrown ball. Throw a ball straight up, and (ignoring air, with gravity rounded to 10m/s210\,\text{m/s}^2) its height after tt seconds is s(t)=−5t2+20ts(t) = -5t^2 + 20t meters. Its velocity is the derivative — which we compute the only way we know, from the definition:

s(t+h)−s(t)h=−5(t+h)2+20(t+h)−(−5t2+20t)h=−10th−5h2+20hh=−10t−5h+20,\frac{s(t+h) - s(t)}{h} = \frac{-5(t+h)^2 + 20(t+h) - (-5t^2 + 20t)}{h} = \frac{-10th - 5h^2 + 20h}{h} = -10t - 5h + 20,

so v(t)=s′(t)=−10t+20v(t) = s'(t) = -10t + 20. At launch (t=0t = 0) the ball rises at 20m/s20\,\text{m/s}; the velocity drops steadily; and at t=2t = 2 it hits v=0v = 0 — the ball is momentarily not moving, which is exactly the top of its flight, the instant before it falls back. Hold onto that: the highest point is where the velocity (the derivative) is zero. That is your first glimpse of Chapter 8, where every maximum and minimum is found by setting the derivative to zero. (Figure 3.3: the height curve s(t)s(t) as an arch, with the velocity arrows shrinking to zero at the peak and reversing after.)

Figure 3.3
Figure 3.3

All 12 chapters of Calculus I · Foundations · All courses