Integrated Math 1 · Chapter 1 · Functions

Domain and Range

A rule will accept almost any number you hand it. The situation it models will not. This section is about the gap between those two answers — and about writing a discrete domain as the list it really is.


bookSHelf  ·  Integrated Math 1  ·  §1.4  ·  a self-paced section

Domain and range are new names for §1.3's inputs and outputs — plus a sharper question.
Domain and Range · bookSHelf Integrated Math 1§1.4

Outline — by the end of this section you will be able to

Objectives

  1. Name the domain as the set of allowed inputs and the range as the resulting outputs Def 1.4.1–2
  2. Find a domain and range from a table, a list of ordered pairs, or a graph §1.4.3–4
  3. Decide whether a number is a possible input or output, and say why Ex 1.4.1
  4. Determine a reasonable domain, apart from what the rule alone would allow Def 1.4.3
  5. Tell a discrete function from a continuous one, and write each domain to match Def 1.4.4–5
  6. Identify intercepts, maximum and minimum, and say what each means in context Def 1.4.6–9
Six SLOs, one line each.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.1 — The Water Park

Two pumps, two pools, one pair of axes

Aly and Dayne each drain a pool at their water park, one pump apiece. One graph shows both at once: the water in Aly’s pool, a(x)a(x), and in Dayne’s, d(x)d(x), against the time xx in minutes since they started.

Before any equations — say what you see

Both pools are draining, each at a constant rate — straight segments. The rates are not the same: Aly’s is steeper, so Aly’s pool drains faster.

Dayne’s pool starts with less water, but the segments cross: at one moment both hold the same amount, and after it the order flips.

Both eventually reach zero. Both pools do get empty; they just do not get there at the same time.

Two pools draining on one pair of axes, crossing once A graph of water remaining against time for two pools at a water park. The horizontal axis is time in minutes, the vertical axis is water in gallons. Aly's pool starts at 28,000 gallons and falls in a straight line to zero at 20 minutes. Dayne's pool starts lower, at 24,000 gallons, and falls less steeply in a straight line to zero at 24 minutes. Because Aly's line is steeper it overtakes Dayne's: the two segments cross exactly once, at 10 minutes, where both pools hold 14,000 gallons, and after that Aly's line runs below Dayne's and reaches the axis first. A dot marks the crossing, with dashed guides down to 10 on the time axis and across to 14,000 on the gallons axis. A closing line reads: at some point in time, both pools will have the same amount of water. Both pools are draining. Watch which one starts higher, which falls faster, and where they meet. water (gallons) time (minutes) 0 Aly a(x) = 28,000 − 1400x Dayne d(x) = 24,000 − 1000x 28,000 24,000 10 10 minutes in, both hold 14,000 gallons 20 24 At some point in time, both pools will have the same amount of water.

Figure 1.4.1: two pools draining on one pair of axes — the steeper line starts higher and still empties first.

Every observation above came from the shape of two lines, with no scale on either axis. The section attaches the numbers on the next slides.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.1 — Worked example

Dayne's pump: building a rule from a rate

Dayne's pump removes 1000 gallons a minute and empties the pool in 24 minutes. Write d(x)d(x), the gallons left after xx minutes, and check it at both ends.

StepWork
Start amountAt 1000 gallons a minute for 24 minutes, the pool started with 100024=24,0001000 \cdot 24 = 24{,}000 gallons.
Write the ruleAfter xx minutes the pump has removed 1000x1000x gallons, so d(x)=24,0001000xd(x) = 24{,}000 - 1000x.
Say the pieces24,00024{,}000 = water at the start; 10001000 = the rate; 1000x-1000x = the total removed — the minus sign is the draining.
Check both endsd(0)=24,000d(0) = 24{,}000 and d(24)=24,0001000(24)=0d(24) = 24{,}000 - 1000(24) = 0. At the start the pool is full; after 24 minutes it is empty.

Answer. d(x)=24,0001000xd(x) = 24{,}000 - 1000x, and both endpoints agree with the story, so the rule is right.

Example 1.4.1. Two facts about a rate are enough to write the function.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.1 — Worked example

Aly's pump: building a rule from two points on a graph

Aly's pump does not come with a stated rate. It comes with a graph: Aly's segment starts at 28,000 gallons when x=0x = 0 and reaches zero at 20 minutes. Write a(x)a(x).

StepWork
Find the rateTwo points are enough for a straight line, and the two easiest to read are the ends. Aly's pump removed 28,000 gallons in 20 minutes: 28,000 gallons20 minutes=1400\frac{28{,}000 \text{ gallons}}{20 \text{ minutes}} = 1400 gallons per minute.
Same shape as Dayne'sStart full, subtract the rate times the time: a(x)=28,0001400xa(x) = 28{,}000 - 1400x.
Check the endsa(0)=28,000a(0) = 28{,}000 and a(20)=28,0001400(20)=0a(20) = 28{,}000 - 1400(20) = 0.

Answer. a(x)=28,0001400xa(x) = 28{,}000 - 1400x. Aly's pool started with 4000 more gallons and drained 400 gallons per minute faster, which is why it finished four minutes sooner.

Example 1.4.2. Reading a rule off a graph is the skill §1.2 has been building. Keep both rules where you can see them.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.1 — Your turn

Try It Now 1.4.1

Try It Now 1.4.1

A third pump empties a 30,000-gallon pool at 1500 gallons a minute.

a) Write the rule for the gallons remaining after xx minutes.

b) How long does it take to empty?

c) How much is left after 12 minutes?

Answer

a) Start full, subtract the rate times the time: p(x)=30,0001500xp(x) = 30{,}000 - 1500x.

b) The pool is empty when p(x)=0p(x) = 0: 30,0001500x=030{,}000 - 1500x = 0, so 1500x=30,0001500x = 30{,}000 and x=20x = 20 minutes.

c) p(12)=30,0001500(12)=30,00018,000=12,000p(12) = 30{,}000 - 1500(12) = 30{,}000 - 18{,}000 = 12{,}000 gallons.

Try It Now 1.4.1. The third pump returns in Try It Now 1.4.2.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.2 — Domain: the set of allowed inputs

Not “all numbers” — all the possible ones

Which inputs are possible has to be answered fresh for every function, by looking at both the rule and the situation. Three shapes cover almost every domain you will write.

Shape of the domainExampleHow to write it
A short list of specific valuescamp enrollment{5,6,7,,16}\{5, 6, 7, \ldots, 16\}
Everything from one number onside length of a squares0s \ge 0
Everything except a few valuesf(x)=6x2f(x) = \dfrac{6}{x-2}all real numbers, x2x \neq 2

A sentence in plain English is always allowed too: “any whole number of students from 5 to 16” says exactly what {5,6,,16}\{5, 6, \ldots, 16\} says.

Three shapes, three notations. The list form is the one students smear into an interval.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.2 — Definition

Domain

Definition 1.4.1 — Domain

The domain of a function is the set of all of its possible input values.

Notice what it does not say. It does not say “all numbers.” It says all the possible inputs, which leaves open the question of what makes an input possible.

Sweeping left to right lays down the band of times the graph reaches, and that band is the domain A graph of a bungee jumper's height in feet against time in seconds. The curve starts at 75 feet at time 0, plunges to 10 feet, springs back to a lower peak, and keeps oscillating with smaller and smaller swings before levelling off near thirty-two feet, where the stretched cord holds the jumper until the ride ends at 35 seconds. A vertical line then sweeps from the left edge of the graph to the right edge, and as it travels it lays down a solid band along the horizontal axis running from 0 to 35. The band is labelled: the domain, every input the graph reaches. Below the horizontal axis the inequality 0 is less than or equal to t is less than or equal to 35 appears, and a closing line reads: the domain says the jump lasted 35 seconds. In a bungee jump, the height of the jumper is a function of the time since the jump began. height (feet) 75 10 0 35 time (seconds) sweep left to right the domain — every input the graph reaches 0 ≤ t ≤ 35 The domain says the jump lasted 35 seconds.

Definition 1.4.1: sweep left to right, and the band you lay down along the input axis is the set of allowed inputs.

The sweep is the technique §1.4.4 formalises; here it just makes the definition visible.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.2 — Your turn

Try It Now 1.4.1

Try It Now 1.4.1

A movie theater sells tickets for a single showing; the auditorium holds 240 people.

a) Describe the domain of the ticket-sales function in words.

b) Find the domain of g(x)=10x+4g(x) = \dfrac{10}{x + 4}.

Answer

a) People come in whole units, you cannot sell a negative ticket, and the room holds 240: the whole numbers {0,1,2,,240}\{0, 1, 2, \ldots, 240\}. Both limits came from the situation.

b) No situation here, so only the arithmetic can refuse. x+4=0x + 4 = 0 at x=4x = -4, so all real numbers with x4x \neq -4.

Try It Now 1.4.1. One domain from a situation, one from the rule.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.3 — Range: the set of resulting outputs

The range follows from the domain

If you have the domain and the rule, the range is not a new mystery — it is what you get by running every allowed input through the machine and collecting the results.

For Dayne's pool the output is an amount of water in gallons. The most it ever holds is 24,000, at the start. The least is 0, at the end. It falls steadily between those two without skipping anything, so every amount in between actually occurs at some moment.

0d24,0000 \le d \le 24{,}000

Aly's range is 0a28,0000 \le a \le 28{,}000 by the same argument. Domain and range look alike for these two pools. That is a coincidence of this function, not a rule — the next example is where the two come apart.

Domain in, range out. Same-looking answer here is a coincidence.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.3 — Definition

Range

Definition 1.4.2 — Range

The range of a function is the set of all of its possible output values.

Domain is what goes in; range is what comes out. The second definition is the mirror of the first, and so is the sweep that finds it.

Sweeping bottom to top lays down the band of heights the graph reaches, and that band is the range The same graph of a bungee jumper's height in feet against time in seconds used for the domain. A horizontal line sweeps upward from the bottom of the graph. Nothing is collected until it reaches 10 feet; from there a solid band grows upward along the vertical axis and stops at 75 feet, because the graph never goes higher. The band is labelled with the inequality 10 is less than or equal to h is less than or equal to 75. A dashed line is then drawn across the graph at 40 feet and a dot is placed at each of the seven places the curve crosses it, above the lines: the jumper passes through a height of 40 feet many times, and it records which heights occurred, not how often. A closing line reads: the range stops 10 feet short. Domain is about how wide the graph is. Range is about how tall it is. height (feet) 75 10 0 35 time (seconds) sweep bottom to top 10 ≤ h ≤ 75 40 The jumper passes through a height of 40 feet many times. It records which heights occurred, not how often. The range stops 10 feet short.

Definition 1.4.2: sweep bottom to top, and the band you lay down along the output axis is the set of resulting outputs.

Mirror of Definition 1.4.1 — same graph, the other axis.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.3 — Worked example

Two range questions, one method

Is 2000 gallons a possible output for Dayne's pool? Is 25,000? To test a number, work backwards and ask which input produces it. Solve d(x)=24,0001000xd(x) = 24{,}000 - 1000x for each; what decides it is whether the input handed back is in the domain [0,24][0, 24].

QuestionWork backwardsVerdict
Is 2000 in the range?24,0001000x=20001000x=22,000x=2224{,}000 - 1000x = 2000 \Rightarrow 1000x = 22{,}000 \Rightarrow x = 22yes — x=22x = 22 is in [0,24][0, 24]. The pool holds 2000 gallons at exactly 22 minutes, two minutes before it runs dry.
Is 25,000 in the range?24,0001000x=25,0001000x=1000x=124{,}000 - 1000x = 25{,}000 \Rightarrow 1000x = -1000 \Rightarrow x = -1no — that input is one minute before the pump switched on, and it is not in the domain. The pool never held more water than it started with.

Answer. 2000 is in the range (at x=22x = 22); 25,000 is not. The arithmetic answered happily both times; the domain decided it.

Example 1.4.3. Solve, then ask whether the input you got is allowed. The domain decides.
Domain and Range · bookSHelf Integrated Math 1§1.4

Insight — reading the machine backwards

Ranges that surprise you

Testing a range value is like checking whether a vending machine can hand you a specific snack. You do not shake the machine — you look at which button would have to be pressed. If there is no such button, the snack is not on offer.

FunctionDomainRange
p(x)=3p(x) = 3, for x2x \ge -2infinitely many inputs{3}\{3\}
f(x)=2x3f(x) = 2x - 3all real numbersall real numbers
g(x)=1x2g(x) = \dfrac{1}{x - 2}all real numbers, x2x \neq 2all real numbers, g0g \neq 0

In the last row the excluded input and the excluded output are different numbers. A fraction with 1 on top is never zero.

An enormous domain can have a one-element range.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.3 — Your turn

Try It Now 1.4.2

Try It Now 1.4.2

A club sells wristbands for $3 each and has 20 to sell, so W(b)=3bW(b) = 3b.

a) State the domain and the range.

b) Is $46 a possible total? Use the backwards move.

Answer

a) Domain {0,1,2,,20}\{0, 1, 2, \ldots, 20\}; range {0,3,6,,60}\{0, 3, 6, \ldots, 60\} — the twenty-one multiples of 3 up to 320=603 \cdot 20 = 60.

b) 3b=463b = 46 gives b15.3b \approx 15.3, not a whole number of wristbands. The club can collect $45 or $48, never exactly $46.

Try It Now 1.4.2. Working backwards is the range test.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.4 — Writing a domain down: interval notation

A shorthand for “every time from here to there”

Inequalities like 0x240 \le x \le 24 have a shorthand, and a draining pool produces exactly the domain it was made for. Dayne’s, both ends in, is [0,24][0, 24], and his range is [0, 24,000][0,\ 24{,}000]. Aly's are [0,20][0, 20] and [0, 28,000][0,\ 28{,}000].

WrittenSaysIn words
[0,24][0, 24]0x240 \le x \le 24from 0 to 24, both endpoints included
(0,24)(0, 24)0<x<240 < x < 24strictly between 0 and 24, neither endpoint included
[0,24)[0, 24)0x<240 \le x < 240 is included, 24 is not
[0,)[0, \infty)x0x \ge 00 and everything above it, forever

The symbol \infty never gets a square bracket: that would say “this endpoint is in the set,” and infinity is a direction, not a number. Which bracket is a question about the situation: at x=0x = 0 the pump switches on and the pool holds 24,000 gallons, a real reading, so the bracket is square.

The bracket carries the whole meaning. Four shapes, one table.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.4 — Definition

Interval Notation

Definition 1.4.3 — Interval Notation

Interval notation writes a set of numbers by giving its two endpoints, with a square bracket where the endpoint is included and a round bracket where it is not.

The bracket carries the whole meaning. Is the pool's starting moment part of the story? Yes — at x=0x = 0 the pump switches on and the pool holds 24,000 gallons, which is a real reading. So the bracket is square. Is the finishing moment part of the story? Also yes: at x=24x = 24 the pool holds 0 gallons, which is a real reading too.

Square bracket if the endpoint is in the set, round if it is not Four number lines, one above another, each mapped to its interval notation. The first runs from a filled endpoint at 0 to a filled endpoint at 24, squared on both sides and labelled open bracket 0 comma 24 close bracket, both endpoints included. The second runs from an open endpoint at 0 to an open endpoint at 24, rounded on both sides and labelled with round brackets, neither endpoint included. The third runs from a filled endpoint at 0 to an open endpoint at 24, one of each, 0 is included, 24 is not. The fourth starts filled at 0 and runs off the page in an arrow, labelled open bracket 0 comma infinity close bracket, with a closing note: infinity is a direction, not a number, so it always takes a round bracket. Square bracket where the endpoint is included; round where it is not. 0 24 [0, 24] both endpoints included 0 24 (0, 24) neither endpoint included 0 24 [0, 24) 0 is included, 24 is not 0 [0, ∞) 0 and everything above it, forever Infinity is a direction, not a number, so it always takes a round bracket.

Definition 1.4.3: filled means included, open means excluded — and the bracket says which.

Definition 1.4.3. Bracket-versus-parenthesis is the payload; every later domain in the deck is written with it.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.4 — Your turn

Try It Now 1.4.4

Try It Now 1.4.4

Write each in interval notation, or explain why you cannot.

a) 2x7-2 \le x \le 7

b) x>0x > 0

c) all real numbers except 4

Answer

a) Both endpoints are included, so both brackets are square: [2,7][-2, 7].

b) Zero itself is excluded and there is no upper end, so a round bracket on both sides: (0,)(0, \infty). Infinity always takes a round bracket.

c) You cannot write this as a single interval. An interval is one unbroken stretch, and this set is the number line with a hole punched in it at 4. It needs two intervals joined together, or the plain description “all real numbers except 4.”

Try It Now 1.4.4. Part c is the handoff to §1.4.7 — a gap is not an interval.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.5 — Reasonable domain and range in context

Two domains compete for the name

QuestionAnswer for T(n)=7nT(n) = 7n, $7 tickets, 100 seats
What would the rule accept?Any number at all. 7(3)=217 \cdot (-3) = -21; 72.5=17.57 \cdot 2.5 = 17.5. The arithmetic never complains.
What does the situation permit?Whole numbers only, at least 0, at most 100.

The second is almost always smaller, and the second is the one you want. It is the answer the model is actually making a claim about.

The whole subsection in two rows.
Domain and Range · bookSHelf Integrated Math 1§1.4

Context Pause — this is a judgment, not a calculation

Same thirty seconds, four different ranges

A child swings for 30 seconds. Every function below has the same input — time since the child got on — so every domain is the same. Only the choice of output quantity differs, and no formula produces these answers.

Output quantityDomainRange
hhheight of the seat above the ground, ft0t300 \le t \le 301.5h41.5 \le h \le 4
rrtime left on the swing, s0t300 \le t \le 300r300 \le r \le 30
dddistance from the top beam, ft0t300 \le t \le 30{7}\{7\}
pptotal number of pushes so far0t300 \le t \le 30{0,1,2,3,4,5}\{0, 1, 2, 3, 4, 5\}
Reading the situation is the skill being tested. Note p jumps; there is no such thing as 2.5 pushes.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.5 — Definition

Reasonable Domain

Definition 1.4.3 — Reasonable Domain

The reasonable domain of a function is the set of input values that make sense in the situation being modeled, which may be much smaller than the set the rule alone would accept.

Time cannot be negative. You cannot buy 2.52.5 buses. A rocket’s height stops meaning anything once it lands.

The rule accepts an unbroken number line; the situation clips it three times, down to the whole numbers from 0 through 100 The rule T of n equals 7 n is stated above a note that tickets are 7 dollars each and the theater has 100 seats. Under the heading what would the rule accept, an unbroken number line runs off the page in both directions, noted as any number at all, since 7 times negative 3 is negative 21 and 7 times 2.5 is 17.5, and the arithmetic never complains. Under the heading what does the situation permit, the same unbroken line appears and is then clipped three times. First the unbroken line is replaced by separated dots, one at each whole number, because whole numbers only, you cannot sell 2.5 tickets. Then the dots to the left of 0 and the arrow beyond them disappear, at least 0, since you cannot sell a negative number of tickets. Then the dots to the right of 100 and the arrow beyond them disappear, at most 100, since the theater has 100 seats. What survives is a bracketed run of dots from 0 to 100, written as the set 0, 1, 2, and so on to 100, with a closing line: it is the whole numbers from 0 through 100. T(n) = 7n Tickets are $7 each, and the theater has 100 seats. What would the rule accept? Any number at all. 7 · (−3) = −21; 7 · 2.5 = 17.5. The arithmetic never complains. What does the situation permit? 0 25 50 75 100 Whole numbers only — you cannot sell 2.5 tickets. At least 0, since you cannot sell a negative number of tickets. At most 100, since the theater has 100 seats. {0, 1, 2, …, 100} It is the whole numbers from 0 through 100.

Definition 1.4.3: the rule accepts an unbroken number line, and the situation clips it three times.

Three clips: whole units, a floor, and a ceiling.
Domain and Range · bookSHelf Integrated Math 1§1.4

Insight — the rule is the door, the situation is the bouncer

Three functions, three different reasons

The rule only refuses numbers that break the arithmetic. The situation stands outside and turns away numbers the arithmetic would have accepted without complaint.

FunctionDomainWho refused
A(s)=s2A(s) = s^2, area of a squares0s \ge 0the situation — s2s^2 squares 4-4 happily
R(n)=40nR(n) = 40n, tennis-camp revenue{5,6,,16}\{5, 6, \ldots, 16\}the situation, twice — whole students, 5 to 16
K(C)=C+273.15K(C) = C + 273.15, Celsius to KelvinC273.15C \ge -273.15physics — nothing is colder than absolute zero

Most of the interesting restrictions in this section come from the bouncer, not the door.

The camp domain is twelve numbers, not everything between 5 and 16.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.5 — Worked example

A rectangle of fixed area

A rectangle has area 24 cm224 \text{ cm}^2, so its length is a function of its width: L(w)=24wL(w) = \dfrac{24}{w}. Which of 33, 0.50.5, 4848, 6-6, 00 are possible inputs?

Candidate wwPossible?Why
33yesL(3)=8L(3) = 8. A 3 cm by 8 cm rectangle has area 24.
0.50.5yesL(0.5)=48L(0.5) = 48. A long thin rectangle, but a real one.
4848yesL(48)=0.5L(48) = 0.5. The same rectangle, turned on its side.
6-6noThe situation alone refuses; the arithmetic would have returned 4-4.
00noBoth refuse: 240\tfrac{24}{0} is undefined, and a rectangle with zero width is not a rectangle.
Example 1.4.8. When a value is excluded, know which of the two reasons excluded it.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.2 — What happens near the forbidden input

The gap in the graph is the gap in the domain

xx1.91.91.9991.9992.0012.0012.12.1
f(x)f(x)60-606000-6000600060006060

Table 1.4.2: Outputs of f(x)=6x2f(x) = \dfrac{6}{x-2} at inputs close to 2.

Creeping toward 2 from the left the outputs plunge; from the right they rocket upward. The graph splits into two pieces at x=2x = 2 — the missing input, drawn.

Table 1.4.2. The excluded input is visible as a break in the curve.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.5 — Your turn

Try It Now 1.4.5

Try It Now 1.4.5

A school sells yearbooks for $25 each and printed 300 copies, so Y(b)=25bY(b) = 25b.

a) State the reasonable domain, and say which limit came from the arithmetic and which from the situation.

b) Is $260 a possible total?

Answer

a) {0,1,2,,300}\{0, 1, 2, \ldots, 300\}. The rule 25b25b accepts every number, so the arithmetic imposes nothing; all three limits came from the situation.

b) 25b=26025b = 260 gives b=10.4b = 10.4, not a whole number of yearbooks. $250 or $275, never $260.

Try It Now 1.4.5. All three limits from the situation — common for a simple multiplication model.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.6 — Domain and range from a table or a list of pairs

Here you do not reason. You read.

A coordinate pair is written (input,output)(\text{input}, \text{output}). So in a list of pairs the domain is every first coordinate and the range is every second coordinate — which makes this the easiest of the three representations.

List each value only once

If a function pairs (1,5)(1, 5), (2,5)(2, 5) and (3,5)(3, 5), the range is {5}\{5\} — one element. A set records which values appear, not how many times.

Order does not matter, but sorting helps

{4,1,3,2}\{4, 1, 3, 2\} and {1,2,3,4}\{1, 2, 3, 4\} are the same set. Sorting makes it far easier to read and far harder to make a mistake with.

Two conventions for writing a set down.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.6 — Worked example

Example 1.4.6: reading a domain and range off four pairs

A function is given by (1,3)(1, 3), (2,6)(2, 6), (3,12)(3, 12), (4,24)(4, 24). Write it as a table, then state the domain and the range.

Input xx1234
Output yy361224

Table 1.4.4: The four ordered pairs arranged as an input row and an output row.

Answer. Read the domain across the top row, {1,2,3,4}\{1, 2, 3, 4\}; read the range across the bottom row, {3,6,12,24}\{3, 6, 12, 24\}.

Example 1.4.4. Top row is the domain, bottom row is the range.
Domain and Range · bookSHelf Integrated Math 1§1.4

Context Pause — a table is usually a sample, not the whole function

The table ran out of room; the function did not

A field trip costs $15 per student. A table lists C(1)=15C(1) = 15, C(2)=30C(2) = 30 and C(3)=45C(3) = 45.

The domain of that function is not {1,2,3}\{1, 2, 3\}. It is every possible number of students; the table only had room for three of them.

Read the words as well as the grid. A list of pairs is the whole function; a table of a described situation is a sample of one.

The difference between a list of pairs and a sampled table.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.6 — Your turn

Try It Now 1.4.6

Try It Now 1.4.6

a) A function is given by (2,7)(-2, 7), (0,7)(0, 7), (3,1)(3, 1), (5,9)(5, 9). State the domain and the range.

b) A table shows P(1)=12P(1) = 12, P(2)=24P(2) = 24, P(3)=36P(3) = 36 for pizzas at $12 each. Is the domain {1,2,3}\{1, 2, 3\}?

Answer

a) Domain {2,0,3,5}\{-2, 0, 3, 5\}; range {1,7,9}\{1, 7, 9\} — the output 7 appears twice and a set lists it once.

b) No. The words describe an ongoing situation, and nothing stops someone ordering 4 pizzas or 10. The table is a sample.

Try It Now 1.4.3. Part b is the Context Pause, tested.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.7 — Discrete and continuous

The test is one question: can the input be split?

Splits → continuous

Hours, lengths, weights and temperatures can be divided as finely as you like, so functions of those quantities are continuous and their domains are written as inequalities.

Does not split → discrete

Students, tickets, buses, pushes and barks cannot be divided, so functions of those are discrete and their domains are written as lists.

The swing gave you both at once: a height that filled a whole stretch of values, and a push count that was six separated numbers.

One question decides the type, and the type decides the notation.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.7 — Definition

Definition 1.4.4 — Discrete Function

A discrete function is a function whose domain and range consist of distinct, separate values rather than an unbroken interval of values.

The tennis-camp function is discrete. Its domain is {5,6,,16}\{5, 6, \ldots, 16\} and its graph is twelve separate dots, not a line.

Definition 1.4.4. A list, and the graph is dots.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.7 — Definition

Continuous Function

Definition 1.4.5 — Continuous Function

A continuous function is a function whose graph has no breaks in it. The domain and range of a continuous function are usually described by an interval, written as an inequality.

Twelve separate dots against one unbroken segment — and the description has to match the picture.

Twelve separate dots against one unbroken segment: the difference between a discrete and a continuous function Two graphs side by side, separated by a vertical rule. On the left is the tennis camp, R of n equals 40 n, whose input is a number of students and cannot be split; twelve separate dots appear one at a time, from 5 students at 200 dollars up to 16 students at 640 dollars, and the gaps between them stay empty. On the right is the parking garage, P of h equals 5 h plus 10, whose input is hours parked and can be split as finely as you like; a single straight segment is drawn in one unbroken stroke from 0 hours at 10 dollars to 6 hours at 40 dollars. Beneath the left graph: twelve separate points, the set 5, 6, 7 and so on to 16, discrete. Beneath the right graph: one unbroken segment, 0 is less than or equal to h is less than or equal to 6, continuous. A closing line reads: the dots have gaps between them, so the description has to have gaps too. The test is nearly always the same one question: can the input quantity be split? Tennis camp R(n) = 40n number of students — cannot be split $200 $640 5 16 Parking garage P(h) = 5h + 10 hours parked — can be split as finely as you like $10 $40 0 6 12 separate points one unbroken segment {5, 6, 7, …, 16} 0 ≤ h ≤ 6 discrete continuous The dots have gaps between them, so the description has to have gaps too.

Definition 1.4.5: twelve separate dots against one unbroken segment, and the description has to match.

Definition 1.4.5. The figure puts the camp and the garage side by side.
Domain and Range · bookSHelf Integrated Math 1§1.4

Context Pause — do not smooth over the gaps

Writing 0n120 \le n \le 12 for the boxes is wrong

The Library of Congress ships books about 8 to a box, so B(n)=8nB(n) = 8n, at most 12 boxes. It claims 7.57.5 and 11.911.9 are inputs; there is no such thing as 7.57.5 boxes. The dots have gaps, so the description must too.

Books in boxesMedicine in the bloodstream
RuleB(n)=8nB(n) = 8nM(t)=60(0.8)tM(t) = 60(0.8)^t
Input quantitynumber of boxeshours elapsed
Can the input be split?noyes
Typediscretecontinuous
Domain{0,1,2,3,}\{0, 1, 2, 3, \ldots\}[0,)[0, \infty)
Range{0,8,16,24,}\{0, 8, 16, 24, \ldots\}(0,60](0, 60]
The notation is not cosmetic — it is the claim about which inputs exist. The medicine's 0 in the range gets a round bracket: the amount never actually reaches zero.
Domain and Range · bookSHelf Integrated Math 1§1.4

Insight — half a bus is not half as useful

Some quantities split. Some do not.

You can buy half a gallon of gas and get half as much driving. You cannot buy half a bus and get half as much bus.

No amount of algebra will change which side a quantity falls on. Decide it by looking at the quantity, before you write any notation down.

The discrete/continuous call is made about the world, not about the formula.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.7 — Your turn

Try It Now 1.4.7

Try It Now 1.4.7

Decide whether each function is discrete or continuous, and write its domain in the matching form.

a) A rain gauge holds up to 5 inches; V(d)V(d) is the depth of water in it.

b) A theater sells tickets in packs of 4, up to 10 packs; K(p)=4pK(p) = 4p.

Answer

a) Depth is a length, so it splits: continuous, 0d50 \le d \le 5.

b) Packs do not split: discrete, {0,1,2,,10}\{0, 1, 2, \ldots, 10\}. Writing 0p100 \le p \le 10 would claim you can buy 3.53.5 packs.

Try It Now 1.4.6. Same question twice, opposite answers.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.8 — Domain and range from a graph

Two motions, and they are the whole technique

QuestionDirection to sweepWhat you record
Domainleft to rightthe smallest and largest inputs the graph reaches
Rangebottom to topthe smallest and largest outputs the graph reaches

Both rows describe the same graph, read in different directions. On a graph, domain and range become almost physical.

The two sweeps. Everything in §1.4.4 is one of these two motions.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.8 — Worked example

Example 1.4.7: sweeping a graph that doubles back

A bungee jumper's height is a function of time. The graph starts at the platform, plunges, springs back to a lower peak, and oscillates with smaller swings until the jumper is lowered. Lowest point 10 feet, highest about 75 feet, and the jump ends 35 seconds in.

Sweep left to right

0t350 \le t \le 35The jump lasted 35 seconds.

Sweep bottom to top

10h7510 \le h \le 75Never above 75 ft, never below 10 ft.

Did they ever touch down? No — the range stops 10 feet short. The jumper passes 40 feet many times on the way down and up; the range records which heights occurred, not how often.

Example 1.4.5. The range answers a question about the jump, not about an axis.
Domain and Range · bookSHelf Integrated Math 1§1.4

Context Pause — an endpoint may just be the edge of the picture

Did the graph stop, or did the paper?

Check whether a graph really stops where it appears to, or whether it simply ran off the frame. A partial graph shows part of a function.

If a curve is still climbing when it leaves the top of the picture, you cannot read a maximum off it.

This one costs students points every year, and it costs them on the range, where a false maximum turns into a false upper bound.

A cropped graph does not report its own cropping.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.8 — Your turn

Try It Now 1.4.8

Try It Now 1.4.8

A candle burns at a steady rate. Its graph is a straight line from (0,20)(0, 20) down to (8,0)(8, 0), and the candle is gone after that.

a) Find the domain and the range.

b) What does each one tell you about the candle?

Answer

a) 0t80 \le t \le 8 hours and 0h200 \le h \le 20 cm.

b) The candle burned for 8 hours before it was used up, and it was 20 cm tall when lit. Neither answer mentions an axis; both are facts about a candle.

Try It Now 1.4.4. The interpretation is the graded part.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — What a graph tells you

Five features, five recipes

FeatureHow to find itTypical meaning
Vertical interceptevaluate f(0)f(0)the starting value, before anything happens
Horizontal interceptsolve f(x)=0f(x) = 0when the quantity runs out, arrives, lands, or hits the ground
Maximumthe highest pointthe largest value reached, and the input tells you when
Minimumthe lowest pointthe smallest value reached, and the input tells you when
Flat stretcha horizontal sectiona period where the quantity did not change

The names matter far less than the translations in the right column.

A flat stretch means f(20) = f(22): two inputs sharing an output, which §1.3 never forbade.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Definition

Vertical Intercept

Definition 1.4.6 — Vertical Intercept

The vertical intercept is the point where the graph crosses the vertical axis. It is the output when the input is 0, so for a function ff it is the point (0,f(0))(0, f(0)).

It is also called the yy-intercept.

On f(x) = 2x + 6 the zero sits in a different slot in each intercept A pair of axes with the straight line f of x equals 2 x plus 6 drawn across them. Where the line crosses the vertical axis a dot is placed and labelled the point (0, 6), worked out as f of 0 equals 2 times 0 plus 6 equals 6. Where the line crosses the horizontal axis a second dot is placed and labelled the point (negative 3, 0), worked out by solving 2 x plus 6 equals 0 to get x equals negative 3. Below the graph the two points are written out side by side with the zero boxed in each: under vertical intercept, the pair (0, 6) with the first slot boxed, input 0, output 6; under horizontal intercept, the pair (negative 3, 0) with the second slot boxed, input negative 3, output 0. A closing line reads: swapping them turns every answer inside out. f(x) = 2x + 6 x y f(0) = 2(0) + 6 = 6 (0, 6) (−3, 0) 2x + 6 = 0 → x = −3 vertical intercept (0, 6) input 0, output 6 horizontal intercept (−3, 0) input −3, output 0 Swapping them turns every answer inside out.

Definition 1.4.6: on f(x)=2x+6f(x) = 2x + 6 each intercept carries a zero, and the zero sits in a different slot.

Definition 1.4.6. Input 0, output f(0).
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Definition

Definition 1.4.7 — Horizontal Intercept

A horizontal intercept is a point where the graph crosses the horizontal axis. It is an input whose output is 0, so it is a solution of f(x)=0f(x) = 0. It is also called the xx-intercept, or a zero of the function.

A bouncing ball has many of them. Solving h(t)=0h(t) = 0 asks “at what times is the height zero?” — the first bounce, the second, and the whole stretch at the end where the ball is rolling. Each one is a moment the ball was on the ground.

Definition 1.4.7. 'A' horizontal intercept, not 'the' — there can be many.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Definition

Maximum

Definition 1.4.8 — Maximum

The maximum of a function is the greatest output value the function reaches.

A function is not required to have one. f(x)=2x+6f(x) = 2x + 6 climbs forever to the right, so it has no greatest output at all. Dayne's maximum is 24,000 gallons, and it occurs at x=0x = 0: the maximum is the 24,000 — an output — never the 0. The input tells you when.

The maximum and the minimum are the two ends of the range, given names A graph of a kickball's height in feet against time in seconds, kicked from ground level. The curve starts at the ground, climbs to a peak, and comes back down to the ground. A dot marks the peak, with dashed guides dropped from it to both axes: across to 31 on the height axis and down to 2.5 on the time axis, labelled the maximum is 31 ft, the output, and reached at 2.5 s, the input. A second dot marks the landing point, labelled the lowest output is 0, at landing. Marks on the height axis at 0 and at 31 are then read together as the range, 0 is less than or equal to h is less than or equal to 31. A closing line reads: they are not new information, they are the range's endpoints, given names. A kickball is kicked from ground level; its height is a function of the time since the kick. height (feet) 0 5 time (seconds) 31 2.5 the maximum is 31 ft — the output reached at 2.5 s — the input the lowest output is 0, at landing range 0 ≤ h ≤ 31 They are not new information — they are the range's endpoints, given names.

Definition 1.4.8: the greatest output the function reaches, and with the least output it bounds the range.

Definition 1.4.8. The kickball's 31 ft is the top of its range.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Definition

Definition 1.4.10 — Minimum

The minimum of a function is the least output value the function reaches.

Maximum and minimum are the top and bottom of the range. When you swept a graph bottom to top in §1.4.4, the two values you wrote down were the minimum and the maximum — they are not new information, they are the range’s endpoints, given names.

Definition 1.4.9. This ties §1.4.7 straight back to the sweep.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Worked example

Reading the features of f(x)=2x+6f(x) = 2x + 6

Find the vertical intercept, the horizontal intercept, the slope, and the maximum and minimum. Every harder graph gets read the same way.

FeatureWorkAnswer
Vertical interceptf(0)=2(0)+6=6f(0) = 2(0) + 6 = 6(0,6)(0, 6)
Horizontal intercept2x+6=0x=32x + 6 = 0 \longrightarrow x = -3; check f(3)=0f(-3) = 0(3,0)(-3, 0)
Slopethe coefficient of xx2
Maximum and minimumclimbs forever right, falls forever leftneither exists
Example 1.4.10. A straight line with nonzero slope never has a maximum or a minimum.
Domain and Range · bookSHelf Integrated Math 1§1.4

Context Pause — each intercept has a zero, in a different slot

Check which coordinate the zero is sitting in

The vertical intercept above is (0,6)(0, 6) — input 0, output 6. The horizontal intercept is (3,0)(-3, 0) — input 3-3, output 0. Swapping them turns every answer inside out. Dayne's pool, d(x)=24,0001000xd(x) = 24{,}000 - 1000x, shows what each one buys you.

FeatureValueWhat it means
Vertical intercept(0, 24,000)(0,\ 24{,}000)The pool held 24,000 gallons when the pump started.
Horizontal intercept(24,0)(24, 0)24 minutes in, the pool is empty — the drain is finished.
Maximum24,00024{,}000 gallonsIt never held more water than it started with.
Minimum00 gallonsIt does get completely empty.
Every row turns a point on the graph into a fact about the pool. Whose pool was fuller to begin with? Compare vertical intercepts.
Domain and Range · bookSHelf Integrated Math 1§1.4

Insight — the maximum is the height, not the clock

A kickball’s maximum is h(2.5)=31h(2.5) = 31

That one statement carries two numbers with two different jobs. The output, 31, is the maximum height: about 31 feet. The input, 2.52.5, is only when it happened.

Saying the maximum was 2.52.5 feet and that it happened 31 seconds in gets both numbers exactly backwards. The maximum is always an output.

The input beside a maximum tells you when, never how much.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.9 — Your turn

Try It Now 1.4.9

Try It Now 1.4.9

A candle's height in centimeters after tt hours is h(t)=202.5th(t) = 20 - 2.5t.

a) Find the vertical intercept and say what it means.

b) Find the horizontal intercept and say what it means.

c) State the maximum and the minimum over the candle's reasonable domain.

Answer

a) h(0)=200=20h(0) = 20 - 0 = 20, so the vertical intercept is (0,20)(0, 20). The candle was 20 cm tall when it was lit.

b) Solve 202.5t=020 - 2.5t = 0: 2.5t=202.5t = 20, so t=8t = 8. The horizontal intercept is (8,0)(8, 0). After 8 hours the candle has burned all the way down.

c) The reasonable domain is [0,8][0, 8] — the candle does not exist before it is lit or after it is gone. Over that stretch the outputs run from 20 down to 0, so the maximum is 20 cm (at t=0t = 0) and the minimum is 0 cm (at t=8t = 8). The maximum is 20, not 0 — the maximum is the output, and t=0t = 0 is only when it happened.

Try It Now 1.4.9. Three features, three meanings — then the maximum-is-an-output check.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.10 — Two functions on one graph

Function notation is what lets you ask about both at once

Everything so far has read one function at a time. The water park picture carries two for a reason, and §1.3’s notation is what lets you ask about both at once.

Question about the two poolsWhat notation asksDirection
How much is in Aly's pool at 5 minutes?find a(5)a(5)input given, output wanted
When is Dayne's pool down to 2000 gallons?solve d(x)=2000d(x) = 2000output given, input wanted — the backwards question
When do the pools hold the same amount?solve a(x)=d(x)a(x) = d(x)where the graphs cross
When does Aly's pool hold more?solve a(x)>d(x)a(x) > d(x)where one segment is above the other

The crossing is what the picture advertised: at some point both pools hold the same amount.

Four questions, two directions. The input at which two graphs cross is the solution of the equation that sets them equal.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.10 — Worked example

Example 1.4.9: four questions about two pools

Using a(x)=28,0001400xa(x) = 28{,}000 - 1400x and d(x)=24,0001000xd(x) = 24{,}000 - 1000x, answer four questions.

QuestionWorkAnswer
Find a(5)a(5)a(5)=28,0001400(5)=28,0007000=21,000a(5) = 28{,}000 - 1400(5) = 28{,}000 - 7000 = 21{,}00021,000 gal — time in, amount out.
Solve d(x)=2000d(x) = 200024,0001000x=2000x=2224{,}000 - 1000x = 2000 \Rightarrow x = 22x=22x = 22 minutes
Solve a(x)=d(x)a(x) = d(x)28,0001400x=24,0001000x4000=400x28{,}000 - 1400x = 24{,}000 - 1000x \Rightarrow 4000 = 400xx=10x = 10; check d(10)=a(10)=14,000d(10) = a(10) = 14{,}000
Solve a(x)>d(x)a(x) > d(x)Above until the crossing0x<100 \le x < 10

Answer. A question about two functions answers with an interval of inputs, not a number.

Example 1.4.9. Reading the crossing off the picture and solving the equation on paper are the same question asked two ways.
Domain and Range · bookSHelf Integrated Math 1§1.4

§1.4.10 — Your turn

Try It Now 1.4.10

Try It Now 1.4.10

Two candles are lit at the same time. One is h(t)=202.5th(t) = 20 - 2.5t and the other is g(t)=305tg(t) = 30 - 5t, both in centimeters after tt hours.

a) Which is taller at the moment they are lit?

b) When are they the same height?

c) Which burns out first?

Answer

a) Evaluate both at t=0t = 0: h(0)=20h(0) = 20 and g(0)=30g(0) = 30. The second candle starts taller.

b) Set them equal: 202.5t=305t20 - 2.5t = 30 - 5t, so 2.5t=102.5t = 10 and t=4t = 4. Check: h(4)=10h(4) = 10 and g(4)=10g(4) = 10. Both are 10 cm tall after 4 hours.

c) h(t)=0h(t) = 0 gives t=8t = 8; g(t)=0g(t) = 0 gives t=6t = 6. The second candle burns out first, at 6 hours, even though it started 10 cm taller — it burns twice as fast.

Try It Now 1.4.10. The water park again with different numbers: the one that starts higher and falls faster is overtaken partway through and finishes first.
Domain and Range · bookSHelf Integrated Math 1§1.4

Key Terminology — the nine words this section defines

Key terms

domain — the set of all possible input values of a function.

range — the set of all possible output values of a function.

reasonable domain — the set of inputs that make sense in the situation, usually smaller than the set the rule alone would accept.

discrete function — a function whose domain and range are distinct, separate values rather than an unbroken interval.

continuous function — a function whose graph has no breaks, so its domain and range are described by intervals.

vertical intercept — where a graph crosses the vertical axis, at (0,f(0))(0, f(0)); also called the yy-intercept.

horizontal intercept — where a graph crosses the horizontal axis, a solution of f(x)=0f(x) = 0; also called the xx-intercept.

maximum — the greatest output value a function reaches, which is the top of its range.

minimum — the least output value a function reaches, which is the bottom of its range.

Second column reveals on click.
Domain and Range · bookSHelf Integrated Math 1§1.4

The headline result

The situation’s domain, not the rule’s, is the one the model is about

The rule d(x)=24,0001000xd(x) = 24{,}000 - 1000x accepts every real number there is. Dayne's pool accepts the ones from 0 through 24. Nothing in the arithmetic knows the difference — d(30)=6000d(30) = -6000 claims a pool containing negative six thousand gallons, and there is no such thing. The rule is not wrong; it is answering a question nobody should have asked it. The whole gap between a formula and a model lives in that comparison.

rule: all real xsituation: [0, 24]\text{rule: all real } x \qquad \longrightarrow \qquad \text{situation: } [0,\, 24]

† A model is a rule plus the set of inputs on which the rule means something, and the second half is supplied by the situation.

One headline: two answers, and only one of them is about the world.
Domain and Range · bookSHelf Integrated Math 1§1.4
1.4

§1.4 — Conclusions

What to carry forward

The one idea

Ask two questions of every model, not one: what would the rule accept, and what does the situation permit? On a graph the answers are two sweeps — left to right for the domain, bottom to top for the range — and the endpoints you write down are the minimum and the maximum, given names.

Where it goes wrong

Writing a discrete domain as an interval; reading a maximum off a graph that only ran out of paper; treating a sampled table as the whole function; and quoting a maximum’s input as if it were the output.

Next: §1.5 changes subject to exponents. Keep the domain question in your pocket — a negative exponent puts a quantity underneath a fraction bar, which reopens exactly the question you just learned to ask. Back to start.

The failure list is the four defects this section is written to prevent.