distance from point to a line
The distance from a point P with coordinates to the line with equation is given by .
Proof Every point on the line is at some distance from P. What we need to find is the minimum such distance. Our problem is
subject to
This problem is solvable using the Lagrange multiplier method. We minimize
Calculating the derivatives with respect to and and setting them to zero we get three equations:
(1) | |||
(2) | |||
(3) |
Solving these leads to and . We can now substitute these expressions into and we get (after some simplification) the desired result.
Title | distance from point to a line |
---|---|
Canonical name | DistanceFromPointToALine |
Date of creation | 2013-03-22 15:24:30 |
Last modified on | 2013-03-22 15:24:30 |
Owner | acastaldo (8031) |
Last modified by | acastaldo (8031) |
Numerical id | 7 |
Author | acastaldo (8031) |
Entry type | Result |
Classification | msc 51N20 |
Related topic | DistanceOfNonParallelLines |
Related topic | DistanceBetweenTwoLinesInR3 |
Related topic | Envelope |
Related topic | AngleBisectorAsLocus |