wu :: forums
« wu :: forums - Shortest Distance to a Plane »

Welcome, Guest. Please Login or Register.
Dec 2nd, 2024, 4:43am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: towr, SMQ, Icarus, ThudnBlunder, Eigenray, Grimbal, william wu)
   Shortest Distance to a Plane
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Shortest Distance to a Plane  (Read 1437 times)
Sir Col
Uberpuzzler
*****




impudens simia et macrologus profundus fabulae

   
WWW

Gender: male
Posts: 1825
Shortest Distance to a Plane  
« on: Mar 8th, 2004, 3:39pm »
Quote Quote Modify Modify

Given a plane [prod] with normal vector, n=(4,2,4) and the point P (3,2,-1), which lies on the plane, find the shortest distance from the origin to the plane.
 
If the normal vector, n=(a,b,c) and P, which lies on the plane, is (x,y,z), find the shortest distance from the origin to the plane.
IP Logged

mathschallenge.net / projecteuler.net
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Shortest Distance to a Plane  
« Reply #1 on: Mar 9th, 2004, 7:01am »
Quote Quote Modify Modify

For first part, distance = 12/6 = 2 units.
 
Generic form, distance from origin = absolute(ax+by+cz)/sqrt(a2+B2+c2)
 
Can be obtained by getting the equation of plane and then considering the projection of vector of the given point (from the origin) on the plane.
« Last Edit: Mar 9th, 2004, 7:03am by Sameer » IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Shortest Distance to a Plane  
« Reply #2 on: Mar 9th, 2004, 7:28am »
Quote Quote Modify Modify

another way to get the same answer is to use n.p/|n|
 
n.p/(|n||p|) = cos([alpha]) where [alpha] is the angle between the normal vector (n) of the plane and the vector (p) from the origin to point P
|p| is the distance from the origin to P, and so |p| cos([alpha]) = np/|n| gives the distance to the plane.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Shortest Distance to a Plane  
« Reply #3 on: Mar 9th, 2004, 7:48am »
Quote Quote Modify Modify

towr p is essentially the vector of point from origin and n.p/|n| is the projection of that vector on the plane!!!
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Shortest Distance to a Plane  
« Reply #4 on: Mar 9th, 2004, 8:06am »
Quote Quote Modify Modify

No, it's not a projection on the plane, that would be |p|sin[alpha]. It's a projection on a line through the origin with direction vector n though, if that's what you mean.
Anyway, I just want to avoid having to explicitly make the equation for the plane first, since that's just unnecessary extra work.
« Last Edit: Mar 9th, 2004, 8:13am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Shortest Distance to a Plane  
« Reply #5 on: Mar 10th, 2004, 7:00am »
Quote Quote Modify Modify

Well when I say "plane" I mean the normal vector as it essentially denotes what is a plane. So yes it is the projection of the vector p (whose tail on origin) on to the normal vector giving you the shortest distance. As a matter of fact.
 
If n=(a,b,c) and P=(x,y,z) and let us find the distance from a given point Q(p,q,r)
 
Equation of plane
 
(X-x)a+(Y-y)b+(Z-z)c = 0 (which comes from n dot (r-r0) = 0 where r = (X,Y,Z) generic vector and r0 is the given point (x,y,z) )
 
The vector QP = (p-x,q-y,r-z)
Projection of this vector over the normal vector gives the shortest distance i.e. QP cos(alpha)
 
Minimum distance = abs(QP dot n)/|n|
=abs((p-x,q-y,r-z) dot (a,b,c))/sqrt(a2+b2+c2)
=abs( (p-x)a+(q-y)b+(r-z)c)/sqrt(a2+b2+c2)
 
The numerator is essentially the equation of plane evaluated at the point Q, which that is why helps us in getting the distance faster.
 
Of course with Q as origin this falls to the simple case.
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board