Graphs of Linear FunctionsEdexcel GCSE Maths: Revision notes
Section 1
What is the equation y = mx + c and what do m and c represent?
The equation y = mx + c is the standard form for a straight-line graph, where:
- m is the gradient (or slope) — it tells you how steep the line is and the direction it travels
- c is the y-intercept — the point where the line crosses the y-axis, always written as the coordinate (0, c)
The gradient can be calculated as:
m = rise/run or m = (change in y)/(change in x)
A positive gradient means the line slopes upwards from left to right; a negative gradient means it slopes downwards. A gradient of zero produces a horizontal line, and an undefined gradient (vertical line) cannot be expressed in the form y = mx + c.
For example, in the equation y = 2x + 3, the gradient is 2 and the y-intercept is 3, meaning the line crosses the y-axis at (0, 3) and rises 2 units for every 1 unit moved horizontally to the right.
Always identify m and c separately before sketching or interpreting a line. Examiners expect you to state these values explicitly when asked to find the gradient or y-intercept.
Think of m as the 'steepness' of a ramp and c as the 'height where the ramp starts' on the y-axis — together they fully describe the line's position and angle.
Section 2
How do you plot and interpret straight-line graphs?
To plot a straight-line graph from an equation:
- Identify the y-intercept (c) and plot it on the y-axis at (0, c)
- Use the gradient (m) to find another point: move right by 1 unit (or a convenient number) and move up or down by m units (or the appropriate number)
- Plot this second point and draw a straight line through both points, extending it across the grid as needed
To interpret a straight-line graph:
- Read the y-intercept directly from where the line crosses the y-axis
- Calculate the gradient by choosing two clear points on the line and using m = (y₂ − y₁)/(x₂ − x₁)
- Check that the line is truly straight and extends consistently in both directions
When points are given in a table or as coordinates, verify they lie on the line by substituting into y = mx + c. If the line doesn't pass through a point exactly, the point is not on the line.
Plot y = −2x + 5. The y-intercept is (0, 5). The gradient is −2, so from (0, 5) move right 1 and down 2 to reach (1, 3). Draw the line through (0, 5) and (1, 3) — it slopes downwards because the gradient is negative.
Students often forget that a negative gradient means moving down (not up) when finding the second point, or they misread the y-intercept from the graph. Always double-check which direction the line slopes.
Section 3
How do you find the equation of a line through two points or with a given gradient?
Finding the equation through two given points:
- Calculate the gradient using m = (y₂ − y₁)/(x₂ − x₁)
- Substitute m and one of the points into y = mx + c to find c
- Write the final equation in the form y = mx + c
Finding the equation through one point with a known gradient:
- Use the point and the given gradient m in the formula y = mx + c
- Substitute the x and y values of the point to find c
- Write the final equation
Alternative method (point-slope form):
You can also use y − y₁ = m(x − x₁) directly and then rearrange to y = mx + c form.
Always check your answer by substituting both original points (or the given point) back into your final equation — they should satisfy it exactly.
Find the equation of the line through (2, 5) and (4, 11). Gradient: m = (11 − 5)/(4 − 2) = 6/2 = 3. Substitute (2, 5): 5 = 3(2) + c, so 5 = 6 + c, thus c = −1. The equation is y = 3x − 1.
After finding your equation, always substitute both points back in to verify — this catches arithmetic errors and shows the examiner your working is sound.
Section 4
What is the condition for parallel and perpendicular lines? (Higher Tier)
Parallel lines have the same gradient. If two lines are parallel, their m values in y = mx + c are identical, but their c values (y-intercepts) differ.
For example, y = 2x + 3 and y = 2x − 5 are parallel because both have gradient 2.
Perpendicular lines have gradients that are negative reciprocals of each other. If one line has gradient m, a perpendicular line has gradient −1/m.
The relationship is: m₁ × m₂ = −1
For example:
- A line with gradient 2 is perpendicular to a line with gradient −1/2 (since 2 × −1/2 = −1)
- A line with gradient 3/4 is perpendicular to a line with gradient −4/3
Finding equations of parallel and perpendicular lines through a given point:
- For a parallel line: use the same gradient as the given line, plus the new point, to find c
- For a perpendicular line: find the negative reciprocal of the given gradient, use it with the new point to find c
- Write the equation in the form y = mx + c
These conditions apply only to straight lines; vertical and horizontal lines need special consideration (a vertical line is perpendicular to a horizontal line, both with undefined/zero gradient respectively).
Find the equation of the line perpendicular to y = 2x + 5 passing through (1, 3). The given gradient is 2, so the perpendicular gradient is −1/2. Substitute: 3 = −1/2(1) + c, so 3 = −1/2 + c, thus c = 3.5. The equation is y = −1/2 x + 3.5 or y = −0.5x + 3.5.
A common error is forgetting the negative sign when finding the reciprocal. The perpendicular gradient to 2 is −1/2, not 1/2. Always include the negative sign in the calculation.
Section 5
How are linear graphs used in real-life contexts such as distance–time and speed–time graphs?
Distance–time graphs:
- The horizontal axis represents time, and the vertical axis represents distance from a starting point
- A straight line with positive gradient shows constant speed (moving away at a steady rate)
- A horizontal line (zero gradient) shows the object is stationary (not moving)
- A steeper gradient indicates faster speed; a gentler gradient indicates slower speed
- The gradient of the line equals the speed — calculated as distance ÷ time
Speed–time graphs:
- The horizontal axis represents time, and the vertical axis represents speed
- A straight line with positive gradient shows acceleration (speed increasing at a constant rate)
- A straight line with negative gradient shows deceleration (speed decreasing at a constant rate)
- A horizontal line shows constant speed (no acceleration)
- The area under the line represents the distance travelled
Interpreting these graphs:
- For distance–time: the gradient is speed, and you can find how far an object has travelled at any time
- For speed–time: the gradient is acceleration, and the area under the graph gives total distance
- Real-life examples include cars accelerating, journeys with stops, and objects moving at constant velocity
Always check units (e.g., km/h, m/s, distance in metres) and interpret what the gradient or area means in context.
A distance–time graph shows a line from (0, 0) to (5, 50). The gradient is 50/5 = 10 km/h, meaning the object travelled at a constant speed of 10 km/h. A speed–time graph showing a line from (0, 0) to (10, 20) has gradient 20/10 = 2 m/s², indicating acceleration of 2 m/s².
Always state what the gradient represents in your answer. On a distance–time graph, say 'the speed is...' but on a speed–time graph, say 'the acceleration is...' — mixing these up loses marks.
Must Know
- y = mx + c is the equation of a straight line where m is the gradient and c is the y-intercept (where the line crosses the y-axis)
- Gradient m = (y₂ − y₁)/(x₂ − x₁) — use this to find the slope between any two points on a line
- Parallel lines have identical gradients (same m value); perpendicular lines have gradients that multiply to −1 (m₁ × m₂ = −1), meaning one gradient is the negative reciprocal of the other
- To find the equation of a line: calculate the gradient from two points or use the given gradient, then substitute a point into y = mx + c to find c
- Distance–time graphs: the gradient equals speed; a horizontal line means stationary; steeper line means faster
- Speed–time graphs: the gradient equals acceleration; the area under the line equals distance travelled; a horizontal line means constant speed with no acceleration
That's the notes covered.
Carry on to the next subtopic.