The Equation y = mx + c: past-paper questions with worked solutions
Think you’ve got the Equation y = mx + c? Prove it.

Go on. I’ll mark it.
All 71 questions, with worked solutions
71 real exam questions on the equation y = mx + c from 0580, 4MA1, 4024, 4PM1, each with a full worked solution.
New to this? Read the free lesson on the equation y = mx + c first →
معادلة y = mx + c: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 0580/32 Feb/Mar 2026 Q18 · 3 marksDraw the line y = 0.5x + 3 on a grid for x from −4 to 4, then give the equation of a line through (0, 7) with gradient 0.
- 0580/12 May/Jun 2026 Q19 · 4 marksLine L is y = 3x + 7. Find its gradient, then use the line to find p in point P(4, p) and w in point W(w, −11).
- 0580/33 May/Jun 2026 Q21 · 3 marksSketch the straight line y = 3x − 2 on the given axes, then work out the gradient of the straight line L shown on the grid.
- 0580/12 Feb/Mar 2025 Q17 · 4 marksA straight line L is drawn on a grid with axes 0 to 8 and 0 to 7. Find its equation in the form y = mx + c, then find where L meets the x-axis at P.
- 0580/22 Feb/Mar 2025 Q21 · 6 marksFind where the line y = 5x − 3 meets the y-axis, then find the perpendicular bisector equation of the line through A(1, 7) and B(5, 15) in y = mx + c form.
- 0580/31 May/Jun 2025 Q12 · 2 marksGiven line L with equation y = 5x − 3, state its gradient and give the equation of a parallel line.
- 0580/32 May/Jun 2025 Q15 · 2 marksFor the line y = −5x + 7, state its gradient and give the coordinates where it meets the y-axis.
- 0580/43 May/Jun 2025 Q13 · 6 marksLine L is y = 2(x − 5). Find its y-axis crossing, its x-value where y = 19, and the equation of perpendicular line P through (2, 3) in y = mx + c form.
- 0580/31 Oct/Nov 2025 Q21 · 3 marksUsing the straight line L drawn on the grid, find its equation and give it in the form y = mx + c.
- 0580/32 Oct/Nov 2025 Q25 · 5 marksFrom a grid showing line L, determine its equation as y = mx + c, then find a line parallel to y = −3x + 5 passing through (1, 5).
- 0580/33 Oct/Nov 2025 Q26 · 3 marksA straight line L is shown on a grid passing through (−5, −6) and (4, 21). Find its equation in the form y = mx + c.
- 0580/41 Oct/Nov 2025 Q17 · 3 marksFind the equation of the line through (2, 0) and (0, 4), in the form y = mx + c.
- 0580/32 Feb/Mar 2024 Q5 · 15 marksComplete a table for y = −x² + 5x + 7, plot its curve for −1 ≤ x ≤ 6, then answer questions on symmetry, gradients, parallel lines, a line on a grid, and rearranging y = mx + c.
- 0580/11 May/Jun 2024 Q13 · 1 markWork out the coordinates of the point at which the line y = 3x − 5 meets the y-axis.
- 0580/22 May/Jun 2024 Q14 · 2 marksUsing points A (0, 2) and B (8, 6), find the equation of line AB and give it in the form y = mx + c.
- 0580/32 May/Jun 2024 Q6 · 14 marksComplete a table for y = −x² + 8x + 1, plot its graph for 0 ≤ x ≤ 8, find its symmetry line, then draw and analyse a line with gradient 1/2 through (2, 7).
- 0580/33 May/Jun 2024 Q9 · 12 marksGiven a line with gradient 4 through (0, 3), find its equation; use y = 2 − 6x to find a when y = 5; complete a table for y = x² − 6, plot it, then find its symmetry line and a positive root of x² − 6 = 0.
- 0580/42 May/Jun 2024 Q10 · 12 marksWork with points A(6, 2) and B(3, −4) and the line 4x + 3y − 12 = 0: locate a midpoint, measure a distance, and derive gradient, intercept and a perpendicular line.
- 0580/33 Oct/Nov 2024 Q8 · 11 marksComplete a table for y = 4x − x², plot its graph for −1 ≤ x ≤ 6, use the graph to solve 4x − x² = 1, and find the equation of line L shown on a grid.
- 0580/32 Feb/Mar 2023 Q6 · 13 marksUsing a given straight line L on a coordinate grid, work out its equation and intercept, complete and plot a quadratic, then solve the quadratic equal to 6 graphically.
- 0580/42 Feb/Mar 2023 Q6 · 11 marksUsing points A (0, 4) and B (8, 0), with L₁ horizontal through A and L₂ through A and B, find line equations and a perpendicular line through C (2, 3), then a length.
- 0580/32 May/Jun 2023 Q7 · 13 marksFrom a given straight line on a grid, determine its equation, add the line y = 1, and locate the crossing point; then complete a table, plot y = x² + x − 8, state its symmetry line and solve x² + x − 8 = 0 graphically.
- 0580/31 Oct/Nov 2023 Q8 · 11 marksFrom a given straight line L on a coordinate grid, find its equation, draw y = x, locate their intersection, complete a table for y = 8/x, and sketch that curve.
- 0580/12 Feb/Mar 2022 Q13 · 4 marksFor the line y = 5x + 7, state its gradient, then find where it crosses the y-axis and where it crosses the x-axis.
- 0580/22 Feb/Mar 2022 Q5 · 2 marksFor the line y = 5x + 7, state its gradient and give the coordinates where it meets the y-axis.
- 0580/22 Feb/Mar 2022 Q16 · 4 marksUsing points A(−6, 5) and B(−2, −3) on a grid, find the equation of line l through A and B, then the perpendicular line through the origin.
- 0580/43 May/Jun 2022 Q8 · 18 marksGiven points A(−2, 7), B(1, −5), C(5, 4), work out midpoint, vector, length, and two line equations; then find intersections of y + 5x = 8 with y = 2x² + 6x − 13.
- 0580/13 Oct/Nov 2022 Q14 · 1 markExplain why the straight line L shown on the axes cannot have the equation y = x + 2.
- 0580/31 Oct/Nov 2022 Q8 · 10 marksWork with column vectors a = (−3, 5) and b = (7, −4), and use coordinate grids to find points, plot points, draw a line, and find equations of lines.
- 0580/32 Feb/Mar 2021 Q6 · 7 marksOn a 1 cm² grid with point P, shape S and parallel lines A and B, explain parallelism, identify coordinates and shape, find area, gradient and equation.
- 0580/13 May/Jun 2021 Q21 · 3 marksUse the given graph of straight line L to determine its equation in the form y = mx + c, then find a second line's equation from given conditions.
- 0580/21 May/Jun 2021 Q16 · 7 marksUsing the given straight-line graph on a grid, work out its slope, its equation, and the equation of a perpendicular line through (12, −7).
- 0580/22 May/Jun 2021 Q16 · 6 marksGiven points A (5, 7) and B (9, −1), find the length AB and the equation of the line through A and B.
- 0580/31 May/Jun 2021 Q4 · 8 marksUsing the grid showing line L with points A and B, find coordinates, gradient and equation of L, then work with a perpendicular through A and triangle ABC.
- 0580/32 May/Jun 2021 Q5 · 14 marksFor y = 18/x, fill missing table values, sketch the curve on the grid over the two given intervals, state its rotational symmetry order, then work with the line through (−8, −3) and (6, 4).
- 0580/11 Oct/Nov 2021 Q19 · 3 marksA straight line L is shown on a graph passing through (−2, −4) and (2, 8). Find the equation of L in the form y = mx + c.
- 0580/22 Oct/Nov 2021 Q15 · 4 marksFind the equation of the line through A (3, 16) and B (8, 31) in y = mx + c form, and the gradient of a line perpendicular to y = 0.5x − 11.
- 0580/33 Oct/Nov 2021 Q8 · 11 marksFrom a grid showing line L, find its equation as y = mx + c, then complete a table, plot y = x² + 4x, and use the graph to solve x² + 4x = 10.
- 0580/32 Feb/Mar 2020 Q5 · 16 marksCompare taxi prices using a graph, lines and equations, then use two minibus hire conditions to form and solve simultaneous equations for the hourly and per-passenger charges.
- 0580/42 Feb/Mar 2020 Q2 · 16 marksFor y = 2x³ − 4x² + 3, complete a table, draw the curve, and use it to solve equations; then draw a tangent on another curve and find its gradient and equation.
- 0580/42 May/Jun 2020 Q2 · 9 marksWork with column vectors, a point and a translation, a line's y-intercept, and a position vector in a triangle.
- 0580/43 May/Jun 2020 Q9 · 13 marksFor the line 3x − 8y + 20 = 0 and points P(−3, 8) and Q(9, −2), find gradients, intercept, length and equations of lines.
- 0580/13 Oct/Nov 2020 Q11 · 3 marksFor the line y = 5x + 12, find its gradient and where it meets the x-axis.
- 0580/23 Oct/Nov 2020 Q12 · 4 marksA line l has equation y = 5x + 12. Use it to find its gradient, where it hits the x-axis, and a perpendicular gradient.
Pearson Edexcel International GCSE Mathematics A (4MA1)
- 4MA1/1FR Jun 2024 Q24 · 3 marksA straight line L is shown on a grid passing through (−4, 3), (0, 1), (2, 0) and (4, −1). Find an equation for L in the form y = mx + c.
- 4MA1/1HR Jun 2024 Q9 · 3 marksRead line L on the grid and write its equation as y = mx + c.
- 4MA1/2F Jan 2023 Q24 · 7 marksShort algebra questions on powers, factorising and a line on a grid.
- 4MA1/2FR Jan 2023 Q4 · 5 marksUsing a grid with points A, B, C and line EF, find coordinates, plot point D at (3, −2), find the midpoint of BC, and give the equation of EF.
- 4MA1/2H Jan 2023 Q9 · 7 marksAnswer four short algebra questions: evaluate a zero power, simplify a cubed product, factorise an expression fully, and find the equation of a straight line from a grid diagram.
- 4MA1/1F Jan 2022 Q25 · 3 marksFor the line L with equation 2y + 7x = 10, find its gradient and the coordinates where it meets the y-axis.
- 4MA1/1H Jan 2022 Q10 · 3 marksUse the line 2y + 7x = 10 to find its gradient and where it cuts the y-axis.
- 4MA1/2FR Jan 2022 Q24 · 5 marksFind the equation of a line with gradient −3 through (0, 5), then shade and label region R satisfying x ≤ 6, y ≥ 2 and y ≤ x + 1 on a grid.
- 4MA1/2HR Jan 2022 Q7 · 5 marksWrite a line's equation from its gradient −3 and point (0, 5), then shade the region where x ≤ 6, y ≥ 2 and y ≤ x + 1.
- 4MA1/1FR Jun 2022 Q26 · 3 marksA straight line L is shown on a coordinate grid. Find an equation for L in the form y = mx + c.
- 4MA1/1HR Jun 2022 Q10 · 3 marksLine L is drawn on a grid. Find its equation in the form y = mx + c.
- 4MA1/2F Jun 2022 Q18 · 4 marksDraw the lines y = 1, x = 2 and x + y = 7 on a grid, then shade the region satisfying y ≥ 1, x ≥ 2 and x + y ≤ 7.
- 4MA1/2H Jun 2022 Q2 · 4 marksDraw three lines on a grid, y = 1, x = 2 and x + y = 7, then shade the region satisfying all three inequalities.
- 4MA1/1FR Jan 2021 Q5 · 3 marksGrid question: read off point A's coordinates, plot and label point B at (4, −2), and give the equation of line CD.
- 4MA1/2H Nov 2020 Q6 · 2 marksUsing the straight line L drawn on a coordinate grid through (0, −2), (1, 1) and (2, 4), work out an equation that describes L.
- 4MA1/2F Jan 2019 Q24 · 3 marksA straight line L is shown on a grid with x from −4 to 4 and y from −4 to 6. Find an equation for L.
- 4MA1/2H Jan 2019 Q10 · 3 marksFind the equation of line L, which passes through (−2, −2), (0, 1) and (2, 4).
- 4MA1/2F Jun 2019 Q22 · 4 marksLine L has gradient 5 through (0, −3). Find its equation, then use the shaded region R on the grid to state the four inequalities defining it.
- 4MA1/2H Jun 2019 Q10 · 4 marksLine L has gradient 5 through (0, −3). Find its equation, then use the shaded region R on the grid to write the four inequalities bounding R.
- 4MA1/2F Jun 2018 Q12 · 5 marksUsing a quadrilateral ABCD drawn on a centimetre grid, find the area of triangle ABC with units, justify why angles ACD and CAB match, and give the line equation through D and C.
Cambridge O Level Mathematics (4024)
- 4024/13 May/Jun 2025 Q6 · 4 marksGrid with points A(3, −3), B(0, 3), C(0, 5) and line AB; plot D(3, 6), then find equations of lines BC and AB.
- 4024/21 Oct/Nov 2025 Q16 · 4 marksA is (3, −2) and B is (5, 4). Find the equation of line AB as y = mx + c, then give the gradient of a line perpendicular to AB.
- 4024/21 Oct/Nov 2023 Q2 · 5 marksGrid with triangles A and B and a vertical line R; give R's equation, reflect A in R, and fully describe the single transformation taking A to B.
- 4024/21 Oct/Nov 2023 Q3 · 7 marksFor line L with equation 4y = x − 5, find its gradient and y-axis crossing; for points A(4, 5) and B(−2, 8), find length AB and the equation of line AB in y = mx + c form.
- 4024/21 May/Jun 2021 Q7 · 10 marksMatch two sketched lines to their equations, find a and b from a quadratic sketch, and use a cubic graph to solve equations.
- 4024/12 May/Jun 2020 Q24 · 6 marksPoint P is (h, 7) and lies on the line 3y + 2x = 5. Find h, then find the equation of line L, which is perpendicular to this line and passes through P.