Algebra 1 · Grades 8, 9
Linear vs Nonlinear Functions: How to Tell Them Apart
Quick answer
A function is linear when its rate of change is constant, which makes its graph a straight line. Test an equation by checking every variable is to the first power with none in a denominator, test a table by checking equal input steps give equal output steps, and test a graph by whether it is straight.
What you'll learn
- Decide whether a relationship is linear from an equation, table or graph
- Explain why constant rate of change and straightness are the same property
- Recognise common nonlinear shapes
The definition that matters
A function is linear when its rate of change is constant: moving the input by a fixed step always changes the output by the same amount.
Everything else follows from that one property, including the straight graph.
Why constant rate and a straight line are the same thing
“Straight” and “constant rate of change” sound like two separate facts. They are one fact seen from two angles.
Steepness is rate of change. A graph whose steepness never varies is drawn without ever turning — and a path that never turns is a straight line. A graph that bends is one whose steepness changed, which is a rate of change that varied.
So the two tests can never disagree. If a table shows a constant rate, the graph will be straight. If a graph curves, some interval will show a different rate.
Four tests
Use whichever matches the information you have.
| Given | Test |
|---|---|
| an equation | every variable to the first power, none in a denominator, none under a root, no two variables multiplied |
| a table | equal steps in produce equal steps in |
| a graph | it is a straight line |
| a rate of change | it is the same on every interval |
The equation test in detail
| Linear | Nonlinear | Why not |
|---|---|---|
| squared | ||
| variable in a denominator | ||
| two variables multiplied | ||
| variable under a root | ||
| variable in the exponent |
A fraction is fine as a coefficient. is linear; is not. The question is always where the variable sits.
Worked examples
Common mistakes
Practice problems
-
Is linear?
Hint
Check the power of and where it sits.
Answer
Yes.
Full solution
appears to the first power, in the numerator, and is not multiplied by another variable. The graph is a line of slope .
-
Is linear?
Answer
No.
Full solution
The cube means the rate of change varies with , so the graph curves.
-
Is linear?
Answer
Yes.
Full solution
The variable is in the numerator; dividing by is a coefficient of . The function is linear with slope .
-
Is this table linear?
Answer
Yes.
Full solution
The -steps are all and the -steps are all , so the rate is a constant . The function is .
-
Is this table linear?
Hint
Look at whether the outputs are being added to or multiplied.
Answer
No.
Full solution
The -steps are , and , which grow rather than repeat. Each output is double the previous one, so this is exponential rather than linear.
-
Is linear?
Answer
Yes.
Full solution
Both variables are to the first power and neither is in a denominator. Rearranged it is .
-
Is this table linear?
Hint
The -steps are uneven, so compute rates rather than comparing -steps.
Answer
Yes.
Full solution
First interval: .
Second interval: .
Both rates are , so the relationship is linear: . The -steps of and looked unequal only because the -steps were.
-
A bacteria culture doubles every hour, starting at cells. A second culture gains cells every hour, also starting at . Write a description of each and say which is linear.
Hint
Build a small table for each and compare the steps.
Answer
The second is linear; the doubling one is not.
Full solution
Doubling: . The steps are , , — growing, so the rate is not constant. Nonlinear.
Adding: . Every step is , so the rate is a constant cells per hour, giving . Linear.
Both start at and both reach after one hour, so a single early reading cannot tell them apart. You need at least three points to see whether the steps stay equal.
Frequently asked questions
Is a horizontal line a linear function?
Yes. Its rate of change is zero, and zero is a perfectly good constant. The graph is straight, which is the test.
Is a vertical line a linear function?
Its graph is straight, but it is not a function at all, because a single input has infinitely many outputs. So it fails on a different requirement.
Does a fraction in the equation make it nonlinear?
Only if a variable is in the denominator. A fraction as a coefficient, like one half x, is fine and keeps the function linear. It is 1 over x that breaks it.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.8.F.A.3FunctionsInterpret the equation y = mx + b as defining a linear function, whose graph is a straight line; give examples of functions that are not linear.
- CCSS.MATH.CONTENT.HSF.IF.B.6Interpreting FunctionsCalculate and interpret the average rate of change of a function (presented symbolically or as a table) over a specified interval. Estimate the rate of change from a graph.