Skip to content
Official PYQ · 2006

GATE CS 2006 Q2 — Sets, Relations and Functions

Explain with AI

Let X,Y,ZX,Y,Z be sets of sizes x,yx, y and zz respectively. Let W=X×YW = X \times Y and EE be the set of all subsets of WW. The number of functions from ZZ to EE is

Choose one option
View worked solution

Answer: D

To find the number of functions from set ZZ to set EE, we first determine the sizes of the sets involved:

  1. Size of WW: Since W=X×YW = X \times Y, the cardinality of WW is: ∣W∣=∣X∣×∣Y∣=x⋅y|W| = |X| \times |Y| = x \cdot y
  2. Size of EE: EE is the set of all subsets of WW (the power set of WW). Therefore, the cardinality of EE is: ∣E∣=2∣W∣=2xy|E| = 2^{|W|} = 2^{xy}
  3. Number of functions from ZZ to EE: The total number of functions from a domain set AA to a codomain set BB is given by ∣B∣∣A∣|B|^{|A|}. Here, the domain is ZZ (with size zz) and the codomain is EE (with size 2xy2^{xy}). Number of functions=∣E∣∣Z∣=(2xy)z=2xyz\text{Number of functions} = |E|^{|Z|} = \left(2^{xy}\right)^z = 2^{xyz}

Thus, the correct option is D.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions