Math
Domain and range.
Definition
The domain of a function is the set of all possible input values (x-values), and the range is the set of all possible output values (y-values). Restrictions on domain typically come from division by zero, square roots of negatives, or logarithms of non-positive numbers.
Examples
Real-world.
- 1 f(x) = √x has domain [0, ∞) and range [0, ∞)
- 2 f(x) = 1/x has domain (-∞, 0) ∪ (0, ∞), excluding x = 0
- 3 f(x) = x² has domain (-∞, ∞) and range [0, ∞)