Allday Education

Comparing Two Linear Functions

In these problems, one function might be an equation like y=3x+2y = 3x + 2 while the other is a table of values or a graph. To compare them you do not need to convert everything into one form — you just need two numbers from each function: its rate of change and its starting value.

The rate of change tells you how fast the output grows when the input goes up by 11. The starting value is the output when the input is 00. Once you can pull those two numbers out of any form, every comparison question becomes a quick side-by-side.

The two numbers that matter

The rate of change is the slope: how much yy changes for each increase of 11 in xx. In y=mx+by = mx + b it is the coefficient mm — the number attached to xx.

The starting value is the yy-intercept: the value of yy when x=0x = 0. In y=mx+by = mx + b it is the constant bb. On a graph, it is where the line crosses the yy-axis.

Pulling them out of each form

From an equation: read them straight off y=mx+by = mx + b. In y=3x+2y = 3x + 2, the rate of change is 33 and the starting value is 22. Do not swap them — the rate is always the number multiplying xx.

From a table: pick two rows and divide the change in yy by the change in xx — the rate is y2y1x2x1\displaystyle \frac{y_2 - y_1}{x_2 - x_1}. This works even when the table skips xx-values. For the starting value, find the row where x=0x = 0; if there is no such row, step the pattern backward until you reach x=0x = 0.

From a graph: the starting value is where the line crosses the yy-axis, and the rate of change is the rise over the run between two grid points. In the graph below, both lines start at 11, but the blue line rises 33 for every step right while the black line rises 11 — the steeper line has the greater rate of change.

-3-2-1123-3-2-1123xy

Rates are not totals

A table that reaches a large yy-value does not automatically have the larger rate — it may just show more rows. Always divide the change in yy by the change in xx before comparing.

Also, the function with the greater rate of change is not automatically greater at every xx-value. A function with a smaller rate but a bigger starting value can stay ahead for a while. If a question asks which function is greater at a specific xx, evaluate both functions there.

Worked examples

Example 1: equation vs. table — which grows faster?

Function A is y=4x+1y = 4x + 1. Function B's table pairs x=0,1,2x = 0, 1, 2 with y=3,8,13y = 3, 8, 13. Which function increases faster?

Function A's rate is the coefficient of xxm=4m = 4
Function B's rate from the table13821=5\displaystyle \frac{13 - 8}{2 - 1} = 5
Compare the rates5>45 > 4

Answer: Function B increases faster.

Example 2: a table that doesn't start at zero

Function A's table pairs x=1,2,3x = 1, 2, 3 with y=9,13,17y = 9, 13, 17. Function B is y=5x+6y = 5x + 6. Which has the greater starting value?

Function A's rate from the table13921=4\displaystyle \frac{13 - 9}{2 - 1} = 4
Step back from x=1x = 1 to x=0x = 094=59 - 4 = 5
Function B's starting value is its constantb=6b = 6
Compare the starting values6>56 > 5

Answer: Function B has the greater starting value.

Example 3: greater at a specific input

Function A is y=2x+9y = 2x + 9. Function B is y=4x+1y = 4x + 1. Which function is greater when x=3x = 3?

Evaluate Function A at x=3x = 32(3)+9=152(3) + 9 = 15
Evaluate Function B at x=3x = 34(3)+1=134(3) + 1 = 13
Compare the values15>1315 > 13

Answer: Function A is greater at x=3x = 3, even though Function B has the greater rate of change.

Try one yourself

Function A
y=3x+2y = 3x + 2
Function B
xxyy
0055
1199
221313

Common questions

Do I have to graph both functions to compare them?

No. Find each function's rate of change and starting value in whatever form it is given. Those two numbers answer almost every comparison question without a graph.

What if the table's x-values skip numbers?

Divide the change in yy by the change in xx between two rows: y2y1x2x1\displaystyle \frac{y_2 - y_1}{x_2 - x_1}. That handles any spacing — never assume each row is one step of xx.

Which number in y = mx + b is the rate of change?

The mm — the coefficient of xx. The constant bb is the starting value. In y=6x+1y = 6x + 1, the rate is 66, not 11.

Does the function with the bigger rate always have bigger values?

Eventually, yes — but not necessarily right away. A function with a smaller rate and a larger starting value can be greater for small xx-values. When a question names a specific xx, plug it into both functions.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1