17.6 The general form ax + by + c = 0 — Learn
Prerequisites: the equation of a line from Section 17.5, and rearranging a formula from Section 13.2.
Objectives: write a line in the form ; change between the general form and ; read the slope and the intercepts from the general form; test whether a point lies on a line.
By the end of this section, you can work with a line in any of its forms.
The general form
A straight line can be written with all its terms on one side.
Here , and are numbers, and and are not both 0. This is called the general form of the equation of a line.
Every line has a general form, including vertical lines. A vertical line has , so the term disappears. For example, is the vertical line .
Example 1. Write the line in general form.
Move every term to the left. Subtract from both sides.
The general form is .
Example 2. Write the line in general form.
Add to both sides and subtract 4.
Changing back to y = mx + c
To find the slope and the intercept, rearrange the general form so that is on its own.
Example 3. Write in the form .
Move the term and the constant to the right.
Divide every term by 3.
The slope is and the intercept is 2.
Reading the slope and intercepts
When is not 0, the slope and the -intercept can be read straight from the general form.
The -intercept is found by setting , which gives .
Example 4. Find the slope of the line .
Use the slope rule with and .
The slope is 2. Check by rearranging: , so .
Example 5. Find the -intercept of the line .
Set , because the -axis is the line .
The -intercept is 3. The line crosses the -axis at .
Example 6. Find the -intercept of the line .
Set , because the -axis is the line .
The -intercept is 2. The line crosses the -axis at .
Testing a point
A point lies on a line when substituting its coordinates makes the left-hand side equal to 0.
Example 7. Does the point lie on the line ?
Substitute and .
The result is 0, so the point lies on the line.
Clearing a fraction
When a line has a fractional slope, multiply every term by the denominator to get whole-number coefficients.
Example 8. Write in general form with whole-number coefficients.
Multiply every term by 2.
Move every term to the left.
Watch out
The sign of the constant is the trap.
A second trap is a line with . The line is vertical, so it has no -intercept and no slope in the form .
Progress check
Return to the chapter problem. The main path is .
- Write the main path in general form with whole-number coefficients.
- Check that the gate lies on your line.
- Check that the kiosk lies on your line.
In Section 17.7 you will read a straight-line graph in a real situation.
You should now be able to
- write a line in the form ;
- rearrange the general form into ;
- read the slope as and the -intercept as ;
- find the -intercept by setting ;
- test whether a point lies on a line;
- clear a fraction so the coefficients are whole numbers;
- recognise a vertical line, where .