Which Equation Is Not a Linear Function? Here's How to Tell the Difference
You're staring at a math problem. There's an equation in front of you — something like y = 3x + 5, or maybe it's y = x², or y = 2ˣ. Your brain asks the obvious question: is this a linear function or not?
Here's the quick answer: any equation where the variable is raised to a power other than 1, where the variable appears in an exponent, where it's trapped inside a root, or where it's being multiplied by itself — that's not a linear function. Simple enough, right?
Quick note before moving on.
But knowing the short answer only gets you so far. What you really need is to understand why these equations behave differently and how to spot them quickly, even when they're disguised in different forms. That's what we're going to walk through.
What Is a Linear Function, Really?
A linear function creates a straight line when you graph it. That's the visual shorthand — straight line, no curves, no weird twists. But there's an algebraic definition that's more useful when you're looking at equations on paper.
Linear functions follow the form:
y = mx + b
That's it. The variable x only appears to the first power (just x, not x² or x³), it's not an exponent, it's not inside a square root, and nothing strange is happening to it. The m is the slope — how steep the line is — and b is the y-intercept — where it crosses the vertical axis.
Some examples of linear functions:
- y = 2x + 3
- y = -0.5x
- y = 4 (this is technically linear — it's y = 0x + 4, a horizontal line)
Now, an equation that isn't linear? That's anything that breaks these rules. The variable gets squared, cubed, put in a denominator, raised to a power, wrapped in a logarithm or trig function — any of those and you've got yourself a non-linear function Not complicated — just consistent..
The Key Characteristic: Constant Rate of Change
Here's what most people miss. Linear functions have a constant rate of change. That means if you increase x by 1, y always changes by the same amount, no matter where you are on the line. Consider this: with non-linear functions, that rate shifts depending on where you are. That's why the graphs curve — the relationship between x and y isn't steady.
Why Does It Matter Which Type You Have?
You're probably thinking: okay, fine, some equations make straight lines and some don't. Why should I care which is which?
Because everything changes when you move from linear to non-linear.
For one, your graphing strategy flips. Linear functions? Non-linear functions? Still, you need two points to draw the line. You need to plot multiple points to catch the curve, and if you don't plot enough, you'll miss important behavior.
But the bigger deal is prediction. Still, non-linear relationships? They can surprise you. Quadratic functions peak and come back down. Linear relationships are simple — extrapolate the line and you know what's coming. Exponential functions start slow and then explode upward. If you treat a non-linear situation as linear, your predictions will be wrong, sometimes dramatically Less friction, more output..
This shows up everywhere. In physics, projectile motion follows a quadratic path — not linear. Practically speaking, in finance, compound interest grows exponentially. In biology, population growth often follows logistic curves. The math you're learning right now shows up in the real world, and knowing which function type you're working with determines what tools you use to solve problems.
How to Identify Non-Linear Functions
Let's get into the actual identification. Here's how to look at any equation and tell whether it's linear or not Most people skip this — try not to..
Look for Powers Other Than 1
If x is squared, cubed, or raised to any power except 1, you're looking at a non-linear function. These are polynomial functions, and once the degree hits 2 or higher, the graph curves.
- y = x² — quadratic (non-linear)
- y = x³ — cubic (non-linear)
- y = 5x⁴ + 2x² — still non-linear
Even something like y = x² + x looks innocent with that linear x term, but that x² term ruins it. Still non-linear.
Look for Variables in Exponents
When the exponent itself contains a variable, you've got an exponential function. These grow (or shrink) way faster than linear functions.
- y = 2ˣ — exponential (non-linear)
- y = (1/2)ˣ — also exponential (non-linear)
- y = eˣ — the natural exponential (non-linear)
Notice: y = x² has a constant exponent (2), but y = 2ˣ has a variable exponent. That's the difference between a polynomial and an exponential.
Look for Variables Inside Radicals
When x lives under a square root, cube root, or any root, the function becomes non-linear. Square root functions especially create a distinctive curved shape that starts steep and flattens out.
- y = √x — non-linear
- y = √(x + 3) — non-linear
- y = ∛x — also non-linear
Look for Variables in Denominators
Rational functions — where x appears in the denominator — produce curves with asymptotes. They approach but never quite reach certain values.
- y = 1/x — non-linear
- y = (x + 1)/(x - 2) — non-linear
Look for Trig Functions, Logarithms, and Absolute Values
These all produce non-linear graphs:
- y = sin(x), y = cos(x), y = tan(x) — all non-linear
- y = log(x) or y = ln(x) — non-linear
- y = |x| — technically produces a V shape, not a straight line
The Quick Test: Plug in Two Points
If you're unsure, try this: pick two x-values that are equally spaced (like x = 1 and x = 3, or x = 0 and x = 5). Now find the difference in y. That said, if the difference is the same every time you increase x by that same amount, it's linear. Calculate the y-values. If the difference changes, it's non-linear.
That's really just checking for that constant rate of change we talked about earlier Simple, but easy to overlook..
Common Mistakes People Make
Mistake #1: Confusing "Degree 1" with "First Term Only"
Students sometimes see y = x² + 3x and think it's linear because there's an x term (not x²) sitting right there. But that x² makes the whole thing non-linear. Here's the thing — the highest power wins. Always It's one of those things that adds up..
Mistake #2: Forgetting That Constants Are Fine
y = 5 is linear. y = 3x + 7 is linear. The constants don't break anything — it's the variable's exponent that matters. Don't mistake a y-intercept for a problem Small thing, real impact. Simple as that..
Mistake #3: Missing the Hidden Power
What about y = √(x²)? In practice, simplify that and you get y = |x|, which is non-linear (it makes a V shape). Or what about y = (x²)/x? Simplify to y = x, which is linear — but only after you do the algebra. Some equations hide their true nature until you simplify.
Mistake #4: Assuming All Straight-Looking Graphs Are Linear
Here's a tricky one: y = |x| looks like two straight line segments. Which means it is made of straight lines, but it doesn't fit the y = mx + b form, so it's not a linear function. Same with step functions. Visual inspection helps, but algebraic confirmation is what you need.
Practical Tips for Working With These
-
Before you graph, identify first. Don't just start plugging in points. Spend 3 seconds asking "what kind of function is this?" It'll tell you how many points you need and what shape to expect.
-
Know your parent functions. The six main non-linear parent functions — quadratic, exponential, logarithmic, cubic, square root, and absolute value — each have a distinctive shape. If you recognize which parent function your equation resembles, you'll graph it correctly the first time.
-
Check the domain. Linear functions work for all real numbers. Non-linear functions often have restrictions. Square roots demand non-negative radicands. Logarithms need positive arguments. Denominators can't be zero. These restrictions often tell you what kind of function you have before you even graph it.
-
Use technology wisely. Graphing calculators and Desmos are great for visualizing, but don't let them do your thinking for you. Identify by hand first, then verify with technology.
-
Watch for transformations. Once you know the basic parent function, look for shifts, stretches, and reflections. y = (x - 2)² + 1 is still a quadratic — just shifted right 2 and up 1. The transformation doesn't change whether it's linear or non-linear Easy to understand, harder to ignore..
FAQ
What's the simplest way to tell if an equation is linear?
Check if the variable x is only to the first power, not squared, cubed, in an exponent, under a root, or in a denominator. If it's just multiplied by a coefficient and possibly added to a constant, it's linear It's one of those things that adds up..
Is y = 0 a linear function?
Yes. y = 0 can be written as y = 0x + 0, which fits the linear form. It's a horizontal line (the x-axis itself) That's the part that actually makes a difference..
Can an equation with two variables ever be linear?
Yes, as long as each variable appears only to the first power with no products between variables. Day to day, for example, 3x + 2y = 6 is linear. But xy = 12 is non-linear because the variables are multiplied together.
What's the difference between a linear equation and a linear function?
In algebra, they're often used interchangeably, but technically a linear equation can be any equation that forms a straight line (including vertical lines like x = 3). A linear function must be written as y = mx + b, where each x produces exactly one y. So x = 3 is a linear equation but not a function That's the part that actually makes a difference..
Does y = 1/x count as linear?
No. This is a rational function, and it produces a hyperbola with two curved branches. The graph definitely isn't a straight line.
The Bottom Line
Linear functions are the straight-line crowd — simple, predictable, following y = mx + b. But everything else, from quadratics to exponentials to trig functions, falls into the non-linear camp. The giveaway is almost always in the exponent: is the variable raised to something other than 1, or is it in a position where the graph has to curve?
Once you know what to look for, you can spot the difference in seconds. And that matters, because the type of function you're working with determines everything — how you graph it, how you solve it, and what kind of answers you'll get.