### Video Transcript

If π is a function from the set π to the set π, what do we call π?

Letβs begin by reminding ourselves what it means for π to be a function from one set to another. If π is a relation, it takes values from set π and maps them into values in set π. If, however, π is a function, any value in set π maps onto exactly one value in set π. So, letβs try and picture what could happen here. Suppose set π contains the elements one, two, three, and five and set π contains the elements seven, nine, 11, 13, and 19. If π is a function, any element in set π maps onto exactly one in set π. So, element one in π maps onto seven in π. Element two in π could map onto seven in π. Element three maps onto 13. And finally, element five maps onto 19.

Then the set of possible values that we can input to the function is said to be the domain. Then the set of possible values that are output from the function π is said to be the range. Here thatβs seven, 13, and 19. But if we look carefully, we notice that set π contains two extra values. It contains nine and 11. So, set π canβt actually be the range. The range is the set of values that actually come out of the function, whilst set π contains other possible values. In this case, set π is said to be the codomain of the function π. And so thereβs a slight difference between the range and codomain.

Given the domain of the function, the codomain is the set of values that could come out, whilst the range is the set of values that does come out of the function. And so that allows us to answer the question. What do we call set π? We call it the codomain of the function π.