Skip to content
AI-grafen
CBuilderMathematics· about 30 min· fundamentals that rarely change· verified 2026-09-20· EN

Linear relationships in tables

Be able to see a linear relationship in a table and plot it as points.

Prerequisites

Everyday explanation

A table often hides a pattern. The way to find it is to look at the difference between the rows.

Hours (x)Pay (y)Difference
00
1130+130
2260+130
3390+130
4520+130

The same difference every step → a linear relationship. Here proportional too, since it starts at 0.

Another table:

Months (x)Saved (y)Difference
0500
1800+300
21 100+300
31 400+300

Also linear (+300 every time), but it starts at 500. So y = 300x + 500.

Two numbers describe the whole relationship:

  • The starting value — what y is when x is 0.
  • The change per step — how much y increases when x increases by 1.

Intuition

The form is always the same:

y=kx+my = kx + m

LetterMeansWhere in the table
kthe change per stepthe difference between the rows
mthe starting valuethe y value where x = 0

If the table does not start at x = 0:

xy
217
425
633

The difference is +8 per two steps in x, so k = 8/2 = 4. And m: go back from x = 2 to x = 0, two steps of 4 → 17 − 2·4 = 9. So y = 4x + 9.

A check: 4·6 + 9 = 33. ✓

Not linear — what that looks like:

xyDifference
12
24+2
38+4
416+8

The difference is not constant — it doubles. That is exponential (y = 2ˣ), not linear.

The rule of thumb: a constant difference → linear. A constant quotient → exponential.

In a coordinate system linear relationships become points on a straight line. That is the fastest way to see which kind you have: plot four points and look.

Interactive

Find k and m in four tables. Write the answer down before you read the key.

A

x0123
y7121722

B

x1234
y100908070

C

x0246
y3111927

D

x1234
y392781

The key:

  • A: k = 5, m = 7 → y = 5x + 7
  • B: k = −10, m = 110 → y = −10x + 110 (a negative slope, y decreases)
  • C: the difference is +8 per 2 steps → k = 4, m = 3 → y = 4x + 3
  • D: not linear — the quotient is 3 every time, so y = 3ˣ

Plot all four in a coordinate system. A, B and C become straight lines. D bends upwards ever more steeply — and that is clearer in the graph than in the table.

The next step: in real measurements the points never lie exactly on a line. Then it is about finding the line that fits best — and that is precisely what the next node and all of linear regression are about.

Mastery means

  • Sees a linear relationship in a table
  • Computes the change per step
  • Plots the points in a coordinate system

Sign in to do the exercises and build your mastery up.

Sources

All the sources and licences