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)

Answered by Saskia K. Maths tutor

4842 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the integral of a^(x) where a is a constant


Find the gradient, length and midpoint of the line between (0,0) and (8,8).


How come x^2 = 25 has 2 solutions but x=root(25) only has one? Aren't they the same thing?


The line L1 has vector equation,  L1 = (  6, 1 ,-1  ) + λ ( 2, 1, 0). The line L2 passes through the points (2, 3, −1) and (4, −1, 1). i) find vector equation of L2 ii)show L2 and L1 are perpendicular.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences