GoalMake a table of values and plot a straight-line graph of a function.
New words
coordinates Β· a pair of numbers (x, y) that give the position of a pointaxes Β· the two number lines, the x-axis and the y-axis, that cross at 0graph Β· a picture that shows the pairs of a function as points or a line
Explanation
To draw the graph of a function, first make a table of values. Choose some values of x and work out each y. Write each pair as coordinates (x, y). For y = x + 2: x = β2 gives y = 0, x = 0 gives y = 2 and x = 2 gives y = 4. To plot a point, start at 0, go along the x-axis first and then up or down the y-axis. For functions like these the points make a straight line. Join them with a ruler and extend the line. Every point on the line fits the rule.
Worked examples
x
β2
0
2
4
x β 1
β3
β1
1
3
Complete a table of values for y = x β 1. Put x = β2, 0, 2 and 4 into the rule: β2 β 1 = β3, 0 β 1 = β1, 2 β 1 = 1 and 4 β 1 = 3.
Draw the graph of y = 2x. Make a table for x from β2 to 3. The points are (β2, β4), (β1, β2), (0, 0), (1, 2), (2, 4) and (3, 6). They lie on one straight line.
Use the graph of y = x + 2 to find y when x = 3. Go to 3 on the x-axis, then up to the line, then across to the y-axis. The value is y = 5. Check: 3 + 2 = 5.
Class activity
Human graph: on a tiled floor or outside with chalk, mark an x-axis and a y-axis with the tiles as units. Choose a function such as y = x + 1. Work out the pairs for x = β2, β1, 0, 1 and 2. Ask friends or family to stand on those points. Look along the line they make: is it straight? Choose a second function and try again.
Practice
1
Complete the table for y = x + 4.
x
β4
β2
0
2
4
x + 4
?
?
?
?
?
0, 2, 4, 6, 8
2
Complete the table for y = 3x and plot the points.
x
β2
β1
0
1
2
3x
?
?
?
?
?
β6, β3, 0, 3, 6; the points make a straight line through (0, 0)
3
Make a table for y = x β 3 with x from β2 to 4. Draw the graph on axes like these. Where does the line cross the y-axis?
y = β5, β4, β3, β2, β1, 0, 1; it crosses the y-axis at (0, β3)
4
The dots show four points of the function y = x + 1. What are the coordinates of the next point, where x = 2?