[Math] Use Standard Form of line equation to find line using two points

analytic geometrygeometrysystems of equations

I can find the equation of a line using the slope-intercept form if I have two points on the line.

However I was trying to do the same with the standard form of the equation of a line, $ax+by=c$, and I can't make it happen.

The way it looks, there are three unknowns and only two equations in our system, where we would have $$ax_1+by_1=c$$$$ax_2+by_2=c$$ I'm not sure what $c$ is in this context or how to get a value for it with just two points as total information.

If it turns out it's actually not possible to find the equation of a line using the standard form, why is that the case?

Best Answer

As you’ve noted, the system of equations in the unknown coefficients $a$, $b$ and $c$ is underdetermined. This means that there’s an infinite number of solutions to the system. (We know that the system has a solution since there is a line through the two points.) This shouldn’t really come as a surprise: if $ax+by+c=0$ is an equation of the line, you can multiply it by any nonzero scalar and get another equation of the same line. So, any of the solutions to the system of equations will give you a valid equation for the line. If you want to pick one in particular, a convenient choice is to choose $a$ and $b$ so that $a^2+b^2=1$ and $a\ge0$. With this choice, the normal vector $(a,b)$ is a unit vector and $|c|$ is then the distance of the line from the origin.

Related Question