[Math] How is $Ax + By = C$ the equation of a straight line

algebra-precalculus

I know the equation, $y = mx + b$ where $m$ is slope and $b$ is $y$-intercept, is a straight line. But I know also that $Ax + By = C$ is a straight line equation, but how does it represent a straight line?

Best Answer

If you solve for $y$ in $Ax+By = C$ ($B \neq 0$) you get slope-intercept form. In other words, $$By = C-Ax$$ $$y = \frac{C}{B}-\frac{Ax}{B}$$ so that $m = -A/B$ and $b = C/B$ in $y = mx+b$.

As Gonzalo points out, if $B = 0$ then we get $Ax = C$ or $x = C/A$ which is a line parallel to the $y$-axis through the point $(C/A,0)$.

Related Question