GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Distance between two parallel lines - Wikipedia

"Distance between two lines" redirects here; not to be confused with Distance between two skew lines.

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

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

y=mx+b1
y=mx+b2,

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

{y=mx+b1y=−x/m,

and

{y=mx+b2y=−x/m,

to get the coordinates of the intersection points. The solutions to the linear systems are the points

(x1,y1) =(−b1mm2+1,b1m2+1),

and

(x2,y2) =(−b2mm2+1,b2m2+1).

The distance between the points is

d=(b1m−b2mm2+1)2+(b2−b1m2+1)2,

which reduces to

d=|b2−b1|m2+1.

When the lines are given by

ax+by+c1=0
ax+by+c2=0,

the distance between them can be expressed as

d=|c2−c1|a2+b2.

More generally, when the coefficients of x and y are different, i.e. the parallel lines are given by the a1x+b1y+c1=0 and the a2x+b2y+c2=0 equations where (a1,b1) || (a2,b2), the distance can be expressed as

d=(a1c2−a2c1)2+(b1c2−b2c1)2|a1b1+a2b2|

See also

  • Distance from a point to a line

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 Algebra. Diesterweg, 1988, ISBN 3-425-05301-9, p. 298 (German)

External links

  • Florian Modler: Vektorprodukte, Abstandsaufgaben, Lagebeziehungen, Winkelberechnung – Wann welche Formel?, pp. 44-59 (German)
  • A. J. Hobson: “JUST THE MATHS” - UNIT NUMBER 8.5 - VECTORS 5 (Vector equations of straight lines), pp. 8-9
Retrieved from "https://en.wikipedia.org/w/index.php?title=Distance_between_two_parallel_lines&oldid=1314606825"
Categories:
  • Euclidean geometry
  • Distance
Hidden categories:
  • Articles with short description
  • Short description is different from Wikidata
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.