Skip to the formula

Equation of a straight line: y = mx + c

The equation of a straight line is y = mx + c, or y − y₁ = m(x − x₁) through the point (x₁, y₁).

What each letter means

Equation of a straight line in Edexcel 4MA1 and Cambridge 0580

CourseWhere it isTier
Edexcel International GCSE Maths A (4MA1)3.3 GraphsFoundation and Higher
Papers 1F and 2F and Papers 1H and 2H
Cambridge IGCSE Mathematics (0580)C3.5 / E3.5 Equations of linear graphs
Core: interpret and find the equation of a straight line in the forms y = mx + c and x = k. Extended adds: use lines in other forms, e.g. ax + by = c, and find the equation of a line through two points.
Core and Extended
Paper 1 (no calculator) and Paper 3 (calculator) and Paper 2 (no calculator) and Paper 4 (calculator)

Calculator: Edexcel 4MA1: A calculator may be used in all four papers. Cambridge 0580: No calculator on Papers 1 and 2; a scientific calculator is needed for Papers 3 and 4. Algebraic or graphic calculators are not allowed.

Without a calculator: Keep the gradient as a fraction in its simplest form rather than a rounded decimal, and clear fractions at the end. 0580 non-calculator papers: what to practise.

When to use it

To write the equation of a line from its gradient and one point, or from two points (find the gradient first). Use y − y₁ = m(x − x₁) when the point is not on the y-axis.

Worked example

A line has gradient 4 and passes through the point (1,7). Find its equation.

  1. y=4x+c; at (1,7): 7=4(1)+c
  2. c=3

Answer: y=4x+3

Common mistake

Sign slips with a negative coordinate: through (−3, 4) the equation is y − 4 = m(x + 3), not m(x − 3).

Try one yourself

One quick IGCSE Maths question on the equation of a straight line. No sign-in needed.

A line has gradient −2 and passes through (1,4). Find its y-intercept.
Choose your answer · keys 1–4

IGCSE exam-style questions, marked step by step

Our own questions in the style of the 4MA1 and 0580 papers. M1 is a method mark, A1 an accuracy mark that needs the method before it, and B1 a mark that stands on its own. The split is our illustration: how IGCSE mark schemes work.

0580 Paper 2 style (Extended, no calculator), 3 marks

Find the equation of the line through (−1,7) and (3,−5). Give your answer in the form y=mx+c.

  1. m=−5−73−(−1)=−124=−3 M1 · gradient
  2. 7=−3×(−1)+c, so c=4 M1 · a point substituted
  3. y=−3x+4 A1 · equation

Answer: y=−3x+4 3 marks in all

4MA1 Higher style, 3 marks

The line L has equation 2y=3x−8. Find the equation of the line that is parallel to L and passes through the point (4,1).

  1. y=32x−4, so the gradient of L is 32 B1 · gradient of L
  2. y−1=32(x−4) M1 · same gradient through (4, 1)
  3. y=32x−5 A1 · equation

Answer: y=32x−5 3 marks in all

Where marks slip: Rearrange to y=… before reading the gradient: it is 32, not 3.

Where IGCSE students lose marks

From our summaries of the published examiner reports: Cambridge 0580.

Revise it for your IGCSE exam

On your IGCSE Maths course

CourseIn the exam
Edexcel 4MA1 (Higher)Not given: learn it

From our own IGCSE Maths formula sheets, in our words. Official: Pearson's 4MA1 specification (PDF, Appendix 5).

Practise and revise

Equation of a straight line formula card: y = mx + c, or y − y₁ = m(x − x₁) through the point (x₁, y₁). IGCSE Math Revision
Equation of a straight line card for IGCSE Maths: download (PNG).

IGCSE Maths FAQ

Is the equation of a straight line on the IGCSE formula sheet?

Edexcel 4MA1 (Higher): not given: learn it.

How do I find the equation of a line through two points?

Find the gradient m = (y₂ − y₁) ÷ (x₂ − x₁), then put m and either point into y − y₁ = m(x − x₁) and rearrange.

Is the equation of a straight line formula Foundation or Higher, Core or Extended?

On Edexcel 4MA1 it is in section 3.3 (Graphs) at Foundation, so it can come up on Papers 1F and 2F and Papers 1H and 2H. On Cambridge 0580 it is in sub-topic C3.5 / E3.5 (Equations of linear graphs) for Core and Extended; Extended adds use lines in other forms, e.g. ax + by = c, and find the equation of a line through two points.

Do I need y − y₁ = m(x − x₁) for IGCSE?

No board makes you use it, but it is quicker than finding c. Either way, finding the equation of a line through two points is Higher on 4MA1 and Extended on 0580; Foundation and Core use y = mx + c from a gradient and an intercept.

Can I use a calculator for equation of a straight line questions in IGCSE Maths?

Edexcel 4MA1: A calculator may be used in all four papers. Cambridge 0580: No calculator on Papers 1 and 2; a scientific calculator is needed for Papers 3 and 4. Algebraic or graphic calculators are not allowed. Without a calculator, keep the gradient as a fraction in its simplest form rather than a rounded decimal, and clear fractions at the end.

Our own wording, examples and card, checked by IGCSE Math Revision. Not produced or endorsed by Pearson Edexcel.