Skip to content
Official PYQ · 1996

GATE CS 1996 Q1.3 — Sets, Relations and Functions

Explain with AI

Suppose XX and YY are sets and ∣X∣ and ∣Y∣|X| \text{ and } |Y| are their respective cardinality. It is given that there are exactly 9797 functions from XX to YY. From this one can conclude that

Choose one option
View worked solution

Answer: A

The total number of functions from a set XX to a set YY is given by the formula:

Number of functions=∣Y∣∣X∣\text{Number of functions} = |Y|^{|X|}

We are given that there are exactly 9797 functions from XX to YY. Therefore, we have the equation:

∣Y∣∣X∣=97|Y|^{|X|} = 97

Since 9797 is a prime number, it cannot be expressed as mnm^n for any integers m≥2m \ge 2 and n≥2n \ge 2. Thus, the only possible integer solution for the base and exponent is:

  • Exponent ∣X∣=1|X| = 1
  • Base ∣Y∣=97|Y| = 97

This uniquely determines that ∣X∣=1|X| = 1 and ∣Y∣=97|Y| = 97.

Hence, the correct option is A.

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

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