Linear vs. Nonlinear Functions
A linear function grows by the same amount every step — its rate of change is constant, and its graph is a straight line. A nonlinear function's rate of change changes, so its graph bends. Deciding which one you have is a single check, but the check looks different depending on whether you are handed a table, an equation, or a graph.
Get comfortable with all three versions of the check, because questions rotate through them: tables that skip -values, equations with hidden exponents, and graphs that curve only slightly.
In a table: equal changes
If the -values go up by each row, look at the changes in . All equal — linear. Not all equal — nonlinear.
In the table below, climbs by each row and climbs by the same every time. That constant change is what makes the function linear.
If the -values skip around, do not compare raw -changes. Divide each change in by the matching change in — the rate between two rows is — and check whether that ratio stays constant.
In an equation: does it fit y = mx + b?
A function is linear exactly when its equation can be rearranged into . Watch for anything that breaks that form: an exponent on (as in ), an in a denominator (as in ), or an in an exponent (as in ).
The written form can hide the problem. has no visible exponent, but distributing gives — nonlinear. Simplify or rearrange before you judge.
On a graph: straight or bent
A constant rate of change draws a straight line, so on a graph the answer is visible at a glance: a straight line at any tilt is linear, and any bend at all means nonlinear.
Below, the black line is linear — it climbs by the same amount over every step. The blue curve is nonlinear: it is nearly flat at the bottom and much steeper at the sides, so its rate of change is not constant. Be careful not to confuse increasing with linear — a graph can rise the whole time and still be a curve.
Worked examples
Example 1: a table with unit steps
The inputs have outputs . Is the function linear or nonlinear?
Answer: Linear
Example 2: a table that skips x-values
The inputs have outputs . Is the function linear or nonlinear?
Answer: Linear
Example 3: an equation with a hidden exponent
Is linear or nonlinear?
Answer: Nonlinear
Try one yourself
Common questions
If y increases every step, is the function linear?
Not necessarily. Linear means the changes are equal, not just positive. Outputs of increase every step, but the changes are — not constant — so that function is nonlinear.
Does a linear function have to pass through the origin?
No — that extra requirement describes a proportional relationship. never touches the origin but is still linear, because its rate of change is a constant .
Is a horizontal line linear?
Yes. fits with — the rate of change is constant (zero). A vertical line, on the other hand, is not a function at all.
What should I look for in an equation to spot nonlinear?
Anything that keeps it from fitting : an exponent on , an inside a denominator or under a root, or an up in an exponent. If none of those appear after simplifying, the equation is linear.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.