Content deleted Content added
m Reverted 1 edit by 103.94.216.28 (talk) to last revision by Raycheng200. |
Tags: Mobile edit Mobile app edit |
||
Line 8:
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
:<math>y = mx+
:<math>y = mx+
the distance between the two lines is the distance between the two intersection points of these lines with the perpendicular line
Line 18:
:<math>\begin{cases}
y = mx+
y = -x/m \, ,
\end{cases}</math>
Line 25:
:<math>\begin{cases}
y = mx+
y = -x/m \, ,
\end{cases}</math>
Line 31:
to get the coordinates of the intersection points. The solutions to the linear systems are the points
:<math>\left( x_1,y_1 \right)\ = \left( \frac{-
and
:<math>\left( x_2,y_2 \right)\ = \left( \frac{-
The distance between the points is
:<math>d = \sqrt{\left(\frac{
which reduces to
:<math>d = \frac{|
When the lines are given by
|