GRADE 9 MATH • ALGEBRA & FUNCTIONS

Linear vs. Non-Linear Classification — I can compare linear vs non-linear patterns from graphs or tables and justify the classification.

Learn to spot whether a relationship is linear or non-linear using graphs, tables, and mathematical reasoning.

Historical Context & Motivation

Humans have been studying patterns in numbers for thousands of years, but the distinction between linear and non-linear relationships became truly important once mathematicians began graphing equations on a coordinate plane. Understanding whether a pattern grows at a constant rate or a changing rate is one of the most fundamental skills in algebra, and it connects to everything from physics to economics.

~300 BCE
Euclid's Elements
The Greek mathematician Euclid formally studied straight lines and their properties, laying the groundwork for what we now call linear relationships.
1637
Descartes Invents Coordinate Geometry
René Descartes introduced the coordinate plane, making it possible to visualize equations as graphs. Straight lines and curves could now be compared side by side.
1686
Newton's Principia
Isaac Newton described gravity using a non-linear equation (force varies with the square of distance), demonstrating that not all natural phenomena follow straight-line patterns.
1800s
Industrial Revolution & Data Analysis
Scientists and engineers needed to classify real-world data as linear or non-linear to build bridges, predict markets, and design machines—making this classification a practical everyday skill.

Today, deciding whether data follows a linear or non-linear pattern is one of the first questions a mathematician, scientist, or data analyst asks. This lesson will give you the tools to make that decision confidently—using both graphs and tables—and, just as importantly, to justify your reasoning with clear mathematical evidence.

Core Principles & Definitions

Before you can classify a relationship, you need to understand what makes something linear versus non-linear. The ideas below are the foundation for every comparison you will make in this lesson and beyond.

1

Constant Rate of Change

A linear function has a constant rate of change—the output increases or decreases by the same amount for every equal step in the input. This constant rate is called the slope.
2

Straight-Line Graph

When plotted on a coordinate plane, every linear relationship produces a perfectly straight line. If a graph curves, bends, or has corners, the relationship is non-linear.
3

First Differences (Tables)

In a table with evenly spaced x-values, calculate the differences between consecutive y-values. If these first differences are all equal, the data is linear. If they vary, the data is non-linear.
4

Standard Linear Form: y = mx + b

A linear equation can always be written in the form y = mx + b, where m is the slope and b is the y-intercept. Non-linear equations include exponents (x²), square roots, absolute values, or other operations that break this form.
✦ KEY TAKEAWAY
Think of a linear relationship like a car on cruise control driving on a straight highway—it covers the same distance every minute, no surprises. A non-linear relationship is like a car accelerating from a stoplight: it covers more distance each second than the second before. The key question is always: Is the rate of change constant or not?

Visual Explanation — Graphs Side by Side

The fastest way to classify a relationship is to look at its graph. A linear relationship always produces a straight line, while a non-linear relationship produces a curve. The diagram below shows both types on the same coordinate plane so you can compare them directly.

The cyan straight line represents the linear function y = 2x + 1, which rises at a steady rate. The pink curve represents the non-linear function y = x², which climbs more steeply as x increases. Notice that the linear graph makes a straight line, while the non-linear graph curves upward.

In the diagram above, both functions start near the same point, but their behavior quickly diverges. The cyan line gains the same amount of height for each step to the right—this is the hallmark of constant rate of change. The pink curve, on the other hand, gets steeper and steeper, meaning the rate of change itself is increasing. Whenever you see a curve on a graph, you are looking at a non-linear relationship.

Mathematical Framework

To classify a relationship mathematically, you need two main tools: the slope formula for graphs and ordered pairs, and the first differences test for tables. Both methods ask the same fundamental question: does the output change by the same amount every time?

SLOPE FORMULA
m = (y₂ − y₁) / (x₂ − x₁)
Where m is the slope (rate of change), (x₁, y₁) and (x₂, y₂) are any two points on the graph. If m is the same between every pair of consecutive points, the function is linear.
SLOPE-INTERCEPT FORM
y = mx + b
Every linear function can be written in this form: m is the slope and b is the y-intercept (the value of y when x = 0). If an equation cannot be rewritten in this form—for example, it contains x², √x, or 1/x—then it is non-linear.
FIRST DIFFERENCES TEST
Δy = y_{n+1} − y_n (for equally spaced x-values)
Calculate the difference between each consecutive y-value in a table. If all the first differences (Δy) are equal, the data is linear. If they change, the data is non-linear.
⚠️ Important Condition
The first differences test only works when the x-values in your table are equally spaced (e.g., x goes up by 1 each time, or by 2 each time). If the x-values are unevenly spaced, you must use the full slope formula between each pair of points instead.

Classifying from Tables — First Differences in Action

Let's see how the first differences test works with two data tables—one linear and one non-linear. The diagram below places both tables side by side with the first differences calculated so you can see the contrast clearly.

Two tables side by side. The linear table (left) shows first differences that are all +3, confirming a constant rate of change. The non-linear table (right) shows first differences of +1, +3, +5, +7—which increase each time, proving the rate of change is not constant.

The diagram above is your go-to strategy for tables. When the x-values increase by the same amount each row, simply subtract consecutive y-values. If you get the same number every time, the data is linear. If those first differences keep changing, the data is non-linear. Always state your evidence explicitly—saying "the first differences are (not) constant" is a strong mathematical justification.

Worked Example — Classifying from a Table

Let's work through a complete classification problem step by step. Suppose you are given the following table and asked: Is this relationship linear or non-linear? Justify your answer.

Data for worked example
xy
15
29
313
417
521
Classify and Justify
1
Step 1 — Check that x-values are equally spacedThe x-values go 1, 2, 3, 4, 5. Each step increases x by 1, so the x-values are equally spaced. This means we can use the first differences test.
Δx = 1 for every row ✓
2
Step 2 — Calculate first differences (Δy)Subtract each y-value from the one that follows it: 9 − 5 = 4, 13 − 9 = 4, 17 − 13 = 4, 21 − 17 = 4.
Δy = +4, +4, +4, +4
3
Step 3 — Analyze the first differencesEvery first difference equals +4. Because all first differences are the same, the rate of change is constant.
Constant rate of change = 4
4
Step 4 — Classify and write justificationSince the first differences are all equal (+4) for equally spaced x-values, this relationship is linear. We can also identify the equation: slope m = 4 and when x = 0, y would be 1 (extrapolating back), so y = 4x + 1.
Linear — y = 4x + 1
💡 Justification Template
A strong justification always has two parts: (1) state your evidence—"The first differences are all +4"—and (2) state your conclusion—"therefore the relationship is linear because the rate of change is constant." Always connect the evidence to the definition.

Linear vs. Non-Linear — Side-by-Side Comparison

The table below summarizes every key difference between linear and non-linear relationships. Use this as a quick reference whenever you need to classify or justify.

Key differences between linear and non-linear relationships
FeatureLinearNon-Linear
Graph shapeStraight lineCurve (parabola, exponential, etc.)
Rate of changeConstant (same slope everywhere)Variable (slope changes)
First differencesAll equalNot all equal
Equation formy = mx + by = x², y = 2ˣ, y = √x, y = |x|, etc.
Degree of x1 (x to the first power)Not 1 (x², x³, x⁻¹, etc.)
Real-world exampleEarning $12/hour (total pay vs. hours)Population doubling every year
✦ KEY TAKEAWAY
Think of a linear relationship as a staircase with perfectly equal steps—each step is the same height. A non-linear relationship is like a ramp that gets steeper (or shallower) as you climb. The mathematical test is simple: check whether the rate of change stays constant or varies.

Connecting to Advanced Topics

Classifying a relationship as linear or non-linear is the first step in a much bigger toolkit. As you advance in math, you will learn to classify non-linear functions into specific families—quadratic, exponential, absolute value, and more. Each family has its own special properties and equation forms. The table below previews how this lesson connects to what you will study later.

How this lesson connects to future math topics
What You Learn NowWhat Comes Next
Linear: constant first differencesQuadratic: constant second differences (differences of the first differences)
Slope = rate of changeDerivatives in calculus measure instantaneous rate of change for curved functions
y = mx + b (degree 1)Polynomial functions of degree 2, 3, 4, … and exponential functions like y = a × bˣ
"Is it a straight line?""What type of curve is it?" — using transformations, vertex form, growth/decay analysis

Here is a powerful preview: for quadratic data (like y = x²), the first differences are not constant, but the second differences (the differences of the differences) are constant. So the very same skill you are building today—computing differences and checking for constancy—extends naturally to classify higher-order functions. Your ability to justify a classification with evidence will serve you in every math and science course you take.

Practice Problems

PROBLEM 1 — CONCEPTUAL
A student says: "The graph passes through the origin, so the function must be linear." Is this correct? Explain why or why not, and give an example to support your reasoning.
PROBLEM 2 — BASIC CALCULATION
Given the table below, determine if the relationship is linear or non-linear. Justify your answer using first differences. x: 0, 1, 2, 3, 4 y: 7, 10, 13, 16, 19
PROBLEM 3 — INTERMEDIATE
Consider this table: x: 1, 2, 3, 4, 5 y: 2, 8, 18, 32, 50 Classify the relationship as linear or non-linear. If it is non-linear, calculate the first differences and describe the pattern you observe.
PROBLEM 4 — APPLIED
A car rental company charges $25 per day plus a one-time $50 cleaning fee. A second company charges based on the table below: Days: 1, 2, 3, 4, 5 Cost ($): 40, 60, 90, 130, 180 Classify each company's pricing as linear or non-linear. Which company is cheaper for a 3-day rental? Which is cheaper for a 5-day rental?
PROBLEM 5 — CRITICAL THINKING
A table has x-values 2, 4, 6, 8 and y-values 10, 20, 40, 80. A student computes first differences of +10, +20, +40 and correctly concludes the data is non-linear. However, another student computes the ratio y₂/y₁ between consecutive y-values and gets 2, 2, 2 each time. What does this constant ratio suggest about the type of non-linear function? Could you write an equation for this data?

Lesson Summary

A linear relationship has a constant rate of change, produces a straight-line graph, shows equal first differences in a table with equally spaced x-values, and can be expressed in the form y = mx + b. A non-linear relationship has a changing rate of change, produces a curved graph, shows unequal first differences, and involves operations like squaring, square roots, or exponents that break the y = mx + b form.

To justify your classification, always state your evidence clearly: cite the constant or varying first differences from a table, point to the straight or curved shape of a graph, or reference the form of the equation. The first differences test is your most reliable tool for tables, while visual inspection works for graphs. These foundational skills will carry you through quadratic functions, exponential growth, and eventually calculus.

Varsity Tutors • Grade 9 Math • Linear vs. Non-Linear Classification