IAE Academy

GATE 2024 CS1 Q.32: solution and answer

GATE 2024 · CS1Q.32 · 1 mark · NAT

Let and be non-empty finite sets such that there exist one-to-one and onto functions (i) from to and (ii) from to . The number of possible values of is ______

See the question in the paper

Answer and solution

ANSWER

The number of possible values of is (namely and ).

Official answer: 2Source: Official answer key, GATE 2024 CS1 (IISc Bengaluru)

  1. A bijection between two finite sets exists exactly when they have the same number of elements. From (i), with , since the sets are non-empty.

  2. From (ii), , so .

  3. For any two finite sets, . Here this reads .

  4. Combining, . The left inequality holds for every . Dividing the right inequality by gives . So .

  5. Check : take . Then , and bijections and both exist. Valid.

  6. Check : take and , which are disjoint. Then , and both bijections exist. Valid.

  7. Hence can be or and nothing else, so there are possible values.

KEY IDEA

A bijection exists exactly when the two sets have equal size, so the conditions reduce to and . The union is squeezed between and , which forces .

WATCH OUT FOR

Assuming and must be disjoint, or must be equal, which fixes at or and leaves only one value. The union size can be anything from to . Another slip is forgetting that works, because gives .

From the GATE 2024 CS1 paper. Every question of this paper · Download the full paper · All 8 Sets & relations questions, with notes

More Sets & relations questions