How do you find and use the equation of a straight line, including gradient and intercept?
Plot and recognise straight-line graphs, find the gradient and y-intercept, use , find the equation of a line through given points, and use parallel and perpendicular gradient conditions.
A CCEA GCSE Mathematics answer on straight line graphs, covering plotting lines, finding the gradient and y-intercept, the equation y = mx + c, finding the equation through given points, and the conditions for parallel and perpendicular lines.
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
Straight-line graphs link algebra to coordinate geometry. In the CCEA Algebra strand you must plot and recognise straight lines, find the gradient and -intercept, use the equation , find the equation of a line through given points, and at Higher tier use the gradient conditions for parallel and perpendicular lines. These skills connect to simultaneous equations (where lines cross), to sequences (the common difference is a gradient) and to real-life rate graphs.
Plotting and recognising lines
A straight-line graph can be drawn from its equation by making a small table of values, working out for a few values, plotting the points and joining them. Lines of the form are vertical, are horizontal, and pass through the origin. Recognising the shape and key features from the equation saves time.
Gradient and intercept
The gradient measures steepness: how much changes for each unit increase in . A positive gradient rises to the right, a negative gradient falls.
So through and the gradient is .
The equation y = mx + c
Once you have the gradient and the intercept , the equation is simply . If you know the gradient and a point but not the intercept, substitute the point's coordinates to find .
Parallel and perpendicular lines (Higher)
Two lines are parallel when they have the same gradient, so any line parallel to has gradient . Two lines are perpendicular (meeting at a right angle) when the product of their gradients is ; equivalently, one gradient is the negative reciprocal of the other. If a line has gradient , a perpendicular line has gradient .
To find the equation of a parallel or perpendicular line through a given point, work out the required gradient, then substitute the point to find , exactly as above.
A worked perpendicular example makes the steps concrete. Find the line perpendicular to through the point . The given gradient is , so the perpendicular gradient is its negative reciprocal, . Substitute the point into : , so and . The equation is . The same two-step routine, find the gradient then find the intercept, handles every "find the equation of the line" question, whether the line is parallel, perpendicular, or simply through two points. When a question gives an equation in the form , rearrange it into first so the gradient can be read off the coefficient of .
Why this matters
Straight-line graphs are the bridge between algebra and geometry and the basis for the rate-of-change ideas that run through measures and applied maths. The intersection of two lines is the graphical meaning of simultaneous equations, and the gradient and intercept appear in real contexts such as fixed-plus-variable costs and conversion graphs. CCEA rewards reading the gradient and intercept accurately and forming equations cleanly.
Exam-style practice questions
Practice questions written in the style of CCEA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
CCEA 20193 marksFind the equation of the straight line passing through and . (Calculator.)Show worked answer →
Find the gradient first: .
The line crosses the -axis at , so the intercept is .
The equation is .
Marks are for the gradient, the intercept, and the full equation. Reading the intercept straight from the point on the -axis avoids extra work; substituting a point into also gives .
CCEA 20213 marksA line is perpendicular to and passes through . Find its equation. (Higher, calculator.)Show worked answer →
The gradient of the given line is . The perpendicular gradient is the negative reciprocal: .
Use with and the point : , so and .
The equation is .
Marks are for the perpendicular gradient, substituting the point to find , and the final equation. Forgetting to take the negative reciprocal is the usual error.
Related dot points
- Collect like terms, substitute into expressions and formulae, expand single and double brackets, factorise into single brackets and quadratics, simplify algebraic fractions and change the subject of a formula.
A CCEA GCSE Mathematics answer on algebraic manipulation, covering collecting like terms, substitution, expanding single and double brackets, factorising into single brackets and quadratics, simplifying algebraic fractions, and changing the subject of a formula.
- Solve linear equations including those with brackets, fractions and the unknown on both sides, form equations from contexts, and solve and represent linear inequalities on a number line.
A CCEA GCSE Mathematics answer on linear equations and inequalities, covering solving equations with brackets fractions and the unknown on both sides, forming equations from word problems, and solving and representing inequalities on a number line.
- Solve a pair of linear simultaneous equations by elimination and substitution, solve a linear and a quadratic simultaneously, and interpret the solution as the intersection of two graphs (Higher tier for non-linear).
A CCEA GCSE Mathematics answer on simultaneous equations, covering elimination and substitution for two linear equations, solving a linear and a quadratic together, and the graphical interpretation as the point of intersection.
- Continue sequences using a term-to-term rule, find and use the nth term of a linear sequence, recognise quadratic and special sequences, and find the nth term of a quadratic sequence (Higher tier).
A CCEA GCSE Mathematics answer on sequences, covering term-to-term rules, finding and using the nth term of a linear sequence, recognising special sequences, and finding the nth term of a quadratic sequence using second differences.
- Plot and recognise quadratic, cubic, reciprocal and exponential graphs, read roots and turning points, use graphs to solve equations, and recognise the equation of a circle and real-life graphs (Higher tier for non-linear).
A CCEA GCSE Mathematics answer on graphs and functions, covering quadratic cubic reciprocal and exponential graphs, reading roots and turning points, solving equations graphically, the equation of a circle, and interpreting real-life graphs.
Sources & how we know this
- CCEA GCSE Mathematics specification (2210) — CCEA (2017)