Distance between a point and a line.

In summary, we are trying to find the distance from the point (5, 1, 5) to the line x = 0, y = 1 + 1t, z = 5 + 3t. Using the concepts of minimization, we can set up a function to find the smallest distance between the point and any point on the line. This can be done by taking a derivative and setting it to zero. It may be easier to extremize the distance squared rather than the distance itself.
  • #1
MarcL
170
2

Homework Statement



Find the distance from the point (5, 1, 5) to the line x = 0, y = 1 + 1t, z = 5 + 3t

Homework Equations



I was thinking of the equation I learned in Linear Algebra but that one only relates a line to a point in 2d, when it falls in 3d it relates a plane to a point...


The Attempt at a Solution



I was thinking of using my normal vector ( 0,1,3) to then find a point on my line because I already have one point (which is (0,1,5)) But I get stuck afterwards ... :/
 
Physics news on Phys.org
  • #2
MarcL said:

Homework Statement



Find the distance from the point (5, 1, 5) to the line x = 0, y = 1 + 1t, z = 5 + 3t

Homework Equations



I was thinking of the equation I learned in Linear Algebra but that one only relates a line to a point in 2d, when it falls in 3d it relates a plane to a point...


The Attempt at a Solution



I was thinking of using my normal vector ( 0,1,3) to then find a point on my line because I already have one point (which is (0,1,5)) But I get stuck afterwards ... :/

Look at the vector representing the difference between (5,1,5) and a point on your line (0,1+t,5+3t). You want to minimize the length of that vector. What should t be? What kind of course is this?
 
  • #3
Cal 3. It's weird we already did vector function and all, this just happened to be in my online assignment. Anyway, apart from that,

what do you mean by minimizing? And on the line I have a vector <0,1,3> ( don't know why I said normal).
 
  • #4
MarcL said:
Cal 3. It's weird we already did vector function and all, this just happened to be in my online assignment. Anyway, apart from that,

what do you mean by minimizing? And on the line I have a vector <0,1,3> ( don't know why I said normal).

If it's calculus then you shouldn't have any problems with minimizing and you don't need any formulas. The distance from (5,1,5) to the line is the distance to the point on the line that minimizes the distance from (5,1,5) to (0,1+t,5+3t). Set it up as a minimization. It seems to be deliberately set up to super easy.
 
  • #5
I have never heard of minimization. I mean we used gradients, partial derivatives, vector derivative, etc... but never have I done minimization, sorry this might sounds somewhat stupid but it's not a term we've used in class
 
  • #6
MarcL said:
I have never heard of minimization. I mean we used gradients, partial derivatives, vector derivative, etc... but never have I done minimization, sorry this might sounds somewhat stupid but it's not a term we've used in class

The distance from a point to a line is the smallest distance between the point and any point on the line. What's the distance between the point and a point on the line? It's a function of t, right? Now find the smallest distance, by taking a derivative, setting it to zero, etc, etc. It's easier if you extremize distance squared rather than distance.
 
Last edited:

Related to Distance between a point and a line.

What is the formula for finding the distance between a point and a line?

The formula for finding the distance between a point and a line is:

d = |ax + by + c| / √(a² + b²)

How do you determine if a point is above, below, or on a line?

If the point is above the line, the value of ax + by + c will be positive. If it is below, the value will be negative. If the point lies on the line, the value will be 0.

Can the distance between a point and a line be negative?

No, the distance between a point and a line is always positive. The absolute value function ensures this.

What is the significance of the absolute value in the distance formula?

The absolute value in the distance formula ensures that the distance is always positive, regardless of the position of the point relative to the line.

Can the distance between a point and a line be 0?

Yes, if the point lies on the line, the distance between them will be 0. This means that the point is part of the line and is equidistant from all points on the line.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
497
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top