 |
| Types of Relations |
 |
| There are four types of relations as follows: |
| |
| (i) one - one |
| |
| (ii) many - one |
| |
| (iii) one - many |
| |
| (iv) many - many |
| |
| |
| For each element of B there is one corresponding element of A |
| |
 |
| |
| |
| For an element of B there is more than one element of A. |
| |
 |
| |
| |
| For one element of A there is more than one corresponding element of B. |
| |
 |
| |
| |
| For one element of A there is more than one corresponding element of B and for one element of B there is more than one corresponding element of A. |
| |
 |
| |
| The relation is called 'onto' if every element of B has a corresponding element of A. |
| |
| For example, Figures (i) and (ii) are onto relations. |
| |
| The relation is called 'into' if every element of B does not have a corresponding element of A. |
| |
| For example, Figures (iii) and (iv) are into relations. |
| |