Problems from Distance from a point to a straight line in space

Given the point P=(1,2,3), find the distance between P and the straight line r:

r:(x,y,z)=(1,3,2)+k(1,0,1)

See development and solution

Development:

To find the distance to the straight line, we consider the point Q=(1,3,2) and the governing vector v=(1,0,1). We calculate now the vector product of QP times v.

QP=(0,1,5)

|QP×v|=||andjk015101||=|i+5j+k|=|(3,2,1)|=1+25+1=27

And we can already apply the formula: d(P,r)=|QP×v||v|=277=272

Solution:

d(P,r)=272

Hide solution and development
View theory