Calculus begins with one question: how fast is something changing? MIT's 18.01 opens its first unit, on differentiation, with two goals. The first, for this lecture, is to understand what a derivative is, from a geometric and a physical point of view. The second, for the next few weeks, is to be able to differentiate any function you can write down, even something as untidy as . Professor Jerison stresses why this matters so widely: derivatives are central to measurement of almost every kind, in science, engineering, economics and opinion polling alike.
The geometric problem: a tangent line#
Draw the graph of a function and pick a point on it, above . Drawing the tangent line at by eye is easy. The task is to do it analytically: with a calculation that a machine could follow as well as a person.
From school algebra, any line through the point has the equation
In words
y minus y nought equals m the quantity x minus x nought
To pin down the tangent line we need two things. The point is no problem: . The slope is the calculus part. It gets its own name, the derivative of at , written : by definition, the slope of the tangent line to at .
But what is a tangent line? It is not simply a line that meets the graph at only one point: a wiggly curve can cross its own tangent line several times, and a vertical line meets the parabola only once without being its tangent. The right idea is a limit. Take a second point on the graph and draw the line through and , a secant line. Now slide along the curve towards , keeping fixed. The secant lines swing round and settle on one line: the tangent line is the limit of the secant lines as .
From secant to derivative: the difference quotient#
Put this into symbols. Let lie a horizontal distance (the change in ) to the right of . Then and , and the rise from to is , the change in . The slope of the secant is ; letting means letting . This gives the formula Jerison boxes as the most important of the day:
In words
f prime ( x nought ) equals the limit as capital delta x goes to 0 of capital delta f over the quantity capital delta x, equals the limit as capital delta x goes to 0 of the quantity f of the quantity x nought plus capital delta x, minus f( x nought ), all over the quantity capital delta x
The fraction is called the difference quotient: its numerator is a difference of two values of , and its denominator, , is a difference in disguise.
One warning from the notes: setting straight away always gives , which means nothing. The method is always to simplify first, to cancel the factor of hidden in the numerator, and only then let .
The derivative of at , from the definition
Example: the derivative of 1/x#
MIT's first example is , whose graph is a hyperbola. The difference quotient is
In words
capital delta f over the quantity capital delta x, equals 1 over the quantity capital delta x, times the quantity 1 over the quantity x nought plus capital delta x, minus 1 over x nought, equals 1 over the quantity capital delta x, times ( the quantity x nought minus the quantity x nought plus capital delta x, all over the quantity the quantity x nought plus capital delta x, x nought, ) equals minus 1 over the quantity the quantity x nought plus capital delta x, x nought
Putting the two fractions over a common denominator makes the 's cancel in the numerator, leaving , and that cancels the one outside. Now the limit is easy: set .
In words
f prime ( x nought ) equals minus 1 over x nought squared
Two quick checks against the graph: the answer is negative, and the hyperbola does slope downwards; and as grows it gets smaller in size, as the curve flattens out to the right. In answer to a student's question, Jerison also put in a number: at the expression tends to .
A word problem: triangles under the hyperbola#
Real problems mix a little calculus with a lot of other mathematics. Jerison's example: find the area of the triangle formed by the two axes and a tangent line to (in the first quadrant).
Name the point of tangency , with . The only calculus step is the tangent line itself:
In words
y minus y nought equals minus 1 over x nought squared, times the quantity x minus x nought
Everything else is algebra. The tangent meets the -axis where : then , which gives . For the -intercept there is a shortcut by symmetry: is the same equation as and as , so swapping the roles of and turns any true statement about the graph into another true one, and the -intercept is . (Putting into the tangent line gives the same.) The area is
In words
Area equals one half (2 x nought )(2 y nought ) equals 2 x nought y nought equals 2
whatever point you choose: a curious property of this particular curve.
Jerison adds two remarks. The first is about what Jerison calls the hardest part of "one-variable" calculus: it is happy to juggle many variables at once, and this small problem already has four, , , and .
The second is subtler: the letter itself was used in two roles. In the equation of the curve, , it is the height of a point on the hyperbola; that is where came from. In the tangent-line equation it is the height of a point on the tangent line, and putting there found where that line meets the axis. Putting into instead would be a mistake. Such reuse of letters is everywhere, because it is convenient; so always keep track of which curve or line an equation describes.
The triangle at
Find the tangent line to at , where it meets the axes, and the area of the triangle it forms with them.
Point and slope
and , so the tangent line is .
Intercepts
Setting : . Setting : .
Area
, as promised.
Notations#
Calculus was developed by several people, and their notations all survive. With , the change means the same as , and in the limit
In words
capital delta y over the quantity capital delta x, goes to d y over d x (Leibniz), capital delta f over the quantity capital delta x, goes to f prime ( x nought ) (Newton)
Other forms in use are , , and . They are used interchangeably. Leibniz's has one drawback: it does not show the point where the derivative is taken, so that has to be filled in from the context.
Example: the derivative of xⁿ#
Now take for To save writing, drop the subscript: is the fixed point and the change. The difference quotient needs , the product of equal factors . Multiplying out, the term comes from choosing in every factor, and a term comes from choosing in exactly one factor, which can happen in ways. Everything else contains at least twice. This is the start of the binomial theorem:
In words
the quantity x plus capital delta x, all to the power n equals x to the power n plus n x to the power n minus 1, end of power, capital delta x plus O (( capital delta x) squared )
where stands for all the terms with , and so on: "junk", as Jerison calls it, because it will disappear. Subtract and divide by :
In words
capital delta f over the quantity capital delta x, equals the quantity the quantity x plus capital delta x, all to the power n minus x to the power n, all over the quantity capital delta x, equals n x to the power n minus 1, end of power, plus O( capital delta x)
As the junk vanishes:
In words
d over d x x to the power n equals n x to the power n minus 1, end of power
The rule extends straight away to polynomials, term by term. For example, . (Why one may differentiate a sum term by term, and pull out constant factors, comes in the next lectures.) For the rule gives , which at is the 6 found above.
Rates of change: the physical meaning#
The same limit has a second meaning: the derivative is a rate of change. The lecture notes illustrate it with MIT's Halloween tradition of dropping pumpkins from the roof of a tall building. If is the height of a falling object at time , the difference quotient is its average velocity over the interval (its size is the distance travelled divided by the time taken: the average speed), and the derivative is its instantaneous velocity: how fast it is going at a single moment. The notes take the equation of motion near the Earth's surface as given for now; the physics course derives it.
A dropped stone
A stone is dropped from a cliff 44.1 m high. Its height above the ground is (metres, with in seconds). How long does it take to land, what is its average speed on the way down, and how fast is it going when it lands?
Time to land
The stone lands when : , so and s.
Average speed
It falls 44.1 m in 3 s: an average of m/s.
Speed on landing
By the power rule, , so at s, m/s. The minus sign says the height is decreasing: the stone is moving down, at 29.4 m/s, twice its average speed, because it started from rest and sped up steadily.
Summary#
- The derivative is the slope of the tangent line to at . The tangent line is the limit of secant lines as , so , the limit of the difference quotient.
- Never put straight in (that gives ): simplify and cancel first, then take the limit.
- From the definition: , and (from the binomial theorem), which extends to polynomials.
- The tangent line at is . Tangents to always cut off a triangle of area 2 with the axes.
- Notations: (Newton), and (Leibniz), .
- Physically, a derivative is a rate of change: is an average velocity, the instantaneous velocity.