Find the distance from the point P to a line - linear algebra

Click For Summary
SUMMARY

The discussion focuses on calculating the distance from point P (1,7,3) to the line defined by the parametric equation (x,y,z) = (-2,1,4) + s(1,-3,4). Participants emphasize the importance of understanding parametric representations of lines and suggest using calculus to minimize the squared distance between point P and any point Q on the line. The normal vector (n) is critical for applying the projection formula, which is given as projnQP = (QP⋅n/(lengthQP)(lengthn))(n).

PREREQUISITES
  • Understanding of parametric equations of lines
  • Familiarity with vector projection concepts
  • Knowledge of quadratic forms in calculus
  • Ability to compute dot products and vector lengths
NEXT STEPS
  • Study vector projection techniques in linear algebra
  • Learn how to derive and minimize quadratic forms
  • Explore parametric equations and their applications in geometry
  • Practice problems involving distance calculations from points to lines
USEFUL FOR

Students studying linear algebra, particularly those tackling vector projections and distance calculations in three-dimensional space.

Oliviacarone
Messages
18
Reaction score
1

Homework Statement


Find the distance from point P (1,7,3) to the line
(x,y,z) = (-2,1,4) + s(1,-3,4),
s is a free variable

Homework Equations


projnQP = ( QP⋅n/(lengthQP)(lengthn) )(n)

The Attempt at a Solution


I'm not quite sure about how to find the normal (n) here, but if I make s=0, I'm guessing it's just (-2,1,4)?
QP would be Q= a point on the line, so I'm not sure which point to use since all I have here is a point, it feels like, and I used this point (-2,1,4) for the normal...
Then if I found QP I would just plug in everything.
 
Physics news on Phys.org
Oliviacarone said:
I'm not quite sure about how to find the normal (n) here, but if I make s=0, I'm guessing it's just (-2,1,4)?
I think the problem is that you are guessing. Try sketching the line and the point. When you understand how parametric representations of lines work, you can start to solve problems with them.
 
Oliviacarone said:

Homework Statement


Find the distance from point P (1,7,3) to the line
(x,y,z) = (-2,1,4) + s(1,-3,4),
s is a free variable

Homework Equations


projnQP = ( QP⋅n/(lengthQP)(lengthn) )(n)

The Attempt at a Solution


I'm not quite sure about how to find the normal (n) here, but if I make s=0, I'm guessing it's just (-2,1,4)?
QP would be Q= a point on the line, so I'm not sure which point to use since all I have here is a point, it feels like, and I used this point (-2,1,4) for the normal...
Then if I found QP I would just plug in everything.

You could use calculus to minimize the squared distance between P and a point Q in the line; that squared-distance is a quadratic form in the variable ##s##.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K