Week 31 Β· Unit 27: Graphs and equations of straight lines Β· 4 lessons
3
Finding the equation of a line
Studentβs Book 8: Unit 27, pp. 234β239
GoalWrite the coordinates of points on a line in a table and use the pattern to find its equation.
New words
equation of a line Β· a rule such as y = 2x + 5 that every point on the line fitspattern Β· the way y changes when x goes up by 1y-intercept Β· the value of y when x = 0
Explanation
Often you are given a line or some points and must find the rule. Read off several points, with x going up by 1 each time, and put them in a table. Look at how y changes. If y goes up by 2 every time, the rule starts with 2x. If y goes down by 3 every time, it starts with β3x. Next look at the point where x = 0: that y-value is the number added or subtracted at the end. For the points (0, 5), (1, 7), (2, 9), y goes up by 2 and starts at 5, so y = 2x + 5. Always check the rule on one more point before you trust it.
x
0
1
2
3
y
5
7
9
11
Worked examples
The graph shows a line through the points marked. Read them into a table: (β1, β2), (0, 1), (1, 4), (2, 7), (3, 10). Each time x goes up by 1, y goes up by 3, so the rule starts with 3x. When x = 0, y = 1. The equation is y = 3x + 1. Check with x = 3: 3 Γ 3 + 1 = 10.
x
0
1
2
3
4
y
6
4
2
0
β2
The table has x = 0, 1, 2, 3, 4 and y = 6, 4, 2, 0, β2. Here y goes down by 2 each time, so the rule starts with β2x. At x = 0 the value is 6. The equation is y = β2x + 6. Check with x = 4: β2 Γ 4 + 6 = β2, which matches the table.
A bike-hire shop charges $4 to start and then $3 for each hour. The cost C dollars for h hours follows the rule C = 3h + 4. The graph shows h = 0 to 4. The 4 is where the line starts on the vertical axis and the 3 is how much it climbs for each extra hour.
Class activity
Pairs game. On small cards write four equations such as y = x + 2 and y = β3x + 1. On four more cards write a table of values for each (x = 0, 1, 2, 3). Shuffle all eight cards face down and take turns to turn two over. A table and its own equation make a pair to keep. Check each pair by putting x = 3 into the equation.
Practice
1
Find the equation from this table.
x
0
1
2
3
y
β1
1
3
5
y goes up by 2 each time and y = β1 when x = 0, so y = 2x β 1.
2
Find the equation from this table.
x
0
1
2
3
y
8
5
2
β1
y goes down by 3 each time and starts at 8: y = β3x + 8.
3
Write the coordinates of the marked points in a table and find the equation of the line.
The points are (β2, β3), (β1, β2), (0, β1), (1, 0), (2, 1). y goes up by 1 each time and y = β1 at x = 0, so y = x β 1.
4
A window cleaner charges $5 to call plus $2 for each window. Write a rule for the cost C of w windows. What is the cost for 12 windows? A bill is $41: how many windows were cleaned?
w
1
2
3
4
C
7
9
11
13
C = 2w + 5. For 12 windows: 2 Γ 12 + 5 = $29. For $41: 2w + 5 = 41, so 2w = 36 and w = 18 windows.