Where Did Linear Functions Come From?
People have noticed straight-line patterns for thousands of years. Ancient farmers tracked how crops grew over time. Merchants calculated how the price of goods went up with each item they bought. These everyday observations led mathematicians to study linear relationships — patterns where things change at a steady, constant pace.
Over centuries, thinkers figured out how to turn those patterns into equations and graphs. The idea of a constant rate of change became one of the most useful tools in all of math. Let's see how that story unfolded.
So here's the big question this lesson answers: How can you tell whether a set of data is linear just by looking at a table or a graph? The secret lies in one idea — the rate of change must stay the same every single time.
Core Ideas You Need to Know
Before we dive into examples, let's nail down the key vocabulary and ideas. There are only a few concepts to learn, and once you have them, everything else clicks into place.
Function
Linear Function
Rate of Change
Constant Rate of Change
Seeing Linear Functions on a Graph
The fastest way to spot a linear function is to look at its graph. If the graph is a perfectly straight line, you have a linear function. If the graph curves, bends, or wiggles, it is not linear. The diagram below shows both types side by side so you can compare them.
The Math Behind Constant Rate of Change
You don't always have a graph in front of you. Sometimes you only have a table of numbers. The good news is there's a simple formula to test whether the rate of change is constant.
Let's break that formula into plain English. The top part, change in y, tells you how much the output went up or down. The bottom part, change in x, tells you how much the input went up. Together they answer: "For every 1 step in x, how many steps does y move?"
Spotting Linear Functions in a Table
Tables are one of the most common ways you'll see data in class. The trick is simple: calculate the rate of change between every consecutive pair of rows. If the answer is always the same, it's linear. If even one pair gives a different answer, it is not linear. Below are two tables. Let's compare them.
Notice that in Table A the x-values go up by 1 each time. When x increases by 1, you only need to look at the differences in y. If those differences are all the same, you're done — it's linear! When the x-values don't increase by 1, you need to use the full formula: (change in y) ÷ (change in x).
Worked Example: Is This Table Linear?
A pet sitter charges customers based on the number of hours she works. Here is a table of her earnings. Is this a linear function?
| Hours (x) | Earnings in $ (y) |
|---|---|
| 1 | 12 |
| 2 | 24 |
| 3 | 36 |
| 5 | 60 |
| 8 | 96 |
Linear vs. Non-Linear — Side by Side
It helps to see the differences between linear and non-linear functions all in one place. The table below summarizes the key features you should look for.
| Feature | Linear Function | Non-Linear Function |
|---|---|---|
| Graph shape | Straight line | Curve, zigzag, or other shape |
| Rate of change | Always the same (constant) | Changes from pair to pair |
| Equation form | y = mx + b | Has x², x³, √x, or other non-linear terms |
| Table test | Differences in y (when x goes up by 1) are equal | Differences in y are not equal |
| Real-world example | Earning $10 per hour | A ball bouncing lower each time |
What Comes Next? Slope and Beyond
You've just learned how to recognize a linear function. In future math classes, you'll take this further. The constant rate of change you've been calculating has a more famous name: slope. You'll learn to write equations, graph lines from equations, and solve real-world problems using linear models. The table below shows how today's ideas connect to what's ahead.
| What You Know Now | What You'll Learn Next |
|---|---|
| Constant rate of change | Slope formula: m = (y₂ − y₁) ÷ (x₂ − x₁) |
| Recognize linear from a table | Write the equation y = mx + b from a table |
| Recognize linear from a graph | Graph a line using slope and y-intercept |
| Linear vs. non-linear | Quadratic, exponential, and other function families |
Everything in algebra builds on this foundation. If you can spot a constant rate of change, you already understand the most important feature of linear functions. Nice work!
Practice Problems
Lesson Summary
A linear function is a function whose graph forms a straight line. The key feature that makes it linear is a constant rate of change. This means every time the input (x) increases by the same amount, the output (y) also increases (or decreases) by the same amount. You can check this in a table by computing (change in y) ÷ (change in x) between consecutive rows. If that number is the same for every pair, the function is linear.
On a graph, a linear function looks like a straight line — no curves or bends. The constant rate of change is also called the slope, and every linear function can be written in the form y = mx + b, where m is the slope and b is the y-intercept. Remember: linear functions add the same amount each time, while non-linear patterns (like exponential functions) multiply by the same amount each time.