Lagrange Multiplier Problem, three variables
- From: "JTolman" <jtolman@xxxxxxxxx>
- Date: 12 Aug 2006 15:25:27 -0700
I have to minimize the function f(x,y,z) = 1/x^2 + 1/y^2 + 1/z^2 under
the constraing that the volume of the box dimensions x,y,z is V = xyz.
I tried to solve this in Mathematica but I think my problem stems from
the fact my fourth equation (the original constraint equation) is not
an equation, but a function with no set value. I can get a fourth
equation V = xyz, but that obviously introduces yet another variable.
My gut feeling is that the values of x, y, and z that minimize the
function would be in terms of other variables.
When I tried to solve it in Mathematica instead of by hand, I get
something like this...
eqn1 = 2/x^3 == lambda y z
eqn2 = 2/y^3 == lambda x z
eqn1 = 2/z^3 == lambda x y
Solve[{eqn1, eqn2, eqn3},{x,y,z}
I of course get a LOT of solutions, all of them are in terms of
variables, not numbers. Can someone explain how I might be able to
solve this (by hand or Mathematica) or give justification to why there
aren't numerical solutions if that's the case?
.
- Follow-Ups:
- Re: Lagrange Multiplier Problem, three variables
- From: Jean-Marc Gulliet
- Re: Lagrange Multiplier Problem, three variables
- Prev by Date: Re: What wrong in this Mathematica function definition?
- Next by Date: Re: Lagrange Multiplier Problem, three variables
- Previous by thread: What wrong in this Mathematica function definition?
- Next by thread: Re: Lagrange Multiplier Problem, three variables
- Index(es):
Relevant Pages
|
|