Use Standard Form of line equation to find line using two points?

1.4k Views Asked by At

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?

2

There are 2 best solutions below

1
On 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.

6
On

If you have two points start with $$y=ax+b$$

where you only have to find $a$ and $b$.

At this point you either plug your points in and get

$$ ax_1+b = y_1$$

$$ax_2+b = y_2$$ to solve for $a$ and $b$, and then you change your equation $$y-ax=b$$ or $$ax-y = -b$$ which is in standard form.

The other way is to find the slope intercept form $ y=mx+b$ and change it to the standard form by moving $mx$ to the left side of you equation.