Find the dimensions of the rectangle of greatest area

In summary, the problem is to find the dimensions of the rectangle of greatest and least area that can be inscribed in the ellipse x^2/16 + y^2/9 = 1 with sides parallel to the coordinate axes. The solution involves using the Lagrange derivative conditions to find four points to test, two of which will give the maximum area and two the minimum. The area is defined as 4|xy| and the problem can be formulated as a maximization or minimization problem with constraints.
  • #1
Panphobia
435
13

Homework Statement


Find the dimensions of the rectangle of greatest and least area
that can be inscribed in the ellipse x^2/16 + y^2/9 = 1 with sides parallel
to the coordinate axes.

The Attempt at a Solution


f(x,y) = (2x)(2y) = 4xy
∇f = <4y,4x>
∇g = <x/8,2y/9>

∇f = λ∇g

4y = λx/8
4x = λ2y/9

I can isolate lambda because y=0,x=0 is not a part of the ellipse.

λ = 32y/x
λ = 18x/y

32y/x = 18x/y
x^2 = 16y^2/9

Sub into ellipse

2y^2/9= 1

y = 3/√2
x = 2√2

I don't know what to do after this, I know I am supposed to check whether it is a maximum or not, but I don't know the method. What would the next step be?
 
Physics news on Phys.org
  • #2
This problem requires a little bit more work than you would expect. You have these equations:

##4y = \frac{\lambda x}{8}##
##4x = \frac{\lambda 2y}{9}##
##\frac{x^2}{16} + \frac{y^2}{9} - 1 = 0##

You're going to wind up finding four different points to test. Two will give you a max and two will give you a min.

For the first two points why don't you try looking at the first two equations and solving for ##x## like so:

##x = \frac{32y}{\lambda}##
##x = \frac{\lambda y}{18}##

This should give ##\lambda = 24##. Subbing back it's easy to see ##y = \frac{3}{4} x##. Using the third equation now should give you two ##x## points, which will yield two ##y## points when subbed in. These are two of the points you need.

Now go back to the first two equations. Solve for ##y## and repeat the above procedure. This will give you two more points to test.
 
  • #3
Oh yea, I know what I did wrong, since its a closed loop, you can just check the max of the points you get. I was thinking it wasn't a closed loop and you had to do something with end behaviour.
 
  • #4
Panphobia said:

Homework Statement


Find the dimensions of the rectangle of greatest and least area
that can be inscribed in the ellipse x^2/16 + y^2/9 = 1 with sides parallel
to the coordinate axes.

The Attempt at a Solution


f(x,y) = (2x)(2y) = 4xy
∇f = <4y,4x>
∇g = <x/8,2y/9>

∇f = λ∇g

4y = λx/8
4x = λ2y/9

I can isolate lambda because y=0,x=0 is not a part of the ellipse.

λ = 32y/x
λ = 18x/y

32y/x = 18x/y
x^2 = 16y^2/9

Sub into ellipse

2y^2/9= 1

y = 3/√2
x = 2√2

I don't know what to do after this, I know I am supposed to check whether it is a maximum or not, but I don't know the method. What would the next step be?

Can you be sure that the Lagrange derivative conditions hold at both the maximum and the minimum?
 
  • #5
Zondrina said:
This problem requires a little bit more work than you would expect. You have these equations:

##4y = \frac{\lambda x}{8}##
##4x = \frac{\lambda 2y}{9}##
##\frac{x^2}{16} + \frac{y^2}{9} - 1 = 0##

You're going to wind up finding four different points to test. Two will give you a max and two will give you a min.

For the first two points why don't you try looking at the first two equations and solving for ##x## like so:

##x = \frac{32y}{\lambda}##
##x = \frac{\lambda y}{18}##

This should give ##\lambda = 24##. Subbing back it's easy to see ##y = \frac{3}{4} x##. Using the third equation now should give you two ##x## points, which will yield two ##y## points when subbed in. These are two of the points you need.

Now go back to the first two equations. Solve for ##y## and repeat the above procedure. This will give you two more points to test.

He will not get four feasible points to test---only two. (There is something seriously wrong with the other two "points"). This is why I asked the OP the question in post #4.
 
Last edited:
  • #6
If I am not sure, that the lagrange derivative does that. What would I do differently?
 
  • #7
Panphobia said:
If I am not sure, that the lagrange derivative does that. What would I do differently?
How do you think area is defined for the purposes of this question? Can it be negative?
 
  • #8
Panphobia said:
If I am not sure, that the lagrange derivative does that. What would I do differently?

If (x,y) is a corner of the rectangle, the area ##= 4 |x| |y|##. The function ##f(x,y) = 4xy## represents the area only in the first and third quadrants. Anyway, to get rid of false solutions and ambiguities, it is better to formulate the problem as
[tex] \max / \min \: f(x,y) = 4 x y\\
\text{subject to } \: g(x,y) \equiv \frac{x^2}{16} + \frac{y^2}{9} = 1\\
\text{and} \; x,y \geq 0 [/tex]
A solution at ##(x,y)## is accompanied by three other mirror-image points that also solve the problem.

The sign-constraints on ##x,y## introduce some changes to the Lagrangian conditions: if
[tex] L = f(x,y) -\lambda g(x,y) [/tex]
we have:
  1. For a max problem, [tex] \partial L / \partial x \leq 0, \; \text{ and} \; \partial L / \partial x = 0 \; \text{if} \; x > 0\\
    \text{same for } \; y [/tex]
  2. For a min problem, [tex]
    \partial L / \partial x \geq 0, \; \text{ and} \; \partial L / \partial x = 0 \; \text{if} \; x > 0\\
    \text{same for } \; y
    [/tex]
So, conditions are a bit different if x = 0 or y = 0.
 
  • #9
Time to look through my textbook now, everything you said is pretty foreign, my professor didn't go over that. Basically my professor introduced it as, thinking of the constraint and the original function as level curves, and we are trying to find the points where they touch, so if their tangents are parallel so are the gradients, then
∇f = λ∇g
I think he showed us that you get 4 points, and to basically plug each one of them into the original to figure out the max/min.
 
  • #10
Panphobia said:
Time to look through my textbook now, everything you said is pretty foreign, my professor didn't go over that. Basically my professor introduced it as, thinking of the constraint and the original function as level curves, and we are trying to find the points where they touch, so if their tangents are parallel so are the gradients, then
∇f = λ∇g
I think he showed us that you get 4 points, and to basically plug each one of them into the original to figure out the max/min.

You do get four points in the Lagrian problem: one at x>0, y >0 and the mirror image of that. You get two other solutions of the Lagrangian conditions, but they are in the second and fourth quadrants, so have f < 0. At those points, the function f(x,y) does not represent the area of anything and so those two solutions have nothing to do with the original problem. (Remember, Area = 4 |x| |y|, not 4xy.)

Ask yourself: Is there a positive minimum area the rectangle can have?
 
  • #11
0 area is the smallest the rectangle can have.
 
  • #12
Panphobia said:
0 is the smallest the rectangle can be, and I think 24 is the largest.

Right: achieved by "corners" (x,y) = (+-4,0) duplicated and by (x,y) = (0,+-3) duplicated; that is, the rectangle collapses into a line segment, either horizontal or vertical. This is easy to get---no calculus needed at all! For those "solutions" we have either x = 0 or y = 0, and at those points we do NOT have both Lagrangian derivatives = 0. (However, we DO have the more general conditions I listed in my previous post.)
 
  • Like
Likes Panphobia

1. What is the equation for finding the area of a rectangle?

The formula for finding the area of a rectangle is length x width.

2. How do you find the dimensions of the rectangle with the greatest area?

To find the dimensions of the rectangle with the greatest area, you will need to use the derivative of the area equation and set it equal to 0. This will give you the critical point, which is where the maximum area occurs. Then, you can plug this value into the original area equation to find the dimensions.

3. Can the rectangle have negative dimensions?

No, the dimensions of a rectangle cannot be negative. Length and width are both measured in positive units, so negative dimensions would not make sense in this context.

4. Can the rectangle have equal dimensions?

Yes, it is possible for the rectangle to have equal dimensions. In fact, a square is a type of rectangle with equal dimensions for length and width.

5. Is there a specific method or algorithm for finding the dimensions of the rectangle with the greatest area?

Yes, there are several methods for finding the dimensions of the rectangle with the greatest area. These include using calculus, setting up a table of values and graphing the area equation, or using the Pythagorean theorem for special cases. The most efficient method will depend on the specific characteristics of the rectangle given.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
462
  • Calculus and Beyond Homework Help
Replies
2
Views
511
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
951
  • Precalculus Mathematics Homework Help
Replies
6
Views
587
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
Replies
3
Views
328
Back
Top