What you'll learn
Slope is the single most important number about a line. It tells you how steep the line is and which way it goes.
In this lesson you will find slope three ways:
- from a graph (count rise and run);
- from two points or a table (use the slope formula);
- from an equation (solve for y and read m).
You will also learn the four kinds of slope (positive, negative, zero, undefined), how to compare steepness, and how to work backwards to a missing coordinate.
Why it matters on the GED. Slope appears in several questions on almost every Math test: "What is the slope of the line shown?", "Which equation has the greatest slope?", "Find the missing value if the slope is …". It is also the foundation for unit rates, graphing lines and writing equations — all later lessons build on it.
Real life. The pitch of a roof, the grade of a road or wheelchair ramp, the price per gallon on a receipt, and the speed of a car on a distance–time graph are all slopes.
Words to know
- slope (m) — the rate a line goes up or down: change in y divided by change in x (a slope of 2 means up 2 for every 1 to the right).
- rise — the vertical change between two points (from y = 1 to y = 7, the rise is 6).
- run — the horizontal change between two points (from x = 2 to x = 5, the run is 3).
- positive slope — the line goes up from left to right (e.g. m = 3).
- negative slope — the line goes down from left to right (e.g. m = -\tfrac{1}{2}).
- zero slope — a horizontal line such as y = 4.
- undefined slope — a vertical line such as x = -2 (run is 0, and we cannot divide by 0).
- slope-intercept form — y = mx + b; m is the slope, b is the y-intercept (e.g. y = 5x - 1 has m = 5).
- standard form — Ax + By = C (e.g. 4x + 2y = 10); must be rearranged to see the slope.
- y-intercept — where a line crosses the y-axis (in y = 5x - 1 it is (0, -1)).
- steepness — the size of the slope ignoring its sign, \lvert m \rvert.
Slope from a graph: rise over run
Slope compares the up/down change to the left/right change:
m = \frac{\text{rise}}{\text{run}} = \frac{\text{change in } y}{\text{change in } x}Steps for a graph:
- Pick two points where the line passes exactly through grid corners.
- Move from the left point to the right point. Count the rise (up is +, down is -).
- Count the run (to the right, always + when you go left to right).
- Divide rise by run and simplify.
Example. The line below passes through (-3, -1) and (3, 3). Rise = 3 - (-1) = 4; run = 3 - (-3) = 6. So m = \frac{4}{6} = \frac{2}{3}.
Check the sign with your eyes. Read the graph left to right like a sentence. Uphill → positive. Downhill → negative.
Check the scale. If each grid square is 5 units on the y-axis and 1 unit on the x-axis, counting squares is not enough — use the axis labels to find the real rise and run.
The four kinds of slope
| Line looks like | Slope | Example | Why |
|---|---|---|---|
| rising ↗ | positive | y = 2x + 1 | y grows as x grows |
| falling ↘ | negative | y = -3x + 4 | y shrinks as x grows |
| flat — | zero | y = 4 | rise = 0, so \frac{0}{\text{run}} = 0 |
| straight up and down | | undefined | x = -2 | run = 0, and \frac{\text{rise}}{0} is not a number |
Steepness. A bigger \lvert m \rvert means a steeper line. m = -4 is steeper than m = 3 because \lvert -4 \rvert = 4 > 3. A slope between -1 and 1 (like \frac{1}{4}) is gentle.
Careful with words: "greatest slope" means the largest signed number (3 > -4), but "steepest" means the largest size (\lvert -4 \rvert > \lvert 3 \rvert).
Slope from two points, a table, or an equation
Two points. Use the slope formula with (x_1, y_1) and (x_2, y_2):
m = \frac{y_2 - y_1}{x_2 - x_1}Example: (-3, 5) and (1, -3) → m = \frac{-3 - 5}{1 - (-3)} = \frac{-8}{4} = -2. You may pick either point as "point 1" — just use the same order on top and bottom.
A table. Choose any two rows (or columns) and use the formula. If x goes up by 2 and y goes up by 6 each time, the slope is \frac{6}{2} = 3, not 6.
| x | 2 | 4 | 6 |
|---|---|---|---|
| y | 11 | 17 | 23 |
m = \frac{17 - 11}{4 - 2} = \frac{6}{2} = 3.
If the change in y is not the same for equal changes in x, the table is not a line, and it has no single slope.
An equation. Solve for y to get y = mx + b; then m is the coefficient of x.
- y = -3x + 7 → m = -3 (already solved).
- 4x + 2y = 10 → 2y = -4x + 10 → y = -2x + 5 → m = -2.
- y = 6 - \frac{1}{2}x → reorder: y = -\frac{1}{2}x + 6 → m = -\frac{1}{2}.
- Shortcut for Ax + By = C: m = -\frac{A}{B}.
Work backwards. If you know the slope and one coordinate is missing, put a letter in the formula and solve. Example: slope \frac{5}{2} through (2, k) and (6, 13) → \frac{13 - k}{4} = \frac{5}{2} → 13 - k = 10 → k = 3.
Formulas (on the GED formula sheet)
m = \frac{y_2 - y_1}{x_2 - x_1}- m = slope
- (x_1, y_1) and (x_2, y_2) = any two points on the line
- m = slope, b = y-intercept (the y-value where x = 0)
Both formulas are on the GED formula sheet (listed under slope and slope-intercept form), so you don't need to memorize them — but you do need to know how to use them quickly. Not on the sheet (memorize): horizontal lines have slope 0, vertical lines have undefined slope, and the shortcut m = -\frac{A}{B} for Ax + By = C.
Example 1 — From two points
Problem. Find the slope of the line through (2, -1) and (6, 7).
- y_2 - y_1 = 7 - (-1) = 8.
- x_2 - x_1 = 6 - 2 = 4.
- m = \frac{8}{4} = 2.
Answer: m = 2.
Check: From (2, -1), go right 1 and up 2 four times: (3, 1), (4, 3), (5, 5), (6, 7) ✓
Example 2 — From an equation in standard form
Problem. What is the slope of 5x - 3y = 12?
- Subtract 5x: -3y = -5x + 12.
- Divide every term by -3: y = \frac{5}{3}x - 4.
- Read the coefficient of x: m = \frac{5}{3}.
Answer: m = \tfrac{5}{3}.
Check: Shortcut -\frac{A}{B} = -\frac{5}{-3} = \frac{5}{3} ✓
Example 3 — Real world: a wheelchair ramp
Problem. Building code says a wheelchair ramp may have a slope of at most \frac{1}{12}. A ramp rises 2 feet over a horizontal distance of 20 feet. Does it meet the code?
- Slope = \frac{\text{rise}}{\text{run}} = \frac{2}{20} = \frac{1}{10} = 0.1.
- The limit is \frac{1}{12} \approx 0.083.
- Compare: 0.1 > 0.083, so the ramp is too steep.
Answer: No — its slope \frac{1}{10} is greater than \frac{1}{12}. (A 2-ft rise needs a run of at least 2 \times 12 = 24 ft.)
Check: \frac{2}{24} = \frac{1}{12} exactly meets the limit ✓
Example 4 — Real world: a table of costs
Problem. A plumber's bill depends on hours worked.
| Hours | 2 | 3 | 5 |
|---|---|---|---|
| Bill ($) | 190 | 255 | 385 |
What is the slope, and what does it mean?
- Use the first two columns: \frac{255 - 190}{3 - 2} = \frac{65}{1} = 65.
- Confirm with the last two: \frac{385 - 255}{5 - 3} = \frac{130}{2} = 65 ✓ (same slope, so it is linear).
Answer: m = 65 — the bill rises $65 per hour of work.
Check: 190 + 65 = 255 and 255 + 2(65) = 385 ✓
Example 5 — GED-hard: work backwards
Problem. A line has slope -\frac{3}{4} and passes through (-2, 5) and (x, -1). Find x.
- Rise from y = 5 to y = -1: -1 - 5 = -6.
- Slope = rise/run, so -\frac{3}{4} = \frac{-6}{\text{run}}.
- Solve: \text{run} = \frac{-6}{-3/4} = -6 \times \left(-\frac{4}{3}\right) = 8.
- x = -2 + 8 = 6.
Answer: x = 6.
Check: \frac{-1 - 5}{6 - (-2)} = \frac{-6}{8} = -\frac{3}{4} ✓
Calculator tip (TI-30XS MultiView)
- Enter the whole slope as one fraction with the n/d key: press
n/d, type the top (e.g.7−(−)1), press the down arrow, type the bottom (6−2), thenenter. The calculator shows 2. - Use the (−) key for negative coordinates, not the minus key. 1 - (-3) is
1−(−)3. - Press toggle to switch an answer like \frac{3}{50} to 0.06 (or back), so you can match the answer choices.
- When NOT to use it: reading rise and run off a graph, or reading m from an equation already in y = mx + b form — both are faster by eye. Small-number slope questions are often doable in your head.
Common mistakes
- Run over rise. Writing \frac{\text{change in } x}{\text{change in } y} gives \frac{2}{3} instead of \frac{3}{2}. ✗ y (rise) always goes on top. ✓
- Mixing the order. Using y_2 - y_1 on top but x_1 - x_2 on the bottom flips the sign. ✗ Start both subtractions with the same point. ✓
- Sign errors with negatives. 1 - (-3) is 4, not -2. ✗ Put negatives in parentheses and change "minus a negative" to "plus." ✓
- Reading the slope before solving for y. In 4x + 2y = 10 the slope is not 4. ✗ Solve: y = -2x + 5, so m = -2. ✓
- Confusing m and b. In y = -3x + 7, 7 is the y-intercept, not the slope. ✗ The slope is the number attached to x. ✓
- Mixing up zero and undefined. Horizontal lines (y = 5) have slope 0; vertical lines (x = -2) have undefined slope. ✓
GED test strategy
- Sign first. Before computing, decide whether the line rises or falls. Eliminate every answer with the wrong sign — often half the choices.
- Expect the trap answers. Choices usually include the reciprocal (\frac{2}{3} vs \frac{3}{2}), the opposite sign, and the y-intercept. Double-check which one you computed.
- Use the formula sheet. The slope formula and y = mx + b are printed there — glance at it rather than trusting memory under stress.
- Plug back in. For "find the missing coordinate," put your answer back into the slope formula to see that it gives the stated slope.
- Simplify before comparing. \frac{-4}{6} and -\frac{2}{3} are the same slope; answer choices are usually in lowest terms.
- Read the question twice: "steepest" vs "greatest slope" vs "least slope" are different questions.
Check yourself
What is the slope of the line that passes through the points (1,\ 2) and (4,\ 8)?
Hint
Slope is the change in y divided by the change in x. Keep the points in the same order on top and bottom.
Step-by-step solution
- Label the points: (x_1, y_1) = (1, 2) and (x_2, y_2) = (4, 8).
- Use the slope formula: m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{8 - 2}{4 - 1} = \frac{6}{3}
- Simplify: \dfrac{6}{3} = 2.
The slope is 2.
Check: Starting at (1, 2), each step of 1 to the right goes up 2: (2, 4), (3, 6), (4, 8) — we land exactly on the second point ✓
Tip: "Rise over run": the y-change (up/down) goes on top, the x-change (across) on the bottom.
Check yourself
What is the slope of the line y = -3x + 7?
Hint
This equation is already in the form y = mx + b. Which letter is the slope?
Step-by-step solution
- Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept.
- Match y = -3x + 7 with y = mx + b: m = -3, \qquad b = 7
- The slope is the number multiplying x, including its sign.
The slope is -3.
Check: Pick two x-values: x = 0 \Rightarrow y = 7; x = 1 \Rightarrow y = -3 + 7 = 4. Change in y is 4 - 7 = -3 for a change in x of 1, so m = \frac{-3}{1} = -3 ✓
Tip: The slope is the coefficient of x only when y is alone on one side of the equation.
Summary
- Slope m = \dfrac{\text{rise}}{\text{run}} = \dfrac{y_2 - y_1}{x_2 - x_1} (on the formula sheet).
- Rising = positive, falling = negative, horizontal = 0, vertical = undefined.
- From a graph: pick two exact grid points, count rise and run, check the scale.
- From a table: divide the change in y by the change in x — not just the y-jump.
- From an equation: solve for y; the slope is the coefficient of x (shortcut -\frac{A}{B} for Ax + By = C).
- Steepness compares \lvert m \rvert: a slope of -4 is steeper than 3.