Proof of the formula for the distance from a point to a line
Builds on LineEuclidean distanceLength of a vectorDot productNormal vectorPythagorean theorem in an inner product space
Proof
We find the foot of the perpendicular and compare every other point of the line with it.
- Let . It is a normal vector of . Since , its length is positive.
- Let , let , and let .
- The point lies on . Indeed, .
- Let be any point of . With the dot product, . By step 3 also . So .
- We have . The two summands are orthogonal by step 4.
- By the Pythagorean theorem for orthogonal vectors, .
- The Euclidean distance is . Taking square roots in step 6 gives for each .
- For , we get . So the bound of step 7 is reached at the point of .
- Hence the smallest distance exists and equals .
Idea
Move from along the normal vector until you hit the line. The path from to any other point of the line is the hypotenuse of a right triangle with this normal segment as a leg. So it is at least as long, and the normal segment gives the distance.
Reading path
To understand this page from the ground up, read these 14 pages in order. The foundations come first. The path takes the proof Proof of the Pythagorean theorem in an inner product space.
Show the path as a graph
- no evidence level
- Dot product concept
- Euclidean distance concept
- Length of a vector concept
- Line concept
- Normal vector concept
- Vector space definition
- Inner product definition
- Norm definition
- Inner product space definition
- Orthogonal vectors definition
- Norm induced by an inner product definition
- Proof of the Pythagorean theorem in an inner product space proof
- Pythagorean theorem in an inner product space statement
- Proof of the formula for the distance from a point to a line proof
Where this leads
5 pages build on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line, Proofs
- Web https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_plane, Why this is the closest point
About this page
| Tag | HBCYZJBEH4 |
|---|---|
| URI | m2://HBCYZJBEH4 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 51N20 |
| Proves | Distance from a point to a line |
| Uses | Line, Euclidean distance, Length of a vector, Dot product, Normal vector, Pythagorean theorem in an inner product space |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.