topic badge
Grade 9

Equation of a line: Ax+By+C=0


We have seen that the slope intercept form of a line looks like this:


From this form we can: 

  • instantly visualise where the line is positioned on the number plane
  • identify if the line is increasing or decreasing
  • see the value of the slope ($m$m)
  • see the value of the $y$y intercept ($b$b)

Another useful form for the equation of a straight line is the general form.  It looks like this:


In this form:

  • All coefficients $a$a,$b$b and $c$c are integers
  • The coefficient of $x$x is positive

Notice that in this form, the $y$y-intercept cannot be seen in the equation. We would have to substitute $x=0$x=0 to find it. 

The advantages of writing an equation in this form can be seen when:

  • there are fractions involved in the equation ($y=\frac{-5x}{3}-\frac{2}{7}$y=5x327 for example). Writing it in general form would be a tidier option.
  • we need to find the point of intersection of two straight lines (and one or both equations involve fractions)

We can convert from one form to another by rearranging the equation.  Rearranging the equation is just like solving an equation: we carry out inverse operations to move terms from one side to another, or to change the sign from positive to negative.  Let me show you what I mean.



Question 1

Rearrange $y=4x-8$y=4x8 into general form.


Move all the terms to the same side, remembering to keep the coefficient of $x$x positive.



Question 2

Rearrange $3x-6y+12=0$3x6y+12=0 into slope-intercept form.


To make $y$y the subject, we need to move the $x$x term and the constant to the other side. It would be preferable to keep the coefficient of $y$y positive.


We can now divide through by $6$6 to make $y$y the subject.

$\frac{1}{2}x+2$12x+2 $=$= $y$y
$y$y $=$= $\frac{1}{2}x+2$12x+2


Question 3

Which line is steeper, $2x+3y-2=0$2x+3y2=0 or $2x+5y+3=0$2x+5y+3=0?

  1. $2x+5y+3$2x+5y+3$\text{ = }$ = $0$0


    $\text{Both lines are equally steep. }$Both lines are equally steep. $\text{ }$ $\text{ }$


    $2x+3y-2$2x+3y2$\text{ = }$ = $0$0


    $2x+5y+3$2x+5y+3$\text{ = }$ = $0$0


    $\text{Both lines are equally steep. }$Both lines are equally steep. $\text{ }$ $\text{ }$


    $2x+3y-2$2x+3y2$\text{ = }$ = $0$0





Express the equation of a line in the form y = mx + b, given the form Ax + By + C = 0


Determine the equation of a line from information about the line

What is Mathspace

About Mathspace