In the case of vectors, how do I find the shortest distance between a point and a line?

The key word in the question is 'shortest'. The shortest distance from a point to a line is always the perpendicular distance. If we calculate the appropriate angles and lengths/distances, we can use trigonometry to find the shortest distance.Example question: The line l1 is (1,-1,-7) + s(2,1,5). The line l2 is (17,4,-6) + t(4,1,-3). The position vector B is (9,2,0). B lies on the line l2. The position vector A is (5, 1, 3). A is at the point where the lines l1 and l2 intersect. Find the shortest distance from B to line l1.Step 1: Draw a diagram (use whiteboard to draw one)Step 2: Find the acute angle between l1 and l2. Use the direction vectors of the lines in the equation cos(angle) = (u).(v)/|u||v| so, cos(angle) = (2,1,5).(4,1,-3)/(22+12+52)1/2x(42+12+(-3)2)1/2 hence, angle = cos-1(-6/2(195)1/2) = 102.4.. the acute angle = 180 - 102.4.. = 77.6 (to 1dp)Step 3: Find the direction vector between A and B, AB. AB = B - A = (9,2,0) - (5,1,3) = (4,1,-3)Step 4: Find the magnitude of AB. |AB| = (42 +12+(-3)2)1/2 = (26)1/2Step 5: Find the shortest distance, D, using trigonometry. sin(angle) = D/|AB| Rearrange this equation to give, D = (26)1/2x sin77.6 = 4.98(3sf)

SK

Related Maths A Level answers

All answers ▸

How do I expand a bracket to a negative power if it doesn't start with a 1.


Consider the unit hyperbola, whose equation is given by x^2 - y^2 = 1. We denote the origin, (0, 0) by O. Choose any point P on the curve, and label its reflection in the x axis P'. Show that the line OP and the tangent line to P' meet at a right angle.


The curve C has the equation: 2(x^2)y + 2x + 4y – cos (πy) = 17 use implicit differentiation to find dy/dx in terms of x and y


How to differentiate e^x . sin(x)