Lesson 4.3 · Functions
Slope-intercept form
If you know where a line crosses the -axis and how steep it is, you know the whole line. Slope-intercept form packs both facts into one short equation, so you can read a line's graph straight from its equation, and the other way around.
The y-intercept
The y-intercept is where a line crosses the -axis. Every point on the -axis has , so the -intercept is the output when the input is 0.
Look at the line . When , . So the line crosses the -axis at . And each time goes up by 1, goes up by 2, so the slope is 2.
Both numbers are sitting right there in the equation.
Slope-intercept form
- is the slope.
- is the y-intercept: the line crosses the -axis at .
Worked example: Reading m and b
Find the slope and -intercept of each line.
Solutions.
- , .
- , . (Subtracting 4 is adding .)
- Rearrange first: . So and .
Common mistake
The slope is the number multiplying , not the first number you see. In the slope is , not 7. Rewrite the equation in the order if that helps.
Graphing from the equation
To graph :
- Plot the -intercept .
- Use the slope as rise over run to step to a second point.
- Repeat once more to check, then draw the line.
Worked example: Graph y = (2/3)x − 1
The -intercept is , so start at . The slope is : go right 3 and up 2 to reach . Do it again to reach .
Writing the equation of a line
To write , you need two things: and .
Worked example: From a graph
Write the equation of this line.
The line crosses the -axis at 4, so . From to the rise is and the run is 2, so .
The equation is .
Worked example: From two points
Write the equation of the line through and .
Step 1: slope. .
Step 2: intercept. So far, . The point is on the line, so put in and :
The equation is .
Check with the other point: . ✓
Tip
After you write an equation, test it on a point you were given. If a given point doesn't fit, something went wrong.
Practice
What is the slope of the line ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
What is the -intercept of the line ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Write the equation of the line with slope 3 and -intercept .
Enter an expression, e.g. 3x^2 - 2x + 1
Write the equation of this line.
Enter an expression, e.g. 3x^2 - 2x + 1
Write the equation of the line through and .
Enter an expression, e.g. 3x^2 - 2x + 1
Which line passes through the point ?
Write the equation of the line through and .
Enter an expression, e.g. 3x^2 - 2x + 1
A line has slope and passes through . Write its equation.
Enter an expression, e.g. 3x^2 - 2x + 1