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.

Grade 9 Math emblem with a calculator, geometric shapes, and line graph
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

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.

SECTION 2

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?

SECTION 3

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.

Linear vs. Non-Linear Graphsxy0123450510152025y = 2x + 1(Linear)y = x²(Non-Linear)
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.

SECTION 4

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=(y2−y1)/(x2−x1)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+by = 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=yn+1−yn(forequallyspacedx−values)Δ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.

SECTION 5

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.

First Differences: Linear vs. Non-Linear TablesLINEAR: y = 3x + 2xyΔy (1st Diff)02—15+328+3311+3414+3✓ All first differences = +3 → LINEARNON-LINEAR: y = x²xyΔy (1st Diff)00—11+124+339+5416+7✗ First differences vary → NON-LINEARHow to Justify Your Classification"The first differences are all equal (or all different),therefore the relationship is linear (or non-linear)."
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.

SECTION 6

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.

xy
15
29
313
417
521

Data for worked example

Classify and Justify

  1. 1

    Step 1 — Check that x-values are equally spaced

    The 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. 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. 3

    Step 3 — Analyze the first differences

    Every first difference equals +4. Because all first differences are the same, the rate of change is constant.
    Constant rate of change = 4
  4. 4

    Step 4 — Classify and write justification

    Since 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.

SECTION 7

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.

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 differences between linear and non-linear relationships

✦

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.

SECTION 8

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.

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

How this lesson connects to future math topics

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.

SECTION 9

Practice Problems

Question 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.
Show answer
The student is incorrect. Passing through the origin means the point (0, 0) is on the graph, but that tells us nothing about whether the graph is straight or curved. For example, y = x passes through the origin and is linear, but y = x² also passes through the origin and is non-linear. The defining feature of a linear function is a constant rate of change, not where the graph passes through.

Question 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
Show answer
First, confirm x-values are equally spaced (each increases by 1). Now calculate first differences: 10 − 7 = 3, 13 − 10 = 3, 16 − 13 = 3, 19 − 16 = 3. All first differences equal +3, so the rate of change is constant. Therefore, this relationship is linear. The equation is y = 3x + 7, which fits the slope-intercept form y = mx + b with m = 3 and b = 7.

Question 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.
Show answer
The x-values increase by 1 each time. The first differences are: 8 − 2 = 6, 18 − 8 = 10, 32 − 18 = 14, 50 − 32 = 18. These differences (6, 10, 14, 18) are not equal, so the relationship is non-linear. Interestingly, the first differences themselves increase by 4 each time (the second differences are constant at +4), which is a sign that this is a quadratic function. In fact, y = 2x² fits this data perfectly.

Question 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?
Show answer
Company A charges C = 25d + 50, which is in slope-intercept form with a constant rate of $25/day—this is linear. For Company B, the first differences are: 60 − 40 = 20, 90 − 60 = 30, 130 − 90 = 40, 180 − 130 = 50. These are not constant, so Company B's pricing is non-linear. For 3 days: Company A charges 25(3) + 50 = $125, Company B charges $90—Company B is cheaper. For 5 days: Company A charges 25(5) + 50 = $175, Company B charges $180—Company A is cheaper. This shows how linear and non-linear growth can swap which option is better!

Question 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?
Show answer
A constant ratio between consecutive y-values (when x-values are equally spaced) is the signature of an exponential function. Just as constant first differences indicate linearity, constant ratios indicate exponential growth or decay. Each time x increases by 2, y doubles (ratio = 2). We can write this as y = 5 × 2x/22^{x/2} or equivalently y = 5 × (√2)ˣ. Checking: when x = 2, y = 5 × 2¹ = 10 ✓; when x = 4, y = 5 × 2² = 20 ✓. This problem shows that there are different tools for classifying different types of non-linear functions beyond the first differences test.

SUMMARY

Lesson Summary

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