toforfiltum said:
Haha, what you said above was definitely mumbo-jumbo to me. But what do you mean by the tangent plane of the constraint? Is it taking the Hessian of the gradient of the equation of constraint?
So, in the case of this question, I do not need to show that the value I get is indeed largest, is it? I can just assume from instructions of the question?
Somehow you need to convince yourself that the value you get is, indeed, the largest possible constrained value. One way would be to show that when you use the constraint to eliminate a variable, the solution you get is the maximum of the resulting one-variable unconstrained problem. Another way is to use the procedure I outlined.
Probably the best way to illustrate the second approach is to go through it in detail from start to finish. Eliminate the factors of ##\pi## (by changing volume and area measurement units) and take Area = 24 to make later writing easier. The problem is to maximize ##V = r^2 h## subject to ##A = 24##, where ##A = 2 r^2 + 2rh##. The Lagrangian is ##L = V - u A## (writing ##u## instead of ##\lambda##), and solving by the usual method gives the solution ##(r,h,u) = (2,4,1)##. The ##(r,h)##-Hessian of the Lagrangian ##L## at the solution is
$$H = \left. \pmatrix{2h - 4u & 2r - 2u\\2r - 2u & 0} \right|_{(r,h,u) = (2,4,1)} = \pmatrix{4 & 2 \\2 & 0 }.$$
The associated quadratic form for ##H## is
$$ Q = \langle \Delta r, \Delta h \rangle H \pmatrix{\Delta r\\\Delta h} = 4 \Delta r^2 + 4 \Delta r \Delta h$$.
The tangent line to the constraint at the point ##(r,h) = (2,4)## is ##16 \Delta r + 4 \Delta h = 0##; that is the line ##(r,h) = (2+\Delta r, 4 + \Delta h)## that is tangent to the constraint curve at the solution.
On the tangent line we have ##\Delta h = - 4 \Delta r##, so on the tangent line we have ##Q = 4 \Delta r^2 + 4 \Delta r (- 4\Delta r) =-12 \Delta r^2##, and that means that the Hessian of ##L## projected onto the tangent line is ##\partial^2 Q/ \partial \Delta r^2 = -24##. Considered as a ##1 \times 1## matrix, this is negative definite, so the point ##(r,h) = (2,4)## is a strict local maximum.
Basically, this calculation means that
along the constraint curve we have
$$V(2+\Delta r, 4 + \Delta h) \approx V(2,4) + \frac{1}{2} (-12 \Delta r ^2) = 16 - 6 \Delta r^2,$$
which has a strict local maximum at ##\Delta r = 0##.
Note: what I wrote was
not a typo: the constrained value of ##V## is related to the Hessian of the Lagrangian ##L##, not just to the Hessian of ##V## alone.
Note that if we use the area constraint to express ##h## in terms of ##r## we would have ##V = V(r) = 12 r - r^3##, so ##V(2 + \Delta r) \approx 16 - 6 \Delta r^2##. This is exactly what we got by looking at the projected Hessian of the Lagrangian!