Find the distance between a point and a line (given its vector equation)

  • Thread starter Thread starter Nickg140143
  • Start date Start date
  • Tags Tags
    Line Point Vector
Click For Summary
SUMMARY

The discussion focuses on calculating the distance from a point P(1,3,2) to a line defined by the vector equation l_1:=<2,-1,3>+t<-1,2,1>. The shortest distance is determined by constructing a line through point P that is perpendicular to line L. The solution involves using the cross product of the vector from point P to a point on line L with the unit direction vector of line L. The final formula for the distance is given by the magnitude of this cross product.

PREREQUISITES
  • Understanding of vector equations in R3
  • Knowledge of the cross product and dot product of vectors
  • Familiarity with trigonometric relationships in right triangles
  • Ability to calculate the magnitude of vectors
NEXT STEPS
  • Learn how to compute the cross product of vectors in R3
  • Study the properties of unit vectors and their applications
  • Explore the geometric interpretation of the dot product
  • Practice solving distance problems involving points and lines in three-dimensional space
USEFUL FOR

Students studying vector calculus, geometry enthusiasts, and anyone looking to understand the mathematical principles behind distance calculations in three-dimensional space.

Nickg140143
Messages
30
Reaction score
0

Homework Statement


Let [tex]l_1:<x,y,z>=<2,-1,3>+t<-1,2,1>[/tex] and [tex]P(1,3,2)[/tex] be a line and point in R3, respectively. Find the distance from P to l.


Homework Equations


distance between two points in R3
[tex]d=\sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}[/tex]

and the line in this problem is given to us in vector equation form, from which I can find the directional vector v and the position vector r0


The Attempt at a Solution


I'll need a bit of guidance on this problem. I believe that I'm supposed to find the shortest distance between P and some point on line L, and I can only think that the shortest distance between P and some point on L would be some path from P that intersects L at a 90 degree angle (perpendicular to L). I was thinking of perhaps using L's directional vector and the point P in order to construct some line that goes through P and is perpendicular to L, which would mean I would need to cross the directional vector with something?

I'm not too sure on how to go about this, or whether or not this is a proper way of approaching this problem.

Any guidance would be greatly appreciated.
 
Physics news on Phys.org
Nickg140143 said:

Homework Statement


Let [tex]l_1:<x,y,z>=<2,-1,3>+t<-1,2,1>[/tex] and [tex]P(1,3,2)[/tex] be a line and point in R3, respectively. Find the distance from P to l.


Homework Equations


distance between two points in R3
[tex]d=\sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}[/tex]

and the line in this problem is given to us in vector equation form, from which I can find the directional vector v and the position vector r0


The Attempt at a Solution


I'll need a bit of guidance on this problem. I believe that I'm supposed to find the shortest distance between P and some point on line L, and I can only think that the shortest distance between P and some point on L would be some path from P that intersects L at a 90 degree angle (perpendicular to L).
Yes.
Nickg140143 said:
I was thinking of perhaps using L's directional vector and the point P in order to construct some line that goes through P and is perpendicular to L, which would mean I would need to cross the directional vector with something?
The dot product would be more appropriate. The dot product is zero for two perpendicular vectors.
Nickg140143 said:
I'm not too sure on how to go about this, or whether or not this is a proper way of approaching this problem.

Any guidance would be greatly appreciated.
 
Nickg140143 said:

Homework Statement


Let [tex]l_1:<x,y,z>=<2,-1,3>+t<-1,2,1>[/tex] and [tex]P(1,3,2)[/tex] be a line and point in R3, respectively. Find the distance from P to l.


Homework Equations


distance between two points in R3
[tex]d=\sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}[/tex]

and the line in this problem is given to us in vector equation form, from which I can find the directional vector v and the position vector r0


I was thinking of perhaps using L's directional vector and the point P in order to construct some line that goes through P and is perpendicular to L, which would mean I would need to cross the directional vector with something?

Yes. Draw a picture of a line and a point on the line and your point off the line. Doesn't need to be to scale. Call the point on the line P and draw the line's direction vector with its tail at P. Call the point off the line Q. You can calculate the vector PQ. If you drop the perpendicular to the line from Q, you have a right triangle with PQ as its hypotenuse. Just from trig, the distance from Q to the line is d = |PQ|sin(θ) where θ is the angle between the direction vector D and PQ. Suppose you divide D by its length to make a unit vector U.

Now if take the cross product PQ x U and look at its maginitude:

|PQ x U| = |PQ||U|sin(θ) = |PQ|sin(θ) = d.

To summarize: To get the distance from a point to a line take the magnitude of the cross product of a vector from any point on the line to the external point with the unit direction vector.
 

Similar threads

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