Let be Fréchet-differentiable.
Problem 1. Prove that if gives a local extremum for
, then
.
(Click for Solution)
Solution. Suppose is a local maximum for
without loss of generality (otherwise,
is a local maximum for
). Then there exists
and a neighborhood of
with radius
such that for
,
Consider the quantity . By definition,
For , we have
. Therefore, taking
yields
, and taking
yields
, so that
. Therefore, for any
,
Therefore, .
Suppose has continuous first- and second-order partial deriatives and
be a domain.
Definition 1. Define the Hessian matrix of
by
We remark that is symmetric by Clairaut’s theorem.
Problem 2. Suppose and
. Prove the following:
gives a local maximum if
and
.
gives a local minimum if
and
.
is not a local extremum if
.
(Click for Solution)
Solution. In the case ,
and so by Clairaut’s theorem has a determinant of
Fix and assume
without loss of generality. Compute
and simplify using Clairaut’s theorem and completing the square to obtain
Suppose . If
, then there exists
such that if
, then
. Consider the function
defined by
Differentiating twice,
In particular, and
. By the usual second derivative test,
is a local minimum on the line segment
. Since this argument holds regardless of
,
yields a local minimum for
.
The argument holds similarly in the other two cases.
Problem 3. Write down the maximum value of in terms of
.
(Click for Solution)
Solution. Assume without loss of generality. Recall that
where . To maximise
, we need
such that
, which means
. In this case,
, so that
Therefore, the maximum value of is
. On the opposite end, the vector
minimises , yielding the famous machine learning technique called gradient descent.
Let be Fréchet-differentiable.
Problem 4. Define the zero surface of by
Let be a continuously differentiable curve with
. Prove that
.
(Click for Solution)
Solution. By the chain rule,
Problem 5. The tangent plane to
at
is defined by
Prove that if , then for any vector
,
(Click for Solution)
Solution. Since can be affinely transformed to a subspace of
, we assume
without loss of generality. Then we see that
with dimension
. In this case,
if and only if
.
Problem 6. Suppose has continuous first-order partial derivatives and
for any
. Evaluate the local extrema of
on
whenever they exist.
(Click for Solution)
Solution. Let be a local extremum of
on
. We claim that there exists
such that
Let be any continuously differentiable curve with
. Define
. Differentiating using the chain rule, since
is a local extremum at
,
In particular, . Therefore,
. Hence, there exists
such that
Corollary 1. Define the Lagrangian by
Under the hypotheses of Problems 4 to 6, if is a local extremum, then there exists
such that
. In this case, we call
a Lagrange multiplier for the optimisation problem.
—Joel Kindiak, 13 Aug 25, 1243H
Leave a comment