You just got a new part-time job at the mall that pays a base rate of $150/week plus $5/sale. Your boss encourages you to make as many sales as possible but she will cap your weekly earnings at $250. What are the domain and range of the function represented by this situation?
Watch This
James Sousa: Ex 2: Determine the Domain and Range of the Graph of a Function
Guidance
The input and output of a function is also called the domain and range. The domain of a function is the set of all input values. The range of a function is the set of all output values. Sometimes, a function is a set of points. In this case, the domain is all the values and the range is all the values. Functions can also be linear and polynomial equations. In these instances, you need to graph the function to see where it is defined. You may notice that some functions are defined for “all real numbers.” The symbol, , is used to denote the set of all real numbers.
Example A
Determine if {(9, 2), (7, -3), (4, -6), (-10, 4), (-2, -7)} is a function. If so, find the domain and range.
Solution: First, this is a function because the values do not repeat. To find the domain, we need to list all the values. The range is all the values. Typically, you would list the values in the order they appear. Notice the notation.
The symbol means “an element of/in.” The braces, { }, around the and values, indicate that each is a set. In words, you would say, “ is an element in the set 9, 7, 4, -10, and 2.” Depending on the text, you may see “:” (colon) interchanged with the “ ” symbol and sets without { } around them.
Example B
Find the domain and range of .
Solution: Because this is a linear equation we also know that it is a linear function, from the previous concept. All lines continue forever in both directions, as indicated by the arrows.
Notice the line is solid, there are no dashes or breaks, this means that it is continuous. A continuous function has a value for every , or the domain is all real numbers. Can you plug in ANY value for and get a value? Yes. There are a few ways to write this.
Domain : , , is all reals
In words, is an element in the set of real numbers.
The second option, , is an interval, not a point. The parenthesis indicate that infinity, , and negative infinity, , are not included in the interval, but every number between them is. To include an endpoint in the interval, use [ or ] brackets. This is called interval notation.
The range of this function is also continuous. Therefore, the range is also the set of all real numbers. We can write the range in the same ways we wrote the domain, but with instead of .
Range : or
Example C
Find the domain and range of the graphed function below.
Solution: This is a function, even though it might not look like it. This type of function is called a piecewise function because it pieces together two or more parts of other functions.
To find the domain, look at the possible values. Notice that when is between -2 and -1 it is not defined, or there are no values.
Mathematically, this would be written: . The symbol means “union.” In words, the domain is “all real numbers except those between -2 and -1.” Notice that -2 is included in the domain because the dot at -2 is closed. To find the range, we need to look at the possible values. Changing our viewpoint to look at the axis, at first glance, it looks like the function is not defined from 1 to -3.
However, upon further investigation, the branch on the left does pass through the yellow region, where we though the function was not defined. This means that the function is defined between 1 and -3 and thus for all real numbers. However, below -3, there are no values. The range is .
Intro Problem Revisit The function represented by this situation can be written as , where x is the number of sales you make. You can't make a negative number of sales, so the least amount of sales you can make is zero. To find the maximum number of sales before you reach the cap, we must plug in $250 for y .
Therefore, the domain of the function is .
To find the range, plug the two extremes of the domain into the equation. When x equals 0, y equals 150, and when x equals 20, y equals 250.
Therefore the range of the function is .
Vocabulary
- Domain
- The input of a function.
- Range
- The output of a function.
- Continuous Function
- A function without breaks or gaps.
- Interval Notation
- The notation , where a function is defined between and . Use ( or ) to indicate that the end value is not included and [ or ] to indicate that the end value is included. Infinity and negative infinity are never included in interval notation.
- Piecewise Function
- A function that pieces together two or more parts of other functions to create a new function.
The set of all real numbers.
Union notation. This notation is used to join together to parts of a domain or range.
Element notation. In this text, it is used to state that or is an “element” in the given domain or range. It can also mean that or is included in the given domain or range.
and The symbols for infinity and negative infinity, respectively.
Guided Practice
Find the domain and range of the following functions.
1. {(8, 3), (-4, 2), (-6, 1), (5, 7)}
2.
3.
4.
Answers
1. Domain: Range:
2. Domain: Range:
3. This is a piecewise function. The values are not defined from -2 to 1. The range looks like it is not defined from 1 to 7, but the lines continue on, filling in that space as gets larger, both negatively and positively.
Domain: Range:
4. This is a parabola, the graph of a quadratic equation. Even though it might not look like it, the ends the graph continue up, infinitely, and keeps growing. In other words, is not limited to be between -9 and 5. It is all real numbers. The range, however, seems to start at -6 and is all real numbers above that value.
Domain: Range:
Practice
Determine if the following sets of points are functions. If so, state the domain and range.
- {(5, 6), (-1, 5), (7, -3), (0, 9)}
- {(9, 8), (-7, 8), (-7, 9), (8, 8)}
- {(6, 2), (-5, 6), (-5, 2)}
- {(-1, 2), (-6, 3), (10, 7), (8, 11)}
- {(5, 7), (3, 7), (5, 8), (8, 1)}
- {(-3, -4), (-5, -6), (1, 2), (2, -6)}
Find the domain and range of the following functions.
- Challenge
- Writing Make a general statement about the domain and range of all linear functions. Use the proper notation.