01 / 21

Comparing
Functions

Learn to compare two functions using graphs, tables, and equations and describe how outputs change for equal input changes.

Pre-Algebra

What Is a Function?

A function is a rule that assigns exactly one output to every input. We often write it as \( f(x) \), where \( x \) is the input and \( f(x) \) is the output.

Input \( x \)
The value you plug in: a number from a table, a point on the horizontal axis.
Output \( f(x) \)
The value the rule gives back: the result, the \( y \)-value on a graph.

Three Ways to Represent Functions

Functions can appear in different forms. To compare two functions, you need to read all three.

Equation
\( f(x) = 2x + 3 \) tells the rule directly using algebra.
Table
A list of input-output pairs: \( x \) in one column, \( f(x) \) in the next.
Graph
A picture on the coordinate plane showing every \( (x,\,f(x)) \) point.

Why Compare Functions?

In real life you compare options all the time: two phone plans, two savings accounts, two speeds. Each option can be modeled by a function, and comparing their outputs tells you which is the better deal.

The Rate of Change

The rate of change tells you how much the output changes when the input changes by 1. For a linear function \( f(x) = mx + b \), the rate of change is the slope \( m \).

x y 0 1 2 3 4 2 4 6 +1 +2
\(f(x)=2x\)
\(g(x)=x+1\)

Comparing with Tables

When functions are given as tables, line up the same inputs and compare the outputs row by row.

\( x \) \( f(x) = 3x \) \( g(x) = 2x + 2 \)
002
134
266
398
41210

Comparing with Graphs

On a graph, the steeper line has a greater rate of change. Where the lines cross, the functions are equal.

x y 0 1 2 3 4 2 4 6 8 (2, 6)
\(f(x) = 3x\)
\(g(x) = 2x+2\)

Comparing with Equations

When both functions are written as equations in slope-intercept form \( y = mx + b \), you can read two key features directly:

Slope \( m \)
The rate of change: how fast the output grows per unit of input.
\( y \)-intercept \( b \)
The starting output: the value of the function when \( x = 0 \).

Initial Value vs. Rate of Change

These two features answer different questions. Mixing them up is the most common error when comparing functions.

Feature Initial Value \( b \) Rate of Change \( m \)
Question it answersWhere does the function start?How fast does the function grow?
On a graphWhere the line crosses the \( y \)-axisSteepness of the line
In a tableOutput when \( x = 0 \)Change in output per row
Example\( f(x)=2x+5 \) starts at 5\( f(x)=2x+5 \) grows by 2

How to Compare Two Functions

1
Identify the representations. Are you given equations, tables, graphs, or a mix?
2
Find the rate of change for each function: slope from the equation, or \( \frac{\Delta y}{\Delta x} \) from the table/graph.
3
Find the initial value (\( y \)-intercept) for each function.
4
Compare outputs at key inputs. Check where one function overtakes the other, or where they are equal.
5
State your conclusion using specific numbers: "At \( x = 5 \), \( f \) gives 20 while \( g \) gives 17."

Example 1: Equation vs. Table

Function A: \( f(x) = 4x + 1 \). Function B: given by this table:

\( x \) \( g(x) \)
03
16
29
312

Example 2: Two Graphs

x y 0 1 2 3 4 1 2 3 4 (2, 4)
\(f(x) = x + 2\)
\(g(x) = 2x\)

Example 3: Mixed Representations

Function A is shown on a graph passing through \( (0, 5) \) and \( (4, 13) \). Function B: \( g(x) = 3x + 1 \). Which has a greater output at \( x = 6 \)?

1
Find \( f \)'s slope: \( m = \frac{13-5}{4-0} = \frac{8}{4} = \) 2
2
Write \( f \)'s equation: \( f(x) = 2x + 5 \)
3
Evaluate at \( x = 6 \): \( f(6) = 2(6)+5 = \) 17. \( g(6) = 3(6)+1 = \) 19.
4
Conclusion: At \( x = 6 \), \( g \) gives a greater output: 19 > 17.

Finding Where Functions Are Equal

Set the two function rules equal and solve for \( x \):

Common Mistakes

✕ Confusing Slope with Intercept
A higher starting value does not mean a faster rate of change. Compare \( m \) values, not \( b \) values, for growth speed.
✕ Forgetting to Match Inputs
When comparing from a table and an equation, always evaluate both functions at the same \( x \)-value.
✕ Reading the Wrong Axis
The output is on the \( y \)-axis (vertical). Some students read the horizontal distance instead of the vertical to compare outputs.

Summary Comparison

What to compare From an Equation From a Table From a Graph
Rate of Change The coefficient \( m \) \( \frac{\Delta y}{\Delta x} \) between rows Steepness of the line
Initial Value The constant \( b \) Output when \( x = 0 \) \( y \)-intercept
Where Equal Set equations equal, solve Same output in same row Intersection point
Which Is Greater Evaluate at the \( x \)-value Compare outputs row by row Which line is higher

Question 1 of 5

\( f(x) = 5x + 2 \) and \( g(x) = 3x + 8 \). Which function has a greater rate of change?

Question 2 of 5

A table shows \( g(0)=4 \), \( g(1)=7 \), \( g(2)=10 \). What is the rate of change of \( g \)?

Question 3 of 5

\( f(x) = 2x + 6 \) and \( g(x) = 4x \). At which value of \( x \) are the two functions equal?

Question 4 of 5

On a graph, line \( f \) passes through \( (0, 1) \) and \( (3, 10) \). Line \( g \) passes through \( (0, 4) \) and \( (3, 7) \). Which function has a greater initial value?

Question 5 of 5

\( f(x) = x + 10 \) and \( g(x) = 3x + 2 \). Which statement is true?