SPRING · UNIT 9
Straight-line graphs
Progress stays on this device
Your unit
Calculate points by hand and connect an equation to its graph.
Read the notes and worked examples
Coordinates on a line
Substitute an x value into the equation to calculate y.
Worked example
For y = 2x − 3, find the coordinates of the point where x = 1.
- y = 2 × 1 − 3 = -1.
- Point = (1, -1).
Plotting calculated points
Calculate a point from the equation before plotting it. A line needs at least two points.
Worked example
Click or tap the grid to plot the point on y = 2x + 1 where x = -2.
- y = 2 × -2 + 1 = -3.
- Plot (-2, -3).
Gradient from two points
Gradient = change in y divided by change in x. Use the same direction for both differences.
Worked example
Find the gradient of the line through (−2, 1) and (2, 9).
- Change in y = 9 − (1) = 8.
- Change in x = 2 − (−2) = 4.
- Gradient = 84 = 2.
Reading y = mx + c
m is the gradient and c is the y-intercept.
Worked example
What is the y-intercept of y = 3x − 4?
- The constant term is −4.
- At x = 0, y = −4.
Finding a line equation
Use the gradient and one known point to determine the constant term.
Worked example
A line has gradient 2 and passes through (2, 7). Find its equation.
- Use y = 2x + c.
- 7 = 2 × 2 + c, so c = 3.
- y = 2x + 3.
Parallel straight lines
Distinct non-vertical parallel lines have the same gradient.
Worked example
Find the equation of the line parallel to y = 3x + 5 that crosses the y-axis at −2.
- Parallel gradient = 3.
- The intercept is −2, so y = 3x − 2.
Horizontal and vertical lines
A horizontal line has constant y; a vertical line has constant x.
Worked example
Which equation describes a horizontal line through (2, 3)?
- The y coordinate stays constant.
Plotting a full straight line
Calculate at least two points from the equation, plot them, and draw the straight line through them. Check a third point when working on paper.
Worked example
Plot y = x + 1 by choosing two distinct grid intersections on the line.
- At x = 0, y = 1.
- At x = 1, y = 2.
- Plot these two points and draw the straight line through them.
