Let A = {x, y, z} and B = {1, 2}. Find the number of relations from A to B.
Given: A = {x, y, z} and B = {1, 2}
∴ A × B = {(x,1), (x,2), (y,1), (y,2), (z,1), (z,2)}
⇒ n(A × B) = 6
Then number of subsets of set (A × B) = 2n = 26
⇒ number of relations from A to B = 26.