Chapter 6 ยท Proportional relationships, lines, and slope
Slope-Intercept Form: Read It and Write It
See what the two numbers in a slope-intercept equation mean. Read the slope and y-intercept from an equation, then write an equation from those two numbers.
You already know the slope of a line that is not vertical: the change in divided by the change in between any two different points on the line. Slope tells you how steep a line is, but not where it sits. Different lines can have the same slope.
To pin down one line, you need one more fact. A line that is not vertical crosses the y-axis exactly once. The value of at that crossing point is the line's y-intercept. Every point on the y-axis has , so a line with y-intercept crosses at the point .
In this lesson you will read the slope and the y-intercept straight from a linear equation, which is an equation whose graph is a straight line. Then you will go the other way and write the equation from those two numbers. Start with one equation, , and watch what its two numbers do.
| x | Substitute into 2x + 3 | y |
|---|---|---|
The table shows two patterns.
- The starting value. When , the term becomes , so only the is left and . The line crosses the y-axis at , so the y-intercept is .
- The steady change. Each time goes up by , the term gains one more , so goes up by . The slope is the change in divided by the change in , so it is . Any two rows agree: from to , the slope is .
So in , the number multiplying is the slope, and the number added to the term is the y-intercept.
Now go the other way: start with a line and build its equation. Take any line that is not vertical, with slope and y-intercept , so it passes through . Let be any other point on the line. On a line that is not vertical, two different points never share the same value of , so .
A line that is not vertical has the same slope between any two of its points. So the slope from to equals . That is the first equation below. Its denominator, , is just , and it is not , so the fraction makes sense.
Multiply both sides by to get the second equation. Then add to both sides to get the third. Each move does the same thing to both sides, so the two sides stay equal. The point fits the last equation too, because . So every point on the line makes true.
Key concept
Slope-intercept form
An equation written as is in slope-intercept form, and its graph is a line that is not vertical. Here is any point on that line, can be any number, and and are fixed numbers.
- , the number multiplying (the coefficient of ), is the slope. When goes up by , changes by .
- , the number with no attached (the constant term), is the y-intercept. When , , so the line crosses the y-axis at .
Every line that is not vertical has exactly one equation of this form. A vertical line, such as , has an undefined slope, so it has none.
| Equation | Matched to y = mx + b | Slope | y-intercept | What to notice |
|---|---|---|---|---|
It already matches the form. | ||||
Subtracting is the same as adding . | ||||
means times . | ||||
Adding changes nothing, so . | ||||
is for every , so . |
Worked example
Read the slope and y-intercept
Find the slope and the y-intercept of the line .
Check the form. The variable y is alone on the left side, so the equation is solved for y. That means you can match it to slope-intercept form.
Rewrite the subtraction as adding the opposite, because the form has a plus sign in front of b. Subtracting 3 is the same as adding negative 3, so the equation still says the same thing.
Match the parts. The number multiplying x is the slope m, and the constant term is the y-intercept b. Keep the negative sign with the 3.
Check the y-intercept. Substitute 0 for x in the original equation. The result should equal b, and it does.
Find a second point so you can check the slope. Substitute 1 for x.
From x = 0 to x = 1, y goes from negative 3 up to 1. Divide the change in y by the change in x. The result matches m.
Answer
The slope is and the y-intercept is , so the line crosses the y-axis at .
Now for the second skill: writing an equation. You saw that a line that is not vertical, with slope and y-intercept , has the equation . So when you know those two numbers, put the slope in place of and the y-intercept in place of .
Keep the sign of each number. If is negative, write the result as a subtraction, because adding a negative number is the same as subtracting its opposite. For example, becomes .
A slope and a y-intercept together fit exactly one line, so they give exactly one equation of this form.
Worked example
Write an equation from a slope and y-intercept
A line has slope and y-intercept . Write its equation in slope-intercept form.
Start with slope-intercept form. The slope is a number, so the line is not vertical and this form fits it.
Replace m with the slope, negative 2, and replace b with the y-intercept, 5. This works because m stands for the slope and b stands for the y-intercept.
Check the y-intercept by substituting 0 for x. You should get 5.
Find a second point so you can check the slope. Substitute 1 for x.
From x = 0 to x = 1, y goes from 5 down to 3. Divide the change in y by the change in x. The result matches the given slope.
Answer
The equation of the line is .
Worked example
Fraction slope and negative y-intercept
A line has slope and crosses the y-axis at the point . Write its equation in slope-intercept form.
Name the two numbers. The problem gives the slope. The crossing point has x = 0, so its y-value is the y-intercept.
Substitute both numbers into slope-intercept form. The slope is a number, so the line is not vertical and the form applies.
Adding negative 2 is the same as subtracting 2, so write the equation the shorter way.
Check with a second point. Use x = 4, a multiple of the denominator, so the arithmetic stays in whole numbers. Then divide the change in y by the change in x from the given crossing point to the new point. The result matches the given slope.
Answer
The equation of the line is .
Here is the idea to keep. For any line that is not vertical, the equation shows two facts at once: the number multiplying is the slope, and the constant term is the y-intercept, so the line crosses the y-axis at . You can read and from an equation solved for , or substitute them into the form to write the equation. Next, you will use these same two numbers to graph a line from its equation and to write an equation from a graph.