Slope-Intercept Practice Problems With Answers (Desmos-Friendly)
Twenty slope-intercept practice problems with full solutions — reading slope and intercept, converting equations, writing lines from points, and parallel and perpendicular lines.
Hussain · Glowsmith
December 1, 2026 · 8 min read
Share this article
y = mx + b
Slope-intercept practice is where most algebra students either lock in linear equations or memorize a formula they cannot use. The difference is whether they can move between a graph, an equation, and a real situation.
These 20 problems go from reading an equation to writing one from two points to perpendicular lines. Answers and short explanations follow each set.
The form itself
A linear equation in slope-intercept form looks like:
y = mx + b
- m is the slope — rise over run, the change in y for each one-unit change in x.
- b is the y-intercept — the y-value when x = 0, where the line crosses the y-axis.
Two lines with the same m are parallel. Two lines are perpendicular when their slopes multiply to −1, which means each slope is the negative reciprocal of the other.
Part 1: Read the slope and intercept (1–5)
1. y = 3x − 5 Answer: m = 3, b = −5. The line rises 3 for every 1 to the right and crosses at (0, −5).
2. y = −2x + 7 Answer: m = −2, b = 7. Negative slope means the line falls left to right.
3. y = ½x Answer: m = ½, b = 0. The line passes through the origin.
4. 2x + 3y = 12 Answer: Solve for y: 3y = −2x + 12, so y = −⅔x + 4. m = −⅔, b = 4.
5. 4x − y = 1 Answer: −y = −4x + 1, so y = 4x − 1. m = 4, b = −1.
Part 2: Write the equation (6–11)
6. Slope 5, y-intercept 2. Answer: y = 5x + 2.
7. Slope −3 through (1, 4). Answer: y = −3x + b; substitute: 4 = −3(1) + b, so b = 7. Equation: y = −3x + 7.
8. Through (2, 3) and (4, 7). Answer: m = (7 − 3)/(4 − 2) = 2. Then 3 = 2(2) + b, so b = −1. Equation: y = 2x − 1.
9. Through (−1, 2) and (3, −6). Answer: m = (−6 − 2)/(3 − (−1)) = −8/4 = −2. Then 2 = −2(−1) + b, so b = 0. Equation: y = −2x.
10. Slope ½ through (5, −1). Answer: −1 = ½(5) + b, so b = −3.5. Equation: y = ½x − 3.5 (or y = ½x − 7/2).
11. x-intercept 3, y-intercept −6. Answer: Points are (3, 0) and (0, −6). m = (−6 − 0)/(0 − 3) = 2. Equation: y = 2x − 6.
Part 3: Special lines and relationships (12–17)
12. Horizontal line through (4, −3). Answer: y = −3. Slope is 0.
13. Vertical line through (2, 5). Answer: x = 2. Slope is undefined — not zero.
14. Line parallel to y = 3x − 1 through (0, 4). Answer: Same slope, m = 3. b = 4. Equation: y = 3x + 4.
15. Line perpendicular to y = 2x + 1 through (4, 0). Answer: Perpendicular slope is −½. 0 = −½(4) + b, so b = 2. Equation: y = −½x + 2.
16. Line perpendicular to y = −⅓x + 2 through (1, 1). Answer: Perpendicular slope is 3. 1 = 3(1) + b, so b = −2. Equation: y = 3x − 2.
17. A table shows (0, 5), (1, 7), (2, 9). Write the equation. Answer: Each x step adds 2 to y, so m = 2. The value at x = 0 is 5, so b = 5. Equation: y = 2x + 5.
Part 4: Reason about it (18–20)
18. Which line is steeper: y = 4x + 1 or y = ¼x + 9? Answer: y = 4x + 1. Steepness follows the absolute value of the slope, and 4 > ¼.
19. Rewrite y − 3 = 2(x − 1) in slope-intercept form. Answer: y − 3 = 2x − 2, so y = 2x + 1.
20. Does (3, 10) lie on y = 3x + 1? Answer: Yes. 3(3) + 1 = 10, so the point satisfies the equation.
Answer key at a glance
| # | Answer | # | Answer |
|---|---|---|---|
| 1 | m = 3, b = −5 | 11 | y = 2x − 6 |
| 2 | m = −2, b = 7 | 12 | y = −3 |
| 3 | m = ½, b = 0 | 13 | x = 2 |
| 4 | y = −⅔x + 4 | 14 | y = 3x + 4 |
| 5 | y = 4x − 1 | 15 | y = −½x + 2 |
| 6 | y = 5x + 2 | 16 | y = 3x − 2 |
| 7 | y = −3x + 7 | 17 | y = 2x + 5 |
| 8 | y = 2x − 1 | 18 | y = 4x + 1 |
| 9 | y = −2x | 19 | y = 2x + 1 |
| 10 | y = ½x − 3.5 | 20 | Yes |
Graph it, do not just solve it
Slope-intercept is visual. After solving, graph both the equation and the given points on Desmos or paper:
- Does the line cross the y-axis at b?
- Does it rise or fall the way the sign of m predicts?
- Does it pass through the points you were given?
If the graph disagrees with the algebra, the algebra is usually wrong — but occasionally the graph reveals a reading error, which is just as useful to catch.
Interactive graph-state questions take this further: students move the line itself, and the check compares the graph's state to the expected line rather than asking for a multiple-choice guess. That catches the difference between knowing the formula and being able to use it.
Common errors to watch
- Dropping the negative sign when converting from standard form.
- Swapping slope and intercept when reading a graph.
- Using the same slope for perpendicular lines instead of the negative reciprocal.
- Confusing a vertical line with a horizontal one — x = 2 versus y = 2.
- Forgetting to substitute a point to find b after computing m.
- Rounding too early when the slope is a fraction.
Practice that checks the graph
Reading 20 worked answers helps once. Producing 20 lines yourself helps more. Try the quadratic and linear graph lessons for the interactive format, or read the Desmos activities guide for more graph-based practice ideas.
To generate a fresh set with answer explanations, describe the mix you want in the AI lesson generator. Use code glowtest261 for two months of Pro free.
Start learning today. It’s free.
Create an account to save your lessons and quizzes.