How do you plot and interpret a straight line graph, find its gradient and intercept, and use y = mx + c?
Plot and interpret straight line graphs, find the gradient and y-intercept, write the equation y = mx + c, and find equations of parallel and perpendicular lines (Higher tier).
A focused answer to the WJEC GCSE Mathematics algebra content on straight line graphs, covering plotting from a table, gradient and intercept, the equation y = mx + c, and parallel and perpendicular lines at Higher tier.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
WJEC requires you to plot a straight line from its equation or a table of values, to read off and calculate its gradient and y-intercept, to write its equation in the form , and at Higher tier to find equations of parallel and perpendicular lines. Straight line graphs connect algebra to geometry and to real-life rates of change, and they reappear in simultaneous equations and inequalities, so confident work with gradient and intercept pays off across the course. They appear on both components.
Plotting a line from its equation
To plot a line, build a small table of values by substituting chosen values into the equation, then plot the coordinate pairs and join them with a ruled straight line.
For , substituting gives , so plot , and . Three points let you spot a plotting error, since all three should lie on one straight line.
Gradient and intercept
The gradient measures steepness and the intercept fixes the line's height.
A positive gradient rises left to right; a negative gradient falls. A gradient of means increases by for every that increases. The intercept is read straight off the graph or from the constant term once the equation is in form.
Writing the equation y = mx + c
Any equation can be put in the form by rearranging so is alone.
Parallel and perpendicular lines (Higher)
Two lines are parallel when they have the same gradient; only their intercepts differ. So any line parallel to has gradient .
Two lines are perpendicular when their gradients multiply to , which means each gradient is the negative reciprocal of the other. A line perpendicular to has gradient , because . Combine this with a given point to write the full equation.
Real-life and distance-time graphs
Straight line graphs model real situations where one quantity changes at a steady rate. On a distance-time graph, the gradient is the speed: a steeper line means a faster journey, a horizontal line means stopped, and a line returning to the axis means travelling back. On a conversion graph between two currencies or units, the gradient is the conversion rate. Reading these graphs is really reading a gradient and an intercept in context, so the same thinking applies, with as the rate and as the starting value.
Finding the midpoint and using coordinates
WJEC also uses coordinates with straight lines. The midpoint of the segment joining and is , the average of the coordinates. This pairs with the gradient formula and, at Higher, with the length of a segment found by Pythagoras. Together these let you describe a line fully from two points: its gradient, its equation, its midpoint and its length, which links the algebra of to the geometry of the coordinate grid.
Why this matters
Straight line graphs are where algebra becomes visual: a linear equation, a linear sequence and a directly proportional relationship are all the same straight line seen differently. The intersection of two lines is the solution to a pair of simultaneous equations, and a region bounded by lines solves an inequality, so this topic threads through the rest of algebra. WJEC rewards accurate plotting, correct gradient calculation and clear use of .
Exam-style practice questions
Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
WJEC 20193 marksFind the gradient and y-intercept of the line . (Unit 1, non-calculator.)Show worked answer →
Rearrange into the form by dividing every term by .
.
Now is the gradient and is the y-intercept.
Markers award a mark for dividing through correctly, a mark for the gradient , and a mark for the intercept . Reading the gradient as from the unrearranged equation is the usual error; you must get alone first.
WJEC 20213 marksFind the equation of the line through with gradient . (Unit 1, non-calculator.)Show worked answer →
Use with the gradient and intercept given.
The gradient is .
The line passes through , so the y-intercept is .
The equation is . Markers give a mark for identifying , a mark for , and a mark for the full equation. Mixing up the gradient and intercept is the common slip.
Related dot points
- Solve linear equations with one unknown, including those with brackets, fractions and the unknown on both sides, and form equations from worded contexts.
A focused answer to the WJEC GCSE Mathematics algebra content on solving linear equations, covering inverse operations, brackets, fractions, the unknown on both sides, and forming equations from worded problems.
- Solve simultaneous linear equations in two unknowns by elimination and by substitution, solve them graphically, and form simultaneous equations from worded contexts.
A focused answer to the WJEC GCSE Mathematics algebra content on simultaneous equations, covering the elimination and substitution methods, graphical solutions and forming simultaneous equations from worded problems.
- Solve linear inequalities in one variable, represent solutions on a number line and as integer lists, and solve double inequalities, including reversing the sign when dividing by a negative.
A focused answer to the WJEC GCSE Mathematics algebra content on inequalities, covering solving linear inequalities, number line representation, integer solution lists, double inequalities and the rule for dividing by a negative.
- Continue and describe sequences, find the nth term of a linear (arithmetic) sequence, and recognise quadratic, geometric, Fibonacci and other special sequences.
A focused answer to the WJEC GCSE Mathematics algebra content on sequences, covering term-to-term and position-to-term rules, finding the nth term of a linear sequence, and recognising quadratic, geometric and Fibonacci-type sequences.
- Use ratio notation, simplify ratios and share a quantity in a given ratio, and solve direct and inverse proportion problems including the unitary method.
A focused answer to the WJEC GCSE Mathematics number content on ratio and proportion, covering simplifying ratios, sharing in a ratio, the unitary method, and direct and inverse proportion problems.
Sources & how we know this
- WJEC GCSE Mathematics specification (3300) — WJEC (2015)