Math › Grade 8: Patterns & linear relationships › Lesson 1 of 4

Straight-line rules: y = mx + b

A rule like y = 2x + 1 turns any x into a y. Plot the points and they make a straight line.

Learn

The rule y = 2x + 1 says: take x, double it, then add 1. When x = 3, y = 2 × 3 + 1 = 7.

-112345-1123456789y = 2x + 1(0, 1)(1, 3)(2, 5)(3, 7)

What m and b mean

If m is negative, the line goes down from left to right. y = −3x + 4 drops 3 for every step right.

Multiply first, then add. In y = 2x + 1 with x = 3, do 2 × 3 = 6 first, then 6 + 1 = 7.

See three worked examples

y = 2x + 1. Find y when x = 3.
  1. Multiply: 2 × 3 = 6.
  2. Add 1.

Answer: y = 7

y = −3x + 4. Find y when x = 2.
  1. Multiply: −3 × 2 = −6.
  2. Add 4: −6 + 4.

Answer: y = −2

y = x/2 − 1. Find y when x = 8.
  1. Divide: 8 ÷ 2 = 4.
  2. Take away 1.

Answer: y = 3

Try 10 practice questions with the steps

Play match the pairs

Tap one on the left, then its partner on the right.

Test 10 questions, 8 to pass

No steps are shown until the end. Your best score is kept on this device only.

Challenge harder problems that take a few steps