DoAssignment study guide

C3.2 · Connect representations of linear relations

Learn to connect representations of linear relations through clear examples and targeted practice.

Ontario Grade 9 Mathematics

Algebra

Moving Between Tables, Graphs, and Equations

A linear relation is a relationship between two quantities where one quantity changes at a constant rate as the other increases. You have already seen this idea in Grade 8 when you plotted points and noticed they lined up perfectly. In this lesson you will learn that every linear relation can be shown in three ways: a table of values, a graph, and an equation. These three representations carry exactly the same information — they are just different languages for the same relationship. Being able to move between them freely is a powerful skill. You will start with a real-world situation, build a table, draw a graph, and then write an equation, so that each step grows naturally from the one before it.

What you will learn

  • Identify the same linear relation presented as a table of values, a graph, and an equation.
  • Explain how the constant rate of change and starting value appear in each representation.
  • Move from a table of values to a graph and then to an equation.
  • Move from an equation to a table of values and a graph.
  • Decide which representation is most useful for answering a given question about a linear relation.

What Is a Linear Relation? A Quick Review

Before connecting representations, make sure you understand what makes a relation linear. A relation pairs values of one variable with values of another. Call the two variables xx and yy. When you move from one xx-value to the next by adding 1, the matching yy-value always changes by the same fixed amount. That fixed amount is called the constant rate of change.
Because the rate of change never varies, the points always fall on a perfectly straight line when graphed. That is exactly why the relation is called linear — it produces a line. If the differences in yy are not all equal, the relation is not linear and you will not get a straight line.
Two numbers fully describe any linear relation: (1) the rate of change, which tells you how steeply yy rises or falls as xx increases, and (2) the initial value, which is the value of yy when x=0x = 0. You will see both of these numbers in every representation.
rate of change = changeinychangeinx\frac{change in y}{change in x}
  • A linear relation has a constant rate of change.
  • Its graph is always a straight line.
  • Two numbers define it completely: the rate of change and the initial value.
  • The rate of change is found by calculating the difference in yy divided by the difference in xx between any two points.

The Table of Values Representation

A table of values lists paired numbers. The left column shows the xx-values (the input) and the right column shows the matching yy-values (the output). Here is a concrete situation to anchor the idea: a student earns CAD 12 for every hour of yard work, and the neighbour pays an extra CAD 5 up front for supplies. The student's total pay depends on the number of hours worked.
Let xx represent the number of hours worked and yy represent the total pay in dollars. When x=0x = 0, the student has not worked yet but already received CAD 5, so y=5y = 5. Each additional hour adds CAD 12. Working through a few hours gives the table shown below.
To check that a table represents a linear relation, subtract each yy-value from the next one. If every difference is the same, the rate of change is constant. In this table, every step from one row to the next adds 1 to xx and 12 to yy, so the rate of change is 121=12\frac{12}{1} = 12. The initial value (when x=0x = 0) is 55. These two numbers are the key to the other two representations.
rate of change = ΔyΔx\frac{\Delta y}{\Delta x} = 121\frac{12}{1} = 12
  • A table lists input–output pairs.
  • Check linearity by confirming equal differences in yy for equal steps in xx.
  • The rate of change equals the common difference in yy when xx increases by 1.
  • The initial value is the yy-value in the row where x=0x = 0.

The Graph Representation

To draw the graph, plot each ordered pair (x,y)(x, y) from the table on a coordinate grid. The horizontal axis represents xx (hours worked) and the vertical axis represents yy (total pay in dollars). Plot the point (0,5)(0, 5), then (1,17)(1, 17), then (2,29)(2, 29), and so on. Once plotted, draw a straight line through all the points and extend it in both directions as far as the context allows.
Two features of the graph connect directly to the numbers you found in the table. First, the line crosses the vertical axis at y=5y = 5. This crossing point is called the vertical intercept (also written as the yy-intercept). It matches the initial value from the table. Second, for every 1 unit you move to the right along the horizontal axis, the line rises 12 units. This steepness is called the slope, and it matches the rate of change from the table.
The slope tells you the direction of the line as well as its steepness. A positive slope means the line goes up from left to right (the student earns more as they work more). A negative slope would mean the line goes down (the quantity decreases). A slope of zero would produce a perfectly horizontal line (no change in yy at all).
slope=riserun=ΔyΔx\text{slope} = \frac{\text{rise}}{\text{run}} = \frac{\Delta y}{\Delta x}
  • Each row of the table becomes one plotted point (x,y)(x, y).
  • The vertical intercept on the graph equals the initial value from the table.
  • The slope on the graph equals the rate of change from the table.
  • A positive slope rises left to right; a negative slope falls left to right.

The Equation Representation

An equation is a compact, precise way to describe the relation for every possible value of xx, not just the ones listed in a table. For a linear relation, the equation has the form y=mx+by = mx + b, where mm is the slope (rate of change) and bb is the vertical intercept (initial value). This is called the slope-intercept form of a linear equation.
Using the values from the yard-work situation: the rate of change is 1212 and the initial value is 55. Substituting gives y=12x+5y = 12x + 5. You can verify this equation using the table: when x=3x = 3, the equation gives y=12(3)+5=36+5=41y = 12(3) + 5 = 36 + 5 = 41, which matches the table value.
Reading an equation works the same way in reverse. If someone hands you the equation y=−3x+20y = -3x + 20, you immediately know the slope is −3-3 (the yy-value decreases by 3 each time xx increases by 1) and the vertical intercept is 2020 (the line crosses the yy-axis at the point (0,20)(0, 20)). You can then build a table by substituting xx-values, and you can sketch the graph by plotting the intercept and counting the slope.
y=mx+by = mx + b
  • The equation y=mx+by = mx + b represents every linear relation.
  • mm is the slope, equal to the rate of change.
  • bb is the vertical intercept, equal to the initial value.
  • Substitute any xx-value into the equation to find the matching yy-value without a table.

Choosing the Most Useful Representation

All three representations — table, graph, and equation — show the same relation. The best choice depends on what question you are trying to answer. A table is easiest when you need exact values for a small number of specific inputs, such as checking pay for exactly 3 hours. A graph is best when you want a visual overview, for example to see when two relations intersect or to spot trends at a glance. An equation is most powerful when you need to calculate outputs for many inputs quickly, or when xx can be any number, not just whole numbers.
Being able to move between representations is the real skill. If you are given only a graph, you can read the vertical intercept and calculate the slope from two clear points, then write the equation. If you are given only an equation, you can substitute values to build a table and then plot the graph. If you are given only a table, you can calculate the rate of change and read the initial value to write the equation, and then graph it.
Practise translating in every direction: table → graph, table → equation, equation → table, equation → graph, graph → table, graph → equation. Each direction tests a slightly different understanding, but they all rest on the same two key numbers: slope and vertical intercept.
y=mx+b(m=slope,  b=vertical intercept)y = mx + b \quad (m = \text{slope},\; b = \text{vertical intercept})
  • Use a table for exact values at specific inputs.
  • Use a graph for visual trends and comparisons.
  • Use an equation for quick calculation at any input value.
  • All three representations contain the same slope and vertical intercept.

Yard-Work Pay: Table of Values

Hours worked (xx)Total pay in dollars (yy)Check: rate of change
05— (starting point)
11717−5=1217 - 5 = 12 ✓
22929−17=1229 - 17 = 12 ✓
34141−29=1241 - 29 = 12 ✓
45353−41=1253 - 41 = 12 ✓

Three Representations at a Glance

RepresentationWhere to find the slope (mm)Where to find the vertical intercept (bb)
Table of valuesConstant difference in yy ÷ step in xxyy-value in the row where x=0x = 0
GraphRise ÷ run between any two points on the linePoint where the line crosses the yy-axis
Equation y=mx+by = mx + bCoefficient of xx (the number multiplied by xx)Constant term added at the end

Worked example

Moving Between All Three Representations

A phone plan charges a flat monthly fee of CAD 20 plus CAD 0.05 for each text message sent. Let xx represent the number of text messages sent in a month and yy represent the total monthly cost in dollars. (a) Build a table of values for x=0,20,40,60,80x = 0, 20, 40, 60, 80. (b) Write an equation for this relation. (c) Identify the slope and vertical intercept, and explain what each means in this context. (d) Use the equation to find the cost when 150 messages are sent.
  1. Step 1 — Identify the rate of change and initial value
    The flat fee is CAD 20. This is paid regardless of how many texts are sent, so it is the initial value: when x=0x = 0, y=20y = 20. Each text costs CAD 0.05, so each time xx increases by 1, yy increases by 0.05. The rate of change is 0.05.
    initial value = 20, rate of change = 0.05
  2. Step 2 — Build the table of values
    Substitute each given xx-value into the pattern: multiply the number of texts by 0.05 and add 20. For example, when x=40x = 40: 0.05×40=2.000.05 \times 40 = 2.00, then 2.00+20=22.002.00 + 20 = 22.00.
    x=0⇒y=20.00,x=20⇒y=21.00,x=40⇒y=22.00,x=60⇒y=23.00,x=80⇒y=24.00x = 0 \Rightarrow y = 20.00, \quad x = 20 \Rightarrow y = 21.00, \quad x = 40 \Rightarrow y = 22.00, \quad x = 60 \Rightarrow y = 23.00, \quad x = 80 \Rightarrow y = 24.00
  3. Step 3 — Verify the table is linear
    Check that yy increases by the same amount for each equal step in xx. Here, each increase of 20 in xx produces an increase of 1.00 in yy. The rate of change per text is 1.0020=0.05\frac{1.00}{20} = 0.05. Constant — confirmed linear.
    ΔyΔx=1.0020=0.05\frac{\Delta y}{\Delta x} = \frac{1.00}{20} = 0.05
  4. Step 4 — Write the equation
    Place the slope m=0.05m = 0.05 and the vertical intercept b=20b = 20 into the form y=mx+by = mx + b.
    y=0.05x+20y = 0.05x + 20
  5. Step 5 — Interpret slope and vertical intercept in context
    The slope 0.050.05 means the monthly cost increases by CAD 0.05 for every additional text message. The vertical intercept 2020 means the cost is CAD 20.00 even when zero texts are sent — this is the flat monthly fee.
    m = 0.05 (CAD per text), b = 20 (CAD flat fee)
  6. Step 6 — Use the equation to find cost at 150 messages
    Substitute x=150x = 150 into the equation and evaluate. Multiply first, then add.
    y=0.05(150)+20=7.50+20=27.50y = 0.05(150) + 20 = 7.50 + 20 = 27.50
Answer: The equation is y=0.05x+20y = 0.05x + 20. The slope is 0.050.05 (cost per text) and the vertical intercept is 2020 (flat fee). Sending 150 messages costs CAD 27.50.
Check: Use the table pattern to verify x=80x = 80 gives y=24.00y = 24.00: 0.05×80+20=4.00+20=24.000.05 \times 80 + 20 = 4.00 + 20 = 24.00. ✓ Use two table rows to re-calculate the slope: 24.00−20.0080−0=4.0080=0.05\frac{24.00 - 20.00}{80 - 0} = \frac{4.00}{80} = 0.05. ✓

Common mistakes and how to avoid them

Confusing the slope with the vertical intercept in the equation y=mx+by = mx + b. Students sometimes read the first number as bb and the constant as mm.
Correction: Remember: mm is always the number multiplied by xx, and bb is always the stand-alone number added at the end. In y=3x+7y = 3x + 7, the slope is 33 and the vertical intercept is 77.
Calculating the rate of change by dividing the change in xx by the change in yy — getting the fraction upside down.
Correction: Rate of change = change in yy ÷ change in xx. Always put the yy-change on top: ΔyΔx\frac{\Delta y}{\Delta x}.
Assuming a table is linear after checking only one pair of consecutive differences.
Correction: Check every consecutive pair of yy-differences. All gaps between yy-values must be equal for the same step size in xx. One matching pair is not enough.
Plotting points as (y,x)(y, x) instead of (x,y)(x, y) on the graph.
Correction: Always write and plot ordered pairs as (x,y)(x, y): the xx-value goes first (horizontal axis) and the yy-value goes second (vertical axis).
Forgetting to include the vertical intercept when writing an equation from a table or graph, writing y=mxy = mx instead of y=mx+by = mx + b.
Correction: Always check the value of yy when x=0x = 0. If it is not zero, you must include bb in the equation. Leaving it out shifts the entire line to the wrong position.

Lesson summary

  • A linear relation has a constant rate of change, which means its graph is always a straight line.
  • The same linear relation can be shown as a table of values, a graph, or an equation — all three carry identical information.
  • The slope (mm) equals the constant rate of change; it appears as equal differences in yy in the table, as the steepness of the line in the graph, and as the coefficient of xx in the equation.
  • The vertical intercept (bb) is the initial value when x=0x = 0; it appears in the table row where x=0x = 0, as the point where the line crosses the yy-axis, and as the constant term in the equation y=mx+by = mx + b.
  • To move between representations, identify mm and bb first — they are the bridge connecting all three forms.
  • Choose the representation that best fits the question: tables for specific values, graphs for visual trends, equations for calculating any output quickly.

Check your understanding

Question 1

A table of values shows these pairs: (0,8)(0, 8), (1,11)(1, 11), (2,14)(2, 14), (3,17)(3, 17). Which equation matches this table?
  1. y=8x+3y = 8x + 3
  2. y=3x+8y = 3x + 8
  3. y=3x+11y = 3x + 11
  4. y=11x+3y = 11x + 3
Show answer and explanation
y=3x+8y = 3x + 8
The yy-value when x=0x = 0 is 88, so the vertical intercept is b=8b = 8. Each time xx increases by 1, yy increases by 3, so the slope is m=3m = 3. Substituting into y=mx+by = mx + b gives y=3x+8y = 3x + 8.

Question 2

A straight-line graph crosses the vertical axis at y=−4y = -4 and rises 5 units for every 1 unit moved to the right. What is the equation of this line?
  1. y=−4x+5y = -4x + 5
  2. y=5x−4y = 5x - 4
  3. y=−4x−5y = -4x - 5
  4. y=4x+5y = 4x + 5
Show answer and explanation
y=5x−4y = 5x - 4
The vertical intercept is −4-4, so b=−4b = -4. The slope is 51=5\frac{5}{1} = 5, so m=5m = 5. The equation is y=5x+(−4)y = 5x + (-4), written as y=5x−4y = 5x - 4.

Question 3

The equation y=−2x+10y = -2x + 10 is given. Which statement correctly describes this relation?
  1. The slope is 1010 and the line rises from left to right.
  2. The slope is −2-2 and the line rises from left to right.
  3. The slope is −2-2 and the line falls from left to right.
  4. The slope is 22 and the vertical intercept is −10-10.
Show answer and explanation
The slope is −2-2 and the line falls from left to right.
In y=mx+by = mx + b, m=−2m = -2 and b=10b = 10. A negative slope means yy decreases as xx increases, so the line falls from left to right. The vertical intercept is 1010, not −10-10.

Question 4

You are given the equation y=4x−3y = 4x - 3. Which value of yy belongs in the table when x=5x = 5?
  1. y=7y = 7
  2. y=17y = 17
  3. y=23y = 23
  4. y=2y = 2
Show answer and explanation
y=17y = 17
Substitute x=5x = 5: y=4(5)−3=20−3=17y = 4(5) - 3 = 20 - 3 = 17. The correct value is y=17y = 17.

Key terms

Linear relation
A relationship between two variables where the rate of change is constant, producing a straight-line graph.
Table of values
An organised list of input (xx) and output (yy) pairs that describes a relation.
Rate of change
How much the output (yy) changes for each 1-unit increase in the input (xx). Calculated as change in yy divided by change in xx.
Initial value
The value of yy when x=0x = 0. It is where the relation starts before any change in xx occurs.
Slope
The steepness and direction of a line on a graph, equal to rise divided by run, or change in yy divided by change in xx.
Vertical intercept
The point where a line crosses the vertical (yy) axis on a graph. It occurs at x=0x = 0 and equals the initial value.
Slope-intercept form
The equation form y=mx+by = mx + b, where mm is the slope and bb is the vertical intercept.
Ordered pair
A pair of numbers written as (x,y)(x, y) that gives the location of one point on a graph.

Continue through MTH1W

View the complete MTH1W Ontario Grade 9 Mathematics curriculum and lessons

Use the free MTH1W test and exam review guide

About this lesson and its review

Published by DoAssignment. This reviewed lesson follows Ontario Grade 9 Mathematics (MTH1W), expectation C3.2. It is a study resource, not an official curriculum publication.

Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question