Register to reply 
Langrange Multipliers and Minimum Distance 
Share this thread: 
#1
Mar711, 02:16 PM

P: 208

1. The problem statement, all variables and given/known data
Use the method of Lagrange multipliers to find the points on the ellipse (x^2)+(2y^2)=2 that are closest to and farthest from the line xy=2. 2. Relevant equations I know that to do the lagrange I have to take the gradient of a function f and set it equal to some unknown constant times the gradient of my constraint (function g). 3. The attempt at a solution I believe my constraint, g(x,y) should be the ellipse itself, so g(x,y)=(x^2)+(2y^2)2 and [gradient of g]= {2x, 4y}. What I don't know, however, is what is the function f I use? I think it has something to do with the distance formula, but I can't quite get my finger on what. Any help is greatly appreciated I feel like I'm very close to finding the answer, but am just missing one important step. Thanks! Austin 


#2
Mar711, 05:10 PM

Sci Advisor
HW Helper
Thanks
P: 25,228

You need a formula for the distance of a point (x,y) to the given line, don't you?



#3
Mar711, 05:16 PM

P: 208

Yes exactly! And I think that THAT is the equation I would want to then make f and use it as the primary equation whose gradient I compare to grad(g).
Distance= sqrt((xxo)^2 + (yyo)^2))... but this isn't from a line to a point, it's from a point (x1, y1) on the ellipse to a point (x2, y2) on the line given. But how do I use this to get a function in the form sqrt ((x2x1)^2+(y2y1)^2) or something of this sort? 


#4
Mar711, 05:25 PM

Sci Advisor
HW Helper
Thanks
P: 25,228

Langrange Multipliers and Minimum Distance
No reason not to look it up if you're drawing a blank. Eg http://mathworld.wolfram.com/PointL...mensional.html



#5
Mar711, 05:29 PM

P: 208

But in this case, it still has (xo, yo) which I don't seem to have in the problem statement.



#6
Mar711, 05:32 PM

Sci Advisor
HW Helper
Thanks
P: 25,228

(x0,x0) in this case is just your point (x,y) on the ellipse.



#7
Mar711, 05:45 PM

P: 208

So for me, distance= (xy2)/(sqrt(2))?
I guess I'm still a little confused by how I can let their (x0, y0) be my (x, y). Wouldn't that change the vector I'm dealing with? Can you maybe explain the though process of that link as related to the problem I can't quite picture it in my case. 


#8
Mar711, 05:56 PM

Sci Advisor
HW Helper
Thanks
P: 25,228




#9
Mar711, 06:00 PM

P: 208

So what would the vectors that I am dotting be? And how can distance be negative, I would think it needs to be positive?



#10
Mar711, 06:11 PM

Sci Advisor
HW Helper
Thanks
P: 25,228




#11
Mar711, 06:19 PM

P: 208

Ok thanks, I get it now! So I end up finding that there are 4 critical points: (+/ 2/sqrt(6), +/ 1/(sqrt6)). Clearly, the point in the 4th quadrant is closest and the point in the 2nd quadrant is farthest away from the line. Thanks so much for the help!



Register to reply 
Related Discussions  
Maximum and Minimum : Langrange multiplier problem  Calculus & Beyond Homework  1  
Maximum and minimum distance (lagrange multipliers)  Calculus & Beyond Homework  5  
Langrange multipliers  check my soluton please  Calculus & Beyond Homework  0  
Basic question on langrange multipliers  General Math  8  
Minimum distance  Introductory Physics Homework  2 