Solving functions:
The domain set is the set of students and the co-domain set is the set of benches. Each student will occupy only one bench. Each student has seat also. By principle of function, '‘each student occupies a single bench’. Therefore the relation ‘sitting’ is a function from set of Students to set of Benches. If we interchange the sets, the set of benches becomes the domain set and the set of students becomes co-domain set. Here at least one bench consists of more than one student.
This is against the principle of function i.e. each element in the domain should have associated with only one element in the co-domain. Thus if we interchange the sets, it is not possible to define a function.
To know more:
Prime numbers
Substitution integration