Straight-Line Graphs

Grade 4

The equation of a straight line

Every straight line (that is not vertical) has the equation y = mx + c, where m is the gradient (steepness) and c is the y-intercept (where the line crosses the y-axis).

To draw the line: plot the y-intercept at (0, c), then use the gradient to find a second point — go 1 across, m up — and draw through both.

Finding the gradient

gradient = rise / run = (y₂ − y₁) / (x₂ − x₁)

Pick any two points on the line. Divide the vertical change by the horizontal change. A positive gradient goes up left-to-right; a negative gradient goes down.

Worked example — find the equation from two points

EXAMPLE
Find the equation of the line through (1, 3) and (4, 9).
Gradient: (9 − 3) / (4 − 1) = 6/3 = 2. Use y = 2x + c. Substitute (1, 3): 3 = 2(1) + c, so c = 1. Equation: y = 2x + 1.

Parallel and perpendicular lines

Parallel lines have the same gradient. Perpendicular lines have gradients that multiply to −1 — so the perpendicular gradient is the negative reciprocal: if m = 3, the perpendicular gradient is −1/3.

To find the perpendicular gradient: flip the fraction and change the sign. Gradient 2 → perpendicular is −1/2.
Nova
Try this one

The grid below shows two straight lines, Line 1 and Line 2.

xy012-1-2123-1-2Line 1Line 2

(a) Write down the equation of Line 2 (the horizontal blue line). [1]

(b) Write down the gradient of Line 1 (the red diagonal line). [1]

(c) Write down the coordinates of the point where Line 1 and Line 2 intersect. [2]

Nova's hint:

This is about identifying equations and intersections of straight lines on a graph.

Ask yourself: 'What is special about a horizontal line — what stays the same for every point on it?' To find the intersection, look for the point that lies on both lines simultaneously.

Try to Solve it with Nova?