Let A and B be non-empty finite sets such that there exist one-to-one and onto functions (i) from A to B and (ii) from A × A to A ∪ B. The number of possible values of |A| is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2024 Set 1 · Q32
Time
Your answerNumerical answer
Solution
Official answer: 2
Sets, Relations and FunctionsLet , where is a positive integer () since is non-empty and finite.
Condition (i): A bijection (one-to-one and onto function) exists from to , which means:
Condition (ii): A bijection exists from to , which implies:
By the Principle of Inclusion-Exclusion:
Since , we have the inequality:
Substituting :
Dividing throughout by (since ):
Thus, the possible integer values for are and :
For : , and if , .
For : , and if , .
Hence, there are 2 possible values of .
Try the question first, then check your work.
Examiner trap
Use the fact that bijections preserve cardinality, so and .
This Sets, Relations and Functions previous year question is Q32 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on Sets, Relations and Functions in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Sets, Relations and Functions PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Sets, Relations and Functions has 5 GATE CSE PYQs across 5 papers from 2014 to 2024. 2 of them are 1-mark NAT questions like this one, and it is the only one in GATE CSE 2024 Set 1.
How GATE tests Sets, Relations and FunctionsIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.