lesson

Updated 1 month ago Β· 8 views
If you are standing in an open field at coordinates (x0β,y0β) and need to reach a straight road as quickly as possible, which exact path should you take?
The shortest path from a point to any line is always the perpendicular segment β the straight line meeting the boundary at a 90β angle.
πInteractive diagram
Can we calculate this exact shortest distance in a single step without solving for the intersection point each time?
The Perpendicular Distance Formula
A straight line in standard Cartesian form is written as Ax+By+C=0, where A, B, and C are constant real coefficients.
The perpendicular distance d from any given point (x0β,y0β) to the line Ax+By+C=0 is:
d=A2+B2ββ£Ax0β+By0β+Cβ£β
πInteractive diagram
Why does the numerator look exactly like the line equation, and where does the square root in the denominator come from?
Why It Works: Vector Projection
In the late 1700s, French mathematician Gaspard Monge systematized coordinate methods to calculate distances and projections for military engineering and architecture.
Every line Ax+By+C=0 has a normal vector n=β¨A,Bβ© that points perpendicular to the line with magnitude β£nβ£=A2+B2β.