A relationship is linear if the rate of change between every consecutive pair of points in the table stays the same. You test that by subtracting each y-value from the next, subtracting each matching x-value from the next, and dividing. If every y-difference is identical when the x-differences are equal, the table is linear. One unequal step means nonlinear.
That single rule handles every table your algebra teacher, standardized test, or spreadsheet will throw at you. The rest of this guide is about applying it cleanly: how to pick the interval, what to do when x jumps by uneven amounts, how to spot the telltale ratios that signal a different function family altogether, and which mistakes cost students the most points.
The word "linear" here means the relationship graphs as a straight line, matching the form y = mx + b. Nonlinear covers everything else you'll meet in a typical course: quadratics, exponentials, absolute values, and inverse relationships.
What a Linear Table Must Prove Before You Call It Linear
The proof lives in one column. For a table to be linear, the differences between consecutive y-values have to be constant when the x-values step by equal amounts β and both of those conditions matter.
Take the classic case:
| x | y |
|---|---|
| 1 | 5 |
| 2 | 8 |
| 3 | 11 |
| 4 | 14 |
Subtract down the y column: 8 β 5 = 3, 11 β 8 = 3, 14 β 11 = 3. Every step is 3, so the slope is 3. The equation is y = 3x + 2, because plugging x = 1 gives 3(1) + 2 = 5. You can verify any point in the table the same way.
Now watch what happens when the x-column isn't cooperating. Suppose the table reads x = 1, 2, 4, 7 with y = 5, 8, 14, 23. The y-differences are 3, 6, 9 β not constant, which tricks people into declaring nonlinear. But the x-differences are 1, 2, 3. Divide: 3 Γ· 1 = 3, 6 Γ· 2 = 3, 9 Γ· 3 = 3. The rate holds at 3, so the relationship is linear. The lesson is blunt: check the x-steps before you trust the y-steps.
Some tables hand you the answer in reverse. If x moves by 2 each time and y moves by 7 each time, that's a slope of 3.5 per unit of x, and it stays linear no matter how large the x-interval gets. The slope belongs to the relationship, not to the table's spacing.
One failure mode catches almost everyone at some point: a table with only two rows. Two points always define a line, so a two-row table is linear by default β which tells you nothing. Three rows is the honest minimum for testing, and four gives you a spare comparison if one difference looks off.
The Constant-Rate Test in Six Steps, With a Worked Failure Case
Here's the procedure in the order you should actually perform it. Skipping the first step is how most errors start.
1: Scan the x-column and note each gap: is it +1 every time, +3 every time, or irregular? 2: Write the y-values in a separate row and subtract each from the one below it, left to right. 3: Write those differences down. Do not do them in your head β a single mental slip invalidates the whole test. 4: If the x-gaps are equal, compare the y-differences. All identical means linear; any variation means nonlinear. 5: If the x-gaps are unequal, divide each y-difference by its matching x-gap, then compare the quotients. 6: Confirm by finding the equation β slope from your quotient, intercept by substituting one point β and check it against a row you haven't used yet.
Try the failure case: x = 0, 1, 2, 3 with y = 1, 4, 9, 16. The y-differences are 3, 5, 7. Unequal, so nonlinear. Those differences themselves grow by 2 each step, which is the fingerprint of a quadratic β here y = xΒ². A student who only eyeballs the table may guess "linear because it goes up steadily," but the changing step size says otherwise.
Run the same six steps on x = 0, 1, 2, 3 with y = 2, 6, 18, 54 and you get differences of 4, 12, 36. Not only unequal, but each difference triples. That pattern belongs to an exponential with base 3, and you'll learn to name it on sight in a later section.
Reading Unequal X-Intervals Without Misreading Nonlinearity
Tables generated by real experiments rarely space their inputs evenly. A science lab might record temperature at 0, 5, 12, and 20 minutes; a business dataset might log revenue at irregular quarter-ends. The constant-rate test still works, but only if you divide before you compare.
Work this table through:
| x | y | y-difference | x-difference | quotient |
|---|---|---|---|---|
| 2 | 10 | β | β | β |
| 5 | 19 | 9 | 3 | 3 |
| 9 | 31 | 12 | 4 | 3 |
| 14 | 46 | 15 | 5 | 3 |
Uneven jumps in both columns, identical quotient of 3 every time β linear, with slope 3 and equation y = 3x + 4. Now compare a table that looks superficially similar: x = 2, 5, 9, 14 with y = 10, 19, 32, 46. The y-differences are 9, 13, 14, and the quotients are 3, 3.25, 2.8. That scatter rules out a straight line.
Watch for a subtler trap: proportional-looking tables. If x = 1, 2, 3, 4 pairs with y = 5, 10, 15, 20, the relationship is linear (slope 5, intercept 0) β but students sometimes call it "proportional, so not linear." Proportional is a special case of linear where the line passes through the origin. It's still a straight line, still linear.
Rounding introduces one more failure mode. If the table was produced by a calculator that rounded to two decimals, your quotients may read 2.99, 3.01, 3.00. Treat differences within about one percent of each other as constant, and say so when you explain your reasoning β graders accept that, and it's honest about the data.
Three Tables That Look Linear but Aren't, and How to Catch Them
Nonlinear tables often imitate linear ones for the first few rows. The fix is to compute differences all the way to the bottom of the table, never just the first pair.
Table A: x = 1, 2, 3, 4; y = 3, 6, 12, 24. First difference is 3, matching a linear slope, so a careless reader stops there. Continue: 6, 12, 24 β the differences double. This is exponential, y = 3Β·2^(xβ1). One check past the first row kills the linear claim.
Table B: x = β2, β1, 0, 1, 2; y = 4, 1, 0, 1, 4. Differences run β3, β1, 1, 3. Symmetric and changing, this is y = xΒ². Absolute-value tables show the same V-shape flip in the differences, and inverse tables (y = 6/x giving 6, 3, 2, 1.5) shrink toward zero without ever reaching it.
Table C is the sneaky one: x = 0, 2, 4, 6; y = 1, 5, 13, 29. Because x steps by 2, the y-differences are 4, 8, 16 β and someone dividing forgets and compares raw differences, calling it linear off a bad first guess. Divide by the x-gap of 2 and you get 2, 4, 8: still changing, still nonlinear, and actually exponential with base 2 shifted upward.
The diagnostic habit that separates confident students from guessing ones: always compute at least three differences, and always record the x-gap beside each one. Two columns of arithmetic prevent an entire category of error.
Matching Your Difference Pattern to the Function Family
Once you've computed differences, the pattern itself names the function. This is where table-reading becomes genuinely useful, because it lets you predict the equation before you've done any algebra.
| Difference pattern | Function family | Example table (x from 0) | Equation |
|---|---|---|---|
| Constant, e.g. 4, 4, 4 | Linear | y = 2, 6, 10, 14 | y = 4x + 2 |
| Differences grow by a constant second step (3, 5, 7) | Quadratic | y = 1, 4, 9, 16 | y = xΒ² |
| Differences multiply by a constant factor (4, 12, 36) | Exponential | y = 2, 6, 18, 54 | y = 2Β·3^x |
| Differences alternate sign with equal size | Absolute value | y = 4, 1, 0, 1, 4 | y = xΒ² context; for abs, y = 3, 1, 1, 3 |
| y-values themselves have constant ratio (2, 4, 8, 16) | Exponential | y = 2, 4, 8, 16 | y = 2^x |
| y-values have constant product with x (6, 3, 2, 1.5) | Inverse | x = 1, 2, 3, 4 | y = 6/x |
The exponential row in that table deserves a note, because it's the one students miss most. When y-values have a constant ratio β each y is the same multiple of the one before β the relationship is exponential even if the differences look like they're doing something linear-ish early on. Checking ratios alongside differences costs ten seconds and catches this every time.
Quadratics have their own shortcut worth memorizing: the second differences are constant. For y = 1, 4, 9, 16 the first differences are 3, 5, 7 and the second differences are 2, 2. Constant second differences mean constant acceleration, which means a parabola.
Why Constant Differences and Constant Ratios Mean Different Things
The core distinction is worth pausing on, because it explains why the test works at all. A linear relationship adds the same amount for every unit of x. An exponential relationship multiplies by the same factor for every unit of x. Addition versus multiplication β that's the whole story.
Run both on the same starting values to see it. Start at y = 3 with x = 0. Linear growth at +4 per step gives 3, 7, 11, 15. Exponential growth at Γ2 per step gives 3, 6, 12, 24. At x = 1 the values are close (7 versus 6), which is exactly why early rows mislead. By x = 3 they've diverged to 15 versus 24, and the gap widens forever after.
This has a practical consequence for reading data tables in science and finance. Population counts, compound interest, and viral spread produce constant ratios; distance at constant speed and flat-rate billing produce constant differences. When someone hands you a table and asks which model fits, check whether the y-column is multiplying or adding.
Algebraically, the linear form is y = mx + b and the exponential form is y = aΒ·b^x, and the two differ in what stays constant as x advances. The table is just the equation made visible, one row at a time.
Applying the Test to Real Data Tables From Labs and Spreadsheets
Textbook tables are tidy; real ones are not. A chemistry lab recording absorbance at varying concentrations, or a spreadsheet tracking monthly costs against output, will show small wobbles that pure arithmetic never produces.
The judgment call is the tolerance band. If your expected slope is 3 and one quotient comes back 3.02 while the rest sit at 3.00, you have a linear relationship with measurement noise. If one quotient is 3 and the next is 4.7, you don't. A rough working rule: variation under a few percent is noise; variation that grows or shrinks systematically is structure. Systematic drift is the key signal β noise scatters, structure trends.
For anything beyond four or five rows, stop doing this by hand and let the spreadsheet do it. In Excel or Google Sheets, put x in column A and y in column B, type =B3-B2 in C3 and drag down for differences, add =C3/(A3-A2) in column D for rates, then wrap the rate column in =STDEV(D3:D9) to get the spread. A standard deviation near zero against a mean slope confirms linearity; a large one relative to the slope means look elsewhere. A scatter plot with a trendline and the RΒ² value displayed gives you the same verdict visually in under a minute.
Extrapolation is the boundary to respect. A table can only testify about the interval it covers. A relationship that looks perfectly linear from x = 1 to x = 5 may curve sharply at x = 50, and no arithmetic on the table can rule that out. Say "linear over the interval shown" when you report a conclusion, because that's precisely what you've demonstrated.
Rounding is the other real-data snag. If y-values were recorded to the nearest whole number, differences that should be constant may read 4, 4, 5, 4. That single 5 is a rounding artifact, not evidence of curvature β and you can confirm by checking whether the odd value is adjacent to a .5 boundary in the original data.
The Five Mistakes That Flip the Answer
Most wrong answers on this topic come from five repeat offenders, and all five are fixable in a single pass.
Mistake one: checking only one pair of points. A single difference says nothing about constancy. Mistake two: subtracting x-values but comparing y-values, or the reverse β the pairing of difference to gap has to be consistent. Mistake three: declaring two-row tables linear with confidence, when two points fit any number of curves. Mistake four: misreading a proportional table (constant ratio of y to x, passing through the origin) as exponential, when it's linear with intercept zero. Mistake five: miscounting in a negative-number table β going from y = β3 to y = 1 is a difference of +4, not β2.
That last one deserves a caution. Negative values and decimals are where hand-computed differences fail most often. Write each difference under the pair it came from, and recheck the sign of every negative subtraction before comparing.
Here's a worked flip to test yourself: x = 0, 3, 6, 9 with y = 7, 7, 7, 7. The y-differences are 0, 0, 0. Constant β so linear, with slope 0, giving the horizontal line y = 7. Students who expect "linear means slanted" call it nonlinear. A zero slope is a slope.
The most common structural error is a premature verdict on a table that curves late. If the first three differences are constant and the fourth breaks the pattern, the table is nonlinear. Trust the full column, not the comfortable early rows.
Checking Your Answer Backwards: Building the Equation and Verifying It
The strongest confirmation is reconstruction. Once you have a slope from constant differences, write the equation and test it against every row β a table that passes this check is linear, and you'll have the formula to prove it.
Suppose the table gives x = 1, 2, 3, 4 with y = 9, 13, 17, 21. Constant difference of 4, so m = 4. Substitute x = 1: 9 = 4(1) + b, so b = 5. The equation is y = 4x + 5. Test x = 4: 4(4) + 5 = 21. It matches, and the relationship is confirmed linear across the whole table.
When the equation fails a row, you've caught a nonlinear table mid-reconstruction, and the failing row tells you where the curve begins. That's genuinely useful information, not just a correction.
For an exponential that snuck past you, the reverse check works through ratios instead: divide consecutive y-values, and if the quotient is stable at, say, 1.5, the model is y = a(1.5)^x with a found by substituting x = 0.
In a spreadsheet, the equivalent check is adding a computed column that applies your proposed formula and subtracting it from the actual y. All zeros across the column β confirmed. Any nonzero entry flags the exact row where the model breaks.
FAQ
Can a table be linear if the x-values aren't evenly spaced?
Yes, provided the rate y-change divided by x-change stays constant across every interval. Even spacing is a convenience, not a requirement β divide first, then compare. A table with x-gaps of 1, 2, and 3 and matching y-gaps of 4, 8, and 12 is linear with slope 4, even though neither column steps evenly.
Is a relationship with a constant ratio always exponential?
Yes, when the ratio is between consecutive y-values as x advances by equal steps β that's the definition of exponential growth or decay. Be careful to distinguish it from a constant ratio of y to x, which describes a proportional linear relationship passing through the origin. Same word, different column comparison.
What if my table has only two rows?
You cannot determine linearity from two points, because infinitely many curves pass through any pair of points. Record the conclusion as "consistent with linear, undetermined" and ask for a third row. Any test claiming a verdict from two points is guessing, however confident it sounds.
How do I tell the difference between quadratic and exponential from differences alone?
Check the second differences. For a quadratic, first differences change but second differences are constant β y = 1, 4, 9, 16 gives first differences 3, 5, 7 and second differences 2, 2. For an exponential, first differences multiply by a constant factor and second differences do not settle.
Does a linear table have to start at x = 0?
No. The test only uses differences, so any starting x works. If you want the y-intercept for the equation, either extend the pattern back to x = 0 or substitute a known point into y = mx + b and solve for b. Starting at x = 0 makes the arithmetic easier, not the math different.
What does a constant difference of zero mean?
A slope of zero, and a horizontal line β y equals whatever the constant value is. It's still linear. Zero differences are a perfectly valid linear result and one of the most commonly miscalled answers on quizzes.
How many rows do I need before I can be confident?
Three rows is the minimum defensible check and four is comfortable, since four gives you three independent difference comparisons and one spare if a value looks like a transcription error. For data past five rows, compute in a spreadsheet rather than by hand.
If the table is linear, can I predict values outside the table?
Only with a stated risk. The table proves linearity over the interval it shows; nothing in the arithmetic guarantees the pattern continues beyond that. Predicting inside the table's range is interpolation and is safe; predicting beyond it is extrapolation and needs a reason to believe the model still holds.