Top

Discussion

If n(A) = 4 and n(B) = 3, what is the number of possible relations from A to B?

  • A.12
  • B.24
  • C.64
  • D.4096

Answer: D

A relation from A to B is a subset of the Cartesian product A × B.

The number of elements in the Cartesian product is n(A × B) = n(A) × n(B) = 4 × 3 = 12.

The number of possible relations is the number of possible subsets of A × B, which is the size of its power set.

Number of relations = \(2^{n(A \times B)} = 2^{12} = 4096\).

No comment is present. Be the first to comment.
Loading…

Post your comment