The possible inputs and outputs of a function have a special name. We'll look at the set of all x-values as what we call the domain of a function and the set of all y-values as what we call the range of a function. Understanding the domain and range of a function is an important part of what comprises the study of functions.
Two defining parts of any function are its domain and range.
The set of all possible input values (x-values) for a function or relation is called the domain.
The set of all possible output values (y-values) for a function or relation is called the range.
A domain that is made up of disconnected values is said to be a discrete domain.
A domain made up of a single connected interval of values is said to be a continuous domain. The function shown has a continuous domain. It is defined for every x-value in an interval.
It is possible for the domain of a function to be neither discrete nor continuous. An example of this is a step function.
Consider the function shown in the graph.
State whether the function has a discrete or continuous domain.
Determine the domain of the function using set-builder notation.
Determine the range of the function using set-builder notation.
Consider the following step function.
Determine the domain of the function using set-builder notation.
Determine the range of the function using set-builder notation.
Different notations help us represent discrete and continuous functions:
Set notation: \left\{1, 2, 3, 4, 5\right\}
Interval notation: \left[5, \infty\right)
Set-builder notation: \left\{x\, \vert\, -4 \leq x < 10\right\}
Inequality notation: -4 \leq x < 10
Understanding the limitations on the domain and range of a function in context are important for interpreting situations. Depending on the context, a discrete function may be appropriate for a situation or a continuous function could be better suited to the scenario. The choice of whether rational numbers or specifically integers or whole numbers should also be considered when given a real-world situation for interpretation.
Consider the relationship between the cost of a hotel stay and the length of the stay. Suppose the hotel charges \$75 per night and the stay last 7 nights.
State the independent and dependent variables.
Determine an appropriate domain and range and explain your reasoning.
Consider the graph of the function of a dog's weight over time:
Explain why the domain of this function is continuous.
State an appropriate domain and range of the function based on the information in the graph. Justify your solution.
Discrete domains apply to problems where the independent variable only includes certain values in an interval, whereas continuous domains apply to problems where the independent variable includes all values in an interval.