উত্তর
ব্যাখ্যা
A function from a set A (domain) to a set B (codomain) must satisfy two conditions:
Every element of set A must have an image in set B.
That means for each element of A, there must be exactly one ordered pair (a,b) where a∈A and b∈B.
No element of A can be mapped to more than one element of B.
That means if (a,b1) and (a,b2) both exist, then b1=b2.
Now, f={(1,a),(2,a),(3,b)}
• Each element of A={1,2,3} appears once only.
• All are mapped to elements in B={a,b}.
Source: Discrete Mathematics & Its Applications (Eighth Edition) by Kenneth H. Rosen.