Distance between two parallel lines
Formula and proof
Because the lines are parallel, the perpendicular distance between them is a constant, so it does not matter which point is chosen to measure the distance. Given the equations of two non-vertical parallel lines
:
:
the distance between the two lines is the distance between the two intersection points of these lines with the perpendicular line
:
This distance can be found by first solving the linear systems
:
y = mx+b_1 \\
y = -x/m \, ,
\end{cases}
and
:
y = mx+b_2 \\
y = -x/m \, ,
\end{cases}
to get the coordinates of the intersection points. The solutions to the linear systems are the points
:
and
:
The distance between the points is
:
which reduces to
:
When the lines are given by
:
:
the distance between them can be expressed as
:
See also
References
- Abstand In: Schülerduden – Mathematik II. Bibliographisches Institut & F. A. Brockhaus, 2004, {{ISBN|3-411-04275-3}}, pp. 17-19 (German)
- Hardt Krämer, Rolf Höwelmann, Ingo Klemisch: Analytische Geometrie und Lineare Akgebra. Diesterweg, 1988, {{ISBN|3-425-05301-9}}, p. 298 (German)
External links
- Florian Modler: [http://www.emath.de/Referate/Zusammenfassung-wichtiger-Formeln.pdf Vektorprodukte, Abstandsaufgaben, Lagebeziehungen, Winkelberechnung – Wann welche Formel?], pp. 44-59 (German)
- A. J. Hobson: [https://archive.uea.ac.uk/jtm/8/Lec8p5.pdf “JUST THE MATHS” - UNIT NUMBER 8.5 - VECTORS 5 (Vector equations of straight lines)], pp. 8-9