Chapter 9 · Functions

Compare Functions in Context and Justify Growth

Compare two linear functions in real situations to see who starts ahead and who gains faster. Justify which one grows faster using rates of change, units and the domain.

16 min read

Two friends save money. Two tanks fill with water. Two hikers climb a trail. In each story, two quantities change, and you can ask two different questions.

  • Who is ahead? Compare the two quantities at the same moment.
  • Who is gaining faster? Compare how quickly the two quantities change.

These questions can have different answers. Someone who starts behind can gain faster and finish ahead. In this lesson, you will answer both questions for stories like these and back up each answer with numbers and units.

Each story describes a function: a rule that gives every permitted input exactly one output. The input is the quantity you start from, such as the number of weeks. The output is the quantity that depends on it, such as the money saved. Different inputs may share an output, and the rule is still a function.

The domain is the set of permitted inputs. A story often limits it. For example, a savings plan might run only for the whole weeks 00 through 88. Always state the domain, because your answers hold only for inputs inside it.

Every function in this lesson is linear on its domain: its output changes at a constant rate, so equal changes in the input always give equal changes in the output. You can write it as y=mx+by = mx + b, where xx is the input and yy is the output. Two numbers describe it.

  • The initial value bb is the output when the input is 00, as long as 00 is in the domain.
  • The rate of change mm is the change in the output for each 11-unit increase in the input.

A proportional relationship is the special case y=kxy = kx. Its output is 00 when its input is 00, so its graph passes through the origin (0,0)(0, 0). Dividing both sides by xx, which is allowed when x≠0x \neq 0, shows that y/xy/x equals the same number kk for every nonzero input. A function with a nonzero initial value can be linear, but it is not proportional.

You already know how to read the initial value and the rate of change from an equation, a table or a description. Now you will use them to compare two functions in the same story.

Worked example

Two savings plans

Maya and Leo save for 88 weeks. Let ww be the number of weeks, a whole number from 00 to 88, and let ss be the savings in dollars. Maya's savings follow s=12w+40s = 12w + 40. Leo starts with 2525 dollars and adds 1515 dollars every week. Who starts with more? Who saves more each week? Who has more after 88 weeks?

  1. Write Leo's rule from his description. He adds the same 15 dollars every week, so his savings change at a constant rate and his function is linear. The rate of change is 15 dollars per week, and the initial value is the 25 dollars he starts with.

    s=15w+25s = 15w + 25
  2. Compare the initial values. Week 0 is in the domain, and each rule holds for every week in the domain, so you may substitute 0 for w. Since 40 is greater than 25, Maya starts ahead by 15 dollars.

    Maya: 12(0)+40=40Leo: 15(0)+25=25\text{Maya: } 12(0) + 40 = 40 \qquad \text{Leo: } 15(0) + 25 = 25
  3. Compare the rates of change. In each rule, the number that multiplies w is the dollars added per week: 12 for Maya and 15 for Leo. Both rates are in dollars per week, so you can compare them directly. Leo saves 3 more dollars each week, so his savings grow faster.

    15>1215 > 12
  4. Compare the savings after 8 weeks. Week 8 is in the domain, so substitute 8 for w in each rule. Multiply first, then add. Since 145 is greater than 136, Leo finishes ahead by 9 dollars.

    Maya: 12(8)+40=96+40=136Leo: 15(8)+25=120+25=145\text{Maya: } 12(8) + 40 = 96 + 40 = 136 \qquad \text{Leo: } 15(8) + 25 = 120 + 25 = 145
  5. Check that the answers fit together. Leo begins 15 dollars behind but gains 3 dollars on Maya every week. Over 8 weeks he gains 24 dollars, which covers the 15-dollar gap and leaves him 9 dollars ahead.

    3×8=2424−15=93 \times 8 = 24 \qquad 24 - 15 = 9

Answer

Maya starts with more: 4040 dollars compared with Leo's 2525. Leo saves more each week: 1515 dollars compared with Maya's 1212. After 88 weeks, Leo has more: 145145 dollars compared with Maya's 136136.

Savings for every week in the domain. The gap changes by 3 dollars each week.
WeekMaya's savings (dollars)Leo's savings (dollars)Who is ahead, and by how many dollars
00
4040
2525
Maya, by 1515
11
5252
4040
Maya, by 1212
22
6464
5555
Maya, by 99
33
7676
7070
Maya, by 66
44
8888
8585
Maya, by 33
55
100100
100100
Tie
66
112112
115115
Leo, by 33
77
124124
130130
Leo, by 66
88
136136
145145
Leo, by 99

Key concept

Linear functions: faster growth means a greater rate of change

Take two linear functions with the same input unit and the same output unit, each with a positive rate of change on a stated domain. The one with the greater rate of change grows faster: for each 11-unit increase in the input, its output rises by more than the other's. Which one is ahead is a separate question. You answer it by comparing outputs at the same input.

To find a rate of change from two input-output pairs (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) of a linear function, divide the change in output by the change in input. The inputs must differ, so you never divide by 00. Two different outputs for one input would not be a function: on a graph, those points lie on a vertical line, whose slope (rate of change) is undefined.

rate of change=y2−y1x2−x1,x2≠x1\text{rate of change} = \frac{y_2 - y_1}{x_2 - x_1}, \quad x_2 \neq x_1

To justify a claim is to give the evidence and the reasoning that make it true. A complete justification that one function grows faster has four parts.

  1. Say what the input and the output measure, with their units, and state the domain.
  2. Give each rate of change with its unit, and say where it comes from: the number that multiplies the input in an equation, a phrase such as "each minute", or a calculation from two table rows.
  3. Compare the two rates.
  4. Say where your claim holds.

The unit of a rate of change is an output unit per input unit, such as liters per minute.

Take care with tables. A table shows only the input-output pairs listed in it, so by itself it supports claims only about those values. To say anything about other inputs in the domain, you need a rule, such as a statement that the amount changes at a constant rate.

Tank B: liters of water at four times
Time (minutes)Water in Tank B (liters)
22
4242
55
6060
88
7878
1212
102102

Worked example

Justify which tank fills faster

Two tanks fill at constant rates for 1212 minutes. Let tt be the time in minutes, with 0≤t≤120 \le t \le 12, and let VV be the amount of water in a tank, in liters. Tank A follows V=9tV = 9t. The table above shows readings for Tank B. In which tank does the amount of water grow faster? Justify your answer.

  1. Set up the comparison. Both functions have time in minutes as the input and water in liters as the output, on the same domain from 0 to 12 minutes. The problem says both tanks fill at constant rates, so both functions are linear, and Tank B's rate applies to every time in the domain, not only to the four times in the table.

  2. Read Tank A's rate from its equation. The number that multiplies t is 9, so Tank A gains 9 liters each minute. Tank A is proportional: it holds 0 liters at time 0, and dividing both sides of the rule by t, which is allowed when t is not 0, always gives 9.

    Vt=9tt=9(t≠0)\frac{V}{t} = \frac{9t}{t} = 9 \quad (t \neq 0)
  3. Find Tank B's rate from two rows of the table: 2 minutes and 5 minutes. The inputs differ, so the change in input is 3, not 0. Divide the change in liters by the change in minutes.

    60−425−2=183=6\frac{60 - 42}{5 - 2} = \frac{18}{3} = 6
  4. Check the other rows. With a constant rate, every pair of rows must give the same result, and they do. Tank B gains 6 liters each minute.

    78−608−5=183=6102−7812−8=244=6\frac{78 - 60}{8 - 5} = \frac{18}{3} = 6 \qquad \frac{102 - 78}{12 - 8} = \frac{24}{4} = 6
  5. Compare the rates. Both are positive and both are in liters per minute, so the greater rate means faster growth. Tank A gains 3 more liters than Tank B every minute.

    9>69 > 6

Answer

The amount of water grows faster in Tank A. For 0≤t≤120 \le t \le 12, Tank A gains 99 liters each minute, read from V=9tV = 9t, and Tank B gains 66 liters each minute, found from its table. Both rates are in liters per minute, and 9>69 > 6.

Ben's elevation at four times
Time (minutes)Ben's elevation (meters)
55
360360
1515
440440
2525
520520
4040
640640

Worked example

Who climbs faster, and who is higher?

Ana and Ben climb a trail for 4040 minutes, each at a constant rate. Let tt be the time in minutes, with 0≤t≤400 \le t \le 40, and let EE be the elevation (height above sea level) in meters. Ana starts at 420420 meters and climbs 55 meters each minute. The table above shows Ben's elevations. Who gains elevation faster? Who is higher after 3030 minutes, and who is higher after 4040 minutes? Justify each answer.

  1. Find Ben's rate from the rows for 5 and 15 minutes. The inputs differ, so the change in input is 10, not 0. The other rows agree with the constant rate stated in the problem: from 15 to 25 minutes, 80 divided by 10 is 8, and from 25 to 40 minutes, 120 divided by 15 is 8.

    440−36015−5=8010=8\frac{440 - 360}{15 - 5} = \frac{80}{10} = 8
  2. Compare the rates. Ana's rate comes from the words: 5 meters each minute. Ben's rate is 8 meters each minute. Both rates are positive and in meters per minute, so the greater rate means faster growth. Ben gains elevation faster throughout the domain from 0 to 40 minutes.

    8>58 > 5
  3. Write Ana's rule from her starting elevation and her rate, then find her elevation at 30 and at 40 minutes. Both times are in the domain, so you may substitute them for t.

    E=5t+4205(30)+420=150+420=5705(40)+420=200+420=620E = 5t + 420 \qquad 5(30) + 420 = 150 + 420 = 570 \qquad 5(40) + 420 = 200 + 420 = 620
  4. Find Ben's elevation at 30 minutes. That time is not in the table, but the constant rate is a rule that covers the whole domain. Start from 520 meters at 25 minutes and add 8 meters for each of the next 5 minutes. At 40 minutes, the table shows 640 meters.

    520+8(30−25)=520+8(5)=520+40=560520 + 8(30 - 25) = 520 + 8(5) = 520 + 40 = 560
  5. Compare the elevations at each time. At 30 minutes, 570 is greater than 560, so Ana is 10 meters higher. At 40 minutes, 640 is greater than 620, so Ben is 20 meters higher.

    570>560640>620570 > 560 \qquad 640 > 620
  6. Check that the answers fit together. Ben gains 8 minus 5, or 3, more meters than Ana each minute. From 30 to 40 minutes that is 30 meters, enough to erase Ana's 10-meter lead and put Ben 20 meters ahead.

    3×10=3030−10=203 \times 10 = 30 \qquad 30 - 10 = 20

Answer

Ben gains elevation faster: 88 meters each minute compared with Ana's 55, for 0≤t≤400 \le t \le 40. After 3030 minutes, Ana is higher, at 570570 meters compared with Ben's 560560. After 4040 minutes, Ben is higher, at 640640 meters compared with Ana's 620620.

Here is the idea to keep. When a story gives you two linear functions, ask two separate questions. Who is ahead? Compare the outputs at the same input. At input 00, when it is in the domain, these are the initial values. Who grows faster? Compare the rates of change, in the same units, on the stated domain. When both rates are positive, the greater rate means faster growth.

For a linear function, read the rate from its equation or from a phrase such as "each minute", or compute change in output divided by change in input from two table rows with different inputs. Dividing one output by its nonzero input gives the rate only for a proportional relationship y=kxy = kx. A strong justification names both rates, their units, where they come from, and the domain where your claim holds.