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
Answered by Saskia K. Maths tutor

6096 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Integrate the following fraction w.r.t. x: (sqrt(x^2 + 1)-sqrt(x^2 - 1))/(sqrt(x^4 - 1))


How does one find the equation of a line passing through 2 points of a graph?


The quadratic equation (k+1)x^2+12x+(k-4)=0 has real roots. (a) Show that k^2-3k-40<=0. (b) Hence find the possible values of k.


Solve simultaneously: x + y + 3 = 0 and y = 2x^2 +3x - 1


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning