Section 11.2 Domain and Range
¶Objectives: PCC Course Content and Outcome Guide
A function is a process for turning input values into output values. Occasionally a function \(f\) will have input values for which the process breaks down.
Subsection 11.2.1 Domain
Example 11.2.2.
Let \(P\) be the population of Portland as a function of the year. According to Googleâ1âhttps://www.google.com/publicdata/explore?ds=kf7tgg1uo9ude_&met_y=population&hl=en&dl=en#!ctype=l&strail=false &bcs=d&nselm=h&met_y=population&scale_y=lin&ind_y=false&rdim=country&idim=place:4159000&ifdim=country &hl=en_US&dl=en&ind=false we can say that:
But what if we asked to find \(P(1600)\text{?}\) The question doesn't really make sense anymore. The Multnomah tribe lived in villages in the area, but the city of Portland was not incorporated until 1851. We say that \(P(1600)\) is undefined.
Example 11.2.3.
If \(m\) is a person's mass in kg, let \(w(m)\) be their weight in lb. There is an approximate formula for \(w\text{:}\)
From this formula we can find:
which tells us that a \(50\)- kg person weighs 110 lb, and an \(80\)- kg person weighs 176 lb.
What if we asked for \(w(-100)\text{?}\) In the context of this example, we would be asking for the weight of a person whose mass is -100 kg. This is clearly nonsense. That means that \(w(-100)\) is undefined. Note that the context of the example is telling us that \(w(-100)\) is undefined even though the formula alone might suggest that \(w(-100)=-220\text{.}\)
Example 11.2.4.
Let \(g\) have the formula
For most \(x\)-values, \(g(x)\) is perfectly computable:
But if we try to compute \(g(7)\text{,}\) we run into an issue of arithmetic.
The expression \(\frac{7}{0}\) is undefined. There is no number that this could equal.
Checkpoint 11.2.5.
These examples should motivate the following definition.
Definition 11.2.6. Domain.
The domain of a function \(f\) is the collection of all of its valid input values.
Example 11.2.7.
Referring to the functions from Examples 11.2.2â11.2.4
The domain of \(P\) is all years starting from 1851 and later. It would also be reasonable to say that the domain is actually all years from 1851 up to the current year, since we cannot guarantee that Portland will exist forever.
The domain of \(w\) is all positive real numbers. It is nonsensical to have a person with negative mass or even one with zero mass. While there is some lower bound for the smallest mass a person could have, and also an upper bound for the largest mass a person could have, these boundaries are gray. We can say for sure that non-positive numbers should never be used as inputs for \(w\text{.}\)
The domain of \(g\) is all real numbers except \(7\text{.}\) This is the only number that causes a breakdown in \(g\)'s formula.
Subsection 11.2.2 Interval, Set, and Set-Builder Notation
Communicating the domain of a function can be wordy. In mathematics, we can communicate the same information using concise notation that is accepted for use almost everywhere. Table 11.2.8 contains example functions from this section and their domains, and demonstrates interval notation for these domains. Basic interval notation is covered in Section 1.3, but some of our examples here go beyond what that section covers.
Again, basic interval notation is covered in Section 1.3, but one thing appears in Table 11.2.8 that is not explained in that earlier section: the \(\cup\) symbol, which we see in the domain of \(g\text{.}\)
Occasionally there is a need to consider number line pictures such as Figure 11.2.9, where two or more intervals appear.
This picture is trying to tell you to consider numbers that are between \(-5\) and \(1\text{,}\) together with numbers that are between \(4\) and \(7\text{.}\) That word âtogetherâ is related to the word âunion,â and in math the union symbol, \(\cup\text{,}\) captures this idea. It means to combine two ideas together, even if they are separate ideas. Think of it as putting everything from two baskets into one basket: a basket of oranges and a basket of apples combined into one big basket still contains oranges and apples, but now it can be thought of as a single idea. So we can write the numbers in this picture as
(which uses interval notation).
With the domain of \(g\) in Table 11.2.8, the number line picture shows us another âunionâ of two intervals. They are very close together, but there are still two separated intervals in that picture: \((-\infty,7)\) and \((7,\infty)\text{.}\) Their union is represented by \((-\infty,7)\cup(7,\infty)\text{.}\)
Checkpoint 11.2.10.
Checkpoint 11.2.11.
Sometimes we will consider collections of only a short list of numbers. In those cases, we use set notation (first introduced in Section A.6). With set notation, we have a list of numbers in mind, and we simply list all of those numbers. Curly braces are standard for surrounding the list. Table 11.2.12 illustrates set notation in use.
Checkpoint 11.2.13.
While most collections of numbers that we will encounter can be described using a combination of interval notation and set notation, there is another commonly used notation that is very useful in algebra: set-builder notation, which was introduced in Section 1.3. Set-builder notation also uses curly braces. Set-builder notation provides a template for what a number that is under consideration might look like, and then it gives you restrictions on how to use that template. A very basic example of set-builder notation is
Verbally, this is âthe set of all \(x\) such that \(x\) is greater than or equal to \(3\text{.}\)â Table 11.2.14 gives more examples of set-builder notation in use.
Checkpoint 11.2.15.
Example 11.2.16.
What is the domain of the function \(A\text{,}\) where \(A(x)=\frac{2x+1}{x^2-2x-8}\text{?}\)
Note that if you plugged in some value for \(x\text{,}\) the only thing that might go wrong is if the denominator equals \(0\text{.}\) So a bad value for \(x\) would be when
Here, we used a basic factoring technique from Section 10.3. To continue, either
These are the bad \(x\)-values because they lead to division by \(0\) in the formula for \(A\text{.}\) So on a number line, if we wanted to picture the domain of \(A\text{,}\) we would make a sketch like:
So the domain is the union of three intervals: \((-\infty,-2)\cup(-2,4)\cup(4,\infty)\text{.}\)
Example 11.2.17.
What is the domain of the function \(B\text{,}\) where \(B(x)=\sqrt{7-x}+3\text{?}\)
Note that if you plugged in some value for \(x\text{,}\) the only thing that might go wrong is if the value in the radical is negative. So the good values for \(x\) would be when
So on a number line, if we wanted to picture the domain of \(B\text{,}\) we would make a sketch like:
So the domain is the interval \((-\infty,7]\text{.}\)
There are three main properties of functions that cause numbers to be excluded from a domain, which are summarized here.
Subsection 11.2.3 Range
The domain of a function is the collection of its valid inputs; there is a similar notion for output.
Definition 11.2.19. Range.
The range of a function \(f\) is the collection of all of its possible output values.
Example 11.2.20.
Let \(f\) be the function defined by the formula \(f(x)=x^2\text{.}\) Finding \(f\)'s domain is straightforward. Any number anywhere can be squared to produce an output, so \(f\) has domain \((-\infty,\infty)\text{.}\) What is the range of \(f\text{?}\)
We would like to describe the collection of possible numbers that \(f\) can give as output. We will use a graphical approach. Figure 11.2.21 displays a graph of \(f\text{,}\) and the visualization that reveals \(f\)'s range.
Output values are the \(y\)-coordinates in a graph. If we âslide the inkâ left and right over to the \(y\)-axis to emphasize what the \(y\)-values in the graph are, we have \(y\)-values that start from \(0\) and continue upward forever. Therefore the range is \([0,\infty)\text{.}\)
Example 11.2.22.
Given the function \(g\) graphed in Figure 11.2.23, find the domain and range of \(g\text{.}\)
To find the domain, we can visualize all of the \(x\)-values that are valid inputs for this function by âsliding the inkâ down onto the \(x\)-axis. The arrows at the far left and far right of the curve indicate that whatever pattern we see in the graph continues off to the left and right. Here, we see that the arms of the graph appear to be tapering down to the \(x\)-axis and extending left and right forever. Every \(x\)-value can be used to get an output for the function, so the domain is \((-\infty,\infty)\text{.}\)
If we visualize the possible outputs by âsliding the inkâ sideways onto the \(y\)-axis, we find that outputs as high as \(3\) are possible (including \(3\) itself). The outputs appear to get very close to \(0\) when \(x\) is large, but they aren't quite equal to \(0\text{.}\) So the range is \((0,3]\text{.}\)
Checkpoint 11.2.26.
The examples of finding domain and range so far have all involved either a verbal description of a function, a formula for that function, or a graph of that function. Recall that there is a fourth perspective on functions: a table. In the case of a table, we have very limited information about the function's inputs and outputs. If the table is all that we have, then there are a handful of input values listed in the table for which we know outputs. For any other input, the output is undefined.
Example 11.2.27.
Consider the function \(k\) given in Figure 11.2.28. What is the domain and range of \(k\text{?}\)
\(x\) | \(k(x)\) |
\(3\) | \(4\) |
\(8\) | \(5\) |
\(10\) | \(5\) |
All that we know about \(k\) is that \(k(3)=4\text{,}\) \(k(8)=5\text{,}\) and \(k(10)=5\text{.}\) Without any other information such as a formula for \(k\) or a context for \(k\) that tells us its verbal description, we must assume that its domain is \(\{3,8,10\}\text{;}\) these are the only valid input for \(k\text{.}\) Similarly, \(k\)'s range is \(\{4,5\}\text{.}\)
Note that we have used set notation, not interval notation, since the answers here were lists of \(x\)-values (for the domain) and \(y\)-values (for the range). Also note that we could graph the information that we have about \(k\) in Figure 11.2.29, and the visualization of âsliding inkâ to determine domain and range still works.
Warning 11.2.30. Finding Range from a Formula.
Sometimes it is possible to find the range of a function using its formula without seeing its graph or a table. However, this often requires advanced techniques learned in calculus. Therefore when you are asked to find the range of a function based on its formula alone, your approach should be to examine a graph.
Reading Questions 11.2.4 Reading Questions
1.
Use a complete sentence to describe what is the domain of a function.
2.
When you have a formula for a function, what is one thing that might tell you a number that is excluded from the domain?
3.
To find the range of a function, it's more helpful to have its than its formula.
Exercises 11.2.5 Exercises
Review and Warmup
1.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
In set-builder notation:
In interval notation:
2.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
In set-builder notation:
In interval notation:
3.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
In set-builder notation:
In interval notation:
4.
For the interval expressed in the number line, write it using set-builder notation and interval notation.
In set-builder notation:
In interval notation:
5.
Solve this compound inequality, and write your answer in interval notation.
\(\displaystyle{ {x} \geq {-2} \text{ and } {x} \leq {-1} }\)
6.
Solve this compound inequality, and write your answer in interval notation.
\(\displaystyle{ {x} \geq {2} \text{ and } {x} \lt {4} }\)
7.
Solve this compound inequality, and write your answer in interval notation.
\(\displaystyle{ {x} \geq {2} \text{ or } {x} \leq {-2} }\)
8.
Solve this compound inequality, and write your answer in interval notation.
\(\displaystyle{ {x} > {-1} \text{ or } {x} \lt {-5} }\)
Domain and Range From a Graph
9.
A function is graphed.
This function has domain and range .
10.
A function is graphed.
This function has domain and range .
11.
A function is graphed.
This function has domain and range .
12.
A function is graphed.
This function has domain and range .
13.
A function is graphed.
This function has domain and range .
14.
A function is graphed.
This function has domain and range .
15.
A function is graphed.
This function has domain and range .
16.
A function is graphed.
This function has domain and range .
17.
A function is graphed.
This function has domain and range .
18.
A function is graphed.
This function has domain and range .
19.
A function is graphed.
This function has domain and range .
20.
A function is graphed.
This function has domain and range .
21.
A function is graphed.
This function has domain and range .
22.
A function is graphed.
This function has domain and range .
23.
A function is graphed.
The function has domain and range .
24.
A function is graphed.
The function has domain and range .
25.
A function is graphed.
The function has domain and range .
26.
A function is graphed.
The function has domain and range .
27.
A function is graphed.
The function has domain and range .
28.
A function is graphed.
The function has domain and range .
29.
A function is graphed.
The function has domain and range .
30.
A function is graphed.
The function has domain and range .
31.
A function is graphed.
The function has domain and range .
32.
A function is graphed.
The function has domain and range .
33.
A function is graphed.
The function has domain and range .
34.
A function is graphed.
The function has domain and range .
35.
A function is graphed.
The function has domain and range .
36.
A function is graphed.
The function has domain and range .
Domain From a Formula
37.
Find the domain of \(H\) where \(H\!\left(x\right)=-7x+4\text{.}\)
38.
Find the domain of \(K\) where \(K\!\left(x\right)=7x-8\text{.}\)
39.
Find the domain of \(K\) where \(\displaystyle{K(x)={{\frac{5}{6}}x^{4}}}\text{.}\)
40.
Find the domain of \(f\) where \(\displaystyle{f(x)={{\frac{2}{5}}x^{3}}}\text{.}\)
41.
Find the domain of \(g\) where \(\displaystyle{g(x)=\lvert {6x-3} \rvert}\text{.}\)
42.
Find the domain of \(h\) where \(\displaystyle{h(x)=\lvert {-2x+6} \rvert}\text{.}\)
43.
Find the domain of \(\displaystyle{h}\) where \(\displaystyle{h(x)={\frac{2x}{x+9}}}\text{.}\)
44.
Find the domain of \(\displaystyle{F}\) where \(\displaystyle{F(x)={\frac{5x}{x-5}}}\text{.}\)
45.
Find the domain of \(\displaystyle{G}\) where \(\displaystyle{G(x)={\frac{x}{2x+3}}}\text{.}\)
46.
Find the domain of \(\displaystyle{H}\) where \(\displaystyle{H(x)={\frac{4x}{7x+10}}}\text{.}\)
47.
Find the domain of \(\displaystyle{K}\) where \(\displaystyle{K(x)={\frac{4x+8}{x^{2}-11x+30}}}\text{.}\)
48.
Find the domain of \(\displaystyle{K}\) where \(\displaystyle{K(x)={-\frac{3x+5}{x^{2}-x-30}}}\text{.}\)
49.
Find the domain of \(\displaystyle{f}\) where \(\displaystyle{f(x)={\frac{10x+4}{x^{2}+9x}}}\text{.}\)
50.
Find the domain of \(\displaystyle{g}\) where \(\displaystyle{g(x)={\frac{3x-8}{x^{2}+3x}}}\text{.}\)
51.
Find the domain of \(\displaystyle{h}\) where \(\displaystyle{h(x)={\frac{1-4x}{x^{2}-49}}}\text{.}\)
52.
Find the domain of \(\displaystyle{h}\) where \(\displaystyle{h(x)={\frac{9x+9}{x^{2}-81}}}\text{.}\)
53.
Find the domain of \(\displaystyle{F}\) where \(\displaystyle{F(x)={\frac{2x-3}{16x^{2}-49}}}\text{.}\)
54.
Find the domain of \(\displaystyle{G}\) where \(\displaystyle{G(x)={\frac{6-5x}{81x^{2}-4}}}\text{.}\)
55.
Find the domain of \(\displaystyle{H}\) where \(\displaystyle{H(x)={\frac{8x-6}{x^{2}+3}}}\text{.}\)
56.
Find the domain of \(\displaystyle{K}\) where \(\displaystyle{K(x)={\frac{x+2}{x^{2}+10}}}\text{.}\)
57.
Find the domain of the function.
\(K(x)={-\frac{6}{\sqrt{x-10}}}\)
58.
Find the domain of the function.
\(f(x)={\frac{8}{\sqrt{x-1}}}\)
59.
Find the domain of the function.
\(g(x)={\sqrt{6-x}}\)
60.
Find the domain of the function.
\(h(x)={\sqrt{3-x}}\)
61.
Find the domain of the function.
\(h(x)={\sqrt{9+13x}}\)
62.
Find the domain of the function.
\(F(x)={\sqrt{6+11x}}\)
63.
Find the domain of \(A\) where \(\displaystyle{A(x)=\frac{x+13}{x^2-9}}\text{.}\)
64.
Find the domain of \(m\) where \(\displaystyle{m(x)=\frac{x+16}{x^2-361}}\text{.}\)
65.
Find the domain of \(b\) where \(\displaystyle{b(x)= \frac{16x - 2}{x^2+ 7 x-98} }\text{.}\)
66.
Find the domain of \(m\) where \(\displaystyle{m(x)= \frac{16x - 11}{x^2+ 7 x-98} }\text{.}\)
67.
Find the domain of \(r\) where \(\displaystyle{r(x)= \frac{\sqrt{2 + x}}{8 - x}}\text{.}\)
68.
Find the domain of \(B\) where \(\displaystyle{B(x)= \frac{\sqrt{4 + x}}{4 - x}}\text{.}\)
Domain and Range Using Context
69.
Thanh bought a used car for \({\$7{,}800}\text{.}\) The carâs value decreases at a constant rate each year. After \(5\) years, the value decreased to \({\$6{,}300}\text{.}\)
Use a function to model the carâs value as the number of years increases. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
70.
Carmen bought a used car for \({\$8{,}400}\text{.}\) The carâs value decreases at a constant rate each year. After \(10\) years, the value decreased to \({\$5{,}400}\text{.}\)
Use a function to model the carâs value as the number of years increases. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
71.
Assume a car uses gas at a constant rate. After driving \(25\) miles since a full tank of gas was purchased, there was \(9\) gallons of gas left; after driving \(65\) miles since a full tank of gas was purchased, there was \(7.4\) gallons of gas left.
Use a function to model the amount of gas in the tank (in gallons). Let the independent variable be the number of miles driven since a full tank of gas was purchased. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
72.
Assume a car uses gas at a constant rate. After driving \(30\) miles since a full tank of gas was purchased, there was \(13.2\) gallons of gas left; after driving \(60\) miles since a full tank of gas was purchased, there was \(11.4\) gallons of gas left.
Use a function to model the amount of gas in the tank (in gallons). Let the independent variable be the number of miles driven since a full tank of gas was purchased. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
73.
Joseph inherited a collection of coins when he was \(14\) years old. Ever since, he has been adding into the collection the same number of coins each year. When he was \(20\) years old, there were \(510\) coins in the collection. When he was \(30\) years old, there were \(910\) coins in the collection. At the age of \(51\text{,}\) Joseph donated all his coins to a museum.
Use a function to model the number of coins in Josephâs collection, starting in the year he inherited the collection, and ending in the year the collection was donated. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
74.
Virginia inherited a collection of coins when she was \(15\) years old. Ever since, she has been adding into the collection the same number of coins each year. When she was \(20\) years old, there were \(330\) coins in the collection. When she was \(30\) years old, there were \(530\) coins in the collection. At the age of \(57\text{,}\) Virginia donated all her coins to a museum.
Use a function to model the number of coins in Virginiaâs collection, starting in the year she inherited the collection, and ending in the year the collection was donated. Find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
75.
Assume a tree grows at a constant rate. When the tree was planted, it was \(4\) feet tall. After \(8\) years, the tree grew to \(10.4\) feet tall.
Use a function to model the treeâs height as years go by. Assume the tree can live \(190\) years, find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
76.
Assume a tree grows at a constant rate. When the tree was planted, it was \(2.1\) feet tall. After \(10\) years, the tree grew to \(8.1\) feet tall.
Use a function to model the treeâs height as years go by. Assume the tree can live \(170\) years, find this functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
77.
An object was shot up into the air at an initial vertical speed of \(384\) feet per second. Its height as time passes can be modeled by the quadratic function \(f\text{,}\) where \(f(t)={-16t^{2}+384t}\text{.}\) Here \(t\) represents the number of seconds since the objectâs release, and \(f(t)\) represents the objectâs height in feet.
Find the functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
78.
An object was shot up into the air at an initial vertical speed of \(416\) feet per second. Its height as time passes can be modeled by the quadratic function \(f\text{,}\) where \(f(t)={-16t^{2}+416t}\text{.}\) Here \(t\) represents the number of seconds since the objectâs release, and \(f(t)\) represents the objectâs height in feet.
Find the functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
79.
From a clifftop over the ocean \({376.32\ {\rm m}}\) above sea level, an object was shot straight up into the air with an initial vertical speed of \({110.74\ {\textstyle\frac{\rm\mathstrut m}{\rm\mathstrut s}}}\text{.}\) On its way down it missed the cliff and fell into the ocean, where it floats on the surface. Its height (above sea level) as time passes can be modeled by the quadratic function \(f\text{,}\) where \(f(t)={-4.9t^{2}+110.74t+376.32}\text{.}\) Here \(t\) represents the number of seconds since the objectâs release, and \(f(t)\) represents the objectâs height (above sea level) in meters.
Find the functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
80.
From a clifftop over the ocean \({324.87\ {\rm m}}\) above sea level, an object was shot straight up into the air with an initial vertical speed of \({93.59\ {\textstyle\frac{\rm\mathstrut m}{\rm\mathstrut s}}}\text{.}\) On its way down it missed the cliff and fell into the ocean, where it floats on the surface. Its height (above sea level) as time passes can be modeled by the quadratic function \(f\text{,}\) where \(f(t)={-4.9t^{2}+93.59t+324.87}\text{.}\) Here \(t\) represents the number of seconds since the objectâs release, and \(f(t)\) represents the objectâs height (above sea level) in meters.
Find the functionâs domain and range in this context.
The functionâs domain in this context is .
The functionâs range in this context is .
81.
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides. You have a total of \(460\) feet of fence to use. Find the dimensions of the pen such that you can enclose the maximum area.
Use a function to model the area of the rectangular pen, with respect to the length of the width (the two sides perpendicular to the river). Find the functionâs domain and range in this context.
The functionâs domain is .
The functionâs range is .
82.
You will build a rectangular sheep pen next to a river. There is no need to build a fence along the river, so you only need to build three sides. You have a total of \(480\) feet of fence to use. Find the dimensions of the pen such that you can enclose the maximum area.
Use a function to model the area of the rectangular pen, with respect to the length of the width (the two sides perpendicular to the river). Find the functionâs domain and range in this context.
The functionâs domain is .
The functionâs range is .
83.
A student's first name is a function of their student identification number.
- Describe the domain for this function in a sentence. Specifics are not needed.
- Describe the range for this function in a sentence. Specifics are not needed.
84.
The year a car was made is a function of its VIN (Vehicle Identification Number).
- Describe the domain for this function in a sentence. Specifics are not needed.
- Describe the range for this function in a sentence. Specifics are not needed.
Challenge
85.
For each part, sketch the graph of a function with the given domain and range.
The domain is \((0, \infty)\) and the range is \((-\infty, 0)\text{.}\)
The domain is \((1,2)\) and the range is \((3,4)\text{.}\)
The domain is \((0,\infty)\) and the range is \([2,3]\text{.}\)
The domain is \((1,2)\) and the range is \((-\infty, \infty)\text{.}\)
The domain is \((-\infty, \infty)\) and the range is \((-1,1)\text{.}\)
The domain is \((0,\infty)\) and the range is \([0,\infty)\text{.}\)