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

Positiverises left to right
Negativefalls left to right
Zerohorizontal: y = c
Undefinedvertical: x = c
Steepness:The bigger |m| is, the steeper the line. m = -5 is steeper than m = 2.

2. Finding Slope from Two Points or a Table

Example: slope through (-2, 5) and (3, -5)

  1. Label: x1 = -2, y1 = 5, x2 = 3, y2 = -5
  2. m =-5 - 53 - (-2) = -105
  3. Answer: m = -2 (line falls 2 for every 1 to the right)

Example: slope from a table

x1357
y4101622
  1. x goes up by 2 each step; y goes up by 6 each step
  2. m = change in ychange in x = 62 = 3
  3. Same ratio every step = the table is linear
⚠ Watch out:Stay consistent: if y2 comes first on top, x2 must come first on the bottom. Mixing the order flips the sign. Also, subtracting a negative becomes adding: 3 - (-2) = 5.

3. The Three Forms of a Line: Which One to Use

FormEquationYou can read offBest used when...
Slope-Intercepty = mx + bslope 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-Slopey - 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.
StandardAx + By = Cboth intercepts quickly; slope = -ABFinding 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

  1. Plot b: start at (0, 3) on the y-axis
  2. Use the slope: m = -12→ down 1, right 2 → (2, 2), (4, 1), (6, 0)
  3. 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.

Whole-number slope: write it over 1. m = 3 means 31: up 3, right 1.
No b showing: y = 4x means b = 0, so the line passes through the origin.
Not solved for y? Rearrange first. 2y = 6x - 4 becomes y = 3x - 2.

5. Making a Table from y = mx + b

Make a table for y = 2x - 3

  1. Pick easy x-values (include 0 and a few negatives)
  2. Substitute each x into the equation and simplify
  3. Write each pair (x, y) as a point and plot it
xy = 2x - 3ypoint
-22(-2) - 3-7(-2, -7)
-12(-1) - 3-5(-1, -5)
02(0) - 3-3(0, -3)
12(1) - 3-1(1, -1)
22(2) - 31(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.

⚠ Watch out:When the slope is a fraction, pick x-values that are multiples of the denominator so y comes out a whole number. For y = 23x + 1, use x = -3, 0, 3, 6.

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

  1. Cover 3y: 2x = 6 → x = 3 → (3, 0)
  2. Cover 2x: 3y = 6 → y = 2 → (0, 2)
  3. 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

  1. y-intercept: b = -6 → (0, -6)
  2. x-intercept: 0 = 2x - 6
  3. 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

  1. Subtract 4x: -2y = -4x + 8
  2. Divide every term by -2: y = 2x - 4
  3. Answer: m = 2, b = -4 (check: -4-2 = 2)

Slope-intercept to standard: y = (2/3)x - 1

  1. Multiply every term by 3 (clear the fraction): 3y = 2x - 3
  2. Move x-term to the left: -2x + 3y = -3
  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)

  1. Plug in: y - (-2) = -34(x - 4)
  2. Point-slope answer: y + 2 = -34(x - 4)
  3. To get slope-intercept, distribute: y + 2 = -34x + 3
  4. Subtract 2: y = -34x + 1
⚠ Watch out:The form has minus signs built in. With a negative coordinate the signs flip: the point (-5, 3) gives y - 3 = m(x + 5), not m(x - 5).

9. Writing the Equation of a Line

If you are given...Do this
slope and y-interceptPlug straight into y = mx + b. Done.
slope and a pointPoint-slope form, or plug m, x, y into y = mx + b and solve for b
two pointsSlope formula first, then use either point as above
a graphRead b where it crosses the y-axis; count rise/run between two clear grid points
a tablem = Δy / Δx between rows; b = y-value where x = 0

Slope + point: m = 3 through (2, -1)

  1. Start with y = mx + b, plug in m = 3, x = 2, y = -1
  2. -1 = 3(2) + b → -1 = 6 + b
  3. Subtract 6: b = -7
  4. Answer: y = 3x - 7
  5. Check: 3(2) - 7 = -1 ✓

Two points: (-2, 5) and (3, -5)

  1. Slope: m = -5 - 53 - (-2) = -2
  2. Use (-2, 5): 5 = -2(-2) + b → 5 = 4 + b
  3. b = 1
  4. Answer: y = -2x + 1
  5. 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 m2-325-140
Parallel m2-325-140
Perpendicular m-1213-524undefined (vertical)

Parallel to y = 2x + 1 through (1, 5)

  1. Parallel → same slope: m = 2
  2. 5 = 2(1) + b → b = 3
  3. Answer: y = 2x + 3

Perpendicular to y = 2x + 1 through (4, 1)

  1. Flip 2 and change the sign: m = -12
  2. 1 = -12(4) + b → 1 = -2 + b → b = 3
  3. Answer:y = -12x + 3
⚠ Watch out:If the given line is in standard form, find its slope first. 3x + y = 7 has slope -3 (not 3). A line parallel to it has m = -3; a perpendicular one has m = 13.

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

  1. Find the slope through (-1, 4) and (3, -4).
  2. Write y = mx + b with slope 1/2 through (4, 7).
  3. Write the equation through (1, 3) and (3, 11).
  4. Find the intercepts and slope of 3x - 4y = 12.
  5. Line perpendicular to y = -3x + 2 through (6, 1).
  6. Line parallel to 2x + y = 5 through (0, -4).
  7. What is the slope of x = 5? Of y = -2?
  8. Are 2x - 3y = 6 and 3x + 2y = 4 parallel, perpendicular, or neither?
Show answers
  1. m = -8 / 4 = -2
  2. 7 = 2 + b → y = (1/2)x + 5
  3. m = 8 / 2 = 4, b = -1 → y = 4x - 1
  4. (4, 0), (0, -3), m = 3/4
  5. m = 1/3, b = -1 → y = (1/3)x - 1
  6. m = -2 → y = -2x - 4
  7. Undefined; 0
  8. Slopes 2/3 and -3/2 → perpendicular