You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Straight-line graphs represent linear relationships between two variables. Understanding the equation of a straight line, its gradient, and its intercept is fundamental to AQA GCSE Mathematics. This topic connects algebra with geometry and appears on both Foundation and Higher tier papers.
Every straight line can be written in the form:
y = mx + c
where:
| Feature | Meaning | Example in y = 3x - 2 |
|---|---|---|
| m (gradient) | How steep the line is; rise over run | m = 3 (goes up 3 for every 1 across) |
| c (y-intercept) | Where the line crosses the y-axis | c = -2 (crosses at (0, -2)) |
Exam Tip: If a line equation is written as y = c + mx (the terms swapped), it is still in the same form. The coefficient of x is always the gradient and the constant term is always the y-intercept.
The gradient measures how steep a line is. It is calculated as:
Gradient = change in y / change in x = (y2 - y1) / (x2 - x1)
| Gradient Type | Description | Visual |
|---|---|---|
| Positive gradient | Line slopes upward from left to right | / |
| Negative gradient | Line slopes downward from left to right | \ |
| Zero gradient | Horizontal line | — |
| Undefined | Vertical line |
Find the gradient of the line passing through (2, 3) and (6, 11).
Gradient = (11 - 3) / (6 - 2) = 8 / 4 = 2
Find the gradient of the line passing through (1, 7) and (4, 1).
Gradient = (1 - 7) / (4 - 1) = -6 / 3 = -2
To plot a straight line given an equation:
Plot: y = 2x + 1
| x | y = 2x + 1 | Point |
|---|---|---|
| 0 | 1 | (0, 1) |
| 1 | 3 | (1, 3) |
| 3 | 7 | (3, 7) |
Plot these three points and draw a line through them.
Plot: y = -3x + 5
Start at (0, 5) — the y-intercept.
Gradient = -3, so from (0, 5) go 1 right and 3 down to reach (1, 2).
Plot (0, 5) and (1, 2) and draw the line through them.
Exam Tip: When plotting a line, always use at least three points. If all three points lie on the same straight line, you can be confident your calculations are correct. If one point is off, you know you need to recheck.
If you are given a graph and asked to find the equation:
A line crosses the y-axis at (0, -1) and passes through (3, 5).
Gradient = (5 - (-1)) / (3 - 0) = 6 / 3 = 2
y-intercept = -1
Equation: y = 2x - 1
A line passes through (2, 7) and (6, 3).
Gradient = (3 - 7) / (6 - 2) = -4 / 4 = -1
To find c, substitute one point into y = -x + c:
7 = -(2) + c
c = 9
Equation: y = -x + 9
| Equation | Type | Description |
|---|---|---|
| y = c | Horizontal line | Parallel to the x-axis, gradient = 0 |
| x = c | Vertical line | Parallel to the y-axis, gradient undefined |
| y = x | Diagonal | Passes through origin at 45 degrees, gradient 1 |
| y = -x | Diagonal | Passes through origin at 135 degrees, gradient -1 |
Two lines are parallel if and only if they have the same gradient.
y = 3x + 1 and y = 3x - 5 are parallel (both have gradient 3).
Two lines are perpendicular if the product of their gradients is -1. In other words, one gradient is the negative reciprocal of the other.
If line 1 has gradient m, then a perpendicular line has gradient -1/m.
| Line 1 gradient | Perpendicular gradient |
|---|---|
| 2 | -1/2 |
| -3 | 1/3 |
| 1/4 | -4 |
| -2/5 | 5/2 |
Find the equation of the line perpendicular to y = 2x + 3 that passes through (4, 1).
Gradient of given line = 2
Perpendicular gradient = -1/2
Using y = mx + c with m = -1/2 and the point (4, 1):
1 = (-1/2)(4) + c
1 = -2 + c
c = 3
Equation: y = -x/2 + 3 or equivalently y = -0.5x + 3
Show that the lines y = 4x - 1 and x + 4y = 12 are perpendicular.
Rearrange x + 4y = 12: 4y = -x + 12, so y = -x/4 + 3
Gradient of first line = 4
Gradient of second line = -1/4
Product: 4 x (-1/4) = -1
Since the product of the gradients is -1, the lines are perpendicular.
Exam Tip: For perpendicular lines, the gradients multiply to give -1. A quick check: flip the fraction and change the sign. The perpendicular gradient of 3 (which is 3/1) is -1/3.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.