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!
 
To solve this, I first used the units to work out that a= m* a/m, i.e. t=z/λ. This would allow you to determine the time duration within an interval section by section and then add this to the previous ones to obtain the age of the respective layer. However, this would require a constant thickness per year for each interval. However, since this is most likely not the case, my next consideration was that the age must be the integral of a 1/λ(z) function, which I cannot model.
Back
Top