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.
What m and b mean
- m is the slope: how much y goes up each time x goes up by 1. Here m = 2, so each step right goes 2 up.
- b is where the line crosses the y-axis, when x = 0. Here b = 1.
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.
- Multiply: 2 × 3 = 6.
- Add 1.
Answer: y = 7
y = −3x + 4. Find y when x = 2.
- Multiply: −3 × 2 = −6.
- Add 4: −6 + 4.
Answer: y = −2
y = x/2 − 1. Find y when x = 8.
- Divide: 8 ÷ 2 = 4.
- 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.
Lesson complete.
Next lesson: Slope: rise over run