Shortest Distance between a Point and a Line in 2D
Shortest Distance between a Point and a Line in 2D
This Demonstration shows how the scalar product (dot product) can be used to find the point of shortest distance between a point P and a line. You can modify the line by dragging points A and B.