Distance between two parallel lines: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>F5naraan
mNo edit summary
 
(No difference)

Latest revision as of 20:44, 14 August 2023

Template:Short description Template:Redirect-distinguish

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 linear systems

{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=(b1mb2mm2+1)2+(b2b1m2+1)2,

which reduces to

d=|b2b1|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=|c2c1|a2+b2.

See also

References

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