Where Did the Idea of Comparing Functions Come From?
People have been comparing quantities for thousands of years. Ancient farmers needed to know which crop grew faster. Merchants wanted to figure out which trade route earned more money. Over time, mathematicians built tools — like functions — to describe these changing relationships with numbers.
A function is a rule that takes an input and gives exactly one output. When you have two functions, you can compare them to see which one produces bigger or smaller outputs. Let's look at a few key moments in the history of this idea.
The big question has always been the same: "If I change the input by the same amount for two functions, which output changes more?" That's exactly what you'll learn to answer in this lesson.
Core Principles of Comparing Functions
Before you start comparing, you need a few foundational ideas. Think of these as your toolkit. Each tool helps you look at functions from a different angle.
Same Inputs, Different Outputs
Rate of Change
Three Representations
Starting Value (y-intercept)
Seeing Functions Side by Side on a Graph
A graph is one of the best ways to compare two functions. When you plot both lines on the same coordinate plane, you can instantly see which one is higher, which one is steeper, and where they might cross.
Look at the graph carefully. The cyan line (f) is steeper. That means its output grows by 2 for every 1 step in x. The violet line (g) is less steep — its output only grows by 1 for each step. Even though g starts higher (at 4 instead of 1), f eventually catches up and passes it.
The Math Behind Comparing Functions
You don't always need a graph. You can compare functions using their equations. The key number to look at is the rate of change (also called the slope). For a linear function written as y = mx + b, the letter m is the rate of change and b is the starting value.
When you compare two functions, ask yourself two questions. First: which function has a greater rate of change? That function's output grows faster. Second: which function has a greater y-intercept? That function starts higher.
Comparing Functions Using Tables
Tables are super helpful because they line up inputs and outputs in neat rows. You can spot the rate of change by looking at how the output column changes from row to row. Let's compare two functions using a table.
In the diagram above, both tables use the same x-values (0 through 4). The "Change" column is the key. For function f, the output always goes up by 3. For function g, the output always goes up by 5. That means g has a greater rate of change. Even though f starts higher (2 versus −1), g eventually catches up and passes f.
Worked Example: Which Function Grows Faster?
Let's walk through a full example. You're given two functions in different forms, and you need to compare them.
Graphs vs. Tables vs. Equations: Strengths and Limits
You now know three ways to compare functions. Each method has its own strengths. The table below summarizes when each one works best.
| Method | Best For | Watch Out For |
|---|---|---|
| Graph | Seeing the big picture. You can quickly tell which function is higher, where they cross, and which one is steeper. | Hard to read exact values. If the lines are close together, it's tricky to tell them apart. |
| Table | Comparing exact output values. Great when a function is only given as data (no equation). | You only see the x-values listed. You can't see what happens between them or beyond them without more work. |
| Equation | Finding exact answers. You can plug in any x-value. You can also solve to find exactly where two functions are equal. | Requires some algebra skills. Not as immediately visual as a graph. |
From Linear to Non-Linear: What Comes Next
So far, you've been comparing linear functions — functions whose graphs are straight lines and whose rate of change stays the same. In later math classes, you'll compare functions that curve, speed up, or slow down.
| Feature | Linear Functions (Now) | Non-Linear Functions (Later) |
|---|---|---|
| Graph Shape | Straight line | Curved (parabolas, exponentials, etc.) |
| Rate of Change | Constant (always the same) | Changes as x changes |
| Example | y = 3x + 1 | y = x² or y = 2ˣ |
| Comparing | Compare m-values (slopes) | Compare outputs at several inputs; rate of change varies |
The good news is that the skills you're learning now — reading graphs, building tables, and plugging into equations — work for all types of functions. You're building a foundation that will help you in Algebra, Geometry, and beyond.
Practice Problems
Lesson Summary
To compare two functions, you can use graphs (look at steepness and where lines cross), tables (compare the output values row by row and check the constant change), or equations (compare the rate of change (m) and the y-intercept (b) in y = mx + b). A larger rate of change means the output grows faster for each unit increase in x.
When comparing, always use the same input values for both functions so the comparison is fair. You can find where two functions are equal by setting their equations equal and solving for x. The function with the greater rate of change will eventually have the larger output, even if the other function started higher. These skills prepare you for comparing more complex functions in algebra and beyond.