Distance between two parallel lines

The distance between two parallel lines in the plane is the minimum distance between any two points.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

The distance between two parallel lines in the plane is the minimum distance between any two points. y = mx+b_1\, y = mx+b_2\,, the distance between the two lines is the distance between the two intersection points of these lines with the perpendicular line y = -x/m \, . This distance can be found by first solving the system of linear equations \begin{cases} y = mx+b_1 \\ y = -x/m \, , \end{cases} and \begin{cases} 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 \left( x_1,y_1 \right)\ = \left( \frac{-b_1m}{m^2+1},\frac{b_1}{m^2+1} \right)\, , and \left( x_2,y_2 \right)\ = \left( \frac{-b_2m}{m^2+1},\frac{b_2}{m^2+1} \right)\, . The distance between the points is d = \sqrt{\left(\frac{b_1m-b_2m}{m^2+1}\right)^2 + \left(\frac{b_2-b_1}{m^2+1}\right)^2}\,, which reduces to d = \frac {\sqrt{m^2+1}}\,.

When the lines are given by ax+by+c_1=0\, ax+by+c_2=0,\, the distance between them can be expressed as d = \frac {\sqrt {a^2+b^2}}. More generally, when the coefficients of x and y are different, i.e. the parallel lines are given by the a_1 x + b_1 y + c_1 = 0 and the a_2 x + b_2 y + c_2 = 0 equations where (a_1, b_1)\ ||\ (a_2, b_2) , the distance can be expressed as d = \frac{\sqrt{(a_1 c_2 - a_2 c_1)^2 + (b_1 c_2 - b_2 c_1)^2}}

See also

Distance from a point to a line

References

Abstand In: Schülerduden – Mathematik II. Bibliographisches Institut & F. A. Brockhaus, 2004, , pp. 17-19 (German) Hardt Krämer, Rolf Höwelmann, Ingo Klemisch: Analytische Geometrie und Lineare Algebra. Diesterweg, 1988, , p. 298 (German)

Text derived from https://en.wikipedia.org/w/index.php?oldid=1314606825 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001314606825 · captured 1759389276.0 · version history

Cite this page as: encyclopegia.org, “Distance between two parallel lines”, snapshot enwiki-001314606825. https://encyclopegia.org/a/distance-between-two-parallel-lines

Sources cited in this revision

No external citation was extracted for this revision. That is a statement about the source, not a claim that none exists.