Lesson 8.4 · Graphing and Linear Functions
Slope-intercept form
You've seen that a line has a slope and a -intercept. When a linear equation is written as , both numbers are sitting right there in the equation. This form is the one you'll use most in Algebra 1, because it lets you read a line's graph straight from its equation.
Reading m and b
Look at . Make a quick table:
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 3 | 5 | 7 | 9 |
When , , so the line crosses the -axis at . Each time goes up by 1, goes up by 2, so the slope is 2. The two numbers in the equation are exactly the slope and the -intercept.
Slope-intercept form
A linear equation in slope-intercept form looks like
- is the slope.
- is the -intercept: the line crosses the -axis at .
Worked example: Finding m and b
Give the slope and -intercept of each line.
Solutions.
- , .
- , . Subtracting 6 is adding .
- , . The line goes through the origin.
- Rewrite as . Then and .
Common mistake
The slope is the number multiplied by , not simply the first number you see. In , the slope is and the -intercept is 8. Also keep the sign: in , is , not 7.
Graphing from the equation
You don't need a table to graph .
- Plot the -intercept .
- Use the slope as rise over run to step to another point.
- Step once more to check, then draw the line.
Worked example: Graphing y = (2/3)x − 1
Graph .
Start at the -intercept, . The slope is , so go right 3 and up 2 to reach . Do it again to reach . Draw the line through the three points.
For a negative slope such as , go right 4 and down 3.
Writing the equation of a line
To write , you need two numbers: and .
Worked example: From two points
Write the equation of the line through and .
Find the slope: .
Find : the equation so far is . Substitute one of the points, say :
The equation is . Check with the other point: . ✓
Rewriting into slope-intercept form
Some equations, like , have and on the same side. Solve for to put them in slope-intercept form, the same way you solved equations earlier in this course.
Worked example: Solving for y
Write in slope-intercept form.
The slope is and the -intercept is 4.
Starting value and rate
In a real situation, is often a starting amount and is a rate.
A gym charges a $25 sign-up fee plus $15 per month. The cost after months is
The slope 15 is the cost per month, and the -intercept 25 is what you pay at month 0, before any monthly fees.
Tip
After you write an equation, test it with a point you know. If the line should pass through , plug in and make sure you get 9.
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 5 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 equation is written in slope-intercept form?
A plumber charges $40 to come to your house plus $65 for each hour of work. Write an equation for the total cost , in dollars, for hours of work.
Enter an expression, e.g. 3x^2 - 2x + 1
A line has slope and passes through . What is its -intercept?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.