Skip to content
Home: Success TutoringTeachers

Year 9 Maths lesson plan Β· More Maths resources

Linear Graphs: Plotting y = mx + c from a Table of Values, Gradient and y-Intercept

Students build tables of values, plot straight-line graphs and discover what m and c do in y = mx + c (written y = mx + b in some textbooks, where m is called the slope). They find the gradient from two points, read the y-intercept, write equations from graphs and match equations to lines, then model a bike-hire problem.

  • 60 minutes
  • Year 9
  • Maths
  • Linear relationships
  • πŸ‡¦πŸ‡Ί Australia

By the Success Tutoring Teachers team Β· Updated Β· Educator review in progress Β· How we make our resources

Download PDF

Overview

Learning objectives

Students will…

  • Complete a table of values for a linear rule and plot the points to draw a straight-line graph.
  • Find the gradient of a line as rise Γ· run, using two points on the line, and identify positive, negative and zero gradients.
  • Identify the y-intercept from a graph, a table and an equation in the form y = mx + c (also written y = mx + b).
  • Write the equation of a line from its graph or from two points, and match equations to graphs.

Success criteria

Students can say…

  • I can complete a table of values for y = 2x + 1 and plot it as a straight line.
  • I can work out the gradient between two points, including negative gradients.
  • I can say what m and c tell me about a line before I draw it.
  • I can write the equation of a line through (1, 5) and (4, 11).
  • I can match four equations to four graphs and explain my choices.

Curriculum focus: Algebra Β· Australian Curriculum v9.0

Specific curriculum codes are added once our team has checked them against the official documents. How we align resources

NSW and Victoria

  • NSW: Stage 5 (Years 9–10), NSW Mathematics K–10 Syllabus.
  • Victoria: Level 9, Victorian Curriculum 2.0 Mathematics.

Placement can differ by a year between schools, so check your school's scope and sequence.

Key vocabulary

linear relationship
A relationship between two variables that gives a straight line when graphed. Each time x goes up by 1, y changes by the same amount.
table of values
A table of x-values and the y-values the rule gives for them, used to plot points.
gradient (slope)
The steepness of a line: rise Γ· run, the change in y divided by the change in x. Many textbooks call it the slope.
rise and run
The run is the horizontal change from one point to another; the rise is the vertical change. A fall counts as a negative rise.
y-intercept
The point where the line crosses the y-axis, where x = 0. In y = mx + c (or y = mx + b) it is the constant term.
gradient–intercept form
The equation y = mx + c (also written y = mx + b), where m is the gradient and c (or b) is the y-intercept.
Cartesian plane
A grid with a horizontal x-axis and a vertical y-axis that meet at the origin (0, 0).

In the glossary: axis, constant, function, gradient, linear equation, y-intercept

Materials & preparation

You will need

  • Grid paper or printed Cartesian planes (x and y from βˆ’6 to 8), several per student
  • Rulers and sharp pencils
  • Mini whiteboards and markers
  • A large Cartesian plane drawn on the board (or projected), with x from βˆ’6 to 8 and y from βˆ’6 to 12
  • Four 'mystery line' cards for the matching task (described in Preparation)
  • Practice sheet and exit ticket (printable)

Before the lesson

  1. Draw the large Cartesian plane on the board before the lesson.
  2. Make four mystery line cards, each with a line drawn on a small Cartesian plane: Line A passes through (0, 2) and (2, 0); Line B passes through (0, βˆ’1) and (1, 1); Line C passes through (0, 2) and (1, 3); Line D is horizontal through (0, 3). Copy one set per pair, or project them.
  3. Write the bike-hire hook on the board: 'Company A: $10 booking fee plus $4 per hour. Company B: $6 per hour, no fee.'
  4. Print one practice sheet and one exit ticket per student.

Lesson sequence

  1. 1

    Hook: which bike hire is cheaper?

    6 min

    Teacher

    • Point to the bike-hire offer. Say: 'Sofia wants to hire a bike. Company A charges a $10 booking fee plus $4 per hour. Company B charges $6 per hour with no fee. Which should she choose?'
    • Let pairs argue for 60 seconds, then take answers. Most will pick one company for every situation. Ask: 'Does it depend on how long she rides? For 3 hours, A costs 10 + 12 = $22 and B costs $18. What about 8 hours?' (A: 10 + 32 = $42; B: $48.)
    • Say: 'So the cheaper choice flips somewhere. Today you'll learn to draw these rules as straight-line graphs, and by the end of the lesson you'll see exactly where they cross.'

    Students

    • Discuss in pairs and calculate the costs for 3 hours and 8 hours.
  2. 2

    Explicit teaching: from table to graph

    12 min

    Teacher

    • Write y = 2x + 1 and a table with x = βˆ’2, βˆ’1, 0, 1, 2, 3. Say: 'The rule says: take x, double it, add 1.' Fill in the y-values with the class, asking a different student for each: βˆ’3, βˆ’1, 1, 3, 5, 7.
    • Plot the six points on the board plane. Say: 'Notice they line up perfectly. That's why we call this a linear relationship. Rule a line through them and past them, because the rule works for every x, not just these six.'
    • Point to the table. Say: 'Every time x goes up by 1, y goes up by 2. That constant change is the gradient. On the graph, from any point, go 1 across and you must go 2 up to get back to the line.' Draw a rise-and-run triangle from (0, 1) to (1, 3).
    • Say: 'Where does the line cross the y-axis?' (At 1.) 'That's the y-intercept, the y-value when x is 0. Look back at the equation: y = 2x + 1. The 2 is the gradient and the 1 is the y-intercept.'
    • Write y = mx + c. Say: 'In general, m is the gradient and c is the y-intercept. Some textbooks write y = mx + b and call m the slope. Same idea, different letter.'
    • Now do y = βˆ’3x + 4 quickly with x = βˆ’1 to 3: 7, 4, 1, βˆ’2, βˆ’5. Plot it. Say: 'This time y goes down by 3 each step, so the gradient is βˆ’3. A negative gradient slopes down as you read from left to right.'
    • Finish with y = 3 (all y-values are 3). Say: 'A horizontal line doesn't rise at all, so its gradient is 0: y = 0x + 3, which we just write as y = 3.'

    Students

    • Copy each table and graph into their books.
    • Call out the next y-value in each table.
  3. 3

    Gradient from two points

    10 min

    Teacher

    • Say: 'Often we don't have the equation, just two points. Gradient = rise Γ· run, the change in y divided by the change in x.'
    • Model: points (1, 5) and (4, 11). Say: 'From the first point to the second, x goes from 1 to 4, a run of 3. y goes from 5 to 11, a rise of 6. Gradient = 6 Γ· 3 = 2.'
    • Say: 'Now I want the whole equation. I know y = 2x + c. The point (1, 5) is on the line, so 5 = 2 Γ— 1 + c, so c = 3. The equation is y = 2x + 3. Check with the other point: 2 Γ— 4 + 3 = 11. It works.'
    • Model a negative one: (βˆ’1, 6) and (3, βˆ’2). Say: 'Run: from βˆ’1 to 3 is 4. Rise: from 6 to βˆ’2 is a fall of 8, so the rise is βˆ’8. Gradient = βˆ’8 Γ· 4 = βˆ’2.'
    • Mini whiteboards: 'Find the gradient through (0, βˆ’2) and (2, 4).' (Rise 6, run 2, gradient 3; the y-intercept is βˆ’2 because the point (0, βˆ’2) is on the y-axis; y = 3x βˆ’ 2.) Scan the boards and reteach the rise if anyone wrote 2 Γ· 6.

    Students

    • Work through the examples, then answer the whiteboard question and hold it up.
  4. 4

    Matching equations to graphs

    8 min

    Teacher

    • Hand out or display the four mystery line cards and write four equations: y = x + 2, y = βˆ’x + 2, y = 2x βˆ’ 1, y = 3.
    • Say: 'Don't plot anything. Use two clues: where does each line cross the y-axis, and does it go up, down or stay flat? Then check one more point.'
    • After 4 minutes, take answers and reasons: A is y = βˆ’x + 2 (crosses at 2, goes down 1 for each 1 across); B is y = 2x βˆ’ 1 (crosses at βˆ’1, steep, up 2 for each 1 across); C is y = x + 2 (crosses at 2, up 1 for each 1 across); D is y = 3 (flat).
    • Ask: 'A and C both cross at 2. How did you tell them apart?' (The gradient: A slopes down and C slopes up.)

    Students

    • Match the cards in pairs, writing one reason for each match.
  5. 5

    Independent practice

    14 min

    Teacher

    • Students work through the practice sheet. Direct students to the additional support, core or extension starting point (see Differentiation).
    • With 4 minutes to go, return to the hook. Say: 'Company A is C = 4h + 10 and Company B is C = 6h. Graph both on the same axes for 0 to 8 hours. Where do they cross?' (At h = 5, C = 30: both cost $30 for 5 hours. B is cheaper for less than 5 hours, A for more than 5.)

    Students

    • Complete practice questions, then graph the two bike-hire rules on the same axes.
  6. 6

    Exit ticket

    10 min

    Teacher

    • Ask: 'What does the 4 in C = 4h + 10 mean for the bike hire?' (The cost goes up $4 for each extra hour: the gradient is the rate.) 'And the 10?' (The $10 booking fee you pay even for 0 hours: the intercept is the starting value.)
    • Students complete the exit ticket on their own. Sort it into secure / nearly / not yet to plan the next lesson.

    Students

    • Answer the discussion questions, then the exit ticket on their own.

Worked examples

Table of values and graph

Complete a table of values for y = 2x + 1 for x = βˆ’2 to 3, plot the line and state its gradient and y-intercept.

  1. x = βˆ’2: y = 2 Γ— (βˆ’2) + 1 = βˆ’3. x = βˆ’1: y = βˆ’1. x = 0: y = 1. x = 1: y = 3. x = 2: y = 5. x = 3: y = 7.
  2. Plot (βˆ’2, βˆ’3), (βˆ’1, βˆ’1), (0, 1), (1, 3), (2, 5) and (3, 7). They lie in a straight line; rule the line through them.
  3. Each time x increases by 1, y increases by 2, so the gradient is 2.
  4. The line crosses the y-axis at (0, 1), so the y-intercept is 1.

y-values: βˆ’3, βˆ’1, 1, 3, 5, 7. Gradient 2, y-intercept 1.

Equation from two points

Find the equation of the line through (1, 5) and (4, 11).

  1. Run = 4 βˆ’ 1 = 3. Rise = 11 βˆ’ 5 = 6.
  2. Gradient m = rise Γ· run = 6 Γ· 3 = 2, so y = 2x + c.
  3. Substitute (1, 5): 5 = 2 Γ— 1 + c, so c = 3.
  4. Check with (4, 11): 2 Γ— 4 + 3 = 11. Correct.

y = 2x + 3

Negative gradient

Find the gradient of the line through (βˆ’1, 6) and (3, βˆ’2), then its equation.

  1. Run = 3 βˆ’ (βˆ’1) = 4. Rise = βˆ’2 βˆ’ 6 = βˆ’8.
  2. Gradient = βˆ’8 Γ· 4 = βˆ’2, so y = βˆ’2x + c.
  3. Substitute (3, βˆ’2): βˆ’2 = βˆ’2 Γ— 3 + c, so βˆ’2 = βˆ’6 + c and c = 4.
  4. Check with (βˆ’1, 6): βˆ’2 Γ— (βˆ’1) + 4 = 2 + 4 = 6. Correct.

Gradient βˆ’2; y = βˆ’2x + 4

A linear model in context

Company A charges a $10 booking fee plus $4 per hour of bike hire. Write a rule for the cost C after h hours, and find when it costs the same as Company B, which charges C = 6h.

  1. The fixed fee is the starting value (the intercept) and the hourly charge is the rate (the gradient): C = 4h + 10.
  2. They cost the same when 4h + 10 = 6h, so 10 = 2h and h = 5.
  3. At h = 5, C = 6 Γ— 5 = 30, and 4 Γ— 5 + 10 = 30. The lines cross at (5, 30).
  4. For fewer than 5 hours B's line is lower (cheaper); for more than 5 hours A's line is lower.

C = 4h + 10. Both cost $30 for 5 hours; B is cheaper under 5 hours and A is cheaper over 5 hours.

Practice & answers

Printable student sheet

Linear Graphs Practice

Show your working. Use grid paper for any graph.

  1. 1Complete a table of values for y = 3x βˆ’ 2 for x = βˆ’1, 0, 1, 2, 3, then plot the line.
  2. 2State the gradient and y-intercept of each line: (a) y = 5x βˆ’ 7 (b) y = βˆ’2x + 9 (c) y = x (d) y = 4 βˆ’ x
  3. 3Find the gradient of the line through (2, 3) and (6, 11).
  4. 4Find the gradient of the line through (βˆ’1, 6) and (3, βˆ’2).
  5. 5Write the equation of the line with gradient βˆ’4 and y-intercept 5.
  6. 6Find the equation of the line through (1, 4) and (3, 10).
  7. 7Does the point (4, 9) lie on y = 2x + 1? Does (βˆ’2, βˆ’4)?
  8. 8Match each equation to its description: y = x + 2, y = βˆ’x + 2, y = 2x βˆ’ 1, y = 3. Line A passes through (0, 2) and (2, 0). Line B passes through (0, βˆ’1) and (1, 1). Line C passes through (0, 2) and (1, 3). Line D is horizontal through (0, 3).
  9. 9A gym charges a $20 joining fee plus $15 per week. Write a rule for the total cost C after w weeks, and find the cost after 6 weeks. What does the gradient mean here?
  10. 10Which two of these lines are parallel? y = 3x + 2, y = 2x + 3, y = 3x βˆ’ 5. Explain.
  11. 11Where does the line y = 2x βˆ’ 6 cross the x-axis?
  12. 12Rewrite 2y = 6x + 8 in the form y = mx + c and state the gradient and y-intercept.
Show answers
  1. y = βˆ’5, βˆ’2, 1, 4, 7. The points (βˆ’1, βˆ’5), (0, βˆ’2), (1, 1), (2, 4) and (3, 7) lie on a straight line.
  2. (a) gradient 5, y-intercept βˆ’7 (b) gradient βˆ’2, y-intercept 9 (c) gradient 1, y-intercept 0 (d) gradient βˆ’1, y-intercept 4 (it is y = βˆ’x + 4).
  3. Rise = 11 βˆ’ 3 = 8, run = 6 βˆ’ 2 = 4, gradient = 8 Γ· 4 = 2.
  4. Rise = βˆ’2 βˆ’ 6 = βˆ’8, run = 3 βˆ’ (βˆ’1) = 4, gradient = βˆ’8 Γ· 4 = βˆ’2.
  5. y = βˆ’4x + 5
  6. Gradient = (10 βˆ’ 4) Γ· (3 βˆ’ 1) = 6 Γ· 2 = 3. Then 4 = 3 Γ— 1 + c, so c = 1. y = 3x + 1. Check: 3 Γ— 3 + 1 = 10.
  7. (4, 9): 2 Γ— 4 + 1 = 9, so yes. (βˆ’2, βˆ’4): 2 Γ— (βˆ’2) + 1 = βˆ’3, not βˆ’4, so no.
  8. A: y = βˆ’x + 2. B: y = 2x βˆ’ 1. C: y = x + 2. D: y = 3.
  9. C = 15w + 20. After 6 weeks: 15 Γ— 6 + 20 = $110. The gradient, 15, is the cost per week.
  10. y = 3x + 2 and y = 3x βˆ’ 5. They have the same gradient (3), so they are equally steep and never meet.
  11. On the x-axis y = 0, so 0 = 2x βˆ’ 6, 2x = 6, x = 3. The point is (3, 0).
  12. Divide every term by 2: y = 3x + 4. Gradient 3, y-intercept 4.

Differentiation

Offer tasks by choice or quietly by invitation β€” avoid labelling groups by ability in front of the class.

Additional support

  • Give tables with the x-values filled in and the first two y-values done, plus pre-drawn axes with the scale marked.
  • Provide a rise-and-run card: 'Count across (run), then up or down (rise). Down means negative. Gradient = rise Γ· run.'
  • Start with questions 1, 2, 3 and 5, using lines with positive gradients first.

Core task

  • Complete questions 1 to 10 and graph the two bike-hire rules on the same axes.

Extension challenge

  • Complete questions 11 and 12.
  • Find the equation of the line through (βˆ’2, 7) and (4, βˆ’5). (Gradient = βˆ’12 Γ· 6 = βˆ’2; 7 = βˆ’2 Γ— (βˆ’2) + c, so c = 3; y = βˆ’2x + 3.)
  • Write the rule for a third bike company that costs the same as Company A at 5 hours but has a $20 fee. (It must pass through (5, 30) with intercept 20: gradient = (30 βˆ’ 20) Γ· 5 = 2, so C = 2h + 20.)

Assessment & exit ticket

Formative assessment

  • Mini whiteboard check on gradient from two points: watch for students dividing run by rise.
  • Listen to reasons in the matching task: can students use both the intercept and the direction of the line?
  • Mark practice questions 4 and 6 to check negative gradients and finding c.
  • Sort exit tickets into secure / nearly / not yet.

Exit ticket

  1. State the gradient and y-intercept of y = βˆ’3x + 2, and describe what the line looks like.
  2. Find the equation of the line through (0, βˆ’1) and (2, 7).
  3. In C = 4h + 10 for bike hire, what do the 4 and the 10 mean?
Show exit ticket answers
  1. Gradient βˆ’3, y-intercept 2. It crosses the y-axis at (0, 2) and goes down 3 units for every 1 unit to the right.
  2. Gradient = (7 βˆ’ (βˆ’1)) Γ· (2 βˆ’ 0) = 8 Γ· 2 = 4. The y-intercept is βˆ’1 because (0, βˆ’1) is on the y-axis. y = 4x βˆ’ 1.
  3. 4 is the gradient: the cost goes up $4 for each hour. 10 is the y-intercept: the $10 booking fee charged before any riding.

Common misconceptions

  • Gradient is run Γ· rise. It is rise Γ· run: the change in y divided by the change in x. Saying 'rise over run' with a hand moving up then across helps.
  • Losing the sign of a fall. If y decreases as x increases, the rise is negative and so is the gradient.
  • The intercept is wherever the line hits an axis. The y-intercept is where x = 0 (on the y-axis). Where the line meets the x-axis is the x-intercept, a different point.
  • y = 4 βˆ’ x has gradient 4. The gradient is the number multiplying x, including its sign: y = βˆ’x + 4 has gradient βˆ’1.
  • Only plotting the table's points. The line continues beyond the table, so rule it past the first and last points.

Extension

  • Next lesson: sketch lines from the equation alone by plotting the y-intercept, then using the gradient as 'across 1, up m' (no table needed).
  • Investigate lines with fractional gradients, e.g. y = 12x βˆ’ 1 (table for x = βˆ’2, 0, 2, 4 gives βˆ’2, βˆ’1, 0, 1), and talk about why even x-values were chosen.

Free resources from other Success Tutoring sites that match this topic.

More lesson plans

Need a timer for this lesson? Open the Classroom Timer or make random groups.