FrontierMath
Algebra II/Transformations & Functions/Comparing Functions
Algebra II Regents in 15 days
Algebra II · Lesson 1

Comparing Functions

Two functions can be represented in completely different ways — and you still have to compare them.


A cell phone plan charges a flat fee of $20 per month plus $0.05 per text message. A competing plan is shown in the table below, listing total monthly cost against number of texts sent. A customer wants to know which plan costs less for heavy texters. To answer that, you need to compare two functions that are not even presented in the same form — one is a formula, the other is a set of data points. That is the core challenge this lesson addresses.

The key idea is this: a function's properties — its slope, its intercepts, its maximum or minimum, its end behavior — can be read from any representation. A graph, a table, an equation, and a verbal description can all encode the same information. Your job is to extract properties from each form and put them on equal footing.

The most common properties you will compare are the slope (rate of change), the y-intercept (starting value), maximum or minimum values, and which function produces larger outputs over a given interval.

Start with the algebraic function. If you have something like f(x)=3x+7f(x) = 3x + 7, you can read the slope directly as 3 and the y-intercept directly as 7. For a quadratic like g(x)=2(x1)2+8g(x) = -2(x-1)^2 + 8, the vertex is at (1,8)(1, 8) and the parabola opens downward, so the maximum value is 8. These facts come straight from the equation.

Now look at a function given as a graph or table. The y-intercept is wherever the graph crosses the vertical axis — or in a table, the output when the input is 0. The slope of a linear function from a table is the change in output divided by the change in input between any two rows. For a quadratic from a graph, the vertex is the highest or lowest point you can see.

The comparison only works when you are measuring the same property. If you want to compare slopes, extract the slope from both functions. If you want to compare maximum values, find the maximum of both. Mixing up which property you computed for which function is the most common error on this topic.

Here is a direct comparison between a function given algebraically and one given as a table.

Let f(x)=2x+1f(x) = 2x + 1 and let gg be defined by the table:

| xx | g(x)g(x) | |---|---| | 0 | 3 | | 1 | 6 | | 2 | 9 | | 3 | 12 |

Compare the slopes and y-intercepts of the two functions.

Comparing a linear formula to a table
mf=2m_f = 2
The slope of f is the coefficient of x in y = 2x + 1. You can read it directly.
mg=6310=31=3m_g = \frac{6 - 3}{1 - 0} = \frac{3}{1} = 3
Pick any two rows from the table and divide the change in output by the change in input.
mg>mf    3>2m_g > m_f \implies 3 > 2
g increases faster than f. For every one step to the right, g grows by 3 while f only grows by 2.
bf=1b_f = 1
In y = 2x + 1, the constant term is the y-intercept.
bg=3b_g = 3
When x = 0, the table shows g(0) = 3. That is the y-intercept.
bg>bf    3>1b_g > b_f \implies 3 > 1 \checkmark
g starts higher and rises faster — it will always be above f for positive x.

Now try a comparison involving a quadratic. This requires finding a vertex from one representation and matching it against something read from a graph.

Let f(x)=(x2)2+9f(x) = -(x-2)^2 + 9 and let gg be the function shown in the graph below. Both open downward. Which has the greater maximum value?

Interactive graph — scroll to zoom, drag to pan

The red curve is f(x)=(x2)2+9f(x) = -(x-2)^2 + 9. The blue curve represents gg, which in this case has the equation g(x)=(x+1)2+4g(x) = -(x+1)^2 + 4 but is being treated as if it were only given graphically. Read gg's maximum from the graph; find ff's maximum from the formula.

Comparing maximum values of two downward parabolas
f(x)=(x2)2+9f(x) = -(x-2)^2 + 9
This is vertex form. The vertex is at (2, 9), and since the parabola opens down, that is the maximum.
max of f=9\text{max of } f = 9
The highest output f ever produces is 9, at x = 2.
vertex of g(1, 4)\text{vertex of } g \approx (-1,\ 4)
Read the peak of the blue parabola from the graph. It tops out at y = 4.
max of g=4\text{max of } g = 4
The highest output g ever produces is 4.
9>4    f has the greater maximum9 > 4 \implies f \text{ has the greater maximum} \checkmark
f peaks more than twice as high as g, even though both open downward.

One more situation comes up frequently: comparing an algebraic function to a verbal description. Suppose someone tells you that function hh starts at a value of 5 when x=0x = 0 and increases by 4 for every unit increase in xx. You need to compare that to a given formula. The verbal description is just a slope and a y-intercept stated in plain English — translate it and then compare directly.

The verbal description above translates to h(x)=4x+5h(x) = 4x + 5. If the comparison function is k(x)=6x+2k(x) = 6x + 2, then kk has a greater slope but a smaller y-intercept. For small values of xx, hh will be larger. For large values of xx, kk will dominate. Finding exactly where they cross requires setting them equal and solving, which is a tool from systems of equations — but recognizing that both effects exist is the comparison skill itself.

Practice Questions
f(x)=5x3 and g has slope 2 and y-intercept 4. Which has the greater y-intercept?f(x) = 5x - 3 \text{ and } g \text{ has slope } 2 \text{ and } y\text{-intercept } 4. \text{ Which has the greater } y\text{-intercept?}
f(x)=(x+3)25 and g(x)=(x1)2+2. Which function has a minimum? What is its value?f(x) = (x+3)^2 - 5 \text{ and } g(x) = -(x-1)^2 + 2. \text{ Which function has a minimum? What is its value?}
f is given by the table: (0, 8), (1, 5), (2, 2), (3, 1).g(x)=4x+10. Which function decreases faster?f \text{ is given by the table: } (0,\ 8),\ (1,\ 5),\ (2,\ 2),\ (3,\ -1). \quad g(x) = -4x + 10. \text{ Which function decreases faster?}
Regents Corner

On Part II and Part III of the Algebra II Regents, comparing functions often appears as a constructed-response question where one function is given as a graph and the other as an equation. You must state the property, extract it from both functions, and make a direct comparison. A complete answer names the property, shows the value for each function, and states which is greater. Writing only "f has a steeper slope" without extracting the actual slope values from both functions will cost you points.

A student sees a table where the output decreases from row to row and writes that the slope is positive because the numbers in the output column look large. The slope is negative whenever output goes down as input goes up — always check the direction of change, not just the size of the numbers.
Next →
Solving Systems Graphically and Algebraically