How Do You Use Lagrange Multipliers to Maximize Box Volume in an Ellipsoid?

ryan8888
Messages
26
Reaction score
0
1. Problem Statement:

Use Lagrange multipliers to find the volume of the largest box with faces parallel to the coordinate system that can be inscribed in the ellipsoid: 6x2 + y2 + 3z2 = 2

2. Homework Equations :

f(x,y,z) = \lambdag(x,y,z)

3. Attempt at a solution

f(x,y,z) is the box of dimensions xyz
g(x,y,x) is the constraint: 6x2 + y2 + 3z2 = 2

Therefore:

fx = yz
fy = xz
fz = xy

gx = 12x
gy = 2y
gz = 6z

<fx, fy, fz> = \lambda<gx, gy, gz> = <\lambdagx, \lambdagy, \lambdagz>

Which gives us these equations:

yz = \lambda12x (1)
xz = \lambda2y (2)
xy = \lambda6z (3)
6x2 + y2 + 3z2 = 2 (4)

Multiplying Eq 1 by x, Eq 2 by y and Eq 3 by z we get:

xyz = x\lambda12x or \lambda12x2
xyz = y\lambda2y or \lambda2y2
xyz = z\lambda6z or \lambda6z2

Now because \lambda \neq 0 (this would give the sides of the boxes as xz=yz=xy=0) we can divide \lambda out:

and we have 12x2 = 2y2 = 6z2

This is the point where I am running into trouble. I need to solve the system of equations and I also know that the solution is staring me in the face I just can't seen to be able to figure it out.

Any help is greatly appreciated!
 
Physics news on Phys.org
6x2 + y2 + 3z2 = 2 (4)
and we have 12x2 = 2y2 = 6z2
which means that 6x2 = y2 = 3z2 = t, say

Substitute into (4) to find t.
 
Well explained, AlphaZero.

But, because that last part depended on that very nice form for the constraint, you could have done this:
12x^2= 2y^2= 6z^2
dividing through by 2 gives, as AlphaZero said
6x^2= y^2= 3z^2
so that x= \pm y/\sqrt{6} and z= \pm y/\sqrt{3}
and you can replace x and z in whatever constraint you have to get a single equation in y.

Here, of course, you just get y^2+ y^2+ y^2= 3y^2= 2 and can solve for y. When finding x and z, don't forget the \pm
 
AlephZero said:
which means that 6x2 = y2 = 3z2 = t, say

Substitute into (4) to find t.

Please forgive me but I'm not following what you are saying here. I just don't see how 6x2 = y2 = 3z2 = t fits into the equation for the constraint.
 
He is saying that the common value in the equation 6x= y= 3z can be set equal to t: 6x= y= 3x= t. Now, the constraint equation just happens to be 6x+ y+ 3z= 2. Replacing each of those with t you have t+ t+ t= 3t= 2.
 
HallsofIvy said:
He is saying that the common value in the equation 6x= y= 3z can be set equal to t: 6x= y= 3x= t. Now, the constraint equation just happens to be 6x+ y+ 3z= 2. Replacing each of those with t you have t+ t+ t= 3t= 2.

I can't believe I didn't catch the dividing out the common!

THanks guys I got it now!
 
Thread 'Need help understanding this figure on energy levels'
This figure is from "Introduction to Quantum Mechanics" by Griffiths (3rd edition). It is available to download. It is from page 142. I am hoping the usual people on this site will give me a hand understanding what is going on in the figure. After the equation (4.50) it says "It is customary to introduce the principal quantum number, ##n##, which simply orders the allowed energies, starting with 1 for the ground state. (see the figure)" I still don't understand the figure :( Here is...
Thread 'Understanding how to "tack on" the time wiggle factor'
The last problem I posted on QM made it into advanced homework help, that is why I am putting it here. I am sorry for any hassle imposed on the moderators by myself. Part (a) is quite easy. We get $$\sigma_1 = 2\lambda, \mathbf{v}_1 = \begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix} \sigma_2 = \lambda, \mathbf{v}_2 = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \\ 0 \end{pmatrix} \sigma_3 = -\lambda, \mathbf{v}_3 = \begin{pmatrix} 1/\sqrt{2} \\ -1/\sqrt{2} \\ 0 \end{pmatrix} $$ There are two ways...
Back
Top