Browse exams / KCSE

Gradients and equations of lines

Find gradient from change in y divided by change in x, then substitute a point into y = mx + c.

Study and track progressDownload lesson PDF

How to approach it

Subtract coordinates in the same order in both differences.

Worked example

Through (1, 4) and (3, 10), m = (10 − 4)/(3 − 1) = 3. Substituting (1, 4) gives c = 1, so y = 3x + 1.

Common mistake

The intercept is the y-value at x = 0. A point at another x is not automatically the intercept.

Practice questions

  1. Find the gradient through (2, 5) and (6, 13).

    Show answer and explanation

    2, because 8 ÷ 4 = 2.

  2. A line of gradient 4 passes through (2, 11). Find its equation.

    Show answer and explanation

    y = 4x + 3.

  3. What is the gradient of a line through (1, 6) and (4, 0)?

    Show answer and explanation

    −2. The y-value decreases by 6 as x increases by 3.

  4. Find the y-intercept of a line through (1, 6) with gradient 2.

    Show answer and explanation

    4, since 6 = 2 × 1 + c.

  5. Find the equation of the horizontal line through (9, −3).

    Show answer and explanation

    y = −3.

Official reference

KNEC KCSE information

What to study next