How Can You Determine the Shortest Distance from a Point to the Surface z=xy?

  • Thread starter sandy.bridge
  • Start date
  • Tags
    Point
In summary, the equation of a plane tangent to the surface at a point is: zx(x-xo)+zy(y-yo)-(z-zo)=0, with x=0, y=0, and z-1=-t. To find the point on the surface closest to point p, we can calculate the gradient, the vector pointing in the direction of fastest increase, of the distance function. If we want "decrease" to get closest, we would want to move in the direction opposite to the gradient. But that will point off the surface so the best we can do is move in the direction of the "projection" of the (reverse) gradient on the surface. We can do
  • #1
sandy.bridge
798
1

Homework Statement


Hello, looking for some help regarding the shortest distance from a point to z=xy.

Perhaps some advice?

If R=(X, Y, Z) is the point on the surface closest to P=(0, 0, 1), then L[\b] is a vector normal to the surface and L[\b]=Xi+Yj+(z-1)k

n[\b]=yi+xj-k is the normal vector, and there exists some scalar quantity such that L[\b]=tn[\b]

thus, ty=X, tx=Y, z-1=-t

From here. no matter what it seems like i can't do anything...

thanks in advance!
 
Physics news on Phys.org
  • #2
If I understand well, the equation of a plane tangent to the surface at a point is:

zx(x-xo)+zy(y-yo)-(z-zo)=0

Maybe you can minimize the function d((0,0,1), (x,y,xy))
 
  • #3
can you elaborate a bit on that?
Ive never seen it done that way haha
 
  • #4
Ive tried two different approaches, however, they all seem to end up with variables in the answer..
 
  • #5
Do you mean finding the minimum:

I guess what you were doing, if I understood correctly, was projecting into the normal vector right?

If not, the general distance(squared) from (0,0,1) to (x,y,xy) , i.e., the surface z=xy, is:

(x-0)2+(y-0)2+(xy-1)2

The minimum here would be given by the point in the surface that minimizes the distance.

Just plain calculus gives you the minimum.
 
  • #6
as far as I know, I have not learned how to calculate max/min values with a multivariable function. We are just learning the definition of a partial derivative. I may be mistaken though.
 
  • #7
I figured it out. With a little bit of digging I found some notes on critical points for partial derivatives. Thanks again! I found the minimum distance to be 1, as x=0 and y=0 were critical points.
 
  • #8
Good deal.Glad it helped.
 
  • #9
This problem leads naturally to the "Lagrange multiplier" method. If we want to find the point on the surface closest to point p, we can calculate the gradient, the vector pointing in the direction of fastest increase, of the distance function. Since we want "decrease" to get closest, we would want to move in the direction opposite to the gradient. But that will point off the surface so the best we can do is move in the direction of the "projection" of the (reverse) gradient on the surface. We can do that until there is NO projection. That occurs, as you said initially, when the gradient is perpendicular to the plane. And if we write the plane in the form F(x,y,z)= constant, we know that [itex]\nabla F[/itex] is normal to the surface. That is, to minimize the distance function (or its square) to a point not on the plane, the two gradients must point in the same direction- one must be a multiple of the other.

In this case, it is easier to work with distance squared, [itex]D2(x,y,z)= x^2+ y^2+ (z- 1)^2[/itex] for a any point (x,y,z) on the surface. Its gradient is [itex]2x\vec{i}+ 2y\vec{j}+ 2(z-1)\vec{k}[/itex]. We can write the surface as f(x,y,z)= xy- z= 0, a constant. Its gradient is [itex]\vec{i}+ \vec{j}- \vec{k}[/itex].

The two gradients must be parallel so one must be a multiple of the other:
[tex]2x\vec{i}+ 2y\vec{j}+ 2(z- 1)\vec{k}= \lambda(\vec{i}+ \vec{j}- \vec{k})[/tex]
where [itex]\lambda[/itex], the "Lagrange multiplier" is the constant multiple.
That gives three equations: [itex]2x= \lambda[/itex], [itex]2y= \lambda[/itex], [itex]2(z- 1)= -\lambda[/itex].

I find that the simplest way to eliminate [itex]\lambda[/itex], which is not relevant to the solution, and solve the equations is to divide one equation by another. For example, if we divide the first equation by the second we get [itex]2x/2y= x/y= 1[/itex] or just y= x. If we divide the first equation by the third, we get [itex]2x/2(z-1)= x/(z-1)= 1[/itex] so x= z- 1.

Of course, the point (x,y,z) lies on the plane so we can use the equation of the plane, xy= z together with y= x= z- 1 to find the specific values of x, y, and z.
 

FAQ: How Can You Determine the Shortest Distance from a Point to the Surface z=xy?

1. What does "distance from point to z=xy" mean?

The "distance from point to z=xy" refers to the length of the shortest line segment that connects a given point to the plane z=xy in three-dimensional space. This distance is calculated using the Pythagorean theorem.

2. How is the distance from point to z=xy calculated?

To calculate the distance from a point to the plane z=xy, we first need to find the coordinates of the point on the plane that is closest to the given point. This can be done by projecting the given point onto the plane. Once we have the coordinates of this point, we can use the Pythagorean theorem to calculate the distance.

3. Can the distance from point to z=xy be negative?

No, the distance from a point to a plane is always a positive value. The distance represents the length of a line segment, which cannot be negative.

4. What is the significance of finding the distance from point to z=xy?

The distance from a point to a plane can be useful in various applications, such as geometry, physics, and engineering. It can help in determining the shortest distance between an object and a plane, finding the closest point on a plane to a given point, and solving optimization problems.

5. Can the distance from point to z=xy be calculated in higher dimensions?

Yes, the concept of distance from a point to a plane can be extended to higher dimensions. In four-dimensional space, for example, we can find the distance from a point to a three-dimensional hyperplane. The calculation method remains the same, using the Pythagorean theorem.

Back
Top