The line y = mx + c: gradient and intercept

About this lesson: The line y = mx + c: gradient and intercept

In short

Every straight line that is not vertical has an equation of the form y = mx + c. The number m is the gradient. The number c is the intercept: the value of y where the line cuts the y-axis, because x = 0 gives y = c.

What you'll explore

Two numbers describe a line: m is the gradient, c is the intercept
Every straight line that is not vertical has an equation of the form y = mx + c. The number m is the gradient.
Try it: Change m and c
Move the sliders. Changing m turns the line about the red dot: bigger m, steeper line; negative m, the line falls.
Reading an equation: Make y the subject first
When the equation is already y = mx + c, read m and c directly. If not, rearrange it.
From a graph to an equation: Find c, then m
To write the equation of a drawn line: read the intercept c where it crosses the y-axis, find the gradient m from two points, and put them into y = mx + c.
Check yourself: Read the line
y = mx + c.

Also in this lesson

  • The line y = mx + c in detail
  • Common mistakes

Key words

y = mx + c
The equation of a straight line with gradient m and intercept c.
Intercept
The value of y where a line cuts the y-axis.
Origin
The point (0, 0).
Linear relationship
A relationship whose graph is a straight line.
Parallel lines
Lines with equal gradients; they never meet.
Subject
The letter that stands alone on one side of an equation.

Sources

  • NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 10 (competency level 20.1).

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 30-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 21 November 2026.

← Gradient of a straight line: rise over run · Graph of y = ax²: the parabola through the origin →

All lessons in Unit 21 · Graphs · O/L Maths · Grade 10

O/L Maths past papers 2016–2025: analysis and 10 model papers with answers

මේ පිටුව සිංහලෙන් කියවන්න