Home › Chapter 10 › Straight-line graphs
1. Straight-line graphs
To draw a line from its equation, make a table of values: choose some x values, work out y, plot the points and join them with a ruler.
Gradient and y = mx + c
gradient = change in y ÷ change in x
A line that goes up from left to right has a positive gradient; one that goes down has a negative gradient. In the equation
y = mx + c
m is the gradient and c is the y-intercept (where the line crosses the y-axis).
The steeper line, y = 2x + 1, goes up 2 for every 1 across and crosses the y-axis at 1. The line going down, y = −0.5x + 3, falls 1 for every 2 across and crosses the y-axis at 3.
Horizontal and vertical lines
y = 4 is a horizontal line (gradient 0). x = −2 is a vertical line (gradient undefined).
Parallel lines
Parallel lines have the same gradient: y = 2x + 7 is parallel to y = 2x − 3.