Warning 10.1.2. Domain elements are necessarily inputs, but codomain elements are not necessarily outputs.
When we define a function, the domain should either be implicitly clear from the input-output rule, or explicitly stated so that the precise collection of allowable input elements is known.
However, it would be too onerous to do the same for the precise collection of output elements β often when we create a function we wonβt initially know exactly what outputs it will produce. The purpose of stating a codomain is so that it is at least clear what type of output element is produced.