# General Form of the Equation of a Line

The general equation or standard equation of a straight line is given by

In this case, $a$ and $b$ are constants and either $a \ne 0$ or $b \ne 0$.

CASE – I: If $a \ne 0$ or $b = 0$, then the general equation or standard equation of  straight line $ax + by + c = 0$ can be written in the following form:

This is the equation of a straight line parallel to the $Y$-axis. Thus, the line is parallel to the $Y$-axis if $b = 0$.

CASE – II: If $a = 0$ or $b \ne 0$, then the general equation or standard equation of straight line $ax + by + c = 0$ can be written in the following form:

This is the equation of a straight line parallel to the $X$-axis. Thus, the line is parallel to the $X$-axis if $a = 0$.

CASE – III: If $a \ne 0$ or $b \ne 0$, then the general equation or standard equation of straight line $ax + by + c = 0$ can be written in the following form:

This is the equation of a straight line in slope intercept form with a slope of $- \frac{a}{b}$ and a $y$-intercept of $- \frac{c}{b}$.