2.3 Relations
If P is the set a, b, c and Q is the set Ali, Bhanu, Binoy, Chandra, Divya, then the cartesian product of P and Q has fifteen ordered pairs.
If P is the set a, b, c and Q is the set Ali, Bhanu, Binoy, Chandra, Divya, then the cartesian product of P and Q has fifteen ordered pairs.
The relation x is the first letter of the name y gives the subset a comma Ali, b comma Bhanu, b comma Binoy, and c comma Chandra of P cross Q.
A relation R from a non-empty set A to a non-empty set B is a subset of the cartesian product A cross B.
The relation is derived by describing a relationship between the first element and the second element of the ordered pairs in A cross B. The second element is called the image of the first element.
A relation may be represented algebraically either by the roster method or by the set-builder method. An arrow diagram is a visual representation of a relation.
The set of all first elements of the ordered pairs in a relation R from a set A to a set B is called the domain of the relation R.
The set of all second elements in a relation R from a set A to a set B is called the range of the relation R. The whole set B is called the codomain of the relation R.
The set of all second elements in a relation R from a set A to a set B is called the range of the relation R. The whole set B is called the codomain of the relation R.
Note that the range is a subset of the codomain.