Allday Education

Slope from a Table

A table can hide a line just as easily as a graph can show one. If the yy-values change by a constant amount every time the xx-values change by a constant amount, the table is linear — and it has a slope you can find without ever drawing a picture.

The tool is the same slope formula you already know: m=y2y1x2x1\displaystyle m = \frac{y_2 - y_1}{x_2 - x_1}. Any two rows of the table are two points on the line. Pick a pair, subtract, divide, and you have the slope.

First, check that the table is linear

Look at how yy changes from row to row. If xx goes up by the same amount each time and yy also goes up (or down) by the same amount each time, the table is linear. If the yy-changes grow or shrink — like 1,4,9,161, 4, 9, 16, where the jumps are 33, then 55, then 77 — the table is not linear and it has no single slope.

This check matters because the slope formula only means something for a line. Always glance down the yy-column before you compute anything.

Pick two rows and use the formula

Each row of the table is a point (x,y)(x, y). Choose any two rows — neighbors are easiest — and plug them into m=y2y1x2x1\displaystyle m = \frac{y_2 - y_1}{x_2 - x_1}. Keep the rows in the same order on top and bottom.

Since the table is linear, every pair of rows gives the same slope. That makes a great self-check: compute the slope from a second pair, and if the answers disagree, you made an arithmetic slip somewhere.

Plotting the rows makes the idea concrete: because the table is linear, every (x,y)(x, y) row lands on the same straight line, and any two of those points give its slope.

-112345-112345xy

Watch the xx-steps

The most common mistake is reading only the yy-column. If yy goes up by 66 each row, the slope is not automatically 66 — it is 66 divided by however much xx changed. In a table where xx steps by 55, a yy-step of 66 means the slope is 65\dfrac{6}{5}. Always divide by the change in xx.

Worked examples

Example 1: an increasing table

A table shows the points (5,8)(5, 8), (10,14)(10, 14), (15,20)(15, 20), (20,26)(20, 26). Find the slope.

Check linearity: yy rises 66 every time xx rises 55
Use the rows (5,8)(5, 8) and (10,14)(10, 14)m=148105m = \dfrac{14 - 8}{10 - 5}
Simplifym=65m = \dfrac{6}{5}

Answer: m=65m = \dfrac{6}{5}

Example 2: a decreasing table

A table shows the points (1,20)(1, 20), (3,14)(3, 14), (5,8)(5, 8), (7,2)(7, 2). Find the slope.

Use the rows (1,20)(1, 20) and (3,14)(3, 14)m=142031m = \dfrac{14 - 20}{3 - 1}
Simplify the top and bottomm=62m = \dfrac{-6}{2}
Reducem=3m = -3
Check with another pair: 2875=62=3\dfrac{2 - 8}{7 - 5} = \dfrac{-6}{2} = -3

Answer: m=3m = -3

Example 3: a table that is not linear

A table shows the points (0,1)(0, 1), (1,4)(1, 4), (2,9)(2, 9), (3,16)(3, 16). Is it linear?

Find the yy-changes41=3,94=5,169=74 - 1 = 3,\quad 9 - 4 = 5,\quad 16 - 9 = 7
The xx-steps are constant, but the yy-changes are not
Different jumps mean no single slope

Answer: No — the table is not linear.

Try one yourself

xxyy
1133
3377
551111

Common questions

Do I have to use two rows that are next to each other?

No. Any two rows work, because every row is a point on the same line. Neighboring rows just keep the arithmetic small.

What if the xx-values in the table don't go up by 11?

Then dividing matters even more. The slope is the change in yy divided by the change in xx — if xx steps by 55, divide the yy-step by 55.

How can I tell from a table that the slope is negative?

As xx increases, watch yy. If yy decreases while xx increases, the slope is negative. If yy increases, it's positive.

What does it mean if the yy-values never change?

The table belongs to a horizontal line, and the slope is 00. The change in yy is zero between every pair of rows.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1