Slope & Linear Equations Cheat Sheet
Slope formula, graphing, the three forms of a line, intercepts, tables, parallel and perpendicular lines, and how to write an equation from any starting information
1. What Is Slope?
Slope Formula
m = riserun = ΔyΔx = y2 - y1x2 - x1
Slope is the rate of change: how much y changes every time x goes up by 1. Read lines left to right, like a sentence.
m = 23
The 4 types of slope
2. Finding Slope from Two Points or a Table
Example: slope through (-2, 5) and (3, -5)
- Label: x1 = -2, y1 = 5, x2 = 3, y2 = -5
- m =-5 - 53 - (-2) = -105
- Answer: m = -2 (line falls 2 for every 1 to the right)
Example: slope from a table
| x | 1 | 3 | 5 | 7 |
|---|---|---|---|---|
| y | 4 | 10 | 16 | 22 |
- x goes up by 2 each step; y goes up by 6 each step
- m = change in ychange in x = 62 = 3
- Same ratio every step = the table is linear
3. The Three Forms of a Line: Which One to Use
| Form | Equation | You can read off | Best used when... |
|---|---|---|---|
| Slope-Intercept | y = mx + b | slope m, y-intercept (0, b) | Graphing quickly, making tables, comparing slopes, word problems with a starting value + rate (e.g. $50 fee + $30/hour) |
| Point-Slope | y - y1 = m(x - x1) | slope m, a point (x1, y1) | Writing an equation when you know a slope and any point (or two points). Fastest form to write down. |
| Standard | Ax + By = C | both intercepts quickly; slope = -AB | Finding x- and y-intercepts, systems of equations (elimination), and word problems with two quantities and a total (e.g. tickets) |
All three describe the same line; they are just rearranged. You can always convert between them with algebra (see section 9).
4. Slope-Intercept Form & Graphing
y = mx + b
m = slope (rate of change) | b = y-intercept (where the line crosses the y-axis, the starting value when x = 0)
Graph y = -(1/2)x + 3 in 3 steps
- Plot b: start at (0, 3) on the y-axis
- Use the slope: m = -12→ down 1, right 2 → (2, 2), (4, 1), (6, 0)
- Draw the line through the points with arrows on both ends
A negative slope can also be done backward: up 1, left 2 → (-2, 4). Use this when you run off the edge of the graph.
5. Making a Table from y = mx + b
Make a table for y = 2x - 3
- Pick easy x-values (include 0 and a few negatives)
- Substitute each x into the equation and simplify
- Write each pair (x, y) as a point and plot it
| x | y = 2x - 3 | y | point |
|---|---|---|---|
| -2 | 2(-2) - 3 | -7 | (-2, -7) |
| -1 | 2(-1) - 3 | -5 | (-1, -5) |
| 0 | 2(0) - 3 | -3 | (0, -3) |
| 1 | 2(1) - 3 | -1 | (1, -1) |
| 2 | 2(2) - 3 | 1 | (2, 1) |
Notice: every time x goes up by 1, y goes up by 2 = m. The row where x = 0 gives y = -3 = b.
6. x-Intercept & y-Intercept
y-intercept: set x = 0
Where the line crosses the y-axis. Written as a point (0, b).
x-intercept: set y = 0
Where the line crosses the x-axis. Written as a point (a, 0). Also called the zero or root.
Cover-up method: 2x + 3y = 6
- Cover 3y: 2x = 6 → x = 3 → (3, 0)
- Cover 2x: 3y = 6 → y = 2 → (0, 2)
- Plot both intercepts and connect them
This is why standard form is the fastest form for graphing with intercepts.
From slope-intercept: y = 2x - 6
- y-intercept: b = -6 → (0, -6)
- x-intercept: 0 = 2x - 6
- 6 = 2x → x = 3 → (3, 0)
7. Standard Form
Ax + By = C|slope = -AB|x-int = CA|y-int = CB
Rules (most textbooks): A, B, C are integers (no fractions or decimals), A is not negative, and A, B, C share no common factor.
Standard to slope-intercept: 4x - 2y = 8
- Subtract 4x: -2y = -4x + 8
- Divide every term by -2: y = 2x - 4
- Answer: m = 2, b = -4 (check: -4-2 = 2)
Slope-intercept to standard: y = (2/3)x - 1
- Multiply every term by 3 (clear the fraction): 3y = 2x - 3
- Move x-term to the left: -2x + 3y = -3
- Multiply by -1 so A is positive: 2x - 3y = 3
Use case: two quantities with a total
Adult tickets cost $8 and student tickets cost $5. The class needs to raise exactly $200: 8a + 5s = 200. Intercepts: 25 adult tickets only (s = 0) or 40 student tickets only (a = 0). Every other point on the line is a mix that also works.
8. Point-Slope Form
y - y1 = m(x - x1)
m = slope, (x1, y1) = any point on the line. It is just the slope formula with the denominator multiplied across.
Slope -3/4 through (4, -2)
- Plug in: y - (-2) = -34(x - 4)
- Point-slope answer: y + 2 = -34(x - 4)
- To get slope-intercept, distribute: y + 2 = -34x + 3
- Subtract 2: y = -34x + 1
9. Writing the Equation of a Line
| If you are given... | Do this |
|---|---|
| slope and y-intercept | Plug straight into y = mx + b. Done. |
| slope and a point | Point-slope form, or plug m, x, y into y = mx + b and solve for b |
| two points | Slope formula first, then use either point as above |
| a graph | Read b where it crosses the y-axis; count rise/run between two clear grid points |
| a table | m = Δy / Δx between rows; b = y-value where x = 0 |
Slope + point: m = 3 through (2, -1)
- Start with y = mx + b, plug in m = 3, x = 2, y = -1
- -1 = 3(2) + b → -1 = 6 + b
- Subtract 6: b = -7
- Answer: y = 3x - 7
- Check: 3(2) - 7 = -1 ✓
Two points: (-2, 5) and (3, -5)
- Slope: m = -5 - 53 - (-2) = -2
- Use (-2, 5): 5 = -2(-2) + b → 5 = 4 + b
- b = 1
- Answer: y = -2x + 1
- Check other point: -2(3) + 1 = -5 ✓
Word problem: a plumber charges a $50 trip fee plus $30 per hour
Rate = slope, starting amount = y-intercept: C = 30h + 50. A 3-hour job costs 30(3) + 50 = $140. Clue words for slope: per, each, every, rate. Clue words for b: flat fee, initial, starting, base.
10. Parallel & Perpendicular Lines
Parallel: same slope
m1 = m2
Never touch. Different b (same b = same line).
Perpendicular: opposite reciprocal
m2 = -1m1(m1 × m2 = -1)
Meet at a 90° angle. Flip it and change the sign.
| Original m | 2 | -3 | 25 | -14 | 0 |
|---|---|---|---|---|---|
| Parallel m | 2 | -3 | 25 | -14 | 0 |
| Perpendicular m | -12 | 13 | -52 | 4 | undefined (vertical) |
Parallel to y = 2x + 1 through (1, 5)
- Parallel → same slope: m = 2
- 5 = 2(1) + b → b = 3
- Answer: y = 2x + 3
Perpendicular to y = 2x + 1 through (4, 1)
- Flip 2 and change the sign: m = -12
- 1 = -12(4) + b → 1 = -2 + b → b = 3
- Answer:y = -12x + 3
11. Same Line, Three Forms
The line through (1, 1) and (4, 3), written every way:
Slope-intercept
y = 23x + 13
Point-slope
y - 1 = 23(x - 1)
Standard
2x - 3y = -1
Check any form by plugging in a known point. (4, 3) in standard form: 2(4) - 3(3) = -1 ✓
12. Common Mistakes
- Writing run over rise. Slope is always y over x.
- In y = 5 - 3x, the slope is -3, not 5. Find the number attached to x.
- Mixing up 0 slope (horizontal) and undefined slope (vertical).
- Perpendicular: flipping the fraction but forgetting to change the sign.
- Dividing only one term when solving for y. Divide every term.
- Writing an intercept as a single number when a point (x, y) is asked for.
- Counting rise/run on a graph with a scale other than 1 per grid box.
- Leaving fractions or a negative A in standard form.
13. Practice Problems
- Find the slope through (-1, 4) and (3, -4).
- Write y = mx + b with slope 1/2 through (4, 7).
- Write the equation through (1, 3) and (3, 11).
- Find the intercepts and slope of 3x - 4y = 12.
- Line perpendicular to y = -3x + 2 through (6, 1).
- Line parallel to 2x + y = 5 through (0, -4).
- What is the slope of x = 5? Of y = -2?
- Are 2x - 3y = 6 and 3x + 2y = 4 parallel, perpendicular, or neither?
Show answers
- m = -8 / 4 = -2
- 7 = 2 + b → y = (1/2)x + 5
- m = 8 / 2 = 4, b = -1 → y = 4x - 1
- (4, 0), (0, -3), m = 3/4
- m = 1/3, b = -1 → y = (1/3)x - 1
- m = -2 → y = -2x - 4
- Undefined; 0
- Slopes 2/3 and -3/2 → perpendicular
Answers: 1) -2 2) y = (1/2)x + 5 3) y = 4x - 1 4) (4, 0), (0, -3), m = 3/4 5) y = (1/3)x - 1 6) y = -2x - 4 7) undefined; 0 8) perpendicular