英文互译镜像站

Distance between two parallel lines

Last updated

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

Contents

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

See also

References

自动镜像站群 镜像站群系统 干扰字符镜像 镜像精灵 MirrorElf