Differentiation
For , we say the derivative of at denoted is given by
If this limit exists, the function is said to be differentiable at If the limit exists for all the function is said to be differentiable on
Note that this is just the rise-over-run formula for the slope between two points taken to the limit of the two points being infinitesimally near each other.
Theorem: If is differentiable at then it is continuous at
Proof: Suppose that is differentiable at We want to show that
Now,
Derivative Rules
Let be a real number, and f and g be functions defined on an open interval and differentiable at a point in that interval.
Linearity:
Proof:
Product:
Proof: The trick here is to subtract and add to the numerator on the second line. This allows factoring, and then we just use limit laws.
Quotient:
Proof: Since division is multiplication by a reciprocal, we use the same trick as for the product rule.
Let
Chain:
Local Extrema
The real valued function on the real line is said to have a local maximum at if there exists a such that for all
The real valued function on the real line is said to have a local minimum at if there exists a such that for all
Derivatives at Local Extrema Theorem (Fermat's Theorem): Suppose is defined on an open interval, that is a number in that interval, and that has a local maximum or minimum at and that exists. Then
Other Theorems
Rolle's Theorem: Suppose is continuous on and differentiable on and that Then there exists a point in such that
Simply put, if a differentiable function over an open interval has the same value at its boundary points, then at some point in the interval, the function is flat (has a zero derivative).
Suppose is continuous on and differentiable on Then there exists a point in such that:
This means that for a function continuous on an interval, and differentiable on that interval except maybe at its endpoints, there is a point on the interval where the derivative of the function at that point equals the slope of the function between its endpoints.
Suppose there is a such that and are differentiable on with on this interval. Suppose also that
Then if or we have that
The endpoint can also be
Suppose is continuously differentiable. Then is Lipschitz continuous with a Lipschitz constant
Because is compact and is continuous, by the Extreme Value Theorem we have that attains a minimum and a maximum on which gives us (actually a stronger condition: ). By the Mean Value Theorem, for any there exists some such that
which is what we wanted to show.
◻
Suppose f:[a,b]→Rd is continuous on [a,b] and differentiable on (a,b). Then there exists x∈(a,b) such that
‖f(b)−f(a)‖≤(b−a)‖f′(x)‖.
Let z=f(b)−f(a), and define
φ(t)=⟨z,f(t)⟩,(a≤t≤b).
If z=0, then the result is trivial and we're done, so assume z≠0.
Then φ is a real valued continuous function on [a,b] and is differentiable on (a,b). By the Mean Value Theorem, there is some x∈(a,b) such that
φ(b)−φ(a)=(b−a)φ′(x)=(b−a)⟨z,f′(x)⟩.
On the other hand,
φ(b)−φ(a)=⟨z,f(b)⟩−⟨z,f(a)⟩=⟨z,f(b)−f(a)⟩=⟨z,z⟩=‖z‖2.
Now, by the Cauchy-Schwarz Inequality,
‖z‖2=(b−a)|⟨z,f′(x)⟩|≤(b−a)‖z‖‖f′(x)‖.
Therefore, ‖z‖≤(b−a)‖f′(x)‖, which is what we wanted to show.
◻
Suppose f:[a,b]→Rd is continuously differentiable. Then f is Lipschitz continuous with a Lipschitz constant
L≤supx∈[a,b]‖f′(x)‖
where f′ is the Jacobian matrix of f and ‖⋅‖ denotes the matrix norm induced by the @euclidean inner product.
Because [a,b] is compact and ‖f′‖ is continuous on it, by the Extreme Value Theorem we have that ‖f′‖ attains a minimum and a maximum on [a,b]; then let L=maxx∈[a,b]‖f′(x)‖=supx∈[a,b]‖f′(x)‖.
Now, by Mean Value Inequality for Vector Valued Functions, for any (x1,x2)⊂[a,b], there exists some c∈(a,b) such that
‖f(x2)−f(x1)‖≤(x2−x1)‖f′(c)‖.
But ‖f′(c)‖≤L, so
‖f(x2)−f(x1)‖≤L|x2−x1|,
which is what we wanted to show.
◻