If A = {1, 2, 3} and B = {a, b}, write the total number of functions from A to B.
Open in App
Solution
Formula:
If set A has m elements and set B has n elements, then the number of functions from A to B is .
Given:
A = {1, 2, 3} and B = {a, b}
= 3 and = 2
Number of functions from A to B = 23 = 8