How to find the maximum value of the function f(x,y,z)= x+2y-3z subject to the constraint z=4x^2+y^2?
buscandoaireka8u
Answered question
2023-02-18
How to find the maximum value of the function subject to the constraint ?
Answer & Explanation
Jakob Howell
Beginner2023-02-19Added 4 answers
Forming the lagrangian
with
calculating and solving for the stationary points
or
and solving for we obtain
and the maximum value is
NOTE: To qualify the stationary point it is necessary to form
and then calculate
As we can observe, has negative eigenvalues indicating that the found solution represents a maximum.
Guadara0c2x
Beginner2023-02-20Added 1 answers
Given: and the constraint function The Lagrange function is:
We compute the partial derivatives:
These 4 derivatives should be set to zero before they are solved as a system of equations:
Solve equation [3] for :
Substitute -3 for into equation [1]:
Substitute -3 for into equation [2]:
Use equation [4] to find the value of z:
Note: One cannot use the second derivative to test whether the Lagrange multiplier has given you a maximum or a minimum; the only way to determine whether the value is a local maximum is perturbation of values. I will leave that exercise to you.