Introductory university-level calculus, linear algebra, abstract algebra, probability, statistics, and stochastic processes.
Local maximum and local minimum
Get link
Facebook
X
Pinterest
Email
Other Apps
-
Derivatives can be used to find a function's local extremal values (i.e., local maximum or minimum values).
If \(f(x)\) is a continuous function defined on a closed interval \([a,b]\), then it always has a maximum value and a minimum value (c.f. the Extreme Value Theorem). Finding a maximum or minimum of a function on its entire domain is a global problem.
On the other hand, examining continuity or differentiability around \(x=a\) is a local problem in the sense that it only concerns the neighbor of the point \(x = a\). We may also define the notions of local maxima and local minima.
Definition (Local maximum and local minimum)
Let \(f(x)\) be a function defined on an interval \(I\) and let \(a \in I\).
\(f(a)\) is said to be a local maximum value of the function \(f(x)\) if there exists \(\delta > 0\) such that, for all \(x\in (a - \delta, a + \delta) \cap I\), \(x \neq a\) implies \(f(x) < f(a)\). \(x= a\) is said to be a local maximum point if \(f(a)\) is a local maximum value.
\(f(a)\) is said to be a local minimum value of the function \(f(x)\) if there exists \(\delta > 0\) such that, for all \(x\in (a - \delta, a + \delta) \cap I\), \(x \neq a\) implies \(f(x) > f(a)\). \(x= a\) is said to be a local minimum point if \(f(a)\) is a local minimum value.
We use the term extreme value to mean either a local maximum value or a local minimum value.
Remark. If a local maximum value is actually a maximum value, then the maximum value is called a global maximum value. A global minimum value is similarly defined. Note that a global maximum (minimum) value is a local maximum (minimum) value, but not vice versa. □
Example. The constant function \(f(x) = c\) (\(c\) is a constant) has the maximum value \(c\) and the minimum value \(c\), but it does not have a local maximum value or local minimum value. □
Example. Let \(f(x) = (x^2 - 1)(x^2 - 4)\) (draw the graph!). \(f(0) = 4\) is a local maximum value. In fact, take \(\delta = \sqrt{5} > 0\), then for all \(x\) such that \(0 < |x| < \delta\), we have
\[0 < x^2 < \delta^2\]
(i.e., \(x^2\) is strictly positive) and
\[-5 < x^2 - 5 < \delta^2 - 5 = 0\]
(i.e., \(x^2 - 5\) is strictly negative) so that
\[f(x) = x^2(x^2 - 5) + 4 < 4 = f(0).\]
This means that \(f(0) > f(x)\) for all \(x \in (-\delta, +\delta), x \neq 0\). That is, \(f(0)\) is a local maximum value (check the above definition again!). □
Definition (Stationary/critical point)
Let \(f(x)\) be a differentiable function. \(x=a\) is said to be a critical point or stationary point if \(f'(a) = 0\). In this case, \(f(a)\) is called a critical value or stationary value.
Theorem
If a differentiable function \(f(x)\) has a local extremum value (i.e., either a local maximum or a local minimum value) at \(x = a\), then \(x = a\) is a stationary point.
Proof. We prove only for the local maximum case (the local minimum case is similar).
Suppose \(f(x)\) takes a local maximum value at \(x=a\). Then there exists \(\delta > 0\) such that, for all \(x\in (a - \delta, a + \delta)\), \(f(x) \leq f(a)\). Since \(f(x)\) is differentiable at \(x = a\) (by assumption), we have
If \(0 < a - x < \delta\) (i.e., \(x \in (a - \delta, a)\)), then \(\frac{f(x) - f(a)}{x - a} \geq 0\) so, by taking the limit as \(x \to a-0\), we have \(f'(a)\geq 0\).
If \(0 < x - a < \delta\) (i.e., \(x\in (a, a+\delta)\)), then \(\frac{f(x) - f(a)}{x - a} \leq 0\) so, by taking the limit as \(x \to a+0\), we have \(f'(a) \leq 0\).
Therefore, we have \(f'(a) = 0\). ■
Remark. The converse of this theorem is not true. That is, \(f'(a) = 0\) does not imply \(f(a)\) is an extremum. For example, \(f(x) = x^3\) has \(f'(0) = 0\), but \(f(0)\) is neither a local maximum value nor a local minimum value (draw the graph!). □
Let \(\mathbf{X} = (X_1, X_2, \cdots, X_n)^\top\) be a vector of random variables. We say it follows the multivariate normal (Gaussian) distribution if its density is given by \[f(\mathbf{x}) = \frac{1}{\sqrt{(2\pi)^n|\Sigma|}}\exp\left(-\frac{1}{2}(\mathbf{x} - \boldsymbol{\mu})^\top\Sigma^{-1}(\mathbf{x} - \boldsymbol{\mu})\right)\tag{Eq:density}\] where \(\boldsymbol{\mu} = (\mu_1, \mu_2, \cdots, \mu_n)^\top \in \mathbb{R}^n\) is a vector, \(\Sigma\) is a symmetric positive definite \(n\times n\) matrix, and \(\Sigma^{-1}\) and \(|\Sigma|\) are the inverse and determinant of \(\Sigma\), respectively. It turns out that \(\boldsymbol{\mu}\) and \(\Sigma\) are the mean vector and covariance matrix of \(\mathbf{X}\), respectively. But we will not prove that here. In this post, we will show this density (Eq:density) is normalized (of course). That is, we prove that \[\int_{\mathbb{R}^n}f(\mathbf{x})d\mathbf{x} = 1.\] We assume that you already know how to prove the univariate nor...
We show some basic properties of differentiation, such as linearity, the product rule, the quotient rule, the chain rule, etc. We also introduce higher-order derivatives and differentiability classes. Theorem (Properties of differentiation) Let \(f(x)\) and \(g(x)\) be differentiable functions on an open interval \(I\). (Linearity) \[\frac{d}{dx}[kf(x) + lg(x)] = kf'(x) + lg'(x)\] where \(k, l\) are constants. (Product rule) \[\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x).\] (Quotient rule) \(\frac{f(x)}{g(x)}\) is differentiable on \(\{x \mid g(x) \neq 0, x\in I\}\) and \[\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}.\] Proof . Exercise. Since \(f(x)\) is differentiable at \(x=a\), it is continuous at \(x=a\) so \(f(x) \to f(a)\) as \(x \to a\). For any \(a\in I\), \[\begin{eqnarray*} \frac{f(x)g(x) - f(a)g(a)}{x - a} &=& \frac{f(x)g(x) - f(x)g(a) + f(x)g(a) - f(a)g(a)}{x - a}\\ &=& f(x)\cdot\frac{g(x) ...
Let \(\mathbf{X} = (X_1, X_2, \cdots, X_n)^\top \in \mathbb{R}^n\) be a vector of random variables. The covariance matrix \(\Sigma\) of \(\mathbf{X}\) is a square (\(n\times n\)) matrix whose elements are covariances between the components of \(\mathbf{X}\). That is, \[\Sigma_{ij} = \mathrm{Cov}(X_i,X_j)\] where \(\mathrm{Cov}(X_i,X_j)\) is the covariance between \(X_i\) and \(X_j\) , \(i,j = 1, 2, \cdots, n\): \[\mathrm{Cov}(X_i, X_j) = \mathbb{E}[(X_i - \mathbb{E}[X_i])(X_j - \mathbb{E}[X_j])].\] Here, \(\mathbb{E}[\cdot]\) indicates the expectation value of a random variable . Any covariance matrix has the following properties: Symmetric. That is, \[\Sigma = \Sigma^\top.\] Positive semi-definite. That is,\[\forall \mathbf{v} \in \mathbb{R}^n, \mathbf{v}^\top\Sigma\mathbf{v} \geq 0.\] See also : Positive definite matrix (Wolfram MathWorld) The symmetry is obvious from the definition of the covariance matrix. Now, let us prove that the covariance matrix is positive semi-...
Comments
Post a Comment