The slope of a curve at a single point can now be defined, because the limit supplies exactly the missing idea: the tangent slope is the number the secant slopes close in on.
Everything in this lesson comes from one formula, applied patiently. The earlier lessons supply the two things it needs: a definition of the limit as a promise about tolerances, and the warning from continuity that some curves have no slope at some points, so the definition must be allowed to fail rather than being assumed to work.
The definition
Fix a point in the domain of . A second point at horizontal distance gives the secant slope
which is an ordinary quotient of ordinary numbers for every , and is undefined at . The derivative of at is the limit of that quotient as approaches zero:
When the limit exists, is differentiable at and is the slope of the tangent line there. When it does not, has no derivative at , and this happens often enough that the qualification matters.
An equivalent form replaces by a variable point , giving . The two are the same statement with different bookkeeping, and both are used: the first is easier to compute with, the second easier to reason with.
Note where the difficulty went. The expression is at , which is why no algebraic evaluation is possible and why the limit is indispensable. Every derivative computed from the definition is an indeterminate form resolved by the techniques of the limits lesson, and in practice the resolution is nearly always the same: cancel an that appears in every term of the numerator.
Three derivatives from first principles
Take . The numerator is , so the quotient is , which for equals . That is a polynomial in , so the limit is a substitution: . At this gives , which is the number the secants of the first lesson were closing on.
Take , with . The numerator is . Dividing by gives , and now substitution is legal: . At that is , matching the secant values of and computed earlier for and . The sign is negative everywhere, as it must be for a function that falls on both branches.
Take , with . Here the trick is the conjugate. Multiplying the quotient above and below by turns the numerator into , so the quotient becomes , and the limit is
At that is , and the secant with gives . Notice the behaviour near zero: as shrinks the derivative grows without bound, which is the graph turning vertical at the origin.
Example. Differentiate from the definition and find the slope at .
The numerator is . Every term carries an , so dividing gives , and the limit as is . At the slope is : the curve is falling there, which is right, since the vertex of this parabola sits at .
Now you. Differentiate from the definition.
Answer
The numerator is , so the quotient is and the limit is . The constant contributes nothing, because it cancels in the difference: shifting a graph up does not change any slope on it.
A function, not a number
In each of those calculations the answer came out as a formula in rather than a single value, which is the step that makes calculus a machine rather than a collection of measurements. The derivative function assigns to each point where is differentiable the slope of there, and it has its own domain, its own graph, and its own derivative.
That last remark gives the second derivative , the rate at which the slope itself is changing. For the derivative is and the second derivative is the constant : the slope increases at a steady rate, which is exactly what a parabola opening upward looks like. Third and higher derivatives follow by repetition, and the notation takes over once primes become unreadable.
The physical reading is worth fixing now because the whole of mechanics uses it. If is position, then is velocity and is acceleration. Newton's second law, , is therefore a statement about a second derivative, which is why the equations of physics are differential equations and why this course is a prerequisite for reading them.
Two notations
Lagrange's notation, , is compact and treats the derivative as an operation producing a new function. It is best when the functions are the objects of interest.
Leibniz's notation writes the same thing as
which records more. It names both variables, so in a problem with several it is unambiguous which is varying with respect to which. It carries the units correctly: if is in metres and in seconds, the symbol reads as metres per second without any further convention, and a derivative of position with respect to time therefore has units of m s⁻¹ while its own derivative has m s⁻². And it survives the chain rule in a form that looks like cancelling fractions, which is the main reason physicists use it and the main reason it must be handled with care: is a single symbol, the limit of a ratio, not a ratio of two quantities called and . The nineteenth century spent considerable effort removing the implication that it is, and the notation kept the shape anyway because the shape is a good mnemonic.
A value at a specific point is written in one notation and, less gracefully, as evaluated at in the other. Time derivatives in mechanics often use Newton's dot, and , which is unbeatable for brevity when the independent variable is always time.
Example. A stone falls from rest, so its distance fallen is metres after seconds. Find its velocity at from the definition.
The difference quotient is , so the limit is metres per second. Numerically the quotient at is , at it is , and at it is , closing on exactly as the algebra says.
Now you. For the same stone, find the velocity at , and the acceleration.
Answer
The same working with replaced by gives , so the velocity is metres per second. In general , whose derivative is the constant , so the acceleration is m s⁻², which is , as it should be for a body in free fall.
Differentiable implies continuous
There is one implication between the two conditions, and it goes one way only.
Suppose is differentiable at . For write the identity
which is true because the fraction has been multiplied by what was just divided out. Take the limit as . The first factor tends to , a finite number, by assumption. The second tends to zero. By the product law the whole right side tends to , so , which is the definition of continuity at .
So differentiability is the stronger condition, and the intuition matches: a function with a jump has a difference quotient that blows up across the jump, since a non-zero numerator is divided by a vanishing denominator.
The converse fails, and the previous lesson has already met the counterexample. For at zero the difference quotient is , which is for positive and for negative . Both one-sided limits exist and disagree, so there is no derivative, while the function is perfectly continuous. The graph has a corner.
Two other failures are worth recognising by their difference quotients. For at zero the quotient is , which grows without bound from both sides: the tangent is vertical, and a vertical line has no slope. For at zero the quotient is , which goes to from the right and from the left: a cusp, where the curve comes to a point. In every case the diagnosis is the same, that the limit defining the derivative fails to exist, and the cases differ only in how it fails.
Reading a derivative
Once is available as a function, three features of it describe completely enough to sketch it.
The sign says direction. Where the tangent lines slope up and the function is increasing; where it is decreasing. This is the fact that makes derivatives useful for finding maxima, and it is stated here as a plausible reading rather than a theorem, because proving it needs the Mean Value Theorem, which arrives in a few lessons.
The magnitude says steepness, in the units of the problem. A derivative of for at says that increasing by a small amount decreases by about . At the derivative is , sixteen times steeper, which is the same curve behaving very differently at a different place.
Example. For , find and use it to estimate .
The derivative is , so . A step of in should therefore change by about , predicting . The true value is , so the prediction is right to three decimal places, and it was made without evaluating the function at the new point.
Now you. For , whose derivative is , estimate from the value and derivative at .
Answer
The derivative at is , so the estimate is . The true value is , high by .
A zero says flat. At a point where the tangent is horizontal, which happens at the top of a hill, the bottom of a valley, and also at neither, as at on , where the curve merely pauses on its way up. Distinguishing those cases is the business of a later lesson.
What this costs, and what comes next
Every derivative in this lesson was computed by expanding a difference, cancelling an , and taking a limit, and each took a paragraph. That is unsustainable. There is no chance of differentiating this way, and even requires the binomial expansion to be written out.
There is also a strong hint that no such labour should be necessary, because the answers are suspiciously tidy: gives , gives , gives , and gives . In every case the exponent has come down as a multiplier and dropped by one. If that pattern is genuine, and if the derivative of a sum, a product and a composition can be expressed in terms of the derivatives of the parts, then differentiation becomes mechanical and the limit definition retires to the role of justifying the rules.
That is exactly what happens, and the next lesson derives each rule from the definition rather than quoting it, because a rule whose derivation you have seen is a rule you can repair when you misremember it.