Domain and codomain of relations
In mathematics, a relation is a set of ordered pairs that relate elements of two sets. The domain and codomain are important concepts when it comes to understanding relations. The domain of a relation is the set of all first elements of the ordered pairs in the relation. In other words, it is the set…