Maxima and Minima with Lagrange multipliers (vector calculus)

In summary: I think I see the problem. You must have thought he was saying ##1/3## was the maximum value of the function. No, it's the value of the function at its maximum value.In summary, the conversation discusses various mathematical approaches to solving a problem involving maximizing the volume of a rectangular parallelpiped inscribed in an ellipsoid. The use of substitution and Lagrange multipliers is suggested, with the suggestion to simplify the problem by setting certain variables to 1. The correct answer is found to be ##\frac{8abc}{3\sqrt{3}}##, but the main focus of the conversation is on understanding the method rather than the answer itself. The importance of understanding the constraints and setting up
  • #1
WMDhamnekar
MHB
376
28
Homework Statement
Find the volume of the largest rectangular parallelpiped that can be inscribed in the ellipsoid
##\frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = 1##
Relevant Equations
No equation
1651999378033.png
 
Last edited:
  • Like
Likes Delta2
Physics news on Phys.org
  • #2
Hi,

Your problem has a multitude of short-cut possibilities. You distract yourself with your substitution.
With three equations in four unknowns you need a fourth. Any suggestions ? (hint: what is it you want to maximize ?)

General advice: if you don't succeed at first, try a simpler case. In this case you could set ##a=b=1## and maximize ##f=xy## subject to ##g = \sqrt{x^2+y^2}\le 1## with a well known answer -- but the point is to understand the method.

##\ ##
 
  • #3
BvU said:
Hi,

Your problem has a multitude of short-cut possibilities. You distract yourself with your substitution.
With three equations in four unknowns you need a fourth. Any suggestions ? (hint: what is it you want to maximize ?)

General advice: if you don't succeed at first, try a simpler case. In this case you could set ##a=b=1## and maximize ##f=xy## subject to ##g = \sqrt{x^2+y^2}\le 1## with a well known answer -- but the point is to understand the method.

##\ ##
Author provided the answer: ## \frac{8abc}{3\sqrt{3}}## I don't understand how was that computed?
 
  • #4
The answer is NOT interesting (but you can check it with ##a=b=c=1## if you insist :smile: )

The exercise is intended to help you understand the method.

You chose to ignore my advice and my hint. Any particular reason ?
(I could easily give you straight directions to get the answer, but, again, that's not the point of this exercise...)

To clarify:
BvU said:
hint: what is it you want to maximize
use
1652011833121.png
to write ##f## as a function of ##x,y,z,\lambda##. Turns out to be very simple...

PS why did you post a picture instead of ##\LaTeX## typesetting ?

##\ ##
 
  • #5
BvU said:
The answer is NOT interesting (but you can check it with ##a=b=c=1## if you insist :smile: )

The exercise is intended to help you understand the method.

You chose to ignore my advice and my hint. Any particular reason ?
(I could easily give you straight directions to get the answer, but, again, that's not the point of this exercise...)

To clarify:

use View attachment 301199 to write ##f## as a function of ##x,y,z,\lambda##. Turns out to be very simple...

PS why did you post a picture instead of ##\LaTeX## typesetting ?

##\ ##
Maximize f(x,y,z) = volume of rectangular parallelpiped.
If we substitute a=b=c=1 in g(x,y,z), we get equation of sphere ##x^2 + y^2 + z^2 =1 \Rightarrow x=y=z=\frac{\sqrt{3}}{3} f(x,y,z) = \frac{1}{3\sqrt{3}} ## but as per author's answer it must be ##\frac{8abc}{3\sqrt{3}}= \frac{8}{3\sqrt{3}}##

I posted this question on other math help websites also having latex software, to get different ideas of solving the same question from various different math professionals and then analyze them according to its convenience to me. That's why I preferred to post a picture rather than using latex which is time consuming exercise.
 
  • #6
The cube for which was calculated a corner ##x,y,z## has seven other corners. Hence the factor 8.

What did you find and how did you find it ?

##\ ##
 
  • Like
Likes WMDhamnekar
  • #7
So what's the status now ? Factor 8 clear ?

##\ ##
 
  • #8
BvU said:
So what's the status now ? Factor 8 clear ?

##\ ##
This question was solved.
## \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = \frac{4xyz}{\lambda}##

and

##\frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} =1##

##\therefore \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} =\frac13##
 
  • Like
Likes BvU
  • #9
Strange. With your
1652202458953.png

I get $$ \begin{align*}
xyz & = 2\lambda {x^2\over a^2 }\ ,\\
xyz & =2\lambda{ y^2\over b^2} \ ,\\
xyz & =2\lambda{ z^2\over c^2}\quad \end{align*}
$$so not your
##\quad\ \ \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = \frac{4xyz}{\lambda}##
but ##{x^2\over a^2 }={y^2\over b^2 }={z^2\over c^2 }##
and ##\frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} = {2\over 3} \frac{xyz}{\lambda}##

?

https://www.whitman.edu/mathematics/calculus_online/section14.08.html
Example 14.8.1 is the example I was referring to (with ##a=b=c=1##).
 
  • Haha
Likes WMDhamnekar
  • #10
Your
##\qquad\therefore \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} =\frac13##
is very far from the constraint !
 
  • #11
BvU said:
Your
##\qquad\therefore \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2} =\frac13##
is very far from the constraint !
I am very sorry.:sorry: There are mistakes in the my answer given in #8.
Please read ## \frac{x^2}{a^2} = \frac{y^2}{b^2} = \frac{z^2}{c^2} = \frac{4xyz}{\lambda}##

and
##\therefore \frac{x^2}{a^2} = \frac{y^2}{b^2} =\frac{z^2}{c^2}= \frac13##
 
Last edited:
  • #12
Where does the ##1\over 3## come from all of a sudden?
 
  • #13
BvU said:
Where does the ##1\over 3## come from all of a sudden?
Please use some algebra to find out that:oldsurprised:
 
  • #14
I'm not trying to find out that. I am asking you something
 
  • #15
BvU said:
I'm not trying to find out that. I am asking you something
Hi,
Let P(x, y, z) be a point on the ellipsoid. The 8 vertices of the rectangular parallelpiped are ## P(\pm x, \pm y , \pm z).## Therefore maximize Volume(V) of the rectangular parallelpiped## f(x,y,z)=V = (2x\cdot 2y \cdot 2z)= 8xyz##

given

##g (x,y,z) = \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2}=1##

Now, read my post #1 and #11, use some algebra you will get the answer ##\frac{8abc}{3\sqrt{3}}## as given by author. I got the answer which correctly matches with the author's answer.
That's it.
 
  • Like
Likes Delta2
  • #16
Nobody is interested in the answer :wink:. What you want to get out of this exercise is an understanding of the Lagrange multipliers method.

Your problem statement said
the largest rectangular parallelpiped that can be inscribed in the ellipsoid...

Which is different from
WMDhamnekar said:
given
$$g (x,y,z) = \frac{x^2}{a^2} + \frac{y^2}{b^2} + \frac{z^2}{c^2}\ \ = \ \ 1$$

At some point (imho) you explicitly need to make the step from ##g\le 1## to ##g=1##. Perhaps you did, but then I missed that.

(see example 4 here)

Other than that, you did fine. Even without following the suggestions in #2 ...

[edit]Well, apart also from setting up the wrong ##f## in
1652272248317.png


:rolleyes:

##\ ##
 
  • Informative
Likes WMDhamnekar
  • #17
BvU said:
Where does the ##1\over 3## come from all of a sudden?
BvU said:
I'm not trying to find out that. I am asking you something
3 equal numbers add up to 1. Are you really questioning how he deduced that each number is 1/3?
 
  • #18
BvU said:
At some point (imho) you explicitly need to make the step from ##g\le 1## to ##g=1##. Perhaps you did, but then I missed that.
Inscribed means that all corners are on the surface. That's why g=1.
 
  • Skeptical
Likes BvU
  • #19
I think post #15 gives the answer, as well correcting the initial mistake in the objective function.
 
  • #20
I have noticed several similar questions over the past year or so about a 2 or 3-variable Lagurange optimisation problem in each of which the answer would have come out immediately if you consider the symmetry of the problem.

A problem symmetric in several variables should have a solution symmetric in those variables.

Unlike the other problems this one requires a slight tweak at the beginning to make it symmetric. Just change the variables into three others: ##X=ax, Y=by, Z=cZ##, then the problem becomes find the volume of the cube whose corners are points on the sphere ##X^2+Y^2 +Z^2=1##, the volume of the parallipiped is then ##abc## times that.

The side of the cube whose corners are on a sphere of radius 1 is 2/√ 3
so giving a cube of volume 8/3√3 and parallelipiped volume 8abc/3√3.

The maxima in the other problems pwere obtainable by making other variables equal to the variable ##x## and finding the ##x## that maximised that singl-variable function, very simple. Of course you need to know Lagrange to be able to deal with the general case, and the right answer was always found - just I thought they were rather here's a problem about a formula, here's a method, turn the handle, here's another formula which is the solution, but the somewhat intriguing geometry of the functions went unnoticed.
 
  • Like
Likes Delta2

1. What is the concept of maxima and minima in vector calculus?

The concept of maxima and minima in vector calculus refers to the points on a curve or surface where the function reaches its highest or lowest value, respectively. These points are also known as critical points and can be found by taking the derivative of the function and setting it equal to zero.

2. How are Lagrange multipliers used in finding maxima and minima?

Lagrange multipliers are used in finding maxima and minima by incorporating additional constraints into the optimization problem. This allows for the use of the method of Lagrange multipliers to find the critical points of the function, which can then be used to determine the maxima or minima.

3. Can Lagrange multipliers be used for both single-variable and multi-variable functions?

Yes, Lagrange multipliers can be used for both single-variable and multi-variable functions. In single-variable functions, the constraint is typically a single equation, while in multi-variable functions, the constraint is typically a system of equations.

4. What is the geometric interpretation of Lagrange multipliers?

The geometric interpretation of Lagrange multipliers is that they represent the direction in which the function is changing the most subject to the given constraints. This direction is perpendicular to the level curves or surfaces of the function and the constraint equations.

5. Are there any limitations to using Lagrange multipliers in finding maxima and minima?

Yes, there are some limitations to using Lagrange multipliers in finding maxima and minima. One limitation is that the method only works for continuous functions and constraints. Additionally, the method may not always yield the global maximum or minimum, but rather a local maximum or minimum.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
550
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
476
  • Calculus and Beyond Homework Help
Replies
11
Views
2K
  • Calculus
Replies
10
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
998
Back
Top