Consider the example of maximizing x 2 </msup> y z under the constraint th

terrasson81sgt

terrasson81sgt

Answered question

2022-04-06

Consider the example of maximizing x 2 y z under the constraint that x 2 + y 2 + z 2 = 5.

One way to do this is to use lagrange multipliers, solving the system of equations
2 x y z = 2 x λ
x 2 z = 2 y λ
x 2 y = 2 z λ
x 2 + y 2 + z 2 = 5
However, couldn't you just substitute x 2 = 5 y 2 z 2 into the expression you want to maximize to get: y z ( y 2 z 2 + 5 ) and then just maximize that by setting the y and z partial derivatives equal to zero?

Then you just have to solve the arguably simpler system of equations:
3 y 2 z + z 3 = 5 z
y 3 + 3 y z 2 = 5 y
where the zs and ys cancel out nicely on both sides.

Why is maximize by lagrange multipliers necessary when you can always substitute and maximize the resulting function?

When should you choose one over the other?

Answer & Explanation

Kendal Perez

Kendal Perez

Beginner2022-04-07Added 9 answers

If you're going to substitute like this, be careful to make sure you're not throwing out information when you do. For instance, the initial constraint of x 2 + y 2 + z 2 = 5 implies in particular that y 2 + z 2 5. If you blindly substitute x 2 = 5 y 2 z 2 as above, you'll end up trying to maximize y z ( 5 y 2 z 2 ) with no constraint on y or z whatsoever, when in fact you should maximize it on the disk y 2 + z 2 5.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school geometry

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?