Closest point on a plane to a point near the plane

  • Context: Undergrad 
  • Thread starter Thread starter kairama15
  • Start date Start date
  • Tags Tags
    Plane Point
Click For Summary

Discussion Overview

The discussion revolves around finding the nearest point on a given 3D plane, defined by the equation z = a*x + b*y + c, to a point in space that is near but not on the plane, represented as (xo, yo, zo). Participants explore methods for deriving this point using concepts from vector calculus and parametric equations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant proposes using minimization to find the nearest point but encounters difficulties with large results and seeks a more elegant solution.
  • Another participant introduces the concept of a normal vector to the plane and questions the original poster's understanding of it.
  • A participant suggests considering the point as a vector and using the normal vector to determine how to reach the plane from the point.
  • There is a discussion about the normal vector being orthogonal to the plane, with one participant confirming the vector's components as <-a, -b, 1>.
  • A participant outlines a method using parametric equations to describe the movement from the point towards the plane, leading to a formula for t that determines where the line intersects the plane.
  • Another participant agrees with the overall idea and confirms that the approach of using the normal vector and the intersection of the line with the plane is valid.

Areas of Agreement / Disagreement

Participants generally agree on the approach of using the normal vector and parametric equations to find the nearest point on the plane. However, there is no consensus on the correctness of the specific mathematical formulas presented, as some participants have not verified them.

Contextual Notes

There are unresolved aspects regarding the verification of the mathematical steps and the assumptions made in the derivation of the formulas. The discussion does not clarify whether the proposed methods yield a unique solution under all conditions.

kairama15
Messages
31
Reaction score
0
TL;DR
Trying to find the point on a plane that is closest to another point near the plane.
Suppose there is a 3d plane z=a*x+b*y+c.

Suppose there is a point in space near, but not on the plane. (xo, yo, zo).

What is the coordinate (x1,y1,z1) on the plane that is nearest the original point?

My attempt uses minimization but the result is blowing up into large answer. I wonder if there is an easier way to solve this that gives an elegant general solution. Can anyone help with this?

Thanks!
 
Physics news on Phys.org
Do you know what a normal vector to a plane is and how to calculate it?
 
Consider the point to be a vector from the origin to the point call it ##P_0##

Consider the plane's normal vector ##N_0## and the point you want to find as ##P_1##

Ask yourself what multiple of the normal vector when added to the outside point vector will intersect the plane.
 
Yes.

The normal vector will be
<-a,-b,1> right?

I imagine this unit vector is orthogonal to the plane and should pass through both points being considered, right?
 
So if i know that the gradient vector is <-a,-b,1>, and i want that vector to start at (xo,yo,zo) and move towards the plane, I can set up parametric equatioms to describe this movement through 3d space.

x=xo-a*t
y=yo-b*t
z=zo+(1)*t

Since I want to determine where this parametric point crosses through the plane, I can plug each 'function of t' x y and z into x y and z in the plane's equation z=ax+by+c.

I get:
zo+t=a*(xo-a*t)+b*(yo-b*t) + c

Solving for t:
t= (a*xo+b*yo+c-zo)/(1+a^2+b^2).

I can than plug t into the parametric equations to find the point on the plane that is closest to the point (xo,yo,zo).

Example for new x coordinate:
x1 = xo - a*(a*xo+b*yo+c-zo)/(1+a^2+b^2)

Is this line of reasoning correct, and is my math correct? Thanks everyone.
 
The idea is correct. I haven't checked your formulas. If you have a point (outside the plane) and a direction (normal vector), then you get a straight which intersects with the plane at exactly one point. This means the point we are looking for is the point which satisfies both equations (straight and plane).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
17
Views
3K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 5 ·
Replies
5
Views
3K