Optimization program using Lagrange multipliers.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
theBEAST
Messages
361
Reaction score
0

Homework Statement


Here is the problem, the solution and my question (in red):
YPtQ50N.png


I'm guessing it was rejected because for the volume function, the dimensions cannot be negative? What if it was not volume and instead was just an arbitrary function. In that case you would not reject anything right?

Thanks!
 
Physics news on Phys.org
I do not think your constraint really corresponds to the problem. x, y, z are dimensions of the box, not coordinates of any of its points.
 
theBEAST said:

Homework Statement


Here is the problem, the solution and my question (in red):
YPtQ50N.png


I'm guessing it was rejected because for the volume function, the dimensions cannot be negative? What if it was not volume and instead was just an arbitrary function. In that case you would not reject anything right?

Thanks!
Yes, if the problem were just to find numbers x, y, and z, satisfying [itex]x^2+ y^2+ z^2= r^2[/itex], that maximize 8xyz, then negative values would also be acceptable. There would, in fact, be 8 different solutions.

Personally, I think the solution given is a little "terse". Because the original problem made no mention of x, y, and z, I would have started: "Set up a coordinate system having the center of the sphere as origin and axes parallel to the sides of the rectangular solid. Take "x", "y", and "z" to be the coordinates of the vertex in the first octant."

That would make it clear that x, y, and z are positive.