Distance between point and a line

  • Thread starter Thread starter TheAntithesis
  • Start date Start date
  • Tags Tags
    Line Point
Click For Summary

Homework Help Overview

The discussion revolves around finding the minimum distance between a point in three-dimensional space and a line defined by parametric equations. Participants explore different methods to approach this problem, including the use of non-parametric forms and vector analysis.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss rewriting the line in a non-parametric form and question how to handle the parameter t. There are suggestions to find a vector from the point to the line and to consider the direction of the line for calculating the distance. Some participants express uncertainty about the relationship between the variables involved.

Discussion Status

The discussion is active, with various methods being proposed and explored. Some participants have attempted calculations and are seeking validation of their approaches, while others suggest alternative methods to verify results. There is no explicit consensus, but productive directions are being explored.

Contextual Notes

Participants mention specific points and lines with given coordinates, indicating that they are working within the constraints of a particular problem setup. There is also a recognition of the importance of the perpendicular distance in determining the shortest distance from the point to the line.

TheAntithesis
Messages
13
Reaction score
0
I want to find the minimum distance between a point (i,j,k) and the line given by parametric equations x(t)=a+pt , y(t)=b+qt , z(t)=c+rt.

I know how to find the distance between a point and a normal line (non parametric), but I have no idea how to go about finding the distance here.

How should I go about doing this question? An example would be very helpful.
 
Physics news on Phys.org
why not try and re-write the line non-parametrically then?

otherwise its the same idea, the shortest vector joining the line and the plane will be perpindicular to the line (why?)
 
Re-write the line as in the form (a+pt,b+qt,c+rt) ? I still don't know what to do with the t.
 
try a little rearranging
(x-a)/p = (y-b)/q = (z-c)/r = t

now try and find a single equation relating x,y,z... if that will help you solve the problem, as you said you knew how to use it then

otherwise I would
- find the direction of the line
- find the vector, say u, from the point, to any point on the line
- then the component of u, that is perpindicular to the line will give you the distance
 
Ok cool, thanks. I'm guessing my answer will be a function of t?
 
TheAntithesis said:
Ok cool, thanks. I'm guessing my answer will be a function of t?

[STRIKE]Must be.[/STRIKE]

Actually once you have (a+pt,b+qt,c+rt) and (i,j,k) looks to me like it is just a matter of expressing the distance between the points as a function of t...

Edit: I am an idiot, final answer will be a function of a,b,c,p,q,r,i,j,k, not t.
 
Last edited:
No, it's simple. Compute the distance (or distnace^{2} will do) from your point to a general point on your line. To minimise this, differentiate w.r.t. t and then substitute the t you found from differentiating back into your equation to find the minimum distance.
 
yep that's easier
 
Borek said:
final answer will be a function of a,b,c,p,q,r,i,j,k, not t.

Oh god..

Ok say the point is (-5,10,13) with its position vector v and the line is given by equation r(t) = (-57,75,0) + t(-4,5,-1).

A point on the line is P(-4,5,-1) so that's the position vector u.
Then the line between the two points would be would be v - u = w = (-5,10,3) - (-4,5,-1) = (-9,5,14)

So I'm guessing all I need to do is find for which t the w.r(t) = 0 then put it back into the r(t) and find the distance between the two points?

I solved for t and got 35.52

Subbed it back into the line equation and got point coordinates Q(85.08,252.6,-35.52)

Then the distance between the two points is |PQ| = sqrt(90.08^2 + 242.6^2 + (-48.52)^2) = 263.293.

Does this method and answer seem reasonable?
 
  • #10
It does, check it using the method I proposed and see if you getthe same answer, if they match then you've done it.

Mat
 
  • #11
The crucial fact is that the shortest distance from a point to a line is measured along the perpendicular to the line.

Given a line in 3 dimensions, you can construct the vector in the direction of the line.

Given a point, p, in 3 dimensions, you can write the equation of the plane containing that point and having the vector, above, as normal vector.

You can then determine the point, q, where the given line crosses the plane. The shortest distance from point to line is the distance from point p to point q.
 

Similar threads

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