- Published on
Using Vector Projections for Shortest Distances
- Authors

- Name
- Vu Hung
Problem Statement
A line passes through the points and . A point does not lie on the line.
- Find the vector and the vector .
- Using vector projection, find the shortest distance from the point to the line .
Hints
- Recall that the shortest distance from a point to a line is the perpendicular distance.
- The scalar projection of onto gives the length of the adjacent side of the right-angled triangle formed by , , and the point on the line closest to .
- You can use Pythagoras' theorem with the length of and the scalar projection of onto to find the perpendicular distance.
- Alternatively, the vector projection can be used. The perpendicular vector is , and its magnitude is the shortest distance.
Solutions
First, we find the vectors and :
Let be the point on the line that is closest to . The line segment is perpendicular to . The length is the scalar projection of onto . Let's calculate this scalar projection: First, find the dot product : Next, find the magnitude of : So, the scalar projection .
Now, we find the magnitude of (the hypotenuse of the right-angled triangle ):
Finally, we use Pythagoras' theorem in to find , which is the shortest distance : Taking the positive square root:
The shortest distance from to the line is exactly units.
Takeaways
- Vectors provide a powerful, geometric way to solve shortest distance problems without needing to find the equation of a line or use calculus.
- The scalar projection breaks a vector into orthogonal components, making it ideal for perpendicularity problems.
- Always draw a quick diagram mentally or on paper to visualize how , its projection along the line, and the perpendicular distance form a right-angled triangle.
Further Readings
- HSC Vectors: https://vumaths.com/booklets/hsc-vectors/
- HSC Mechanics: https://vumaths.com/booklets/hsc-mechanics/
Connect with me
Mastered this vector technique? There's more where that came from!
- Check out my Substack at https://vuhung16.substack.com/ for deep-dive articles into HSC Extension 1 mechanics and geometry.
- Find the full list of HSC mathematics booklets on my website: Vu's Maths Hub.
- Let's connect professionally on LinkedIn or collaborate on code over at my GitHub.
