
On the previous page, we gave several standard methods for finding lines parallel or perpendicular to other lines, lines that go through two points, etc. All these examples were limited to two dimensions. A more general method of finding a line that goes through two points is the Determinant Method, which is presented here.
 x_{ } y_{ } 1
 x_{1} y_{1} 1 = 0
 x_{2} y_{2} 1
Expand the determinant by whatever method you learned and you have the equation of the line through the points
(x_{1}, y_{1}) and
(x_{2}, y_{2}).
Example: Find the equation of the line through
(2,3) and (4,1).
 x y 1
 2 3 1 = 0
 4 1 1
Expanding by minors across the top row:
x�3 1  y� 2 1 + 1� 2 3 = 0
1 1 4 1 4 1x�(3�11�1)  y�(2�11�4) + 1�(2�13�4) = 0
x(31)  y(2+4) + (2+12) = 0
2x  6y + 14 = 0
Divide every term by 2:
x  3y + 7 = 0
This is the required equation.
The webmaster and author of this Math Help site is Graeme McRae.