13.2 The equation of a line — Learn
Prerequisites: finding the slope of a line through two points; rearranging an equation.
Objectives: write a line as ; find the equation of a line from two points, or from one point and the slope; convert the equation to the form .
A line is fixed by two pieces of information. Usually the easiest pair is a point on the line and the slope. Once you have both, the equation follows.
The slope-intercept form
The simplest way to write a line is
Here is the slope and is the -intercept, the value of where the line crosses the -axis. Every non-vertical line has one equation of this form.
Example 1. Write down the slope and the -intercept of .
The slope is and the -intercept is . The line crosses the -axis at .
Finding the equation from a point and a slope
If you know the slope and one point , use the point-slope form:
Then rearrange into the form you want.
Example 2. Find the line with slope through .
Check it: when , , which is the point you were given.
Finding the equation from two points
With two points, do this in two steps:
- find the slope from the two points;
- substitute and either point into the point-slope form.
Example 3. Find the line through and .
Using : , so .
Example 4. Write the main road through and in the form .
From Section 13.1 the slope is . Using :
Multiply every term by to clear the fractions:
The form has no fractions and no on its own. It is the same line, written differently.
The -intercept
To find where a line crosses the -axis, put and solve for .
Example 5. Find where crosses the -axis.
With , , so . The line crosses at .
Progress check
Back to the chapter problem. The main road runs from to .
- Write the equation of the main road as .
- Rewrite it in the form .
- Show that both junctions satisfy your equation.
Keep the equation. You will use its slope in Section 13.3.
You should now be able to
- read the slope and the -intercept from ;
- find the equation of a line from a point and a slope;
- find the equation of a line from two points;
- convert a line to the form ;
- find the -intercept of a line.