Lecture from: 24.04.2024 | Video: Video ETHZ
Clicker Question: Functions Satisfying
Which differentiable functions satisfy the condition ?
-
Is a solution? Yes. If for all , then . So, holds.
-
Is for some a solution? Yes. Let . Then . Since , we have .
-
Is for some a solution? Yes. We know . Let , which is a constant. Then . From the previous point, we know that for such functions, . This holds due to the second point above.
Are there any other such functions ?
It turns out, no! The functions for are all the real solutions to the “differential equation” .
(This topic is explored in much more detail in Analysis II. But a proof will be shown at the end of the lecture note…)
Review: Differentiability
Quick Recap: A function is differentiable at an accumulation point if the limit exists as a finite real number. This is the derivative of at , representing the slope of the tangent line.
Key Corollary: If is differentiable at , then is continuous at .
We also saw a useful reformulation: is differentiable at if and only if there’s a function that’s continuous at such that In this case, .
The tangent line at is given by .
Theorem: The Chain Rule
Let . Let and .
Let be an accumulation point of , and let be an accumulation point of .
Assume that is differentiable at and is differentiable at .
Then the composite function is differentiable at , and its derivative is:
In words: The derivative of a composition is the derivative of the “outer function” (evaluated at the “inner function”) times the derivative of the “inner function.”
Proof (Idea using the -reformulation)
Since is differentiable at , there exists continuous at with: and .
Since is differentiable at , there exists continuous at with: and .
- Now consider .
- Let and .
- Substitute :
- .
Let .
Since is differentiable at , it’s continuous at . Since is continuous at , the composition is continuous at . Since is continuous at , the product is continuous at .
So, , where is continuous at .
By the reformulation of differentiability (Theorem 4.1.4), is differentiable at , and .
Corollary: Derivative of an Inverse Function
Let be bijective, an accumulation point of . Let be differentiable at with .
Assume additionally that the inverse function is continuous at . Then is an accumulation point of , is differentiable at , and:
Remark on the continuity assumption for
If is an interval (containing more than one point), and is strictly monotonic and continuous, then the assumption that is continuous at is automatically satisfied due to the theorem on the continuity of inverse functions (from Chapter 3).
Proof (Heuristic, not fully rigorous without establishing differentiability of first)
For all , we have .
Differentiate both sides with respect to at the point , using the chain rule on the left side (this step assumes is differentiable at ):
- .
- Let . Then .
Since , we can divide:
Problem: This argument assumes the differentiability of at beforehand. We actually need to prove this first.
Actual Proof: See script for the rigorous derivation.
Example: Derivative of the Natural Logarithm
-
The natural logarithm is differentiable, and for all .
Reasoning: is the inverse function of . We know , which is never (since for all ). Let , so .
Using the corollary for the derivative of the inverse function: .
Since , we have . Therefore, .
Since this holds for every (which can be written as for some ), the formula is established.
-
Derivative of : Let . Consider the function given by .
This function is differentiable, and for all .
Reasoning using the Chain Rule: Let .
This is a composition: outer function , inner function . We know .
The derivative of with respect to is .
So,
.
Exercise: Can the statement about be extended in a suitable sense to the domain ? If so, how? (Hint: The answer depends on .)
Central Theorems about the First Derivative
Definition: Local Extrema
Let , , .
- has a local maximum at if there exists a such that for all .
- has a local minimum at if there exists a such that for all .
- has a local extremum at if is a local minimum or a local maximum of .
Example
In the image:
- Local Minima at: .
- Local Maxima at: .
Note: is a local minimum (assuming is within includes only points to the right of that are in ). Similarly for .
It appears from the sketch that . What about ? It looks like in this sketch, so would not be a point where the derivative is zero, even though it’s a local maximum (because it’s an endpoint).
Theorem: First Derivative Test for Local Extrema (Adapted)
Let , be an accumulation point of . Let be differentiable at .
-
If , then there exists a such that:
- for all (function increases to the right)
- for all (function decreases from the left)
-
If , then there exists a such that:
- for all (function decreases to the right)
- for all (function increases from the left)
-
If has a local extremum at , and is both a left-sided and a right-sided accumulation point of (i.e., is an interior point of an interval within ), then it follows that . (This excludes, for example, “boundary points” from automatically having if they are extrema).
Proofs
Part 1
We write , where is continuous at and .
Since , by the continuity of at , there exists a such that for all .
Then .
- If , then . Since , , so .
- If , then . Since , , so .
Part 2
Just like part 1.
Part 3
Suppose is a local extremum and both a left and right-sided accumulation point.
If , then by part (1), for slightly to the left of , and for slightly to the right. This contradicts being a local extremum.
If , then by part (2), for slightly to the left, and for slightly to the right. This also contradicts being a local extremum.
Therefore, the only possibility left is .
Theorem: Rolle’s Theorem
Let . If is continuous on and differentiable on , and if , then there exists a such that .
Proof (Idea)
Use the Min-Max Theorem (Extreme Value Theorem) and Theorem 4.2.2 (part 3). Since is continuous on the compact interval , it attains a global minimum and a global maximum on .
- Case 1: If the minimum and maximum both occur at the endpoints and . Since , this means the function is constant on . Then for all , so any works.
- Case 2: If at least one extremum (say, a maximum) occurs at an interior point . Then is a local extremum, and since it’s an interior point, by Theorem 4.2.2(3).
(Details in script.)
Theorem: Mean Value Theorem (MVT) (Satz von Lagrange)
Let . If is continuous on and differentiable on , then there exists a such that
The term is the slope of the secant line connecting and . The MVT says there’s a point where the tangent line is parallel to this secant line.
Proof
Consider the auxiliary function , where is the line passing through and .
The equation of the line is .
So, its derivative is for all .
The function satisfies:
- .
- .
So .
Also, is continuous on and differentiable on since and are.
By Rolle’s Theorem applied to , there exists a such that .
.
Since , we have .
Corollary: What the Mean Value Theorem Tells Us About Functions
The Mean Value Theorem (MVT) is more than just a theoretical curiosity; it’s a powerful tool for understanding the overall behavior of a function based on its derivative. Let , and consider functions that are continuous on the closed interval and differentiable on the open interval .
Here are some key consequences:
-
Zero Derivative Implies Constant Function: If the derivative for every point in , then the function must be constant across the entire interval .
Intuition: If the “instantaneous rate of change” is always zero, the function isn’t changing at all.
-
Same Derivative Implies Functions Differ by a Constant: If two functions and have the exact same derivative at every point in (i.e., ), then these functions can only differ by a constant. That is, there’s some such that for all .
Intuition: If they are changing at the same rate everywhere, their difference must remain fixed. Think of two cars moving with the same velocity; the distance between them stays constant.
-
Non-Negative Derivative Implies Increasing Function: If for all , then is (non-strictly) monotonically increasing on .
Intuition: If the slope is never negative, the function is always either going up or staying flat.
-
Positive Derivative Implies Strictly Increasing Function: If for all , then is strictly monotonically increasing on .
Intuition: If the slope is always positive, the function is always going up.
-
Non-Positive Derivative Implies Decreasing Function: If for all , then is (non-strictly) monotonically decreasing on .
-
Negative Derivative Implies Strictly Decreasing Function: If for all , then is strictly monotonically decreasing on .
-
Bounded Derivative Implies Lipschitz Continuity: If the derivative is bounded, meaning there’s an such that for all , then the function satisfies a Lipschitz condition on :
Intuition: A bound on the slope means the function can’t change “too quickly.” This is a stronger condition than just continuity.
Remark: This set of results is incredibly useful because it connects local information (the value of the derivative at individual points) to global properties of the function over an entire interval.
Proof (Illustrating for Property 1)
We want to show that if for all , then is constant on . Pick any two distinct points in with . We want to show .
Apply the Mean Value Theorem to on the interval . (Note that is continuous on and differentiable on because these conditions hold on the larger interval ).
The MVT guarantees there exists some such that
Since , our premise states that . Therefore,
This implies . Since and were arbitrary points in , the function must have the same value everywhere on , meaning is constant.
(The proofs for the other properties generally follow a similar pattern: pick two points, apply MVT to the interval between them (or to an auxiliary function like for property 2), and use the information about the derivative.)
Application: Solving the Differential Equation
We previously asked: which differentiable functions satisfy for all ? We guessed . Now we can prove this is the only family of solutions.
Theorem
The only differentiable functions satisfying for all are of the form , where is an arbitrary real constant.
Proof
Suppose is a differentiable function such that . Consider an auxiliary function .
Let’s find the derivative of using the product rule:
We know (using the chain rule, or by knowing the derivative of is ).
So,
Now, we use the given condition that :
Since for all , by Corollary 4.2.5 (part 1), the function must be a constant. Let’s call this constant .
So, , which means
To solve for , we can multiply both sides by (which is always non-zero):
This shows that any function satisfying must be of this form. We already verified earlier that any function of this form indeed satisfies .
Continue here: 18 Derivatives of Inverse Trig Functions, L’Hopital’s Rule, Convex Functions