All revision notes topics

Linear Graphs (y = mx + c)Edexcel IGCSE Maths: Revision notes

Section 1

What does y = mx + c actually mean?

Every straight line can be written as y=mx+cy = mx + c where:

  • mm is the gradient (how steep the line is, and whether it slopes up or down)
  • cc is the y-intercept (where the line crosses the y-axis, at the point (0,c)(0, c))

If xx increases by 1, yy changes by mm. A positive mm means the line slopes upward left to right; a negative mm means it slopes downward.

Always rearrange an equation into this form first before reading off mm and cc — do not assume the coefficient of xx is the gradient until the equation is arranged with yy on its own.

Key termsgradienty-intercept
Common mistake

Given 2y=6x+42y = 6x + 4, students often say m=6m = 6. Divide by 2 first: y=3x+2y = 3x + 2, so m=3m = 3.

Section 2

How do I find the gradient between two points?

Given two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), the gradient is:

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}

This is often remembered as 'change in y over change in x', or 'rise over run'. It does not matter which point you call point 1 and which you call point 2, as long as you are consistent — subtract in the same order on both the top and bottom.

Key termsrise over run
Example

Find the gradient through (1,4)(1, 4) and (3,10)(3, 10): m=10−43−1=62=3m = \frac{10 - 4}{3 - 1} = \frac{6}{2} = 3.

Common mistake

Mixing the order, e.g. y1−y2x2−x1\frac{y_1 - y_2}{x_2 - x_1}, flips the sign of the gradient. Keep the subtraction order matched on top and bottom.

Section 3

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

Steps:

  1. Find the gradient mm using y2−y1x2−x1\frac{y_2-y_1}{x_2-x_1}.
  2. Substitute mm and one point (x1,y1)(x_1, y_1) into y=mx+cy = mx + c.
  3. Solve for cc.
  4. Write the final equation in the form y=mx+cy = mx + c.

Alternatively, use the point-gradient form directly:

y−y1=m(x−x1)y - y_1 = m(x - x_1)

then expand and rearrange into y=mx+cy = mx + c form.

Key termspoint-gradient form
Example

Line through (2,5)(2, 5) and (4,11)(4, 11): m=11−54−2=3m = \frac{11-5}{4-2} = 3. Using (2,5)(2,5): 5=3(2)+c⇒c=−15 = 3(2) + c \Rightarrow c = -1. Equation: y=3x−1y = 3x - 1.

Exam tip

Always check your answer by substituting the SECOND point into your final equation — it must also satisfy it.

Section 4

How do I tell if two lines are parallel or perpendicular?

Parallel lines have the exact same gradient: if y=3x+2y = 3x + 2 and y=3x−5y = 3x - 5, both have m=3m = 3, so they are parallel and never meet.

Perpendicular lines meet at a right angle. Their gradients are negative reciprocals of each other:

m1×m2=−1som2=−1m1m_1 \times m_2 = -1 \quad \text{so} \quad m_2 = -\frac{1}{m_1}

To find a perpendicular gradient: flip the fraction and change the sign. If m1=2m_1 = 2 (i.e. 21\frac{2}{1}), the perpendicular gradient is −12-\frac{1}{2}. If m1=−34m_1 = -\frac{3}{4}, the perpendicular gradient is 43\frac{4}{3}.

Key termsparallelperpendicularnegative reciprocal
Think of it like this

Think of gradients as directions on a slope: parallel lines climb at the identical angle side by side; perpendicular lines cut directly across each other, like a ladder resting against a wall meeting the flat ground.

Common mistake

Forgetting to flip AND change sign — students often do only one of the two steps when finding a perpendicular gradient.

Section 5

How do vertical and horizontal lines fit in?

Two special cases don't fit neatly into y=mx+cy = mx + c:

  • Horizontal lines: y=cy = c (a constant). Gradient is 0.
  • Vertical lines: x=cx = c (a constant). Gradient is undefined (infinite steepness).

A vertical line is perpendicular to any horizontal line, and vice versa, even though the negative reciprocal rule cannot be applied numerically here (since you cannot divide by 0).

Key termshorizontal linevertical line
Exam tip

If a question gives you x=4x = 4, do not try to write it as y=mx+cy = mx + c — it simply has no y-intercept form.

Must Know

  • y=mx+cy = mx + c: mm is gradient, cc is y-intercept (the point (0,c)(0,c))
  • Gradient formula: m=y2−y1x2−x1m = \dfrac{y_2-y_1}{x_2-x_1}
  • To find an equation from two points: find mm, then substitute one point to find cc
  • Parallel lines: same gradient (m1=m2m_1 = m_2)
  • Perpendicular lines: gradients multiply to −1-1 (m2=−1m1m_2 = -\dfrac{1}{m_1})
  • y=cy = c is horizontal (gradient 0); x=cx = c is vertical (gradient undefined)

That's the notes covered.

Carry on to the next subtopic.