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.
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 notation.
Determine the range of the function using set notation.
Consider the function shown in the graph.
Determine the domain of the function using interval notation.
Determine the range of the function using interval notation.
Different notations help us represent discrete and continuous functions:
Set notation (discrete): \left\{1, 2, 3, 4, 5\right\}
Set notation (continous): \left\{x\, \vert\, -4 \leq x \lt 10\right\}
Inequality notation: -4 \leq x \lt 10
Interval notation: \left(-5, 6\right]
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 lasts 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:
Determine if this graph represents a function.
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.