Setting up Lagrange problem

Yatzy3D

New member
Joined
Feb 9, 2019
Messages
2
I want to find the point on the ellipse that is the intersection between the plane x+y+z=1 and the cylinder x2 + y2 = 1 that is furthest away from (0,0). I'm pretty sure this can be solved by using Lagrange, but I can't figure out how to set up the expression.
 
Last edited:
I want to find the point on the eclipse (ellipse?) that is the intersection between the plane x+y+z=1 and the cylinder x2 + y2 = 1 that is furthest away from (0,0). I'm pretty sure this can be solved by using Lagrange, but I can't figure out how to set up the expression.
I would start with calculating the equation of the ellipse (curve of intersection).
 
The function to be minimized is the square of the distance f(x,y,z)=x2+y2+z2\displaystyle f(x, y, z)= x^2+ y^2+ z^2 subject to the constraints g(x,y,z)=x+y+z=1\displaystyle g(x, y, z)= x+ y+ z= 1 and h(x,y,z)=x2+y2=1\displaystyle h(x, y, z)= x^2+ y^2= 1.

The first thing I would notice is that, since x2+y2=1\displaystyle x^2+ y^2= 1, the function to be minimized reduces to f(z)=1+z2\displaystyle f(z)= 1+ z^2. That is minimized when z= 0. And the condition that x+ y+ z= 1 means that x+ y= 1 so y= 1- x. Using, again, x2+y2=1\displaystyle x^2+ y^2= 1, we have x2+12x+x2=2x22x+1=1\displaystyle x^2+ 1- 2x+ x^2= 2x^2- 2x+ 1= 1. So 2x22x=2x(x1)=0\displaystyle 2x^2- 2x= 2x(x- 1)= 0. x=0\displaystyle x= 0, in which case y=1\displaystyle y= 1 or x=1\displaystyle x= 1, in which case y=0\displaystyle y= 0.

The solutions are (0,1,0)\displaystyle (0, 1, 0) or (1,0,0)\displaystyle (1, 0, 0).
 
The function to be minimized is the square of the distance f(x,y,z)=x2+y2+z2\displaystyle f(x, y, z)= x^2+ y^2+ z^2 subject to the constraints g(x,y,z)=x+y+z=1\displaystyle g(x, y, z)= x+ y+ z= 1 and h(x,y,z)=x2+y2=1\displaystyle h(x, y, z)= x^2+ y^2= 1.

The first thing I would notice is that, since x2+y2=1\displaystyle x^2+ y^2= 1, the function to be minimized reduces to f(z)=1+z2\displaystyle f(z)= 1+ z^2. That is minimized when z= 0. And the condition that x+ y+ z= 1 means that x+ y= 1 so y= 1- x. Using, again, x2+y2=1\displaystyle x^2+ y^2= 1, we have x2+12x+x2=2x22x+1=1\displaystyle x^2+ 1- 2x+ x^2= 2x^2- 2x+ 1= 1. So 2x22x=2x(x1)=0\displaystyle 2x^2- 2x= 2x(x- 1)= 0. x=0\displaystyle x= 0, in which case y=1\displaystyle y= 1 or x=1\displaystyle x= 1, in which case y=0\displaystyle y= 0.

The solutions are (0,1,0)\displaystyle (0, 1, 0) or (1,0,0)\displaystyle (1, 0, 0).

I'm pretty sure these are the points closest to (0,0). As you can see here:edited imgur site
 
Last edited by a moderator:
Top