How Do You Find the Closest Point on a Surface Using Lagrange Multipliers?

Click For Summary

Discussion Overview

The discussion centers on the application of Lagrange multipliers to find the closest point on a surface to a given point outside that surface. Participants explore the theoretical underpinnings and practical steps involved in this optimization problem, including the formulation of the distance function and the constraints imposed by the surface equation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Conceptual clarification

Main Points Raised

  • Some participants describe the distance function as \( s(x,y) = x^2 + y^2 + z^2 \) for minimizing the squared distance to the origin, subject to the constraint \( z = f(x,y) \).
  • One participant suggests that the approach involves setting the gradient of the distance function equal to a scalar multiple of the gradient of the constraint function, indicating a relationship between the gradients and the normal vector of the surface.
  • Another viewpoint emphasizes the iterative process of moving in the direction of the gradient and projecting onto the surface when constrained, leading to a condition where the gradient of the distance function is parallel to the normal vector of the surface.
  • A participant notes that the condition for finding the nearest point involves the gradients being parallel, which implies that the derivative must be zero on the tangent plane to the surface.

Areas of Agreement / Disagreement

Participants express various interpretations of the Lagrange multipliers method and its application to this problem. There is no consensus on a single approach or interpretation, as different participants highlight distinct aspects of the method and its implications.

Contextual Notes

Some assumptions about the behavior of the surface and the nature of the distance function are not explicitly stated, and the discussion does not resolve the mathematical steps involved in applying Lagrange multipliers to this specific problem.

CalcDude
Messages
4
Reaction score
0
hi, i just learned about lagrange multipliers and i am very confused about how to derive and use them. another thing, how would you use them to find points on a surface that are closest to a given point outside the surface
 
Physics news on Phys.org
CalcDude said:
hi, i just learned about lagrange multipliers and i am very confused about how to derive and use them. another thing, how would you use them to find points on a surface that are closest to a given point outside the surface

Let [tex]z=f(x,y)[/tex] be your (well-behaved) surface. And without lose of generality let us find the closet point to the origin. Now the distance is [tex]s(x,y) = x^2+y^2+z^2[/tex] (I removed the square root, because it is minimized the distance squared rather than distance itself).

So the problem is:
1)Minimized [tex]s(x,y,z)[/tex]
2)Subject to [tex]z=f(x,y) \implies z - f(x,y) = 0[/tex]

So,
[tex]\left< \frac{\partial s}{\partial x} , \frac{\partial s}{\partial y}, \frac{\partial s}{\partial z} \right> = k\left< - \frac{\partial f}{\partial x} , - \frac{\partial f}{\partial y}, 1 \right>[/tex]
And, [tex]z-f(x,y)=0[/tex]

That is the general approach to this problem.
 
One way to think about Lagrange Multipliers is this: In order to find a maximum point of a function of several variable, pick some "starting point" at random, find the gradient vector of the function, and move in the direction it points (for minimum move in the opposite direction). Keep doing that until you get gradient equal to 0 and have no direction to follow.

If you are required to stay on a given surface, and so can't "follow" the gradient vector, take its projection onto the surface and move in that direction. You can keep doing that until there is no projection: the gradient vector is perpendicular to the surface and so is parallel to the normal vector of the surface- one must be a scalar multiple of the other.

The two vectors Kummer uses are exactly the gradient of the distance (squared) function and the normal vector of the surface (if z= f(x,y), then F(x,y,z)= z- f(x,y) = 0 gives a "level surface" of F(x,y,z) and its gradient is normal to the level surface.)
 
max min occurs where the derivative is zero. if you restruct to a surface tht means the derivative is zero on thr tangent plane to that surface, i.e. the gradient is parallel to the normal vector to thag surface. so lagrange multipliers amount to finding where the graient of your function is parallel to, hen ce a multiple of, the normal to the given surface.

so to find a point nearest a given surface g=0, you look for a point where the distance function has grDIENT PARALLEL TO THE GRADIENT OF G.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K