Domain, codomain and range of a function
- a function relates inputs to outputs
- a function takes elements from a set and relates them to elements in a set
What can go into a function is called the domain:
-->The domain of a function is the set of all possible input values
What may possibly come out of a function is called the codomain.
What actually comes out of a function is called the range:
--> The range of a function is the set of all possible output values
Example:
Domain: {1, 2, 3, 4}
Codomain: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
Range: {3, 5, 7, 9}
Domain and range
Questions
1) What is the domain of a function?
2) What is the difference between the codomain and the range?
Choose the right answer