noun
- In mathematics, the set of all possible output values that a function is allowed to produce, whether or not every element is actually used.
Usage: technical; mathematics
Examples
- The codomain of the function f(x) = x² is typically defined as the set of all real numbers.
- When we write f: ℝ → ℝ, the codomain is the set of real numbers on the right side of the arrow.
- The codomain must contain the range, but it can be larger than the range.
- In the function that maps students to their grades, the codomain is the set of all possible letter grades.
- Changing the codomain of a function can affect whether it is considered surjective or not.