Skip to practice

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.

  1. y = 2 × 1 − 3 = -1.
  2. 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.

  1. y = 2 × -2 + 1 = -3.
  2. 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).

  1. Change in y = 9 − (1) = 8.
  2. Change in x = 2 − (−2) = 4.
  3. 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?

  1. The constant term is −4.
  2. 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.

  1. Use y = 2x + c.
  2. 7 = 2 × 2 + c, so c = 3.
  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.

  1. Parallel gradient = 3.
  2. 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)?

  1. 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.

  1. At x = 0, y = 1.
  2. At x = 1, y = 2.
  3. Plot these two points and draw the straight line through them.

Open the printable worksheet