Learning goals and setting
Read differentiability as linear approximation, handle zero inner increments in the chain rule, construct a differentiable function with discontinuous derivative, and state sufficient hypotheses for a local differentiable inverse. Unless an endpoint is explicitly mentioned, the function is defined on an open neighborhood of the point.
Differentiability at means a finite limit of the difference quotient. Equivalently,
Define the error quotient for nonzero and give it value zero at zero. This form is the precise content of a tangent approximation. It implies continuity by letting the increment tend to zero, but does not by itself supply a numerical error constant or a bound on the second derivative.
A vertical or one-sided infinite slope is not a finite derivative under this definition. At a domain endpoint, a one-sided derivative may be a separately named object; it must not be silently identified with an unavailable two-sided derivative.
1. A chain-rule proof that handles zero inner changes
Suppose is differentiable at , is differentiable at , and the nearby composition is defined. Write
with . Let . Continuity of ensures . Substitution gives
This proof never divides by , which may be zero for infinitely many increments. The familiar product of two difference quotients needs an extra case when its proposed denominator is zero; the error-function proof includes that case automatically.
For a quotient , the requirement plus continuity of gives a neighborhood where . Thus the quotient is locally defined and its derivative formula can be justified. Merely writing a squared denominator in the final answer does not prove this local domain fact.
Worked example 4.2.1
(A composition whose inner increments vanish infinitely often)
Let and for , and let . Find .
The inner increment is zero at every , , so a proof that divides by it would need a separate case at infinitely many points near . The proof above needs no such case. Its hypotheses hold: by squeezing, and is differentiable at with derivative . Hence
A direct check agrees: gives .
2. Differentiability does not make the derivative continuous
Define and for . The difference quotient at zero is , tending to zero by squeezing. Hence . Away from zero,
At , the derivative is minus one; at , it is plus one. Both sequences approach zero, so the derivative has no limit there. The original function is differentiable everywhere, while its derivative is discontinuous at zero.
This example does not imply derivatives can have arbitrary jump discontinuities; that is a different theorem question. It establishes only the precise distinction needed here: differentiability of at a point does not assert continuity of there. The notation explicitly adds continuous first derivative and is stronger than mere differentiability.
3. Piecewise matching has layers
Let for and for . Its value at zero is one. Continuity requires . With that value, the left derivative is and the right derivative one, so differentiability requires . For those parameters the derivative equals one on the negative side and on the positive side, tending to one from both sides, so is at zero.
But the derivative's one-sided slopes at zero are zero and one, so the second derivative does not exist there. Matching a function value, a first derivative and a second derivative are separate conditions. Checking only the original branch values cannot establish any higher differentiability.
Worked example 4.2.2
(Matching a logarithm to second order)
Find constants such that
is twice differentiable at , and decide whether it is three times differentiable there.
Continuity. The right branch gives , and the left branch tends to , so .
First derivative. With , the left difference quotient is as , while the right derivative of at is . Hence and . Then for and for .
Second derivative. The difference quotients of at are for and for . So exists exactly when , and then .
Third derivative. Now for and for . The left quotient of at is ; the right one is . They differ, so does not exist. The left branch is the second-order Taylor polynomial of at , which explains why the matching stops exactly at order two.
4. Prove local inverse existence before its derivative formula
Theorem: a convenient one-dimensional inverse theorem
Let be on an open interval around and suppose . Then on a smaller interval it is one-to-one, its image is an interval around , and its inverse is continuously differentiable there with
Proof. By derivative continuity, shrink so that has a fixed nonzero sign and stays bounded away from zero. The mean value theorem makes strictly monotone on that interval. Continuity and the intermediate value theorem make its image an interval, and the two-sided neighborhood of gives nearby output values on both sides of . Write for the chosen smaller open input interval. To prove inverse continuity at with , fix and choose with . Strict monotonicity makes . If and , its inverse lies between and , so . This proves continuity for either monotonic direction. For near ,
using inverse continuity and the nonzero derivative. The derivative formula is continuous because and the inverse are continuous and the denominator remains nonzero. Thus existence, continuity and differentiation have all been justified in that order.
These are sufficient hypotheses, not necessary ones. The function has a continuous inverse despite a zero derivative at zero, but its inverse has no finite derivative there. Conversely a nonzero derivative at one point, without suitable neighborhood information, does not alone guarantee local injectivity.
Proof X-ray
How the inverse-theorem proof spends derivative continuity
Continuity of is used twice: at the start, to spread the sign of over a whole interval, and at the end, to make the inverse’s derivative continuous. Between those uses the argument runs on standard one-variable tools: the mean value theorem turns a fixed sign into strict monotonicity, and the intermediate value theorem turns monotonicity into an image interval. The step that is easy to skip is inverse continuity. The quotient identity needs whenever ; only then may the limit be taken.
Worked example 4.2.3
(An inverse derivative without an inverse formula)
Let . Show that has a differentiable inverse near and compute and .
The function is on with , so the theorem applies on an interval around every anchor. Solving does not require a cubic formula: , and has negative discriminant , so is the only solution. With ,
Similarly , and means , so and . The derivative formula is used only after the theorem has supplied an inverse; it is evaluated at the input , not at itself.
Concept lensGeometric
Reflection swaps rise and run
The graph of is the reflection of the graph of in the line , because lies on one exactly when lies on the other. Reflection exchanges the two components of every displacement, so it carries a line of slope through to a line of slope through . In the worked example, the tangent to at is ; exchanging and gives , that is, , the tangent to at with the slope computed there. The picture also shows what the hypothesis excludes. A horizontal tangent reflects to a vertical one: has the tangent at the origin, and its inverse has the vertical tangent there, which is why that inverse is continuous but has no finite derivative at . The reflection is a reading of the theorem, not a proof of it: it presupposes that the inverse exists and that its graph has a tangent line, which is exactly what the proof establishes.
5. A nonzero derivative at one point can still lack local injectivity
Define and for . Its derivative at zero is one because . For nonzero inputs,
Along it is for sufficiently large . Along it is . Both occur arbitrarily near zero.
A continuous injective function on an interval must be strictly monotone: otherwise three ordered points exhibit a peak or trough, and a height between the middle value and both endpoint values is attained twice by the intermediate value theorem. An increasing differentiable function has nonnegative derivatives, while a decreasing one has nonpositive derivatives, directly from its difference quotients. The two signs above therefore rule out injectivity on every interval around zero. The inverse theorem is not contradicted: derivative continuity, the hypothesis that ensured a sign on a whole neighborhood, fails.
Graded proof and diagnostic tasks
- Hidden denominator. Identify the problem in a chain-rule proof that divides by without a case split. Give an inner function where that increment vanishes for every small , and explain why the chain rule still holds.
- Discontinuous derivative. Verify for extended by zero, and use the two displayed input sequences to disprove derivative continuity.
- Piecewise orders. Find the parameters making the linear/exponential piecewise function continuous, differentiable and at zero. Determine whether it then has a second derivative there.
- Inverse domain. For , specify a neighborhood of a positive anchor where the theorem gives the positive-root inverse. Explain why no two-sided neighborhood of zero gives an inverse of unrestricted squaring.
- Sufficient versus necessary. Explain how and the oscillatory distinguish zero derivative, nonzero derivative and the neighborhood hypotheses in an inverse theorem.
- Approximation claim. If only is known to exist, what error statement is justified for the tangent approximation? What further hypothesis gives a quadratic numerical error bound on a specified interval?
Full solutions
- The proposed factor can be zero even when , producing an undefined . A constant inner function makes this happen always, while its composition with is constant and has derivative zero, equal to . The proof using and the linear-error identity handles that case without division by the inner increment.
- The derivative quotient is with magnitude at most , so its limit is zero. At the first input sequence the sine vanishes and cosine is one, giving derivative minus one; at the second cosine is minus one, giving plus one. Different subsequential derivative limits rule out continuity at zero.
- Continuity requires . Under that condition differentiability requires , and the derivative then tends to one from both sides, giving . Its derivative has left slope zero and right slope one at zero, so the second derivative fails. There is no choice of these two parameters that repairs the second derivative while retaining the fixed exponential right branch and differentiability.
- Around an anchor , choose an interval contained in , where derivative is positive. Its inverse branch is the positive square root on the corresponding positive image interval. Any two-sided interval around zero contains both and for some nonzero , and they have the same square. Thus unrestricted squaring is not locally one-to-one there; restricting to a one-sided domain is a different statement.
- Cubing shows a zero derivative does not prevent a continuous inverse, but that inverse need not be differentiable. The oscillatory shows a nonzero derivative at a point need not provide local injectivity when derivatives change signs arbitrarily nearby. The theorem supplies the neighborhood sign and continuity needed to establish the inverse before differentiating it; neither example violates its full hypotheses.
- Differentiability gives , so the error divided by tends to zero. It does not specify a fixed finite-error coefficient. If a continuous second derivative exists and has magnitude at most on the segment from to , Taylor's theorem gives absolute error at most . The bound needs that interval and derivative control, not only the tangent slope at its center.
Further practice
Quick check
(Let . Is differentiable at ? Is it near ? Does exist?)
Write piecewise, then work with difference quotients at rather than with formulas on each side.
Solution · Answer
Here for and for . At , , so . For , when and when , so for every , including . This is continuous, hence is . The second-derivative quotient at is , which equals for and for , so does not exist.
Quick check
(Let . Explain why has a differentiable inverse near and compute .)
First find the input with .
Solution · Answer
is with , so is strictly increasing and the inverse theorem applies around every point. Since , and a strictly increasing function takes each value at most once, . Therefore .
Quick check
(Approximate by the tangent line of at , and give a numerical bound for the error using a bound on the second derivative over .)
Differentiability alone gives only an error; the numerical bound needs control of on the segment.
Solution · Answer
With , and , so the tangent estimate is . The second derivative is continuous, and on its magnitude is at most . Taylor's theorem then bounds the error by . In fact , an error of about ; the tangent overestimates because .
Summary and terms
A function has a continuous first derivative, a stronger condition than differentiability. A linear error form states exactly what the tangent approximates. A local inverse requires one-to-one behavior on a neighborhood, not only a formally nonzero slope in a formula. Chain and inverse rules are limiting theorems with domain conditions; making those conditions explicit prevents hidden zero divisions and unsupported branch claims.
Proof
(Related sections with full statements and proofs)
The following links lead to the full statements and proofs of the prerequisite results used in this note.
Finite real limit laws and geometric sequences: proofs
Real closed sets: the sequence criterion and the open complement
Heine–Borel in finite-dimensional Euclidean space