Lines can be expressed in a few different foms, which one is most convenient often depends on the information available to compute them. Provided are the equations to compute the intersection of two lines for several different equation forms. The slope-intercept, and point-slope forms cannot represent vertical lines, since there is no way to represent infinite slope. But this case is trivial, as it means \(x\) is constant. So just plug \(x\) in to the other equation to solve for \(y\) directly. The two-point form can have cases where \(x_1 = x_2\) or \(x_3 = x_4\). Such a case is also trivial, as we can simply set \(x = x_1\) and use the other equation to solve for \(y\) directly.
The solution is given to compute the x coordinate, the y coordinate is computed using the value of x plugged in to any of the first equations.
\( (x, y) \) The computed coordinates of the intersection point.
\( (x_1, y_1) \) Coordinates of the first point.
\( (x_2, y_2) \) Coordinates of the second point.
\( m \) Slope of line \( \frac{rise}{run} \).
\( m_1 \) Slope of line 1.
\( m_2 \) Slope of line 2.