Limits, Continuity and Differentiability
Every differentiable function is continuous. Is every derivative continuous?
No. Take
At the origin the definition gives , because and the squeeze theorem finishes it. So is differentiable everywhere. But away from the origin,
and as the first part tends to while oscillates between and forever. So does not exist, even though does.
This is the shape of the whole chapter at Advanced level. Main tests functions that behave; Advanced tests functions built specifically to separate two conditions that usually travel together — a limit from a value, continuity from differentiability, the existence of a derivative from the continuity of that derivative. Every such example is constructed by attaching an oscillation, a modulus, a greatest-integer function or a piecewise definition at exactly one point.
1. What a limit requires, and the standard ones
A limit exists only when both one-sided limits exist and agree. That is the whole definition, and almost every "does the limit exist" question is answered by computing the two sides separately — which is compulsory whenever the expression contains a modulus, a greatest-integer function, an exponent that changes sign, or a piecewise definition.
The standard limits are worth knowing as a block, because they are the vocabulary in which every harder limit is expressed:
together with and .
Two further tools handle everything the standard limits do not reach. The squeeze theorem says that if near and both outer functions tend to the same value , then so does . It is the only way to evaluate a limit whose expression oscillates, since no algebraic manipulation can tame .
The other tool is a conversion. The forms and are not directly indeterminate in any usable sense, so they are rewritten as or before anything else happens: combine two fractions over a common denominator for the first, and move one factor into a denominator as its reciprocal for the second.
A limit as is handled by dividing numerator and denominator by the highest power present, or by substituting and letting , which converts every result in this chapter into a statement about the origin.
Illustration 1
Evaluate .
The first standard limit is a statement about radians. Converting, radians, so
The answer is not . Every trigonometric limit and every derivative of a trigonometric function assumes radian measure, and this is the one place the assumption is tested directly.
Illustration 2
Show that does not exist, but does.
The first has left limit and right limit , so it fails. For the second, the greatest-integer function satisfies . Multiplying by and squeezing gives a limit of from the right, and repeating with , which reverses the inequalities, also gives . So the limit is .
2. Expansions beat repeated differentiation
For a limit of the form at the origin, substituting the first few terms of a series is faster and safer than applying L'Hopital's rule several times. The four expansions needed are
along with . Keep terms only to the order the denominator demands.
Illustration 3
Evaluate .
Substituting the expansion, the numerator is , so the limit is . Three applications of L'Hopital's rule give the same answer with three chances to slip, and each application requires re-checking that the form is still indeterminate.
Illustration 4
Evaluate .
The expansion of removes exactly the three subtracted terms, leaving , so the limit is . When a numerator is built to cancel the leading terms of a known series, the expansion is not merely faster — it is the only method that makes the structure visible.
Illustration 5
Show that L'Hopital's rule cannot be used on .
The limit itself is easy: . But differentiating top and bottom gives , which oscillates and has no limit at all.
The rule states that if the limit of the ratio of derivatives exists, then it equals the original limit. It never says the converse. Applying it and concluding "the limit does not exist" is a genuine error, and this form is set to catch it.
3. The form
Expressions such as are indeterminate because the base tends to from an unknown side at an unknown rate. Writing and expanding gives the working rule
valid whenever and .
Illustration 6
Evaluate .
Here and , so the exponent tends to and the limit is .
Note what would go wrong without the rule: the base tends to and the exponent to infinity, and reading the answer as ignores the rate at which the base approaches .
Illustration 7
Evaluate .
The base tends to , so use the rule. Now
Multiplying by gives , so the limit is .
A last remark on when the rule is safe. The exponential form relies on , which is only the first term of the logarithmic series, so it is valid precisely because makes every later term negligible.
If the base does not tend to the form is not indeterminate at all: a base tending to a number below with an exponent tending to gives , and a base above gives , both directly.
4. Continuity and its three failures
A function is continuous at when exists, exists, and the two are equal. Each of the three can fail separately, and the vocabulary matters because questions ask which kind of discontinuity is present.
| kind | what happens | example at |
|---|---|---|
| removable | the limit exists but differs from , or is undefined | |
| jump | both one-sided limits exist but differ | $\dfrac{ |
| infinite | at least one one-sided limit is unbounded | |
| oscillatory | neither one-sided limit exists |
Illustration 8
Find and so that is continuous everywhere, where for , , and for .
The left limit is , from the standard limit with the factor doubled. The right limit is . Continuity needs both to equal , so .
Every "find the constants" question reduces to this: compute both one-sided limits, then set them equal to the stated value at the point.
5. Differentiability and the two one-sided derivatives
The derivative at exists when
both exist and are equal. Differentiability implies continuity, because the numerator must tend to zero for a finite quotient to survive; the converse fails at every corner.
Illustration 9
Show that is differentiable at the origin although is not.
For , with right derivative at the origin; for , with left derivative . The two agree, so and in fact everywhere.
Multiplying by has smoothed the corner: near the origin the two branches leave with the same slope instead of with slopes . The general principle is that each extra factor of buys one more order of smoothness, which is exactly why is continuous but not differentiable at the origin while is differentiable.
A modulus wrapped around a function follows a rule worth stating on its own. Where , the sign of is fixed nearby, so is just and is differentiable exactly where is. Where , the graph of is reflected upwards, and the reflection creates a corner unless the graph arrives flat. So
That is why fails at the origin while does not: the first crosses zero with slope , the second touches zero with slope . The same rule governs a maximum of two functions, since , so the corners of a maximum sit exactly where the two graphs cross with different slopes.
Illustration 10
Where is not differentiable, and what is the minimum value of ?
Corners occur only where a modulus changes sign, so at and . Between them , constant; outside them it is , with slopes and .
So is not differentiable at exactly two points, and its minimum value is , attained on the whole interval . Reading the slopes on each piece answers both parts at once.
Illustration 11
A differentiable function satisfies for all reals, with and . Find .
Putting gives . From the definition of the derivative,
So , giving , and fixes . The whole solution came from turning the functional equation into a differential equation using nothing but the definition of the derivative.
6. The three theorems, and what they actually promise
The intermediate value theorem says a function continuous on takes every value between and . It guarantees a root but says nothing about how many or where.
Rolle's theorem says that if is continuous on , differentiable on and , then for some inside. The Lagrange mean value theorem drops the equal-endpoint condition and concludes : some tangent is parallel to the chord.
All three conclusions are existence statements. None of them locates the point, and none of them is reversible.
Illustration 12
Show that has at most one root in , whatever the value of .
Suppose there were two roots. Rolle's theorem, applied to , would give a point in where , that is . Neither lies inside , so no such point exists and there cannot be two roots.
Rolle's theorem is used this way far more often than for its own sake: assume two roots, derive a stationary point, and show none is available.
Illustration 13
Prove that for all reals.
Apply the mean value theorem to on the interval between and : there is a with . Since , taking moduli gives the result.
Every inequality of the form "the change in is at most times the change in " is this theorem with a bound on .
Illustration 14
Show that has a solution in .
Let , which is continuous. Then and , so the intermediate value theorem provides a root strictly between. Since is increasing on , that root is unique — but uniqueness came from monotonicity, not from the theorem.
Illustration 15
If is differentiable on with everywhere, prove that is constant.
Take any . The mean value theorem gives a in with , so . Since and were arbitrary, is constant.
The result looks obvious and is not: it is exactly what the mean value theorem is for, and no argument avoiding the theorem is available at this level.
Summary
A limit exists only if both one-sided limits exist and agree, which is why any modulus, greatest-integer function or piecewise definition forces a two-sided calculation. The standard limits are stated in radians, and a question posed in degrees changes the answer by a factor of .
For forms at the origin, substitute series expansions and keep terms only to the order the denominator needs. L'Hopital's rule is available but conditional: it concludes only when the limit of the derivative ratio exists, and a failure of that ratio proves nothing about the original limit. The form is handled by , which encodes the rate at which the base approaches .
Continuity requires the value, the limit, and their equality, and the failures are named: removable, jump, infinite and oscillatory. Differentiability requires the two one-sided derivatives to exist and agree; it implies continuity and is not implied by it. A derivative need not be continuous, as shows, and each extra factor of buys one more order of smoothness at the origin.
A modulus placed around a function is differentiable at a zero only if the function arrives there flat, which is why fails and does not, and why the corners of a maximum of two graphs sit exactly at their transversal crossings.
The three theorems are existence statements. The intermediate value theorem produces a root, Rolle's theorem produces a stationary point between equal values, and the mean value theorem produces a tangent parallel to the chord. None locates its point, and the standard uses are indirect: bounding a difference, or showing that a second root would force an impossible stationary point.
