Relations & Mappings Questions with Solutions
A relation from set A to set B is a subset of the Cartesian product A x B. A mapping, or function, is a special relation in which every element of A is related to exactly one element of B. This topic covers types of relations (reflexive, symmetric, transitive and equivalence relations), domain, codomain and range, and types of functions such as one-one (injective), onto (surjective) and bijective functions, along with composition and inverse functions. Exam questions test identifying the type of a given relation or function, counting the number of relations or functions between two sets, and finding the domain or range of a function. Useful counting facts: if A has m elements and B has n elements, there are 2^(mn) relations and n^m functions from A to B. Practise the relations and mappings questions below, each with a step-by-step solution.