Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21b2ad2bcac554f

Jump to content

Distance between two parallel lines

From Wikipedia, the free encyclopedia

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

Formula and proof

[edit]

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 system of linear equations

and

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

More generally, when the coefficients of and are different, i.e. the parallel lines are given by the and the equations where , the distance can be expressed as

See also

[edit]

References

[edit]
  • 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)
[edit]