How to Identify Linear vs. Nonlinear Functions? (+FREE Worksheet!)

How to Identify Linear vs. Nonlinear Functions? (+FREE Worksheet!)

Not every relationship in mathematics follows a straight line. Some relationships curve, bend, or grow at an ever-increasing rate. Knowing how to tell a linear function from a nonlinear function is one of the most important skills in 8th-grade math. Once you can classify a function, you unlock the right set of tools, slope-intercept form for lines, or more advanced techniques for curves.

In this comprehensive guide, you will learn three fast tests (table test, equation test, and graph test), walk through detailed examples, and practice with problems and full solutions.

What Makes a Function Linear?

A function is linear if it produces a straight-line graph. Equivalently:

  • Its equation can be written in the form \(y = mx + b\), where \(m\) and \(b\) are constants and the variable \(x\) has an exponent of exactly 1.
  • In a table of values, equal changes in \(x\) always produce equal changes in \(y\) (constant rate of change).
  • Its graph is a straight line.

What Makes a Function Nonlinear?

A function is nonlinear if it does not satisfy the conditions above. Common nonlinear functions include:

  • Quadratic: \(y = ax^{2} + bx + c\) (parabola)
  • Exponential: \(y = a \cdot b^{x}\) (rapid growth or decay)
  • Absolute value: \(y = |x|\) (V-shape)
  • Square root: \(y = \sqrt{x}\) (curve that flattens out)

Three Tests to Classify a Function

Test 1, The Table Test (First Differences)

  1. Make sure the \(x\)-values increase by a constant amount (e.g., 1, 2, 3, 4 …).
  2. Calculate the first differences: \(\Delta y = y_{n+1} – y_{n}\) for each consecutive pair.
  3. If every first difference is the same, the function is linear. If they vary, it is nonlinear.

Test 2, The Equation Test

Look at the equation:

  • If \(x\) (or the input variable) appears only to the first power and is not inside a radical, absolute value, or exponent, the function is linear.
  • Any higher power (\(x^{2}\), \(x^{3}\)), product of variables (\(xy\)), root (\(\sqrt{x}\)), or base with a variable exponent (\(2^{x}\)) makes it nonlinear.

Test 3, The Graph Test

Plot the points or look at the given graph:

  • Straight line → linear.
  • Any curve (parabola, exponential curve, V-shape, S-curve) → nonlinear.

Worked Examples

Example 1, Table Test

\(x\)\(y\)\(\Delta y\)
13,
274
3114
4154

All first differences are \(4\). Linear. The equation is \(y = 4x – 1\).

Example 2, Table Test (Nonlinear)

\(x\)\(y\)\(\Delta y\)
11,
243
395
4167

First differences are \(3, 5, 7\), not constant. Nonlinear (this is \(y = x^{2}\)).

Example 3, Equation Test

Classify each equation:

  • \(y = 5x – 9\) → \(x\) to the first power only. Linear.
  • \(y = x^{2} + 3\) → \(x^{2}\) term. Nonlinear.
  • \(y = \frac{2}{x}\) → \(x\) in the denominator = \(2x^{-1}\). Nonlinear.
  • \(y = 3 \cdot 2^{x}\) → variable in the exponent. Nonlinear.

Example 4, Real-World Context

A ball is dropped from a rooftop. Its height (in feet) after \(t\) seconds is \(h = -16t^{2} + 64\). Is this linear or nonlinear?

The \(t^{2}\) term makes this nonlinear, the ball accelerates due to gravity, falling faster each second.

Video Lesson

Watch this video for additional examples and a step-by-step walkthrough:

Comparing Linear, Quadratic, and Exponential Growth

FeatureLinearQuadraticExponential
General form\(y = mx + b\)\(y = ax^{2}+bx+c\)\(y = a \cdot b^{x}\)
Graph shapeStraight lineParabola (U or ∩)J-curve
First differencesConstantChange by a constant amountMultiply by a constant ratio
Rate of changeConstantChanges linearlyChanges exponentially

Practice Problems

  1. Is \(y = 7x + 2\) linear or nonlinear?
  2. Is \(y = x^{3} – 1\) linear or nonlinear?
  3. A table has \(x = 1, 2, 3, 4\) and \(y = 2, 4, 8, 16\). Linear or nonlinear?
  4. A table has \(x = 0, 1, 2, 3\) and \(y = 5, 8, 11, 14\). Linear or nonlinear?
  5. Is \(y = |x – 3|\) linear or nonlinear?
  6. Classify: \(y = -\frac{1}{2}x + 10\).
  7. Classify: \(y = 4^{x}\).
  8. A car travels at a constant 60 mph. Is the distance-time function linear or nonlinear?
  9. A population doubles every year starting at 100. Is this linear or nonlinear?
  10. A table has \(x = 1, 2, 3, 4\) and \(y = 1, 4, 9, 16\). Linear or nonlinear? What type of function is this?

Solutions

  1. Linear. The equation is in \(y = mx + b\) form.
  2. Nonlinear. The \(x^{3}\) term has degree 3.
  3. Nonlinear. Differences: \(2, 4, 8\), not constant. (Exponential: \(y = 2^{x}\).)
  4. Linear. Differences: \(3, 3, 3\). Equation: \(y = 3x + 5\).
  5. Nonlinear. The absolute-value creates a V-shaped graph.
  6. Linear. Slope \(-\frac{1}{2}\), y-intercept 10.
  7. Nonlinear. Variable in the exponent (exponential).
  8. Linear. \(d = 60t\), constant rate of change.
  9. Nonlinear. \(P = 100 \cdot 2^{t}\), exponential growth.
  10. Nonlinear. Differences: \(3, 5, 7\). This is quadratic: \(y = x^{2}\).

Common Mistakes to Avoid

  • Assuming any equation with an \(x\) is linear. Check the exponent: \(x^{2}\), \(\sqrt{x}\), and \(2^{x}\) are all nonlinear.
  • Forgetting to verify constant \(\Delta x\) in a table. If the \(x\)-values are not equally spaced, first differences alone will not tell you if the function is linear. Compute the slope between each pair of points instead.
  • Confusing “not a function” with “nonlinear.” A vertical line is not a function at all. A curve like a parabola is a function, just a nonlinear one.

Frequently Asked Questions

What is the difference between linear and nonlinear functions?

A linear function has a constant rate of change and graphs as a straight line, like y = 2x + 1. A nonlinear function has a rate of change that varies, so its graph curves or bends, like y = x² or y = 2ˣ. In a table, a linear function’s y-values change by the same amount each time x goes up by 1.

How do you identify linear and nonlinear functions?

Use three quick tests. In a table, check the first differences: if y changes by the same amount for equal steps in x, it is linear. In an equation, x must appear only to the first power, as in y = mx + b. On a graph, a straight line is linear. For example, y-values 1, 4, 9, 16 have differences 3, 5, 7, so that function is nonlinear.

What is a nonlinear function in math?

A nonlinear function is any function whose graph is not a straight line. Common types are quadratic functions such as y = x² (a parabola), exponential functions such as y = 3ˣ, absolute value y = |x| (a V shape) and square root y = √x. Their rate of change is not constant, so equal steps in x give unequal changes in y.

Can a function be linear and nonlinear?

No, a single function is one or the other. If its rate of change is constant everywhere, it is linear; if not, it is nonlinear. Some functions, like y = |x|, are made of straight pieces, but because the slope changes from −1 to 1 at x = 0, the whole function counts as nonlinear.

Can linear equations be functions?

Most linear equations are functions, because each x-value gives exactly one y-value. Any equation like y = 5x − 2 or a horizontal line y = 4 is a function. The exception is a vertical line such as x = 3: it is linear, but one input has infinitely many outputs, so it fails the vertical line test and is not a function.

What are some examples of linear vs nonlinear functions?

Linear examples: y = 3x, y = −x + 7 and y = 0.5x − 2. Nonlinear examples: y = x² + 1, y = 2ˣ, y = 1/x and y = √x. A quick check is the exponent on x: if x appears only to the first power and is not in a denominator, root, absolute value or exponent, the function is linear.

Related to This Article

What people say about "Linear vs. Nonlinear Functions: Free Worksheet"?

No one replied yet.

Leave a Reply