What is the maximum perimeter for a rectangle inside an ellipse?

Click For Summary
SUMMARY

The maximum perimeter of a rectangle inscribed in the ellipse defined by the equation x² + 4y² = 1 can be determined using the method of Lagrange multipliers. The perimeter P of the rectangle is expressed as P = 2x + 2y, which needs to be maximized under the constraint g(x,y) = x² + 4y² - 1 = 0. The correct partial derivatives for the function F(x,y,λ) = 2x + 2y + λ(x² + 4y² - 1) are ∂F/∂x = 2 + 2xλ = 0 and ∂F/∂y = 2 + 2yλ = 0. The solution involves finding consistent values for x, y, and λ that satisfy these equations.

PREREQUISITES
  • Understanding of Lagrange multipliers for optimization
  • Familiarity with the equation of an ellipse
  • Knowledge of partial derivatives in multivariable calculus
  • Ability to solve systems of equations
NEXT STEPS
  • Study the method of Lagrange multipliers in detail
  • Learn how to derive equations for ellipses and their properties
  • Practice solving optimization problems involving constraints
  • Explore applications of partial derivatives in real-world scenarios
USEFUL FOR

Students in calculus, mathematicians interested in optimization problems, and educators teaching multivariable calculus concepts.

Hart
Messages
168
Reaction score
0

Homework Statement



A rectangle is placed symmetrically inside an ellipse (i.e. with all four corners
touching the ellipse) which is defined by:

x^{2} + 4y^{2} = 1

Find the length of the longest perimeter possible for such a rectangle.

Homework Equations



Within the problem statement and solutions.

The Attempt at a Solution



Firstly rearranged the given equation:

x^{2} + 4y^{2} = 1 \implies x^{2} + 4y^{2} - 1 = 0

Then stated the equation for the perimeter of the rectangle:

P = 2x + 2y

Hence need to extremise:

f(x,y) = 2x + 2y

.. on the ellipse:

g(x,y) = x^{2} + 4y^{2} - 1 = 0

Therefore:

F(x,y,\lambda) = f + \lambda g = 2x + 2y + \lambda\left(x^{2} + 4y^{2} - 1\right)

Then calculate partial derivatives:

\frac{\partial F}{\partial x} = 2 + 2y + \lambda\left(x^{2} + 4y^{2} - 1\right) = 0

\frac{\partial F}{\partial y} = 2 + 2x + \lambda\left(x^{2} + 4y^{2} - 1\right) = 0

\frac{\partial F}{\partial \lambda} = 2x + 2y + \left(x^{2} + 4y^{2} - 1\right) = 0

Now I need to look for 'consistent solutions' (i.e. values for x, y, \lambda) within those equations, but I'm a bit stuck with that now :frown:
 
Physics news on Phys.org
How about you parameterize only one corner of the rectangle? It will be sufficient to define the whole rectangle and you only meed to move the point along the ellipse.
 
? :confused: ?
 
The equation for (half an) ellipse is \frac{x^2}{a^2}+\frac{y^2}{b^2}=1, where a and b are the lengths of the axes and given in the problem, but I will generalize here. Expressing y in terms of x shouldn't be a problem.

From here, assign, say, the upper right corner an x value which is bounded to [0,a]. Get the y-value from the expression above and you have the coordinates of your first corner of the rectangle. Per restriction of symmetry the sides of the rectangle will be parallell to the coordinate axes. You now have enough information to obtain the perimeter of the rectangle. Optimize.
 
Hart said:
Therefore:

F(x,y,\lambda) = f + \lambda g = 2x + 2y + \lambda\left(x^{2} + 4y^{2} - 1\right)

Then calculate partial derivatives:

\frac{\partial F}{\partial x} = 2 + 2y + \lambda\left(x^{2} + 4y^{2} - 1\right) = 0

\frac{\partial F}{\partial y} = 2 + 2x + \lambda\left(x^{2} + 4y^{2} - 1\right) = 0

\frac{\partial F}{\partial \lambda} = 2x + 2y + \left(x^{2} + 4y^{2} - 1\right) = 0

Now I need to look for 'consistent solutions' (i.e. values for x, y, \lambda) within those equations, but I'm a bit stuck with that now :frown:


I think there's a calculation error at partial differentiation..
\frac{\partial F}{\partial x}
should be 2 + \lambda\left(2x\right)
 
Thought I may have made a mistake with calculations of the partial derivatives :frown:

So, should be then:

\frac{\partial F}{\partial x} = 2 + 2x\lambda = 0

\frac{\partial F}{\partial x} = 2 + 2y\lambda = 0

\frac{\partial F}{\partial x} = \left(x^{2} + 4y^{2} - 1\right) = 0

.. correct?
 
Last edited:

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
5K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K