Equations of linear graphs

Section: Coordinate geometry  |  Syllabus: Cambridge IGCSE Mathematics (0580)

Interpreting y = mx + c

Every non-vertical straight line can be written in the form y=mx+c, where m is the gradient and c is the y-intercept. Once a line's equation is in this form, both features can be read off directly.

Worked Example: Reading the Gradient and Intercept

Common Mistakes

MistakeReading off the gradient and intercept before rearranging the equation into the form y = mx + c

Fixalways check that y has a coefficient of exactly 1 (is fully the subject) before reading off m and c

MistakeDividing only one term by the coefficient of y, rather than every term in the equation

Fixwhatever is done to rearrange the equation must be done to every single term, not just the ones already containing x

Finding the Equation of a Line from a Gradient and a Point

If the gradient of a line and one point on it are known, the full equation y = mx + c can be found by substituting both into the general form.

Worked Example: Finding an Equation from a Gradient and a Point

Common Mistakes

MistakeSubstituting the point's coordinates the wrong way round, e.g. putting the y-value where x should go

Fixin the point (a,b), a is always the x-coordinate and b is always the y-coordinate - substitute accordingly into x and y

MistakeForgetting to solve for c after substituting, and leaving c undetermined in the final equation

Fixafter substituting, rearrange the resulting equation to find the numerical value of c before writing the final answer

Finding the Equation of a Line from Two Points

When only two points on a line are known, the gradient must be calculated first, before the equation can be found using the same method as before.

Worked Example: Finding an Equation from Two Points

Common Mistakes

MistakeTrying to find c before calculating the gradient, leaving two unknowns in the equation at once

Fixalways find the gradient first - it must be known before c can be found

MistakeUsing values from the two points inconsistently, e.g. the x-coordinate from one point and the y-coordinate from the other

Fixalways substitute a complete matching pair (x, y) from the same point when solving for c

Interactive revision notes, videos and practice questions load below.

All subjects

    Select a subject from the left to view available exam boards and resources

    Related: Past Papers Topical Questions IGCSE Physics IGCSE Chemistry Grade Boundaries Command Words