A derivative is a rate of change: average over an interval, instantaneous in the limit. Limits come in easy and hard kinds, and from the left or the right. A function is continuous where its limit equals its value; everywhere else it has a jump, removable, infinite or worse discontinuity. Two trigonometric limits and the theorem "differentiable implies continuous" prepare the rules of differentiation.
Lecture 1 met the derivative as a slope. Lecture 2 of MIT's 18.01 finishes the picture with a second meaning, a rate of change, and then gets "back down to some rigorous details", as Professor Jerison puts it: the limits and continuity on which every differentiation formula rests.
Charge and current. If q is electric charge, dq/dt is the current.
Distance and speed. If s is distance, ds/dt is the speed. Jerison illustrates it with MIT's Halloween pumpkin drop. The building is about 300 feet high; he uses 80 m "because that makes the numbers come out simply", with the height h=80−5t2. The pumpkin lands at t=4 s; its average velocity is (0−80)/(4−0)=−20 m/s, but its velocity on impact is h′(4)=−40 m/s, twice as fast and about 90 miles an hour. (Asked where the formula comes from, he points to the physics course, 8.01: differentiating twice gives the acceleration of gravity, 10 m/s² in this rounded model; he says "10 meters per second", a slip for metres per second squared.)
Temperature gradient. If T is temperature and x position, dT/dx is the temperature gradient; differences in temperature drive the winds, so weather forecasting cares about it.
Sensitivity of measurements. In a simplified "flat Earth" model of GPS (on 18.01's first problem set), your distance L along the ground is worked out from the measured distance h to a satellite. Every measurement has an errorΔh; the resulting error in position is estimated by ΔL≈(dL/dh)Δh. The derivative tells you how sensitive the answer is to the error, which matters when GPS helps land aeroplanes.
Variables need not be time: the same idea measures how anything responds to anything.
Some limits are easy: you just put in the limiting value. Jerison's example is limx→4(x+3)/(x2+1)=7/17; the notes use another,
An easy limit
x→3limx+1x2+x=3+132+3=412=3
In words
the limit as x goes to 3 of the quantity x squared plus x, all over the quantity x plus 1, equals the quantity 3 squared plus 3, all over the quantity 3 plus 1, equals 12 over 4 equals 3
The limit in a derivative is never easy. In limx→x0(f(x)−f(x0))/(x−x0), putting in x=x0 always gives 0/0, so some cancellation is always needed. Note what a limitx→x0 means: x comes as close as you like to x0, but the value x=x0 itself is never used.
the limit as x goes to x nought plus of f(x) (x greater than x nought, right-hand ), the limit as x goes to x nought minus of f(x) (x less than x nought, left-hand )
On the number line, x→x0+ comes from the right (the plus side), x→x0− from the left. (Jerison, writing them on opposite sides of the board, warns that he may mix up "left" and "right", and once does so aloud before correcting himself; the definitions above are the right ones.)
His example is a function given by two formulas, f(x)=x+1 for x>0 and f(x)=−x+2 for x<0. Coming from the right uses the first formula: limx→0+f(x)=1. Coming from the left uses the second: limx→0−f(x)=2. Neither limit needs f(0), which has not even been defined. If we now decide f(0)=1, drawn as a filled dot on the right-hand branch and an open circle on the left, then the value agrees with the right-hand limit but not the left.
This packs in three conditions: the limit exists (the left and right limits exist and are equal), f(x0) is defined, and the two are equal. The left side is computed without ever using the point x0; the right side uses only that point. Continuous functions are exactly those whose limits are easy: you may just put in the value.
Where a function is not continuous, it can fail in several ways.
Jump discontinuity. The left and right limits both exist but are different, as in the example above (1 and 2). Jerison mentions that such questions are not just technical: in Robert Merton's Nobel-prize work on pricing in finance, whether prices are continuous from the left (the past) or the right (the future) mattered.
Removable discontinuity. The left and right limits are equal, but f(x0) is undefined or has some other value: a single hole in the graph. Redefining f(x0) as the limit "removes" it. Two important examples, explained below, are sinx/x and (1−cosx)/x, which are undefined at x=0 but have limits there.
Jerison insists these one-sided limits are worth stating, since they go in definite directions: an infinite fortune and an infinite debt are not the same. Writing limx→01/x=∞ is simply wrong.
Other ("ugly") discontinuities.sin(1/x) oscillates infinitely often as x→0, approaching no value at all, not even ±∞: its limitdoes not exist.
Worked example
Which kind of discontinuity?
Classify the behaviour at the given point. (a) f(x)=x2 for x<1, f(x)=3−x for x≥1, at x=1. (b) g(x)=(x2−4)/(x−2) at x=2.
(a) One-sided limits
From the left, x2→1; from the right, 3−x→2. Both exist but differ: a jump. Since f(1)=3−1=2, f is continuous from the right at 1, not from the left.
(b) Cancel first
g(2) is 0/0, undefined. For x=2, (x2−4)/(x−2)=x+2, so limx→2g(x)=4 from both sides: a removablediscontinuity. Setting g(2)=4 makes gcontinuous.
The derivative's graph need not look like the function's#
Below the graph of 1/x, draw the graph of its derivative, −1/x2. They look nothing alike: 1/x shoots up to +∞ just to the right of 0 and down to −∞ just to the left, while −1/x2 is negative everywhere and goes to −∞ from both sides. The derivative records the slope, not the height: on both branches the hyperbola slopes downwards, steeper and steeper near 0. As the notes add, 1/x is an odd function and its derivative is even; the derivative of an odd function is always even, and vice versa.
The notes give a second picture of the same point ("Pumpkin Drop, Part II", p. 8): a pumpkin thrown up and over the building, with height y=400−16t2 (in feet) for −5≤t≤5. The graph of y is an arch; the graph of its derivative, y′=−32t, is a falling straight line, positive while the pumpkin rises, zero at the top, negative on the way down.
With θ measured in radians (not degrees!), the notes prove two limits that the next lecture needs:
Two trigonometric limits
θ→0limθsinθ=1,θ→0limθ1−cosθ=0
In words
the limit as theta goes to 0 of sine theta over theta equals 1, the limit as theta goes to 0 of the quantity 1 minus cos theta, all over theta equals 0
The geometric reason. On a circle of radius 1, an angle θ cuts off an arc of length θ; the vertical distance from the end of the arc to the horizontal axis is sinθ. As θ shrinks, the arc straightens out and becomes indistinguishable from that vertical segment, so sinθ/θ→1. The horizontal gap between the end of the arc and the circle's rightmost point is 1−cosθ, and as θ→0 it becomes much smaller than the arc θ, so (1−cosθ)/θ→0. In the lecture Jerison states both limits and leaves the proofs for later; the notes give them at the end of Lecture 2.
Loading graph…
Both quotients computed from their formulas. Neither is defined at θ=0 (a removable discontinuity), but as θ→0 from either side sinθ/θ approaches 1 and (1−cosθ)/θ approaches 0.
Worked example
The limits in numbers, and why radians
Evaluate sinθ/θ and (1−cosθ)/θ for θ=0.1 and 0.01, and sinθ/θ if θ were measured in degrees, with θ = 1°.
θ=0.1
sin0.1/0.1=0.99833 and (1−cos0.1)/0.1=0.04996.
θ=0.01
sin0.01/0.01=0.99998 and (1−cos0.01)/0.01=0.00500: closer still to 1 and 0. In fact (1−cosθ)/θ≈θ/2 for small θ.
Degrees
sin(1°)=0.017452, so sinθ/θ with θ = 1 (degree) gives 0.017452, which is ≈π/180=0.017453, not 1. The limit is 1 only when θ is in radians.
the limit as x goes to x nought of the quantity f(x) minus f( x nought ), equals the limit as x goes to x nought of the quantity f(x) minus f( x nought ), all over the quantity x minus x nought, times the quantity x minus x nought, equals f prime ( x nought ) times 0 equals 0
The first factor tends to f′(x0), which exists by assumption; the second tends to 0. Multiplying and dividing by x−x0 looks like dividing by zero, but it is not: a limit as x→x0 never uses x=x0 itself, so x−x0=0 throughout.
The converse is false: ∣x∣ is continuous at 0 but has a corner there, with no tangent slope. (This example is not in the lecture; it is added here.)
A derivative is a rate of change: Δy/Δx is the average rate, dy/dx the instantaneous rate (current, speed, temperature gradient, the sensitivity of a measurement).
Easy limits are found by putting in the value; derivative limits never are (0/0). A limit as x→x0 never uses x=x0.
One-sided limits: x→x0+ from the right, x→x0− from the left.
f is continuous at x0 when limx→x0f(x)=f(x0). Discontinuities: jump, removable, infinite (1/x at 0: +∞ from the right, −∞ from the left), and others such as sin(1/x).
The graph of f′ can look nothing like the graph of f.
How fast one quantity changes compared with another, often time: the change in the first divided by the change in the second. Explained in Rates of change and area under a graph.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
The vector of a function's partial derivatives; it points the way the function increases fastest, and its length is that fastest rate. Explained in Graphs, straight lines and slope.
An open curve with two separate branches: the set of points whose distances from two fixed points differ by the same amount. Explained in Quadratics and power laws.
The natural unit of angle: the angle whose arc on a circle is as long as the radius. A full turn is 2π radians. Explained in Angles, radians and trigonometry.
Having a derivative: at that point the graph has a single, definite, non-vertical tangent line, with no corner or break. Explained in The mean value theorem and inequalities.
The number a(t) that tells how much distances in the universe have stretched: when it doubles, every distance between galaxies doubles. Explained in Towards the universe: an expanding gas cools.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
The statement made by swapping the 'if' and 'then' parts of another statement.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).