Differentiability (Real Functions)#
Definition: Differentiability (Real Functions)
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function and let \(p \in \mathcal{D}\) be a limit point of \(\mathcal{D}\).
We say that \(f\) is differentiable at \(p\) if the limit
exists and is finite. In this case, the value of this limit is known as \(f\)'s derivative at \(p\).
Notation
We denote \(f\)'s derivative at \(p\) as \(f'(p)\). If a specific label such as \(x\), \(t\), etc. is used for \(f\)'s input, then we also denote it in one of the following ways:
Theorem: Differentiability at Interior Points
A real function \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) is differentiable at an interior point \(p\) of \(\mathcal{D}\) if and only if the limit
exists and is finite. In this case, the value of this limit is \(f'(p)\).
Example: \(f(x) = ax + b\)
We want to find the derivative at each \(x \in \mathbb{R}\) of the function \(f: \mathbb{R} \to \mathbb{R}\) defined as
where \(a, b \in \mathbb{R}\). Since every \(x\) is an interior point of \(\mathbb{R}\), we have:
Therefore:
Example: \(f(x) = x^2\)
We want to find the derivative at each \(x \in \mathbb{R}\) of the following function \(f: \mathbb{R} \to \mathbb{R}\):
Since every \(x\) is an interior point of \(\mathbb{R}\), we have:
Proof
TODO
Definition: Critical Point
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function and let \(p \in \mathcal{D}\).
We say \(p\) is a critical point of \(f\) if \(f\) is not differentiable at \(x_0\) or its derivative there is zero.
Theorem: Differentiability \(\implies\) Continuity
If \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) is differentiable at \(p \in \mathcal{D}\), then \(f\) is also continuous at \(p\).
Proof
We need to show that \(f(p)\) is equal to the [limit](./Limits%20(Real%20Functions.md) of \(f\) at \(p\):
With the substition \(h = x - p\), we get the following:
This means that we need to show that \(\lim_{h \to 0} (f(p + h) - f(p)) = 0\).
We have the following:
Mean Value Theorem for Derivatives
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function.
If \(f\) is continuous on the closed interval \([a;b]\) and is differentiable on the open interval \((a;b)\), then there exists as least one \(\xi \in (a;b)\) such that
Proof
TODO
Theorem: Darboux's Theorem
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be a real function and let \([a;b]\) be a closed interval such that \([a;b] \subseteq \mathcal{D}\).
If \(f\) is differentiable on the open interval \((a;b)\), then for each \(\lambda \in \mathbb{R}\) such that \(f'(a) \lt \lambda \lt f'(b)\) or \(f'(a) \gt \lambda \gt f'(b)\), there exists some \(c \in (a;b)\) such that
Proof
TODO
Theorem: Power Rule
For all \(r \in \mathbb{R}\), the exponentiation \(x^r\) is differentiable with
Proof
TODO
Example: \((\sqrt{x})'\)
We can use this to find the derivative of \(\sqrt{x}\):
Theorem: Linearity of Differentiation
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real functions.
If \(f\) and \(g\) are both differentiable on \(S \subseteq \mathcal{D}_f \cap \mathcal{D}_g\), then \(\alpha f + \beta g\) is also differentiable on \(S\) for all \(\alpha, \beta \in \mathbb{R}\) with
Proof
Theorem: Product Rule
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real functions.
If \(f\) and \(g\) are both differentiable on \(S \subseteq \mathcal{D}_f \cap \mathcal{D}_g\), then their product \(fg\) is also differentiable on \(S\) with
Proof
Since \(f\) is differentiable at \(x\), it must also be continuous there, i.e. \(\lim_{h \to 0}f(x +h) = f(x)\). Therefore, we have:
Theorem: Quotient Rule
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real functions.
If \(f\) and \(g\) are both differentiable at \(x \in \mathcal{D}_f \cap \mathcal{D}_g\) and \(g(x) \ne 0\), then their quotient \(f/g\) is also differentiable at \(x\) with
Proof
TODO
Theorem: Chain Rule
Let \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real function and let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) also be a real function such that the image of \(g\) is contained in the domain of \(f\), i.e. \(g(\mathcal{D}_g) \subseteq \mathcal{D}_f\).
If \(g\) is differentiable at some \(x \in \mathcal{D}_g\) and \(f\) is differentiable at \(g(x)\), then their composition \(f \circ g: \mathcal{D}_g \to \mathbb{R}\) is also differentiable at \(x\) with
Proof
TODO
Theorem: General Power Rule
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real functions.
If \(f\) and \(g\) are both differentiable at \(x \in \mathcal{D}_f \cap \mathcal{D}_g\) and \(f(x) \gt 0\), then the exponentiation \(f^g\) is also differentiable at \(x\) with
where \(\ln\) is the real natural logarithm.
Proof
TODO
Theorem: Derivatives of Inverse Functions
Let \(f: \mathcal{D} \subseteq \mathbb{R} \to \mathbb{R}\) be an injective real function and let \(y \in f(\mathcal{D})\).
If \(f\) is differentiable at \(f^{-1}(y)\) with \(f'(f^{-1}(y)) \ne 0\) and its inverse function \(f^{-1}: f(\mathcal{D}) \to \mathcal{D}\) is continuous at \(y\), then \(f^{-1}\) is differentiable at \(y\) with
Proof
Since \(y \in f(\mathcal{D})\), we have \(y = f(x)\) for some unique \(x \in \mathcal{D}\).
TODO
Example: \((\arcsin x)'\)
The restriction of the sine function on \(\left[\frac{-\pi}{2}; \frac{\pi}{2}\right]\) is injective and differentiable with \(\sin '(x) \ne 0\). We can therefore use the aforementioned theorem to find the derivative of the arcsine function:
On \(\left[\frac{-\pi}{2}; \frac{\pi}{2}\right]\) we know that \(\cos x = \sqrt{1 - \sin x}\) and since \(\sin(\arcsin y) = y\), we get:
Higher-Order Differentiability#
Definition: Higher-Order Derivatives
The \(k\)-th order derivative of \(f\) is the derivative of the \((k-1)\)-th order derivative of \(f\):
- The \(0\)-th order derivative of \(f\) is just \(f\) itself;
- The first order derivative of \(f\) is just the aforementioned derivative \(f'\);
- The second order derivative of \(f\) is the derivative of the derivative \(f'\) and so on.Notation
\[ f' \qquad f'' \qquad f''' \qquad f^{\mathrm{IV}} \qquad f^{\mathrm{V}} \qquad \cdots \qquad f^{(n)} \]\[ \frac{\mathrm{d}f}{\mathrm{d}x} \qquad \frac{\mathrm{d}^2 f}{\mathrm{d}x^2} \qquad \frac{\mathrm{d}^3 f}{\mathrm{d}x^3} \qquad \frac{\mathrm{d}^4 f}{\mathrm{d}x^4} \qquad \frac{\mathrm{d}^5 f}{\mathrm{d}x^5} \qquad \cdots \qquad \frac{\mathrm{d}^n f}{\mathrm{d}x^n} \]Example: \(f(x) = x^3 - 7x^2 + 2x -3\)
For the function \(f(x) = x^3 - 7x^2 + 2x -3\) we have the following:
\[ \begin{aligned}f'(x) &= 3x^2 - 14x +2 \\ f''(x) &= 6x-14 \\ f'''(x) &= 6 \\ f^{(4)}(x) &= 0\end{aligned} \]If \(f\)'s \(k\)-order derivative exists (and is continuous), then we say that \(f\) is \(k\)-times (continuously) differentiable (at some point or on some subset).
Notation
If \(f\) is \(k\)-times continuously differentiable on \(S\), we write \(f \in C^n(S)\).
Theorem: Higher-Order Product Rule
Let \(f: \mathcal{D}_f \subseteq \mathbb{R} \to \mathbb{R}\) and \(g: \mathcal{D}_g \subseteq \mathbb{R} \to \mathbb{R}\) be a real functions.
If \(f\) and \(g\) are both \(n\)-times differentiable on \(S \subseteq \mathcal{D}_f \cap \mathcal{D}_g\), then their product is also \(n\)-times differentiable on \(S\) with
Proof
The proof is by induction.
Base case (\(n = 0\)):
We have \((fg)^{(0)} = fg\) and \(\sum_{k = 0}^0 \binom{n}{k} f^{(n-k)}g^{(k)} = f^{(0 - 0)}g^{(0)} = fg\).
Induction hypothesis: There exists some \(n \in \mathbb{N}_0\) such that \((fg)^{(n)} = \sum_{k = 0}^n \binom{n}{k} f^{(n-k)}g^{(k)}\) implies that \((fg)^{(n+1)} = \sum_{k = 0}^{n+1} \binom{n+1}{k} f^{(n-k+1)}g^{(k)}\).
Inductive step: