Exercise set H#
Following the invited lecture (which will not appear in the final exam) this week’s tutorial focuses again on the type of problems that will likely appear in the final exam.
Question H.1#
Find the maxima and minima of the function \(f(x,y) = xy\) subject to \(x^2+y^2=2a^2\), where \(a>0\).
Hint
Checking both first and second order conditions if necessary for the top grade at the exam
Question H.2#
Find the maxima and minima of the function \(f(x,y) = \tfrac{1}{x} + \tfrac{1}{y}\) subject to \((\tfrac{1}{x})^2+(\tfrac{1}{y})^2=(\tfrac{1}{a})^2\), where \(a>0\).
Question H.3#
Solve the following maximization problem
Hint
If you don’t know how to compute a higher order determinant, you may skip it, but explain the decision process which involves these determinants
Question H.1
We first wite down the Lagrangian:
We have:
F.O.C.s are \(\nabla \mathcal{L}(\lambda, x, y) = 0\).
If \(\lambda = 0\), then \(x=y=0\), which contradicts with \(x^2 + y^2 - 2a^2 = 0\) because \(a>0\). Thus, \(\lambda \neq 0\).
If \(x=0\), then \(\lambda = y = 0\), which contradicts with \(\lambda \neq 0\). Thus, \(x \neq 0\).
Similarly, we can prove \(y \neq 0\).
Thus, we have \(y = 2 \lambda x\), \(x = 2 \lambda y\) and \(x,y,\lambda \ne 0\). Combining the two equation we have \(y = 4 \lambda^2 y\) and \(\lambda^2 = 1/4\). Consider the two cases one by one: for \(\lambda = 1/2\) we have \(x=y\), and for \(\lambda = -1/2\) we have \(x=-y\). Taking into account the constraint, each of the two cases leads to two each, namely \(x=\pm a\) and \(y= \pm a\).
Altogether we get four critical points:
\(x=a, y=a, \lambda = \frac{1}{2}\),
\(x=a, y=-a, \lambda = -\frac{1}{2}\),
\(x=-a, y=a, \lambda = -\frac{1}{2}\),
\(x=-a, y=-a, \lambda = \frac{1}{2}\).
The bordered Hessian:
Since there are two variables, one constraint, we only need to check the sign of the determinant of the bordered Hessian (the last leading principal minor):
Notice that:
Thus, we know that the critical points \((a, a)\) and \((-a, -a)\) are local maximizers, and the critical points \((a, -a)\) and \((-a, a)\) are local minimizers.
In this question, the gloabl maximizer/minimizer exists by Weierstrass theorem and must be some local maximizer/minimizer. From \(f(a, a) = f(-a, -a) = a^2, f(-a, a) = f(a, -a) = -a^2\), we know the maxima is \(a^2\) and the minima is \(-a^2\).
Question H.2
We first wite down the Lagrangian:
The F.O.C.s are:
Solving F.O.C.s, we get two solutions:
(1). \(x=y=\sqrt{2}a, \lambda = \frac{\sqrt{2}}{2}a.\)
(2). \(x=y=-\sqrt{2}a, \lambda = -\frac{\sqrt{2}}{2}a.\)
The bordered Hessian:
Since there are two variables, one constraint, we only need to check the sign of the determinant of the bordered Hessian (the last leading principal minor):
Since for both critical points, we have \(x=y=2\lambda\), we only need to consider \(\det(H\mathcal{L}(x/2, x, x)) = 8/x^9\).
Notice that:
Thus, we know that the critical point \((\sqrt{2}a, \sqrt{2}a)\) is local maximizer, and the critical points \((-\sqrt{2}a, -\sqrt{2}a)\) are local minimizers.
In this question, the gloabl maximizer/minimizer exists by Weierstrass theorem and must be some local maximizer/minimizer. We know the maxima is \(f(\sqrt{2}a, \sqrt{2}a) = \frac{\sqrt{2}}{a}\) and the minima is \(f(-\sqrt{2}a, -\sqrt{2}a) = -\frac{\sqrt{2}}{a}\).
Question H.3
First, notice that if \(x=0\), \(f(0, y,z) = 0 < f(1, 1, 1)=1\), thus, \(x>0\). Similarly, we can prove \(y > 0\) and \(z > 0\).
Second, notice that if \(x + 2y + z < 10\), we can set \(x^{\prime} = 10 - 2y - z\), which implies \(x^{\prime} > x\) and \(f(x^{\prime}, y, z) > f(x, y, z)\).
Thus, the only binding constraint is \(x + 2y + z = 10\).
The Lagrangian is:
The gradient of the Lagrangian w.r.t. \((\lambda, x, y, z)\) is:
Solve \(\nabla \mathcal{L}(\lambda, x, y, z) = 0\), we get \(x = z = \frac{4}{3}y = \frac{20}{11}\).
The bordered Hessian:
Since there are three variables, one constraint, we need to check the determinant of the bordered Hessian and the last but one leading principal minor (Let us denote the matrix composed of the intersection of first three rows and first three columns of \(H\mathcal{L}\) by \(M(\lambda, x, y, z)\)).
We can simplify \(H\mathcal{L}\) by using \(x = z = \frac{4}{3}y\) at the critical point:
The determinants are:
and
since \(z = 20/11\) at the critical point.
Thus, the sign of the last leading principal minor is negative, and the sign of the determinant of the last but one leading principal minor is positive (recall there are three variables, and we need to confirm \(H_{(x, y, z)}\mathcal{L}(\lambda, x, y, z)\) is negative definite on the constraint set). Thus, the critical point is a local maximizer.
By Weierstrass theorem, we know the unique local maximizer must be the global maximizer. The maxima is \(f(20/11, 15/11, 20/11) = (\frac{20}{11})^{4/3} (\frac{15}{11})^{1/2}\).