how to find the distance of a point from a given line in 3d
Here is the example for the same.
Find the coordinates of the foot of the perpendicular from the point (2,3,-8) to the line (4-x)/2 = y/6 = (1-z)/3. Also find the perpendicular distance from the given point to the given line.
Find the coordinates of the foot of the perpendicular from the point (2,3,-8) to the line (4-x)/2 = y/6 = (1-z)/3. Also find the perpendicular distance from the given point to the given line.
Let L be the foot of the perpendicular drawn from the point P(2, 3, – 8) to the given line.
The coordinates of a general point on are given by,
x = 4 – 2λ, y = 6λ, z = 1 – 3λ
Let the coordinates of L be (4 – 2λ, 6λ, 1 – 3λ)
∴ Direction ratios of PL are proportional to 4 – 2λ – 2, 6λ – 3, 1 – 3λ – (– 8)
i.e., 2 – 2λ, 6λ – 3, 9 = 3λ
Direction ratios of the given line are proportional to 2, 6, 3
Now, PL is perpendicular to the given line.
So, the coordinates of L are
∴ Length of the perpendicular,