1.3 Inputs, Outputs, and What Makes a Function
SLO F-IF
Interpreting Functions. Understand what a function is and use function notation;
Learning Objectives
By the end of this section, you will be able to:
- identify the input and the output of a relationship, and say which quantity depends on the other;
- read the phrases versus, with respect to, over, and dependent on, and decide which quantity is the input;
- state the definition of a function and apply it exactly: every input has exactly one output;
- explain why repeated outputs are allowed while one input with two different outputs is not;
- decide whether a relationship is a function when it arrives as a table, a set of ordered pairs, a mapping diagram, a graph, or a description in words;
- use the vertical line test on a graph, and explain why it works;
- read, write, and evaluate function notation such as \(f(x)\), and explain why \(f(x)\) does not mean \(f\) times \(x\);
- interpret a statement like \(f(3) = 7\) in a real situation, units included.
Sylvia has a small pool full of water. She needs to empty it, scrub it out, and refill it before a pool party. She drains part of it with a hose, hauls some out with a single bucket, gets her two friends to help with three buckets at once, takes a break, cleans the empty pool, and then refills it with the hose. Only one of those activities happens at a time.
If you sketch the height of the water in that pool against the time since she started, you get a picture of the whole afternoon. The graph falls while she is emptying, falls three times as fast while three people are bucketing, sits flat at zero while she cleans, sits flat somewhere above zero while she takes a break, and rises while she refills. Somebody who has never seen the pool can read the story off the graph.
That is what this chapter is about. Two quantities are tied together — the time and the water level — and the tie between them carries information. Section 1.2 built the same kind of tie out of a growing pattern: the step number and the number of tiles. This section gives that relationship its proper name and its precise rules.
The name is function, and the precision is the point. A great many relationships between two quantities exist in the world, and only some of them are functions. The ones that are behave predictably enough to be worth writing down, graphing, and calculating with; the ones that are not, are not. Learning exactly where the line falls — and it is a sharper line than most people expect — is the single most important thing in this chapter.
The other thing this section delivers is notation. Once you are confident that a relationship is a function, you will want a short way to say "the water depth 40 minutes in." Writing a sentence every time is unbearable. Function notation compresses that sentence into four characters, and by the end of this section you will read \(d(40)\) as fluently as you read a sentence.
1.3.1 Input and Output
Two quantities, and one of them depends on the other
Start with the pool. Two quantities are moving: the time since Sylvia started, and the depth of the water. They are not on equal footing. The clock runs on its own — Sylvia's bucket does not speed it up or slow it down. The water depth, on the other hand, is entirely at the mercy of what Sylvia is doing at that moment, and when that moment is.
So there is a direction to the relationship. Time drives; depth follows. That direction is not a detail you can leave out and sort later. It is the first thing to nail down about any pair of quantities, because everything else in this chapter — the test for a function, the graph, the notation — is built on top of knowing which quantity is doing the determining.
Picture an old radio. You turn the knob; the needle on the dial moves. Turning the knob is the input, and where the needle lands is the output. Nobody grabs the needle and expects the knob to spin. That one-way push is exactly the relationship between time and water depth.
In a relationship between two quantities, the input is the quantity you choose or are given, and the output is the quantity that is determined by it. The output depends on the input; the input does not depend on the output.
Definition 1.3.1 — Input and output: you turn the knob and the needle follows, and the push runs one way only.
Two older names for the same pair of ideas show up constantly, and you need both, because textbooks and teachers switch between them without warning.
The independent variable is another name for the input. It is called independent because its value is not determined by the other quantity.
Definition 1.3.2 — Independent and dependent variables: four words, two ideas, and one question sorts every row.
The dependent variable is another name for the output. It is called dependent because its value depends on the input.
Four words, two ideas. Input and independent variable are the same thing. Output and dependent variable are the same thing. If a question asks for the independent variable and you have been calling it the input all along, you already have the answer — just say it in the other language.
Which quantity is which. Read the middle column as "what you pick" and the right column as "what you get":
| Situation | Input (independent) | Output (dependent) |
|---|---|---|
| Sylvia's pool | time since she started | depth of the water |
| Floating down the river | time since the trip began | distance traveled |
| Buying gas | number of gallons pumped | cost in dollars |
| A circle | length of the radius | area of the circle |
| A course grade | percent earned | letter grade |
| A drone in flight | seconds since it left the ground | height in meters |
Every row of that table passes the same test. Ask yourself which quantity you could set on purpose, and which one you would then have to go measure. You can decide to pump 8 gallons; you cannot decide what the pump will charge you. You can pick the second on the stopwatch; you cannot pick where the drone will be.
The words that tell you which is which
Textbooks and teachers signal the input in at least four different ways, and the wording is the only clue you get. All four of these describe the same relationship:
- distance versus time
- distance with respect to time
- distance over time
- distance dependent on time
Every graph you meet from here on has axes somebody chose, and the phrase in the problem is how you know which quantity they put on the horizontal axis. Read the phrase wrong and you plot the whole thing sideways, then answer a question nobody asked.
In every one of them, distance is the output and time is the input. The pattern is worth memorizing directly: the output is named first, the input is named after the connecting phrase. "Distance versus time" means distance depends on time, not the other way around.
Reading the four phrasings. Each row names the output first and the input after the connecting phrase:
| Phrasing | Output | Input |
|---|---|---|
| "the cost of gas versus the amount pumped" | cost | gallons pumped |
| "temperature with respect to time of day" | temperature | time of day |
| "the national debt with respect to time" | national debt | time |
| "letter grade dependent on percent earned" | letter grade | percent earned |
Do not let the wording become the obstacle. Find the two quantities first, then ask the plain-English question: which one is doing the determining? The phrase is only there to tell you which order the author had in mind.
For each phrase, name the two quantities, then name the input and the output.
a) The volume of water in a given cylinder is dependent on the height of the water.
b) The length of fence needed with respect to the rectangular area enclosed.
Solution
Part (a) — Find the two quantities. They are the volume of water and the height of the water.
Apply the pattern. The output is named first and the input comes after the connecting phrase. The phrase here is "dependent on," and height comes after it.
- Input (independent): the height of the water.
- Output (dependent): the volume of water.
Check it in plain English. Pour water in until it reaches 10 inches, and the volume is settled — you did not get to choose it separately. The height determined it.
Part (b) — Find the two quantities. They are the length of fence and the area enclosed.
Apply the pattern. The connecting phrase is "with respect to," and area enclosed comes after it.
- Input (independent): the area enclosed.
- Output (dependent): the length of fence.
This one feels backwards to most people, because you would probably build a fence first and see what area you got. But the phrase settles it: the author is handing you an area and asking for a fence length. Keep that ordering in mind — §1.3.3 comes back to this exact relationship and something interesting happens.
Answer: (a) input is height, output is volume; (b) input is area enclosed, output is length of fence.
Order matters, and reversing it can change everything
Here is the fact that makes all of this worth the trouble. Swapping the input and the output gives you a different relationship, and the new one may behave completely differently from the old one.
Consider a person's name and their Social Security number.
- Name as input, Social Security number as output. You hand over the name "David Smith" and ask for the number. There are many people named David Smith, each with a different number. The relationship hands back several answers.
- Social Security number as input, name as output. You hand over a specific number and ask for the person. A Social Security number belongs to exactly one person. The relationship hands back one answer.
Same two quantities. Opposite behavior. The next subsection makes that difference official.
For each of these, name the input and the output.
a) The cost of gas versus the amount of gas pumped.
b) The area of a circle as it relates to the radius.
c) A student's letter grade dependent on the percent earned.
d) Now reverse part (c): the percent earned, dependent on the letter grade. Describe in one sentence what goes wrong.
Solution
Part (a). The two quantities are cost and gallons pumped. The connecting phrase is "versus," so the output is named first.
- Input: the amount of gas pumped, in gallons.
- Output: the cost, in dollars.
Part (b). The two quantities are area and radius. The phrase "as it relates to" puts the radius second, so the radius is the input.
- Input: the length of the radius.
- Output: the area of the circle.
Part (c). The two quantities are letter grade and percent earned. "Dependent on" puts percent second.
- Input: the percent earned.
- Output: the letter grade.
Part (d). Now the letter grade is the input and the percent is the output. Feed in the letter A. Which percent should come back — 90, 94, or 100? All of them earned an A, so the relationship has no single answer to give. Running it in this direction breaks it.
Answer: (a) input gallons, output cost; (b) input radius, output area; (c) input percent, output letter grade; (d) one letter grade comes from many different percents, so the reversed relationship cannot return a single percent.
1.3.2 What Makes a Relationship a Function
The definition
Everything in §1.3.1 was setup. Now comes the rule that separates the relationships worth calculating with from the ones that are not, and it is short enough to memorize in one reading.
A function is a relationship between two quantities in which every input has exactly one output. If \(x\) is an input of a function \(f\), then \(f(x)\) is the one output that \(f\) assigns to \(x\).
Definition 1.3.3 — Function: many arrows into one output is fine; two arrows out of one input is not.
Read it again, slowly, because every word is load-bearing.
- Every input. Not most. If even one input is missing an output, the relationship is not a function on that set of inputs.
- Exactly one output. Not "at least one," not "at most one." Exactly one.
The formal version of this definition, the one the Mathematics I standards are written from, says the same thing with two named sets:
A function from one set (called the domain) to another set (called the range) assigns to each element of the domain exactly one element of the range. If \(f\) is a function and \(x\) is an element of its domain, then \(f(x)\) denotes the output of \(f\) corresponding to the input \(x\). The graph of \(f\) is the graph of the equation \(y = f(x)\).
The words domain and range are the subject of §1.4. For now, read domain as "the collection of allowed inputs" and range as "the collection of outputs that actually come out."
The misconception that has to die first
Almost everyone, on first meeting the definition, remembers it as "no repeats." That is half right, and the wrong half is the half people apply.
A function may repeat outputs. A function may not give one input two different outputs.
Say it as a pair of one-liners:
- Two different inputs sharing an output: fine. Nothing in the definition forbids it.
- One input with two different outputs: fatal. That is exactly what the definition forbids.
Why is the asymmetry there? Because a function is supposed to answer a question. You feed it an input and it must come back with an answer — one answer, so you know what to write down. If the same input can produce a 5 sometimes and a 9 other times, the relationship has told you nothing. But if two different inputs happen to produce the same 5, there is no confusion at all: ask about either input, get 5, write down 5.
Press B4 on a vending machine and a specific bag of chips comes out, every time. That is a function. A slot machine takes the same pull and returns something different each time, which is exactly why no one would call it a function. Two buttons dispensing the same chips is fine; one button dispensing something different each press is not.
Here is a table where the repeats are right in front of you. Two continuous functions \(f\) and \(g\) are given by their values:
| \(x\) | \(f(x)\) | \(g(x)\) |
|---|---|---|
| \(-5\) | \(44\) | \(-13\) |
| \(-4\) | \(30\) | \(-9\) |
| \(-3\) | \(20\) | \(-5\) |
| \(-2\) | \(12\) | \(-1\) |
| \(-1\) | \(6\) | \(3\) |
| \(0\) | \(2\) | \(7\) |
| \(1\) | \(0\) | \(11\) |
| \(2\) | \(0\) | \(15\) |
| \(3\) | \(2\) | \(19\) |
| \(4\) | \(6\) | \(23\) |
| \(5\) | \(12\) | \(27\) |
| \(6\) | \(20\) | \(31\) |
Look at the \(f(x)\) column: the output \(0\) appears twice, at \(x = 1\) and at \(x = 2\). \(f\) is still perfectly a function, because reading down the table no single \(x\) value has two entries beside it.
The test, stated as a procedure
Whatever form the relationship arrives in, the test is one question asked once per input, and a single input with two different outputs settles it. That input-with-two-outputs has a name, and it is a name you will use for the rest of your mathematical life.
A counterexample is a single case that shows a general claim is false. To disprove "this relationship is a function," one counterexample is enough: one input with two different outputs.
Definition 1.3.4 — Counterexample: one input of 36 square feet, three different fence lengths, and the claim is dead.
Just as one pair of numbers that fail to commute sinks a claim that subtraction commutes, one input with two outputs sinks a claim that a relationship is a function. You do not have to check the other thousand inputs once you have found the one that breaks it.
Two rules, side by side
The clearest illustration uses two rules built from the same pair of quantities.
Rule G takes a person's name as its input and gives their high-school graduation year as its output.
| Input (name) | Output (graduation year) |
|---|---|
| Taylor Swift | 2008 |
| Zendaya | 2015 |
| Storm Reid | 2020 |
| Johnny Orlando | 2021 |
Rule P takes a high-school graduation year as its input and gives a person who graduated that year as its output.
| Input (graduation year) | Output (a person) |
|---|---|
| 2020 | Lil Tecca |
| 2021 | Olivia Rodrigo |
| 2022 | Forrest Wheeler |
| 2023 | Miles Brown |
The two tables look equally tidy, and that is the trap. A short list of pairs can always be written down neatly; what matters is what the rule does when you feed it an input that is not on the list. The test asks about every input, not about the four the author happened to print. So run your own name and your own graduation year through both rules and watch them come apart.
Decide whether Rule G is a function, and whether Rule P is a function.
Solution
Step 1 — Test Rule G with a general input. Feed your own name into Rule G. You graduated from high school once, so there is exactly one year to hand back. Do the same with any other name and the same thing happens: one person, one graduation year.
Every input gets exactly one output, so Rule G is a function.
Step 2 — Test Rule P with a general input. Feed your own graduation year into Rule P. Millions of people graduated that year. Which one should the rule return? There is no single right answer, so the rule cannot produce one.
Step 3 — Name the counterexample. Take the input 2020. Rule P could return Lil Tecca, and it could equally return any of the millions of other 2020 graduates. One input, more than one output, which is exactly what Definition 1.3.3 forbids.
So Rule P is not a function, and the year 2020 is the counterexample that proves it.
Answer: Rule G is a function; Rule P is not.
One honest caution about Rule G. Two different people can be named David Smith, so if "name" means "a string of letters," Rule G has Rule P's problem. The rule is a function only when the input identifies exactly one person — which is precisely why a district looks up a transcript by student ID and not by name.
a) A relationship takes a US state as its input and returns its capital city as its output. Is it a function? Explain.
b) Reverse it: the input is a city and the output is a state that city is in. Is that a function? Explain.
c) In Table 1.3.1, the output \(6\) appears twice in the \(f(x)\) column. Does that make \(f\) fail the test? Explain in one sentence.
Solution
Part (a) — State in, capital out. Pick any state. It has been assigned exactly one capital city by law, so there is one output and never two.
This is a function.
Part (b) — City in, state out. Now feed in a city name. Springfield is a city in Illinois, and there is also a Springfield in Missouri, in Massachusetts, and in about thirty other states. One input, many outputs.
This is not a function, and Springfield is the counterexample.
Part (c) — The repeated 6. The output \(6\) appears at \(x = -1\) and again at \(x = 4\). Those are two different inputs landing on the same output, which the repeat rule explicitly allows.
\(f\) is still a function. The test only ever asks whether one input has two outputs, and no \(x\) in that table has two values beside it.
Answer: (a) yes; (b) no, because a city name like Springfield belongs to many states; (c) no, a repeated output is allowed.
1.3.3 Testing Every Representation
A relationship can arrive in five different costumes. The test never changes; only what you are looking at does. Learn what the fatal pattern looks like in each costume and you can decide any of them at a glance.
A set of ordered pairs
In an ordered pair \((x, y)\), the first number is the input and the second is the output. So the test reads: does any first number appear twice with two different second numbers?
Think of a fingerprint check. The fingerprint is the same whether you lift it off a glass, a doorknob, or a phone screen — only the surface changes. "One input, two outputs" is the fingerprint, and a table, a list of pairs, a diagram, a graph, and a sentence are just five surfaces to look for it on.
Consider this set:
$$\{(-7, 2),\; (3, 5),\; (8, 4),\; (-6, 5),\; (-2, 3)\}$$List the first numbers: \(-7, 3, 8, -6, -2\). All five are different, so no input is asked to produce two outputs. This is a function. The output \(5\) appears twice — once from the input \(3\), once from the input \(-6\) — and as established, that is allowed and irrelevant.
Now this set:
$$\{(9, 2),\; (0, 4),\; (4, 0),\; (5, 3),\; (2, 7),\; (0, -3),\; (3, -1)\}$$List the first numbers: \(9, 0, 4, 5, 2, 0, 3\). The input \(0\) appears twice, paired once with \(4\) and once with \(-3\). Ask this relationship "what is the output when the input is 0?" and it gives two contradictory answers. This is not a function, and the pair \((0, 4)\) together with \((0, -3)\) is the counterexample that proves it.
And this one:
$$\{(1, 2),\; (2, 3),\; (3, 4),\; (4, 5),\; (5, 6),\; (6, 7),\; (7, 8),\; (8, 9)\}$$Every first number is different. A function.
A table of values
A table is a set of ordered pairs written vertically. So the test is identical: does any value in the input column appear twice with two different outputs beside it?
| \(x\) | \(h(x)\) |
|---|---|
| \(1\) | \(9\) |
| \(2\) | \(98\) |
| \(3\) | \(987\) |
| \(4\) | \(9876\) |
Inputs \(1, 2, 3, 4\), all different. A function. The outputs grow wildly, which is not a problem — nothing in the definition says outputs must be well behaved.
| \(x\) | \(f(x)\) |
|---|---|
| \(0\) | \(2\) |
| \(1\) | \(3\) |
| \(2\) | \(0\) |
| \(3\) | \(2\) |
| \(4\) | \(6\) |
| \(5\) | \(12\) |
| \(6\) | \(20\) |
Inputs \(0\) through \(6\), each once. A function — and again the output \(2\) appears twice, at \(x = 0\) and \(x = 3\), which changes nothing.
One trap worth naming. Reading a table sideways rather than down will fool you. The question is never "does the output column repeat," and it is never "does the pattern look nice." It is only ever "does one input have two outputs."
A mapping diagram
A mapping diagram draws the inputs in one oval, the outputs in another, and an arrow from each input to the output it produces. The test becomes visual and almost trivial: does any input have two arrows leaving it?
Suppose the inputs are \(\{1,\, 2,\, 3,\, 4\}\) and the arrows go like this:
| From (input) | Arrow to (output) |
|---|---|
| \(1\) | \(7\) |
| \(2\) | \(9\) |
| \(3\) | \(7\) |
| \(4\) | \(12\) |
Every input has exactly one arrow leaving it. A function. Two arrows arrive at \(7\) — one from \(1\), one from \(3\) — but arrows arriving at the same place is the repeated-output situation, which is fine. Arrows leaving the same place is the fatal one.
Change one line:
| From (input) | Arrow to (output) |
|---|---|
| \(1\) | \(7\) |
| \(2\) | \(9\) |
| \(2\) | \(5\) |
| \(4\) | \(12\) |
Now the input \(2\) has two arrows leaving it, headed to \(9\) and to \(5\). Not a function.
The picture is worth carrying: many arrows into one output is fine; two arrows out of one input is not.
A graph, and the vertical line test
A graph is the same information again, plotted. The standards say it directly: the graph of \(f\) is the graph of the equation \(y = f(x)\), so every point on the graph is a pair (input, output) — the \(x\)-coordinate is the input, the \(y\)-coordinate is the output.
That single sentence gives the test immediately. Two points with the same \(x\) and different \(y\) are exactly one input with two outputs. On a graph, two points with the same \(x\)-coordinate sit directly above and below one another — on the same vertical line. So the fatal pattern, drawn, is a vertical line that hits the graph twice, and that is worth stating as a rule of its own.
This is the only representation where you can check a relationship without reading a single number. Lay a ruler vertically on the graph, slide it left to right, and watch how many times it touches. That is the entire test, and it is why graphs are the fastest way to decide.
A graph represents a function if and only if no vertical line crosses the graph more than once.
Definition 1.3.5 — Vertical line test: a vertical line is one input, so two crossings means that input has two outputs.
Why it works is not a separate fact; it is a restatement. A vertical line is the set of all points sharing one \(x\)-value, so a vertical line is a single input, and each crossing is an output assigned to it. The vertical line test is not a rule you have to remember alongside the definition. It is the definition, drawn.
Two consequences look symmetric and are not:
- A horizontal line, like \(y = 8\), is a function. Every vertical line crosses it exactly once, handing back the output \(8\) for every input — repeated outputs, in the extreme case.
- A vertical line, like \(x = 4\), is not a function. The vertical line at \(x = 4\) lies on top of it and crosses everywhere at once, so the input \(4\) is answering "every number at the same time."
If you can explain that asymmetry, you understand the definition.
A circle is the same failure in a friendlier shape. On the circle of radius 5 centered at the origin, the vertical line at \(x = 3\) enters at the bottom and exits at the top, meeting it at \((3, -4)\) and \((3, 4)\), since \(3^2 + 4^2 = 9 + 16 = 25 = 5^2\). One input, two outputs. A circle drawn in the coordinate plane is a relationship between \(x\) and \(y\), but it is not a function.
A situation described in words
Here there is no picture to inspect, so you have to do it by reasoning. Name the two quantities, decide which is the input, then ask: could one value of the input honestly correspond to two different values of the output?
Sylvia's pool: at any single moment, the water in the pool has one depth. It cannot be 14 inches deep and 3 inches deep at the same instant. Every input of time has exactly one output of depth, so water depth is a function of time.
That reasoning survives everything the story throws at it. The depth goes down, then up, sits flat during the break, and drops in visible jumps as buckets come out. None of that matters. At each time, there is one depth.
Now compare a relationship that fails. The length of fence needed, with respect to the area to be enclosed. The input is an area; the output is a fence length. Take an area of 36 square feet. A \(6 \times 6\) rectangle encloses it with 24 feet of fence. A \(4 \times 9\) rectangle encloses the same 36 square feet with 26 feet of fence. A \(2 \times 18\) rectangle needs 40 feet. One input, three different outputs — and there are infinitely many more. Not a function.
One more situation, from a different afternoon than Sylvia's. Priya, Jamal and Wen spent a lazy 120-minute afternoon floating down a river in inner tubes. Priya kept noticing the water was deeper in some stretches than others; Jamal, who likes a number attached to everything, logged the group's total distance travelled on a GPS every ten minutes; Wen just kept saying "math is everywhere" and turned out to be right.
Jamal's distance-travelled graph is a function of time for the same reason the pool's depth was: at any one moment the group has covered exactly one total distance, so no single time can honestly own two different distances. But it does work the pool never did. Sylvia's depth went down, then up, then flat, then down again — the same depth turned up at several different times. A river current does not run backward, and neither does a group floating in it: once they pass a stretch of river, that stretch is behind them for good. So the total distance travelled only ever climbs, from 0 feet at the start to about 15,000 feet by the end of the float, and it is strictly increasing — no output on that graph ever repeats.
Ask when the group had travelled 7,500 feet and the river graph answers with exactly one moment. Ask when Sylvia's pool was 10 inches deep and you get several honest answers. The difference is whether two inputs ever landed on the same output.
That is the question §1.3.4 takes up next, and it turns out to decide far more than it looks like it should.
a) Is \(\{(2, 5),\; (4, 5),\; (6, 5),\; (8, 5)\}\) a function?
b) Is \(\{(4, 1),\; (5, 2),\; (4, 3),\; (6, 7)\}\) a function? If not, give the counterexample.
c) A graph is a straight line slanting up from lower left to upper right. Does it pass the vertical line test?
d) The relationship takes a temperature in degrees Fahrenheit and returns the same temperature in degrees Celsius. Is it a function? Reason in words.
Solution
Part (a). The inputs are \(2, 4, 6, 8\), all different. The output \(5\) repeats four times, which the repeat rule allows.
Function.
Part (b). The inputs are \(4, 5, 4, 6\). The input \(4\) appears twice, paired with \(1\) and with \(3\).
Not a function. The counterexample is \((4, 1)\) together with \((4, 3)\).
Part (c). Slide a vertical line across a slanted straight line. Wherever you put it, it meets the graph exactly once — a slanted line never doubles back over the same \(x\).
Yes, it passes, so the graph represents a function.
Part (d). The input is a Fahrenheit reading and the output is the Celsius reading. Pick any Fahrenheit value, say \(50\). There is exactly one Celsius temperature that is the same warmth, namely \(10\). No temperature is two temperatures at once.
Function.
Answer: (a) yes; (b) no, \((4, 1)\) and \((4, 3)\); (c) yes; (d) yes.
1.3.4 A Catalogue of Relationships
The fastest way to sharpen the definition is to run it across a pile of unrelated situations and watch where it bites. Work down this list. For each one, name the two quantities, decide which is the input, and then decide.
| Relationship | Input | Output | Function? | Why |
|---|---|---|---|---|
| A person's name versus their Social Security number | name | SSN | no | several people share a name, and each has a different number |
| A person's Social Security number versus their name | SSN | name | yes | a number belongs to exactly one person |
| The cost of gas versus the amount of gas pumped | gallons | cost | yes | at a fixed price, a number of gallons has one cost |
| \(\{(3, 6),\, (4, 10),\, (8, 12)\}\) | first coordinate | second coordinate | yes | no input repeats |
| Temperature in °F with respect to time of day | time | temperature | yes | at one instant, the air has one temperature |
| The area of a circle as it relates to the radius | radius | area | yes | \(A = \pi r^2\) returns one area per radius |
| The radius of a circle dependent on the area | area | radius | yes | one positive area comes from exactly one positive radius |
| Volume of water in a given cylinder dependent on the height of the water | height | volume | yes | in a fixed cylinder, a height determines one volume |
| A student's letter grade dependent on the percent earned | percent | letter grade | yes | one percent falls in one grade band |
| Length of fence with respect to rectangular area enclosed | area | fence length | no | many rectangles share an area with different perimeters |
| The national debt with respect to time | time | debt | yes | at one instant the debt is one number |
| A person's name and their phone number | name | phone number | no | same problem as the Social Security case |
| The stadium a football player is playing in, related to the outcome of the game | stadium | outcome | no | a team plays many games in one stadium, with different outcomes |
| Distance from the ground, related to time, on a Ferris wheel | time | height | yes | at one instant a rider is at one height |
| Hours of daylight throughout the calendar year | day of the year | hours of daylight | yes | one date has one daylight length |
| The value of a 1978 Volkswagen convertible from purchase until now | time | value | yes | at one instant it has one value |
Think of a paper shredder. Many different sheets go in and the same pile of confetti comes out — that direction works fine. Ask for the confetti to become one specific sheet again and there is no answer. A relationship that collapses inputs together is a shredder, and its reverse is never a function.
Two more entries stretch the definition in useful ways, and both are worth knowing before §1.4, because each one is really a statement about which inputs a function is allowed to take.
A sequence is a function. You already built one, in §1.2's Growing Dots: \(D(0) = 1\), and \(D(t) = D(t - 1) + 4\) for every whole minute after that, giving \(1, 5, 9, 13, \dots\). Written out directly,
$$D(t) = 4t + 1.$$Check it: \(D(0) = 4(0) + 1 = 1\) and \(D(1) = 4(1) + 1 = 5\). This is a function. The input is the number of minutes and the output is the dot count, and minute 6 has exactly one value: \(D(6) = 25\). What makes sequences look different from the other functions here is that the input can only be a whole number — you cannot ask how many dots there were at minute 2.5, because the picture was only ever drawn one whole minute at a time. The allowed inputs are a subset of the integers, and §1.4 will call that its domain.
Functions do not have to be described by one formula. Define a rule this way: if \(x\) is a rational number then the output is \(1\), and if \(x\) is an irrational number then the output is \(0\). Every real number is either rational or irrational and never both, so every input receives exactly one output. It is a function, even though its graph is impossible to draw and its rule takes two lines to state. This is a useful corrective: a function is a promise about inputs and outputs, not a promise about formulas or smooth curves.
a) A relationship takes a movie title and returns the year it was released. Function or not?
b) A relationship takes a year and returns a movie released that year. Function or not?
c) A sequence begins \(2, 9, 16, 23, \dots\), adding 7 each time. Write a formula for the \(n\)th term and find the 10th term.
Solution
Part (a) — Title in, year out. A given movie came out in one year. Feed in the title and one year comes back.
Function. Two different movies can share a release year, which is a repeated output and therefore fine.
Part (b) — Year in, movie out. Feed in 2019. Hundreds of movies were released that year, and the relationship has no way to pick one.
Not a function, and 2019 is the counterexample. This is the shredder problem: part (a) collapsed many titles onto one year, so reversing it fans that year back out into many titles.
Part (c) — Build the formula. The first term is \(2\) and each step adds \(7\), so after \(n - 1\) steps you have added \(7(n - 1)\):
$$f(n) = 2 + 7(n - 1)$$Expand it:
$$f(n) = 2 + 7n - 7 = 7n - 5$$Check the first term: \(f(1) = 7(1) - 5 = 2\). Correct. Now evaluate at 10:
$$f(10) = 7(10) - 5 = 70 - 5 = 65$$Answer: (a) function; (b) not a function; (c) \(f(n) = 7n - 5\), and \(f(10) = 65\).
1.3.5 Function Notation
Naming the function
Once you know a relationship is a function, you need a compact way to talk about it. Writing "the depth of the water in Sylvia's pool 40 minutes after she started" every time is not sustainable.
Give the function a letter. Then attach the input in parentheses.
The notation \(y = f(x)\) defines a function named \(f\). It is read "\(y\) equals \(f\) of \(x\)." The letter \(x\) inside the parentheses is the input, or independent variable; \(y\), also written \(f(x)\), is the output, or dependent variable.
Definition 1.3.6 — Function notation: f names the rule, x names the input, and f(x) names the output.
The letters \(f\), \(g\), and \(h\) are the usual choices, the way \(a\), \(b\), and \(c\) are the usual choices for numbers. Nothing forces them. It is often clearer to pick a letter that means something: \(d(t)\) for distance as a function of time, \(W(t)\) for the temperature of water, \(V(t)\) for the number of visitors.
Three things in four symbols. The expression \(f(x)\) is carrying more than it looks like:
| The symbol | What it names |
|---|---|
| \(f\) | the function — the rule itself |
| \(x\) | the input |
| \(f(x)\) | the output that \(f\) produces from \(x\) |
Keep those three straight and the rest of this subsection is bookkeeping. Confuse the first row with the third — treat the name of the rule as though it were a number — and you get the single most damaging error in the whole chapter, which is what comes next.
\(f(x)\) does not mean \(f\) times \(x\)
This misreading is close to universal, and it will wreck everything downstream, so kill it now.
The parentheses in \(f(x)\) indicate the input. They do not indicate multiplication.
Think of \(f\) as the label printed on a machine and \(x\) as what you drop in the hopper. Nobody multiplies a blender by a banana. You put the banana in the blender and something comes out, and \(f(x)\) is the name of what comes out.
You have spent years reading \(3(x)\) as "3 times \(x\)," so the instinct is honest — and wrong here. In \(f(x)\), the letter \(f\) is not a number that could be multiplied by anything. It is the name of a rule. The parentheses are doing the job that parentheses do in a calculator or a spreadsheet: they hold the thing being fed in.
Inputs do not have to be numbers
Function notation is more flexible than it first looks. Let \(f\) be the rule whose input is the name of a month and whose output is the number of days in that month, ignoring leap years. Then
$$f(\text{March}) = 31$$because March has 31 days. The input is a word and the output is a number, which is no obstacle — the definition never asked for anything more.
The same goes for the class-schedule function: if \(f\) takes a time on Monday and returns the class you are in at that time, then a student who has English at 10:00 is described by
$$f(10{:}00) = \text{English}.$$Not \(f(\text{English}) = 10{:}00\), which would be a different function altogether — one that takes a class name and returns a time, and which fails the test the moment a student has the same class twice in a day. Most functions in this course take numbers in and give numbers out, but the definition never required it.
Writing a relationship in function notation
To express "the weight of a pig, in pounds, is a function of its age in days," name the quantities and then name the function:
- let \(a\) be the age in days (input),
- let \(w\) be the weight in pounds (output),
- then \(w = f(a)\).
The pattern is always the same: output \(=\) function name (input). Getting it backwards is the single most common error on this skill, so check yourself with the question "which one am I choosing?" — that one goes inside the parentheses.
Four statements, written correctly. The last column shows what the reversed version would claim instead:
| Statement | Correct notation | Why the reverse is wrong |
|---|---|---|
| The number of miles \(m\) a car travels is a function of time \(t\) | \(m = f(t)\) | \(t = f(m)\) says time depends on distance |
| The number of inches of rain \(T\) after \(h\) hours | \(T = R(h)\) | \(h = T(R)\) names the wrong thing as the function |
Every row of that table was decided the same way: find the quantity you are choosing, and put it inside the parentheses. Nothing about the letters themselves tells you which is which — \(m\), \(t\), \(T\), and \(h\) are just names — so the decision always comes back to the plain-English question from §1.3.1 about which quantity does the determining.
Write each relationship in function notation, naming your variables first.
a) The number of tons of garbage \(G\) produced in a week by a city of population \(p\).
b) The number of cubic yards of dirt \(D\) needed to cover a garden of area \(a\) square feet.
Solution
Part (a) — Decide which quantity you choose. You pick a city, and the city's population comes with it. The garbage total is then whatever it turns out to be.
- Input: \(p\), the population.
- Output: \(G\), the tons of garbage per week.
Write it in the pattern output = name(input). Call the function \(f\):
$$G = f(p)$$Writing \(p = f(G)\) instead would claim that weighing the garbage tells the city how many people to have, which is backwards.
Part (b) — Decide which quantity you choose. You measure the garden first, then figure out how much dirt to order.
- Input: \(a\), the area in square feet.
- Output: \(D\), the cubic yards of dirt.
Write it in the pattern. Call the function \(g\):
$$D = g(a)$$Answer: (a) \(G = f(p)\); (b) \(D = g(a)\).
Evaluating a function
Naming a function is only useful if you can get a number out of it, which is the next move.
To evaluate a function at an input means to substitute that input into the rule and compute the output.
Definition 1.3.7 — Evaluating a function: replace every t with 12, and the rule hands back 48.
Marisol collected data on how far she walks each second and modelled her walking with the rule
$$f(t) = 4t,$$where \(t\) is time in seconds and \(f(t)\) is distance in feet. To find how far she walks in 12 seconds, replace every \(t\) with 12:
$$f(12) = 4(12) = 48.$$She walks 48 feet in 12 seconds; the same substitution gives \(f(16) = 4(16) = 64\) feet. Notice what happened to the parentheses on the way through: on the left, \(f(12)\) means "feed 12 to \(f\)"; on the right, \(4(12)\) genuinely does mean "4 times 12." Both notations are on the same line and they mean different things. That is exactly why \(f(x)\) has to be read as a name-plus-input rather than a product.
A second example, and one you have already met. Jamal has been tracking the rodent population in the field behind the house, \(t\) weeks after spring begins, and it is behaving exactly like §1.2's Growing, Growing Dots, \(N(t) = 2^{t}\) — except Jamal's count starts at 8 rodents instead of 1, so every output of the dots pattern is scaled up by that same factor of 8:
$$p(t) = 8 \cdot 2^{\,t} = 8 \cdot N(t).$$That is worth pausing on. The doubling you built from a picture in §1.2 has not changed at all; it has only been given a name, a letter, and a way to be asked questions. Function notation is what lets you ask §1.2's pattern about week 16 without redrawing sixteen minutes of dots.
Evaluating the rodent model. Each row substitutes one value of \(t\) and finishes the arithmetic:
| Question | Substitution | Result | In words |
|---|---|---|---|
| \(p(4)\) | \(8 \cdot 2^4 = 8 \cdot 16\) | \(128\) | 128 rodents after 4 weeks |
| \(p(10)\) | \(8 \cdot 2^{10} = 8 \cdot 1024\) | \(8192\) | 8,192 rodents after 10 weeks |
| \(p(16)\) | \(8 \cdot 2^{16} = 8 \cdot 65{,}536\) | \(524{,}288\) | 524,288 rodents after a 16-week summer |
Those numbers are what the model says; whether that is what the field does is another question entirely. Predators, disease, food supply, and a hard winter would all pull the real count away from the model. A function is a rule, and a rule can be a good description of reality or a poor one.
Running the function backwards
Evaluating goes input \(\rightarrow\) output. The reverse question — output \(\rightarrow\) input — is asked with the whole function on the left and a number on the right.
$$p(t) = 128$$reads "for what number of weeks is the population 128?" It is not an evaluation; it is an equation to solve. From the table above, \(t = 4\).
One character apart. The difference in notation is tiny and the difference in task is not:
| Written | Asks | Type of question |
|---|---|---|
| \(p(4)\) | what is the population at week 4? | evaluate — substitute and compute |
| \(p(t) = 128\) | at what week is the population 128? | solve — find the input |
Marisol's walking function shows the same pair. Writing \(f(16)\) asks how far she walks in 16 seconds. Writing \(f(t) = 200\) asks how long it takes her to walk 200 feet. Same function, opposite directions.
The tell is simple. A number inside the parentheses means you are being handed an input and asked to compute. A letter inside the parentheses with a number after the equals sign means you are being handed an output and asked to hunt for the input. Read the parentheses before you start working.
When the number on the right does not appear in a table, you solve. Jamal wants to know when the population passes 20,000, and neither \(p(11)\) nor \(p(12)\) is printed anywhere, so the two of them have to be computed and compared against the target. That kind of bracketing — find a week where the count is still too low, find a week where it is too high, and squeeze — is a perfectly respectable way to answer a question you cannot solve by algebra yet. It also keeps you honest about what the answer means: the population does not jump from 16,384 to 32,768 the instant week 12 begins, it climbs through 20,000 somewhere inside that week. Reporting "during week 12" says exactly what the two computed values support and no more.
Using \(p(t) = 8 \cdot 2^{\,t}\), find the first whole week in which the rodent population exceeds 20,000.
Solution
Step 1 — Recognize the type of question. The number 20,000 is an output, and the unknown is the input. This is a solve, not an evaluate.
Step 2 — Try week 11. Substitute \(t = 11\):
$$p(11) = 8 \cdot 2^{11} = 8 \cdot 2048 = 16{,}384$$That is still below 20,000, so week 11 is too early.
Step 3 — Try week 12. Substitute \(t = 12\):
$$p(12) = 8 \cdot 2^{12} = 8 \cdot 4096 = 32{,}768$$That is above 20,000.
Step 4 — Read off the answer. The count was under 20,000 at week 11 and over it at week 12, so it crosses somewhere in between.
Answer: The population first exceeds 20,000 during week 12.
a) Let \(d(t) = 78t\) give the miles a family drives in \(t\) hours. Find \(d(4)\) and say what it means.
b) Explain in one sentence why \(f(x)\) is not \(f\) times \(x\).
c) Write "the height \(h\) of a drone, in meters, is a function of the seconds \(s\) since takeoff" in function notation.
d) Which of \(d(3.5)\) and \(d(t) = 450\) is an evaluate question, and which is a solve question?
Solution
Part (a) — Substitute \(t = 4\).
$$d(4) = 78(4) = 312$$The input is hours and the output is miles, so the family travels 312 miles in 4 hours.
Part (b). The letter \(f\) is the name of a rule, not a number, so there is nothing there to multiply by; the parentheses hold the input being fed in.
Part (c) — Name the input and the output. You pick a moment after takeoff and the drone's height follows, so \(s\) is the input and \(h\) is the output. Using \(f\) for the rule:
$$h = f(s)$$Part (d). In \(d(3.5)\) the number sits inside the parentheses, so an input has been handed to you — that is an evaluate. In \(d(t) = 450\) the letter is inside and the number is on the right, so an output has been handed to you and the input is missing — that is a solve.
Answer: (a) \(d(4) = 312\) miles; (b) \(f\) names a rule, not a number; (c) \(h = f(s)\); (d) \(d(3.5)\) evaluates, \(d(t) = 450\) solves.
1.3.6 Interpreting Function Notation in Context
Evaluating a function is arithmetic. Saying what the answer means is the actual skill, and it is the one the standards are most insistent about.
What \(f(3) = 7\) means
By itself, \(f(3) = 7\) says only this: when \(f\) takes 3 as its input, its output is 7. That is genuinely all. It is not much.
Attach quantities and units, and the same four symbols become a sentence about the world.
Suppose \(P\) gives the perimeter of a square whose side length is \(s\), with both measured in inches. Then
$$P(3) = 12$$means "a square with side length 3 inches has a perimeter of 12 inches." And the backwards version, \(P(s) = 32\), means "a square with side length \(s\) inches has a perimeter of 32 inches" — from which you can reason that \(s\) must be 8, and then write \(P(8) = 32\).
Now change what the quantities are, keeping the numbers identical. Suppose \(f\) gives the number of blog subscribers, in thousands, \(m\) months after a blogger started publishing. Then
$$f(3) = 12$$means "3 months after the blogger started, the blog has 12,000 subscribers."
Same symbols, wildly different sentence. The notation carries no meaning on its own; the meaning lives in what the input and output stand for, and somebody has to hand you that in the setup sentence. So read the setup twice before you touch the symbols.
Interpret each statement in words.
a) \(P(3) = 12\), where \(P(s)\) is the perimeter in inches of a square with side length \(s\) inches.
b) \(f(3) = 12\), where \(f(m)\) is the number of blog subscribers, in thousands, \(m\) months after publishing began.
Solution
Part (a) — Identify the quantities and units. The input \(s\) is a side length in inches; the output is a perimeter in inches.
Translate. A square with side length 3 inches has a perimeter of 12 inches.
Sanity-check it against what you know: four sides of 3 inches each gives \(4(3) = 12\) inches, so the statement is consistent.
Part (b) — Identify the quantities and units. The input \(m\) is months since publishing began; the output is subscribers in thousands.
Translate. Three months after the blogger started, the blog had 12,000 subscribers.
That "in thousands" is the whole difference between a right answer and one that is off by a factor of a thousand. The output 12 is not 12 subscribers.
Answer: (a) a square with 3-inch sides has a 12-inch perimeter; (b) three months in, the blog had 12,000 subscribers.
Units will get you if you are careless
That blog function is measured in thousands. Miss that and every interpretation you write will be off by a factor of a thousand. Before interpreting any statement in function notation, answer three questions in order:
1. What quantity is the input, and in what units?
2. What quantity is the output, and in what units?
3. Where does the input start counting from?
Question 3 matters more than it looks. If \(P(t)\) gives smartphone owners in millions, \(t\) years after 2000, then an input of \(17\) names the year 2017, an output of \(2320\) is 2.32 billion people rather than 2,320 people, and a negative input is not an error at all — it names a year before the counting started. The notation will not warn you when you get any of the three wrong.
\(P(t)\) gives the number of smartphone owners worldwide, in millions, \(t\) years after 2000.
a) Interpret \(P(17) = 2320\).
b) Write "in 2010, 296,600,000 people owned a smartphone" in function notation.
c) Interpret \(P(-10) = 0\).
Solution
Part (a) — Convert the input. The input counts years after 2000, so \(t = 17\) is the year \(2000 + 17 = 2017\).
Convert the output. The output counts millions, so \(2320\) million is
$$2320 \text{ million} = 2{,}320{,}000{,}000 = 2.32 \text{ billion}.$$In 2017, about 2.32 billion people owned a smartphone.
Part (b) — Convert the year to an input. The year 2010 is \(2010 - 2000 = 10\) years after 2000, so the input is \(10\), not \(2010\).
Convert the count to an output. The output is in millions, and
$$296{,}600{,}000 = 296.6 \text{ million},$$so the output is \(296.6\), not \(296{,}600{,}000\).
$$P(10) = 296.6$$Part (c) — A negative input. Ten years before 2000 is \(1990\), so \(t = -10\) is the year 1990. The output \(0\) million is zero people.
In 1990, no one owned a smartphone. The negative sign is not a mistake — it is how you name a year before the counting started.
Answer: (a) in 2017, about 2.32 billion people owned smartphones; (b) \(P(10) = 296.6\); (c) in 1990, no one owned a smartphone.
A gallery of interpretations
Each row is one statement in function notation and the sentence it means. Read the middle column, cover the right column, and say the sentence yourself.
| Function | Statement | What it means |
|---|---|---|
| \(P(t)\): height of water in a bathtub in inches, \(t\) minutes after filling starts | \(P(0) = 0\) | the bathtub starts out with no water |
| \(P(4) = 10\) | after 4 minutes, the water is 10 inches deep | |
| \(P(20) = 0\) | after 20 minutes, the bathtub is empty | |
| \(T(h)\): temperature of a house in °F, \(h\) hours after midnight | \(T(6) = 70\) | at 6 a.m. the house was 70 degrees |
| \(f(t)\): height of a drone in meters, \(t\) seconds after leaving the ground | \(f(2) = 4\) | 2 seconds after takeoff the drone is 4 meters up |
| \(C(n)\): price in dollars of \(n\) pizzas | \(C(11) = 55\) | 11 pizzas cost \$55 |
| \(f(t)\): number of ducks in a lake, \(t\) years after 1990 | \(f(5) = 30\) | in 1995 there were 30 ducks in the lake |
| \(p(y)\): police officers in a town in year \(y\) | \(p(2005) = 300\) | in 2005 the town had 300 police officers |
Every one of these rows is only readable because somebody told you what the input counts, what the output counts, and where the counting begins.
Comparing two outputs
Function notation can be put inside an inequality, and this is where interpretation gets genuinely useful.
Let \(W(t)\) give the temperature in degrees Fahrenheit of a pot of water on a stove, \(t\) minutes after the stove is turned on.
| Statement | What it means |
|---|---|
| \(W(0) = 72\) | when the stove was turned on, the water was 72°F |
| \(W(5) > W(2)\) | the water was hotter after 5 minutes than after 2 minutes |
| \(W(0) < W(30)\) | the water was cooler at the start than it was half an hour later |
Read \(W(5) > W(2)\) carefully. It compares outputs, not inputs. It is not saying 5 is bigger than 2 — that was never in question. It is saying the temperature at minute 5 was higher than the temperature at minute 2, which is a real claim about the water and could have been false.
Reading it off a graph
Because every point on a graph has coordinates (input, output), function notation and graph reading are the same activity.
Let \(f(t)\) give the depth of water in a tub, in inches, \(t\) minutes after it started draining. Suppose the graph passes through \((0, 6)\), \((2, 5)\), and \((6, 3)\), and that it is level between \(t = 7\) and \(t = 10\).
| Notation | On the graph | Meaning |
|---|---|---|
| \(f(0) = 6\) | the point \((0, 6)\) | when draining began, the water was 6 inches deep |
| \(f(2) = 5\) | the point \((2, 5)\) | after 2 minutes the water was 5 inches deep |
| \(f(t) = 3\) | the point \((6, 3)\) | the water reaches 3 inches after 6 minutes |
| \(f(2) > f(7)\) | the graph is lower at 7 than at 2 | the tub had more water in it at 2 minutes than at 7 |
| \(f(4) > f(6)\) | the graph is lower at 6 than at 4 | the water kept dropping between minutes 4 and 6 |
| \(f(7) = f(10)\) | the graph is flat from 7 to 10 | the depth was the same at 7 minutes and at 10 minutes |
Look hard at that last row. Two different inputs, \(7\) and \(10\), produce the same output. A whole flat stretch of graph is nothing but repeated outputs — and \(f\) is a function throughout, because no vertical line hits it twice. This is the misconception from §1.3.2, sitting in a real graph, where you can see it.
The same reading works on a table: every question you can ask about Table 1.3.1 — what \(g\) is at a given input, which inputs produce a particular output, which of the two functions is larger over a stretch — is answered in function notation, which is the whole point of having it.
Using Table 1.3.1, find \(g(-3)\), and find every input where \(f(x) = 0\).
Solution
Find \(g(-3)\). Read down the \(x\) column of Table 1.3.1 to the row \(-3\), then across to the \(g(x)\) column:
$$g(-3) = -5$$Find where \(f(x) = 0\). This one runs backwards: scan the \(f(x)\) column for zeros, then read back to the inputs that produced them. The value \(0\) appears in the rows \(x = 1\) and \(x = 2\).
$$f(1) = 0 \quad \text{and} \quad f(2) = 0$$Answer: \(g(-3) = -5\), and \(f(x) = 0\) at \(x = 1\) and \(x = 2\).
\(V(t)\) gives the number of visitors in a museum \(t\) hours after it opens at 9 a.m.
a) Interpret \(V(4) = 257\).
b) Interpret \(V(8) = 0\).
c) Write "at 10:15 a.m. there were 28 visitors" in function notation.
d) \(T(h)\) gives the temperature of a house in °F, \(h\) hours after midnight. Interpret \(T(6) > T(2)\).
Solution
Part (a) — Convert the input. The clock starts at 9 a.m., so \(t = 4\) is four hours later, which is 1 p.m. The output counts visitors.
At 1 p.m. there were 257 visitors in the museum.
Part (b) — Convert the input. Eight hours after 9 a.m. is 5 p.m.
At 5 p.m. there were no visitors left, which is why 5 p.m. is closing time.
Part (c) — Convert the time to an input. 10:15 a.m. is one hour and fifteen minutes after 9 a.m. Fifteen minutes is a quarter of an hour, so
$$t = 1 + \tfrac{15}{60} = 1.25.$$The output is the visitor count, 28:
$$V(1.25) = 28$$Part (d) — Compare outputs, not inputs. The statement puts two outputs side by side. \(T(6)\) is the temperature at 6 a.m. and \(T(2)\) is the temperature at 2 a.m.
The house was warmer at 6 a.m. than it was at 2 a.m. It is not saying 6 is bigger than 2 — that was never in doubt — it is a claim about the temperature that could have turned out false.
Answer: (a) 257 visitors at 1 p.m.; (b) no visitors at 5 p.m., closing time; (c) \(V(1.25) = 28\); (d) the house was warmer at 6 a.m. than at 2 a.m.
Everything in this section has been about the rule: which inputs go with which outputs, and how to write that down — including, by the end, how to compare two rules' outputs with a single inequality like \(g(x) > f(x)\). §1.4 needs that move right away, the moment it puts two pools draining side by side on the same pair of axes. But first it asks the two questions that come next, and it can only ask them now that "function" means something exact.
The first is: which inputs are allowed? Sylvia's pool graph runs from the moment she started until the moment she finished, and no further. Jamal's population model takes weeks, and a negative number of weeks is meaningless in that story. A sequence takes term numbers, and there is no term 2.5. The collection of allowed inputs is called the domain.
The second is: which outputs actually occur? The water depth in Sylvia's pool never goes below zero and never goes above the rim. The letter-grade function only ever produces five letters. The collection of outputs that actually come out is called the range.
You have already used both words informally in this section, and you already have the tools to think about them, because both are questions about inputs and outputs — and you now know exactly what those are.
Problem Set 1.3
Problem 1. For "the temperature of a room with respect to the time of day," name the input and the output.
Solution
Step 1 — Find the two quantities: The two quantities are the temperature of the room and the time of day.
Step 2 — Apply the naming pattern: The output is named first and the input comes after the connecting phrase "with respect to." Here temperature comes first and time of day comes after the phrase.
Answer: Input: the time of day. Output: the temperature of the room.
Problem 2. For "the cost of a taxi ride versus the number of miles driven," name the input and the output.
Solution
Step 1 — Find the two quantities: The two quantities are the cost of the taxi ride and the number of miles driven.
Step 2 — Apply the naming pattern: The connecting phrase is "versus," and the output is always named first. Cost comes first, miles driven comes second.
Answer: Input: the number of miles driven. Output: the cost of the taxi ride.
Problem 3. For "the number of tiles in a pattern is dependent on the step number," name the independent variable and the dependent variable.
Solution
Step 1 — Find the two quantities: The two quantities are the number of tiles in the pattern and the step number.
Step 2 — Apply the naming pattern: The phrase "is dependent on" puts the dependent variable (output) first and the independent variable (input) after it. The number of tiles is named first, so it is the dependent variable; the step number comes after "dependent on," so it is the independent variable.
Answer: Independent variable: the step number. Dependent variable: the number of tiles.
Problem 4. Explain in one or two sentences why "input" and "independent variable" name the same thing.
Solution
Step 1 — Recall what each term describes: The input is the quantity you choose or are given in a relationship, and it does not depend on the other quantity. The independent variable is defined the same way: a variable whose value is not determined by the other quantity.
Step 2 — State why they match: Both terms describe the same role in the relationship — the quantity that drives the relationship rather than being driven by it — so "input" and "independent variable" are just two different names, one informal and one algebraic, for the exact same quantity.
Answer: They name the same thing because both describe the quantity you choose freely, whose value is not determined by the other quantity in the relationship.
Problem 5. State the definition of a function in your own words, and explain what the word exactly is doing in it.
Solution
Step 1 — State the definition: A function is a relationship between two quantities where every input has exactly one output.
**Step 2 — Explain the word exactly:** The word exactly is doing two jobs at once. It rules out an input having zero outputs (every input must be assigned something), and it rules out an input having two or more outputs (an input cannot be assigned more than one thing). It does not say anything about outputs repeating across different inputs — that part is unrestricted.
Answer: A function assigns one and only one output to each input; exactly forbids both "no output" and "more than one output" for any single input, while leaving repeated outputs across different inputs completely allowed.
Problem 6. A classmate says "a relationship is a function as long as no value repeats." Explain what is wrong with that, and give an example that shows it.
Solution
Step 1 — Identify the error: The classmate's version, "no value repeats," is only half the actual rule. The real rule cares only about repeated inputs with different outputs — a repeated output is completely allowed and does not disqualify a relationship from being a function.
Step 2 — Give an example that breaks the classmate's version: Consider \(\{(1, 5),\; (2, 5)\}\). The output \(5\) repeats (it appears for both inputs), so by the classmate's rule this would not be a function. But it is a function: each input, \(1\) and \(2\), still has exactly one output.
Answer: The classmate's rule is wrong because it forbids repeated outputs, which are actually allowed; only a repeated input paired with two different outputs breaks the definition, and \(\{(1,5),(2,5)\}\) is a function despite its repeated output of \(5\).
Problem 7. Is \(\{(1, 4),\; (2, 4),\; (3, 4),\; (4, 4)\}\) a function? Explain.
Solution
Step 1 — List the inputs: The set is \(\{(1, 4),\; (2, 4),\; (3, 4),\; (4, 4)\}\), so the inputs are \(1, 2, 3, 4\).
Step 2 — Check for a repeated input: All four inputs are different, so no input is asked to produce two different outputs. The output \(4\) repeating four times is a repeated output, which the definition allows.
Answer: Yes, this is a function — every input appears only once.
Problem 8. Is \(\{(5, 1),\; (6, 2),\; (5, 3),\; (7, 4)\}\) a function? If not, give the counterexample.
Solution
Step 1 — List the inputs: The set is \(\{(5, 1),\; (6, 2),\; (5, 3),\; (7, 4)\}\), so the inputs are \(5, 6, 5, 7\).
Step 2 — Find the repeated input: The input \(5\) appears twice, once paired with \(1\) and once paired with \(3\).
Answer: No, this is not a function. The counterexample is \((5, 1)\) together with \((5, 3)\) — the input \(5\) has two different outputs.
Problem 9. Is \(\{(-2, 7),\; (0, 7),\; (2, 8),\; (4, 9)\}\) a function? Explain.
Solution
Step 1 — List the inputs: The set is \(\{(-2, 7),\; (0, 7),\; (2, 8),\; (4, 9)\}\), so the inputs are \(-2, 0, 2, 4\).
Step 2 — Check for a repeated input: All four inputs are different. The output \(7\) does repeat, at \(x = -2\) and \(x = 0\), but that is a repeated output, which is fine.
Answer: Yes, this is a function — no input is paired with more than one output.
Problem 10. A table has inputs \(3, 6, 9, 3\) and outputs \(1, 2, 3, 5\) in that order. Is it a function? Explain which column you checked.
Solution
Step 1 — Identify which column to check: The test only ever asks whether an input repeats with two different outputs, so the input column must be checked, not the output column.
Step 2 — Pair up the values and look for a repeated input: Reading in order, the pairs are \((3, 1)\), \((6, 2)\), \((9, 3)\), \((3, 5)\). The input \(3\) appears twice, once paired with \(1\) and once paired with \(5\).
Answer: No, this is not a function — the input column shows \(3\) repeating with two different outputs, \(1\) and \(5\).
Problem 11. Using Table 1.3.1, find \(f(-2)\) and \(g(-2)\).
Solution
Step 1 — Locate \(x = -2\) in Table 1.3.1: Reading down the \(x\) column to the row \(-2\), the \(f(x)\) column reads \(12\) and the \(g(x)\) column reads \(-1\).
Step 2 — Report both values: \(f(-2) = 12\) and \(g(-2) = -1\).
Answer: \(f(-2) = 12\) and \(g(-2) = -1\).
Problem 12. Using Table 1.3.1, list every input at which \(f\) produces the output \(20\).
Solution
Step 1 — Scan the \(f(x)\) column of Table 1.3.1 for the value \(20\): The value \(20\) appears in the row \(x = -3\) and again in the row \(x = 6\).
Step 2 — Read back to the inputs: Those two rows give \(f(-3) = 20\) and \(f(6) = 20\).
Answer: \(f\) produces the output \(20\) at \(x = -3\) and at \(x = 6\).
Problem 13. A mapping diagram sends \(1 \rightarrow 5\), \(2 \rightarrow 5\), \(3 \rightarrow 6\), and \(1 \rightarrow 8\). Is it a function? Name the input that decides it.
Solution
Step 1 — Look for an input with two arrows leaving it: The arrows are \(1 \rightarrow 5\), \(2 \rightarrow 5\), \(3 \rightarrow 6\), and \(1 \rightarrow 8\). The input \(1\) has two arrows leaving it, one to \(5\) and one to \(8\).
Step 2 — Note the arrows that are fine: Both \(1\) and \(2\) send an arrow to \(5\), but that is two different inputs sharing one output, which is allowed and irrelevant here.
Answer: No, this is not a function. The input \(1\) is the one that decides it, since it points to both \(5\) and \(8\).
Problem 14. State the vertical line test, and explain in two or three sentences why it is the definition of a function drawn as a picture.
Solution
Step 1 — State the vertical line test: A graph represents a function if and only if no vertical line crosses the graph more than once.
Step 2 — Explain why it is the definition drawn as a picture: A vertical line is the set of all points sharing one \(x\)-coordinate, so a vertical line is exactly one input. Every point where that line crosses the graph is an output assigned to that input. If the line crosses only once, that input has exactly one output; if it crosses twice, that input has two different outputs, which is precisely what the definition of a function forbids.
Answer: The vertical line test works because a vertical line represents a single input, and each crossing represents an output for it — so "crosses more than once" is just a picture of "one input, two outputs."
Problem 15. Explain why the horizontal line \(y = 8\) is a function but the vertical line \(x = 4\) is not.
Solution
Step 1 — Test \(y = 8\) with a vertical line: Any vertical line, at any \(x\)-value, crosses the horizontal line \(y = 8\) exactly once, always at the point where \(y = 8\). Every input has exactly one output, \(8\).
Step 2 — Test \(x = 4\) with a vertical line: The vertical line test line placed at \(x = 4\) lies directly on top of the graph itself, so it "crosses" it at every point along the line — infinitely many \(y\)-values for the single input \(4\).
Answer: \(y = 8\) is a function because every input produces the single output \(8\); \(x = 4\) is not a function because the one input \(4\) is paired with every possible output at once.
Problem 16. Explain why a circle drawn in the coordinate plane is not a function.
Solution
Step 1 — Set up the vertical line test on the circle: Take a circle centered at the origin. For most \(x\)-values strictly between the leftmost and rightmost points of the circle, a vertical line through that \(x\)-value crosses the circle at two points — one on the top half, one on the bottom half.
Step 2 — Read off the counterexample: For example, on the circle of radius \(5\), the vertical line at \(x = 3\) meets the circle at \((3, -4)\) and \((3, 4)\), since \(3^2 + 4^2 = 9 + 16 = 25 = 5^2\). The input \(x = 3\) is paired with two different outputs, \(y = -4\) and \(y = 4\).
Answer: A circle is not a function because it fails the vertical line test — most vertical lines through it cross twice, giving a single input two different outputs.
Problem 17. Is "the number of hours of daylight, as a function of the day of the year" a function? Reason in words.
Solution
Step 1 — Identify the quantities: The input is the day of the year, and the output is the number of hours of daylight on that day.
Step 2 — Reason about repeated inputs: On any single day of the year, there is exactly one, well-defined number of daylight hours — it cannot be, say, 10 hours and 12 hours on the same day at once.
Answer: Yes, this is a function, because every day of the year has exactly one daylight-hours value.
Problem 18. Is "the price of a used car, as a function of its year of manufacture" a function? Reason in words, and say what would have to be true for your answer to change.
Solution
Step 1 — Identify the quantities: The input is the year of manufacture, and the output is the price of a used car.
Step 2 — Reason about repeated inputs: Many different used cars can share the same year of manufacture, and those cars will generally have different prices depending on mileage, condition, and options. Feeding in one manufacture year does not determine a single price.
Step 3 — Say what would make it a function: The relationship becomes a function only if it is restricted to a single specific car (so "year" effectively becomes "year for this one vehicle") or if the output is redefined as something like the average price of cars from that year, which does return one number per year.
Answer: No, this is not a function, because cars sharing a manufacture year can have different prices; it would become a function if the output were pinned to one specific car or to a single average price per year.
Problem 19. Explain why "the length of fence needed, with respect to the rectangular area enclosed" is not a function, using an area of 100 square feet.
Solution
Step 1 — Set up the input: The input is the area to be enclosed, and the problem fixes it at \(100\) square feet.
Step 2 — Find at least two different rectangles enclosing that area, and compute their fence lengths: A \(10 \times 10\) square encloses \(100\) square feet with a perimeter of \(10 + 10 + 10 + 10 = 40\) feet. A \(5 \times 20\) rectangle also encloses \(100\) square feet, with a perimeter of \(5 + 20 + 5 + 20 = 50\) feet.
Step 3 — Conclude: The single input \(100\) square feet produced two different fence-length outputs, \(40\) feet and \(50\) feet (and infinitely many more rectangles would give still more values), so no single output can be assigned to that input.
Answer: Not a function — an area of \(100\) square feet does not determine one fence length; a \(10\times10\) square needs \(40\) feet while a \(5\times20\) rectangle needs \(50\) feet.
Problem 20. A relationship takes a student ID number and returns the student. Is it a function? Now reverse it. Is that a function? Explain the difference.
Solution
Step 1 — Test ID number in, student out: Every student ID number belongs to exactly one student, so feeding in an ID always returns one specific student. This is a function.
Step 2 — Test the reverse, student in, ID number out: Every student has exactly one ID number assigned to them, so feeding in a student also always returns one specific ID.
Step 3 — Explain the difference from a case like name versus Social Security number: Unlike a name (which many people can share), a student ID number is assigned to exactly one student and each student holds exactly one ID number — the pairing is one-to-one in both directions, so reversing it does not break anything the way reversing name-to-SSN did.
Answer: Both directions are functions: ID number \(\rightarrow\) student works because each ID names one student, and student \(\rightarrow\) ID number works because each student has exactly one ID.
Problem 21. A sequence begins \(5, 12, 19, 26, \dots\). Write a formula for the \(n\)th term, and find the 8th term.
Solution
Step 1 — Find the common difference: The sequence is \(5, 12, 19, 26, \dots\), and each term adds \(7\) to the one before it (\(12 - 5 = 7\), \(19 - 12 = 7\), \(26 - 19 = 7\)).
Step 2 — Build the formula: The first term is \(5\), and after \(n - 1\) steps of adding \(7\), the \(n\)th term is
$$a(n) = 5 + 7(n - 1) = 5 + 7n - 7 = 7n - 2.$$Check: \(a(1) = 7(1) - 2 = 5\) and \(a(2) = 7(2) - 2 = 12\), both correct.
Step 3 — Evaluate at \(n = 8\):
$$a(8) = 7(8) - 2 = 56 - 2 = 54.$$Answer: \(a(n) = 7n - 2\), and the 8th term is \(54\).
Problem 22. Explain in one or two sentences why a sequence cannot be asked for term \(4.5\).
Solution
Step 1 — Recall what a sequence's input represents: A sequence assigns an output to each term position — 1st, 2nd, 3rd, and so on — built one whole step at a time (as in the Growing Dots pattern from §1.2).
Step 2 — Explain why 4.5 does not fit: There is no "4.5th" step in a process that only ever advances in whole steps; the pattern was never drawn, built, or defined for a fractional position, so \(4.5\) simply is not one of the allowed inputs.
Answer: A sequence cannot be asked for term \(4.5\) because its inputs are restricted to whole numbers — the term positions — and \(4.5\) does not name any whole-number position.
Problem 23. Write "the number of gallons \(G\) of gas used is a function of the miles \(m\) driven" in function notation.
Solution
Step 1 — Identify input and output: You choose the number of miles driven, \(m\) (input), and the gallons of gas used, \(G\), is determined by it (output).
Step 2 — Write it in the pattern output = name(input): Calling the function \(f\),
$$G = f(m).$$Answer: \(G = f(m)\).
Problem 24. Write "the cost \(C\) of a phone plan depends on the number of gigabytes \(g\) used" in function notation.
Solution
Step 1 — Identify input and output: You choose the number of gigabytes used, \(g\) (input), and the cost of the phone plan, \(C\), depends on it (output).
Step 2 — Write it in the pattern output = name(input): Calling the function \(f\),
$$C = f(g).$$Answer: \(C = f(g)\).
Problem 25. Explain in two or three sentences why \(f(x)\) does not mean \(f\) times \(x\).
Solution
Step 1 — Recall what \(f\) stands for: The letter \(f\) is the name of a rule, not a number, so there is nothing there to multiply \(x\) by.
Step 2 — Explain what the parentheses actually do: The parentheses in \(f(x)\) hold the input being fed into the rule, the same way the parentheses on a calculator or spreadsheet hold an argument, not a factor — \(f(x)\) names the single output that the rule \(f\) produces from the input \(x\).
Answer: \(f(x)\) does not mean \(f\) times \(x\) because \(f\) is a function name, not a number, and the parentheses signal "the input goes here," not multiplication.
Problem 26. Let \(f(t) = 4t\). Find \(f(9)\) and \(f(25)\).
Solution
Step 1 — Evaluate \(f(9)\): Substitute \(t = 9\) into \(f(t) = 4t\):
$$f(9) = 4(9) = 36.$$Step 2 — Evaluate \(f(25)\): Substitute \(t = 25\):
$$f(25) = 4(25) = 100.$$Answer: \(f(9) = 36\) and \(f(25) = 100\).
Problem 27. Let \(p(t) = 8 \cdot 2^{\,t}\). Find \(p(0)\), \(p(3)\), and \(p(7)\).
Solution
Step 1 — Evaluate \(p(0)\): Substitute \(t = 0\) into \(p(t) = 8 \cdot 2^{\,t}\):
$$p(0) = 8 \cdot 2^{0} = 8 \cdot 1 = 8.$$Step 2 — Evaluate \(p(3)\): Substitute \(t = 3\):
$$p(3) = 8 \cdot 2^{3} = 8 \cdot 8 = 64.$$Step 3 — Evaluate \(p(7)\): Substitute \(t = 7\):
$$p(7) = 8 \cdot 2^{7} = 8 \cdot 128 = 1024.$$Answer: \(p(0) = 8\), \(p(3) = 64\), \(p(7) = 1024\).
Problem 28. Let \(d(t) = 78t\). Explain the difference between the questions \(d(6)\) and \(d(t) = 390\), then answer both.
Solution
Step 1 — Classify each question: In \(d(6)\), a number sits inside the parentheses, so this hands you an input and asks you to compute — it's an evaluate question. In \(d(t) = 390\), a letter sits inside the parentheses and a number sits on the right, so this hands you an output and asks you to find the input — it's a solve question.
Step 2 — Answer \(d(6)\): Substitute \(t = 6\) into \(d(t) = 78t\):
$$d(6) = 78(6) = 468.$$Step 3 — Answer \(d(t) = 390\): Solve for \(t\):
$$78t = 390 \quad\Rightarrow\quad t = \frac{390}{78} = 5.$$Answer: \(d(6)\) asks how many miles are driven in 6 hours, and it equals \(468\) miles; \(d(t) = 390\) asks how many hours it takes to drive \(390\) miles, and the answer is \(t = 5\) hours.
Problem 29. Let \(f\) take the name of a month and return the number of days in it, ignoring leap years. Find \(f(\text{June})\) and \(f(\text{February})\).
Solution
Step 1 — Evaluate \(f(\text{June})\): June has \(30\) days, so \(f(\text{June}) = 30\).
Step 2 — Evaluate \(f(\text{February})\): Ignoring leap years, February has \(28\) days, so \(f(\text{February}) = 28\).
Answer: \(f(\text{June}) = 30\) and \(f(\text{February}) = 28\).
Problem 30. \(R(h)\) gives the inches of rain that have fallen \(h\) hours into a storm. Interpret \(R(6) = 5\).
Solution
Step 1 — Identify the input and output: The input \(h\) counts hours into the storm, and the output \(R(h)\) counts inches of rain that have fallen.
Step 2 — Translate the statement: \(R(6) = 5\) says that when the input is \(6\), the output is \(5\).
Answer: Six hours into the storm, 5 inches of rain had fallen.
Problem 31. \(L(n)\) gives the number of people living on floor \(n\) of an apartment building. Interpret \(L(4) = 82\).
Solution
Step 1 — Identify the input and output: The input \(n\) is a floor number, and the output \(L(n)\) is the number of people living on that floor.
Step 2 — Translate the statement: \(L(4) = 82\) says that when the input is \(4\), the output is \(82\).
Answer: 82 people live on floor 4 of the apartment building.
Problem 32. \(P(t)\) gives smartphone owners worldwide in millions, \(t\) years after 2000. Write "in 2015, about 1.86 billion people owned a smartphone" in function notation.
Solution
Step 1 — Convert the year to an input: The input counts years after 2000, so the year 2015 corresponds to \(t = 2015 - 2000 = 15\).
Step 2 — Convert the count to an output: The output is measured in millions, and \(1.86\) billion people is
$$1.86 \text{ billion} = 1{,}860{,}000{,}000 = 1{,}860 \text{ million},$$so the output is \(1860\), not \(1{,}860{,}000{,}000\).
Answer: \(P(15) = 1860\).
Problem 33. \(P(t)\) gives smartphone owners worldwide in millions, \(t\) years after 2000. Interpret \(P(-10) = 0\), and explain why a negative input is not an error here.
Solution
Step 1 — Convert the input: The input counts years after 2000, so \(t = -10\) names the year \(2000 - 10 = 1990\), ten years before the counting started.
Step 2 — Translate the output: The output \(0\) million means zero people.
Step 3 — Explain the negative input: A negative input is not an error here because the input simply measures years relative to the reference point of 2000; a negative value just names a year before that reference point, exactly the way \(t = -10\) names 1990.
Answer: In 1990, no one owned a smartphone; the negative input is valid because it names a real year before the year-2000 starting point of the count, not a mistake.
Problem 34. \(C(t)\) gives the temperature of a pot of coffee \(t\) minutes after it is made. Interpret \(C(10) < C(5)\), and say what it tells you about the coffee.
Solution
Step 1 — Recognize the statement compares outputs: \(C(10) < C(5)\) compares the outputs of \(C\) at two different inputs; it is not comparing the numbers \(10\) and \(5\) directly.
Step 2 — Translate the comparison: \(C(10)\) is the coffee's temperature 10 minutes after it was made, and \(C(5)\) is its temperature 5 minutes after it was made. The statement says the first is less than the second.
Answer: The coffee was cooler at 10 minutes than it was at 5 minutes — in other words, the coffee was cooling down over that stretch of time.
Problem 35. \(f(t)\) gives the depth of water in a draining tub, in inches, \(t\) minutes after draining began. Interpret \(f(7) = f(10)\), and explain why it does not break the definition of a function.
Solution
Step 1 — Translate the statement: \(f(7) = f(10)\) says that the water depth at minute 7 equals the water depth at minute 10 — two different inputs, \(7\) and \(10\), producing the same output.
Step 2 — Explain why this is allowed: The definition of a function only forbids one input from having two different outputs. It says nothing against two different inputs sharing the same output — that is a repeated output, which is explicitly permitted. Here it simply means the draining tub had the same water depth at those two moments (for instance, if draining had finished or paused by then), not that the relationship broke down.
Answer: The water was the same depth at minute 7 as at minute 10; this does not break the definition of a function because repeated outputs from different inputs are allowed — only one input producing two different outputs would be a problem.
Problem 36. In §1.1 the four students found that a two-row border around an \(N\) by \(N\) center takes \(8N + 16\) tiles. Call that function \(B\). (a) Name the input and the output. (b) Write the rule in function notation. (c) Find \(B(10)\). (d) Find \(B(5)\) and say which count from §1.1 it has to agree with.
Solution
Step 1 — Name the quantities: The number of tiles the border takes depends on how big the center square is, so the center size \(N\) is the input and the tile count is the output.
Step 2 — Write it in function notation: \(B(N) = 8N + 16\).
Step 3 — Evaluate at 10: \(B(10) = 8(10) + 16 = 80 + 16 = 96\).
Step 4 — Evaluate at 5: \(B(5) = 8(5) + 16 = 40 + 16 = 56\). That is the 5 by 5 floor from §1.1, which all four students counted as 56 tiles.
Answer: Input: the center size \(N\). Output: the number of border tiles. \(B(N) = 8N + 16\); \(B(10) = 96\); \(B(5) = 56\), matching §1.1.
Problem 37. Growing Dots has the rule \(D(t) = 4t + 1\), where \(t\) is the number of minutes. Decide whether \(D\) is a function, and justify your answer with the definition rather than with a graph.
Solution
Step 1 — State the definition: A relationship is a function when every input has exactly one output.
Step 2 — Test it: Pick any minute \(t\). The rule multiplies it by 4 and adds 1. Arithmetic on a single number produces one result, never two — \(t = 7\) gives 29 and cannot also give anything else.
Step 3 — Look for a counterexample: There is none. No minute can be paired with two different dot counts, because the pattern has one definite number of dots at each moment.
Answer: Yes. Every input \(t\) produces exactly one output \(4t + 1\), so \(D\) is a function.
Problem 38. §1.2 built Growing, Growing Dots as \(N(t) = 2^{t}\), and this section used Jamal's rodent population \(p(t) = 8 \cdot 2^{t}\). (a) Find \(p(6)\). (b) Find \(N(6)\). (c) Explain in one sentence what the 8 does to the dots pattern.
Solution
Step 1 — Evaluate \(p(6)\): \(p(6) = 8 \cdot 2^{6} = 8 \cdot 64 = 512\).
Step 2 — Evaluate \(N(6)\): \(N(6) = 2^{6} = 64\).
Step 3 — Compare: 512 is 8 times 64. The 8 is a starting amount: the rodents begin at 8 instead of 1, and from there both patterns double at the same rate.
Answer: \(p(6) = 512\); \(N(6) = 64\); the 8 scales every output of the dots pattern by 8 without changing how fast it doubles.
Problem 39. Look again at \(B(N) = 8N + 16\) from Problem 1.3.36. The arithmetic will happily accept \(N = 2.5\) and \(N = -3\). Explain why neither belongs to a cafeteria floor, and describe in words which inputs do. (§1.4 gives this set a name.)
Solution
Step 1 — Test \(N = 2.5\): The rule returns 36, but a center square cannot be two and a half tiles on a side. Tiles are not cut in this problem, so the input has to be a whole number.
Step 2 — Test \(N = -3\): The rule returns \(-8\), and a floor cannot have a negative number of tiles, nor a side length of \(-3\).
Step 3 — Describe what is left: The center square has to be a whole number of tiles on a side, and there has to be at least one tile, so the sensible inputs are the counting numbers \(1, 2, 3, \ldots\)
Answer: Neither is allowed: 2.5 is not a whole number of tiles and \(-3\) is not a length. The inputs that make sense are the whole numbers \(N \ge 1\).
Problem 40. Let \(d(t)\) be the depth of the water in Sylvia's pool \(t\) minutes after she started. Explain why \(d(-5)\) has no meaning, and why \(d(4000)\) probably has none either. (§1.4 calls the inputs that do make sense the reasonable domain.)
Solution
Step 1 — Read the input: \(t\) counts minutes since Sylvia started working on the pool, so \(t = 0\) is the moment she began.
Step 2 — Why \(-5\) fails: A negative \(t\) is five minutes before she started. The function describes an afternoon of draining, cleaning and refilling; before that afternoon it describes nothing.
Step 3 — Why 4000 fails: 4000 minutes is more than two and a half days. The job ends when the pool is refilled, and after that the function has no situation left to describe.
Answer: Both fall outside the stretch of time the situation covers: the first is before the work started, the second is long after it finished.
Key Terms
input — the quantity you choose or are given in a relationship between two quantities.
output — the quantity determined by the input.
independent variable — another name for the input, so called because its value is not determined by the other quantity.
dependent variable — another name for the output, so called because its value depends on the input.
function — a relationship in which every input has exactly one output.
counterexample — a single case that disproves a general claim; for functions, one input with two different outputs.
vertical line test — a graph is a function exactly when no vertical line crosses it more than once.
function notation — the notation \(y = f(x)\), read "\(y\) equals \(f\) of \(x\)," naming the rule \(f\), its input \(x\), and its output \(f(x)\).
evaluating a function — substituting an input into the rule and computing the output.