4 / 6 · Basic
Slope-intercept form: y = mx + b
In y = −3x + 5 you can read the graph straight off the equation: start at (0, 5), then go 1 right and 3 down.
Jump to the 10 practice questionsYou will learn
- Graph from the intercept and the slope
- Spot parallel and perpendicular lines from slopes
Before this: Slope
1Explain
Two numbers that describe a line
When a linear equation is solved for y, it takes the shape y = mx + b. OpenStax calls this the slope-intercept form, because the two numbers in it are exactly the two facts you need to draw the line. The coefficient of x, m, is the slope. The constant, b, is the y-coordinate of the y-intercept, so the line crosses the y-axis at (0, b). For y = −3x + 5 the slope is −3 and the y-intercept is (0, 5). No table is needed: the equation already tells you where to start and which way to go.
2Problem
Slope of y = −3x + 5
What is the slope of y = −3x + 5?
Hint
The number in front of x.
Solution
Answer: −3
In y = mx + b the slope is the coefficient of x: −3.
3Problem
Intercept of y = (2/5)x − 1
What is the y-coordinate of the y-intercept of y = (2/5)x − 1?
Hint
The constant.
Solution
Answer: −1
b = −1, so the line crosses the y-axis at (0, −1).
4Explore
Graph from the form
To graph from the form, plot the y-intercept first. Then write the slope as a fraction rise/run and count it out from that point. A slope of −3 is −3/1: one unit right and three units down, which lands on (1, 2). Do it again to reach (2, −1), and draw the line through the points. For y = (2/5)x − 1, start at (0, −1), go 5 right and 2 up to (5, 1). A negative slope can be counted either as down-then-right or as up-then-left; both land on the same line.
Move m and b. The small triangle from the intercept is run 1, rise m. Add the parallel or the perpendicular line.
5Explain
Solve for y first
If an equation is not in this form, solve it for y first. OpenStax works through x + 2y = 6: subtract x from both sides to get 2y = −x + 6, then divide by 2 to get y = −(1/2)x + 3. Now you can read the slope, −1/2, and the y-intercept, (0, 3). This is the same line you graphed with intercepts in the previous unit, and the x-intercept (6, 0) agrees: start at (0, 3) and go 2 right and 1 down three times.
6Problem
x + 2y = 6
What is the slope of x + 2y = 6?
Hint
y = −(1/2)x + 3.
Solution
Answer: -1/2
Solve for y: 2y = −x + 6, y = −(1/2)x + 3. The slope is −1/2.
7Problem
x + 4y = 8
What is the slope of x + 4y = 8?
Hint
y = −(1/4)x + 2.
Solution
Answer: -1/4
4y = −x + 8, so y = −(1/4)x + 2. The slope is −1/4 and the y-intercept is (0, 2).
8Problem
3x − y = 7
What is the slope of 3x − y = 7?
Hint
y = 3x − 7.
Solution
Answer: 3
Subtract 3x: −y = −3x + 7. Multiply by −1: y = 3x − 7. The slope is 3.
9Explain
What m and b mean in a formula
The form works with any letters. The textbook formula F = (9/5)C + 32 converts Celsius to Fahrenheit. Its slope, 9/5, says Fahrenheit goes up 9 degrees for every 5 degrees Celsius. Its intercept, 32, says that 0 °C is 32 °F. Another OpenStax example models a delivery van: C = 0.5m + 60, where C is the weekly cost in dollars and m is miles driven. The 60 dollars is the fixed cost you pay even with no driving, and the 0.5 is the cost of each extra mile. A week of 250 miles costs 0.5 × 250 + 60 = 185 dollars.
10Problem
What 9/5 means
In F = (9/5)C + 32, what does the 9/5 mean?
Hint
Slope is change in F per change in C.
Solution
Answer: F rises 9 degrees for every 5 degrees C
9/5 is the slope, rise over run: 9 Fahrenheit degrees per 5 Celsius degrees. The 32 is the intercept.
11Problem
A 250-mile week
The van cost is C = 0.5m + 60 dollars for m miles a week. What does a 250-mile week cost?
dollars
Hint
0.5 · 250 + 60.
Solution
Answer: 185 dollars
0.5 × 250 + 60 = 125 + 60 = 185.
12Explain
Parallel and perpendicular lines
Two lines with the same slope and different y-intercepts never meet: they are parallel. So y = 2x + 1 and y = 2x − 5 are parallel, and you can tell without drawing them. Perpendicular lines meet at a right angle, and their slopes are negative reciprocals: flip the fraction and change the sign. OpenStax shows slopes 1/4 and −4, whose product is −1. That product is always −1 for two perpendicular lines, as long as neither is vertical. A horizontal line and a vertical line are also perpendicular, but the vertical one has no slope to multiply.
13Problem
Parallel to y = 2x + 1
Which line is parallel to y = 2x + 1?
Hint
Same slope.
Solution
Answer: y = 2x − 5
Parallel lines have the same slope, 2, and a different y-intercept.
14Problem
Perpendicular to slope 1/4
A line has slope 1/4. What is the slope of a line perpendicular to it?
Hint
Negative reciprocal.
Solution
Answer: −4
Flip 1/4 to 4/1 and change the sign: −4. Check: (1/4) × (−4) = −1.
15Problem
Perpendicular to slope −2/3
A line has slope −2/3. What is the slope of a line perpendicular to it?
Hint
Flip and change the sign.
Solution
Answer: 3/2
The negative reciprocal of −2/3 is 3/2. Check: (−2/3) × (3/2) = −1.
16Explore
The line lab
Drag to turn. Scroll or pinch to zoom.
17Explain
One parameter at a time
Compare equations by changing one parameter at a time. Keeping the intercept fixed while changing the slope keeps the crossing with the y-axis in place but changes the tilt. Keeping the slope fixed while changing the intercept shifts the line vertically. This separates the jobs of the two parameters instead of treating them as unrelated numbers to memorize.
18
Summary
- In y = mx + b, m is the slope and (0, b) is the y-intercept.
- Graph: plot (0, b), then count rise and run from it.
- Solve for y first if the equation is in another form.
- Parallel: equal slopes. Perpendicular: slopes multiply to −1.