KS Maths
Year 9 ยท Unit 3 Linear relationships ยท Lesson 3 of 7

y = mx + c

Two numbers draw a whole line

Change m and c and watch what each one does to a line, then draw a line from its gradient and where it crosses the y-axis.

FunctionsNo calculator

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

axis
A number line that a graph is drawn on. The x-axis goes across and the y-axis goes up.The y-axis is vertical.
gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
intercept
The point where a line or curve crosses an axis.The y-intercept is where x is zero.
negative
Less than zero. A negative number has a minus sign.Minus 4 is a negative number.
add
Put numbers together to find the total.Add 3 and 4 to get 7.
straight line
A line that does not bend.A ruler draws a straight line.
distance
How far it is from one place to another.The distance is 5 kilometres.
constant
A number that does not change.In 3x plus 5, the constant is 5.
equation
A statement that two things are equal. It has an equals sign.x plus 2 = 5 is an equation.
zero
The number 0. It is neither positive nor negative.5 minus 5 is zero.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Three quick ones from earlier work. Try each in your head or on paper before you open the answer.

  1. (Lesson 2) Find the gradient of the line through (0, 1) and (2, 7).
    Answer3: the rise is 6 and the run is 2.
  2. Solve 2x โˆ’ 6 = 0.
    Answerx = 3.
  3. Work out 3 ร— (โˆ’2) + 5.
    Answerโˆ’1.
Words used in this lesson
gradient
the steepness of a line, written m. For example: m = 2 in y = 2x + 1.
y-intercept
the point where a line crosses the y-axis, (0, c). For example: (0, โˆ’1) for y = 2x โˆ’ 1.
x-intercept
the point where a line crosses the x-axis, where y = 0. For example: (5, 0) for y = x โˆ’ 5.
equation of a line
a rule that every point on the line follows. For example: y = 3x + 2.
parallel
never meeting, always the same distance apart. For example: y = 3x + 2 and y = 3x โˆ’ 4.
horizontal
going straight across, with gradient 0. For example: y = 3.

What do the numbers in a fare do?

In Lesson 1 a taxi in Lagos charged 500 naira before any distance and 400 naira for each km, so the fare in naira for x km is 400x + 500. Imagine drawing that fare against distance. Which of the two numbers, 400 or 500, sets how steep the line is? Which one sets where it starts on the vertical axis?

Predict first: if you made the 500 bigger, would the line get steeper, or would it move? Then set the two sliders below to find out. Try a negative m, and m = 0.

xyโˆ’6โˆ’6โˆ’4โˆ’4โˆ’2224466(0, โˆ’1)up 2
y = 2x โˆ’ 1equation
(0, โˆ’1)crosses the y-axis at
1/2crosses the x-axis at x =

y = 2x โˆ’ 1 crosses the y-axis at (0, โˆ’1) and rises 2 for every 1 across. It crosses the x-axis at x = 1/2.

Show me the steps
  1. m = 2, c = โˆ’1: y = 2x โˆ’ 1. It crosses the y-axis at (0, โˆ’1) and rises 2 for each 1 across.
  2. m = 2, c = 3: y = 2x + 3. The same steepness, slid up by 4.
  3. m = โˆ’1, c = 2: y = โˆ’x + 2. The gradient is negative, so the line falls, and it crosses the y-axis at (0, 2).
  4. m = 0, c = 3: y = 3. No x term, so the line is horizontal, 3 above the x-axis, and it never crosses the x-axis.
  5. m = 3, c = 0: y = 3x. A line through the origin, where both intercepts are the same point.
  6. m = โˆ’3, c = โˆ’2: y = โˆ’3x โˆ’ 2. It falls steeply and crosses the x-axis at x = โˆ’2/3.

In y = mx + c, m is the gradient and c is where the line crosses the y-axis. The point (0, c) is the y-intercept. From there, every step of 1 across moves the line m up (or down, if m is negative).

The order does not matter: in y = 5 + 2x the gradient is 2 and c is 5. To find where the line crosses the x-axis, put y = 0 and solve: 0 = mx + c gives x = โˆ’c รท m, when m is not 0.

The fare line: y = 400x + 500 has m = 400, so each extra km adds 400 naira, and c = 500 is the fare at 0 km. Making the 500 bigger moves the line up. It does not make it steeper.

Read what Keith says

In the rule of a line, the number multiplying the unknown is the gradient, and the number added is where the line crosses the vertical axis. From that point, every step of one across moves the line up by the gradient. So in the taxi fare, each extra kilometre adds four hundred naira, and five hundred is the fare at zero kilometres. Making the five hundred bigger moves the line up. It does not make it steeper. Try changing each number.

The rest of this lesson is in the full course

Still to come in this lesson:

  • Two special cases
  • Building a line from a step
  • Worked example: graph a line from m and c
  • Check before you go on
  • and 1 more

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

Years 7 to 11 plan$59Every lesson from Year 7 to Year 11, so the refresher links always open, and every Year 7 to 11 revision pack, for the whole family. $59 for 12 months or $99 for 2 years.
IB Diploma plan$99Every lesson from Year 7 to the IB Diploma, AA and AI, SL and HL, for the whole family. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

Year 9 revision pack, $19BuyPlan $59