Consider the following statements in respect of relations and functions:
1. All relations are functions but all functions are not relations.
2. A relation from A to B is a subset of Cartesian product A × B.
3. A relation in A is a subset of Cartesian product A × A.
Which of the above statements are correct?
1
1 and 2 only
2
2 and 3 only
3
1 and 3 only
4
1, 2 and 3