GateAI
Sets, Relations and Functions

GATE CSE 2024 Set 1 · Q32

NAT1 markMedium

Time

Let AA and BB be non-empty finite sets such that there exist one-to-one and onto functions (i) from AA to BB and (ii) from A×AA \times A to A∪BA \cup B. The number of possible values of ∣A∣|A| is ________

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 2

Sets, Relations and Functions

Let ∣A∣=n|A| = n, where nn is a positive integer (n≥1n \ge 1) since AA is non-empty and finite.

  1. Condition (i): A bijection (one-to-one and onto function) exists from AA to BB, which means:

    ∣B∣=∣A∣=n|B| = |A| = n
  2. Condition (ii): A bijection exists from A×AA \times A to A∪BA \cup B, which implies:

    ∣A×A∣=∣A∪B∣|A \times A| = |A \cup B|
    n2=∣A∪B∣n^2 = |A \cup B|
  3. By the Principle of Inclusion-Exclusion:

    ∣A∪B∣=∣A∣+∣B∣−∣A∩B∣=2n−∣A∩B∣|A \cup B| = |A| + |B| - |A \cap B| = 2n - |A \cap B|

    Since 0≤∣A∩B∣≤n0 \le |A \cap B| \le n, we have the inequality:

    n≤∣A∪B∣≤2nn \le |A \cup B| \le 2n

    Substituting ∣A∪B∣=n2|A \cup B| = n^2:

    n≤n2≤2nn \le n^2 \le 2n
  4. Dividing throughout by nn (since n>0n > 0):

    1≤n≤21 \le n \le 2

Thus, the possible integer values for n=∣A∣n = |A| are n=1n = 1 and n=2n = 2:

  • For n=1n = 1: ∣A×A∣=1|A \times A| = 1, and if A=BA = B, ∣A∪B∣=1|A \cup B| = 1.

  • For n=2n = 2: ∣A×A∣=4|A \times A| = 4, and if A∩B=∅A \cap B = \emptyset, ∣A∪B∣=4|A \cup B| = 4.

Hence, there are 2 possible values of ∣A∣|A|.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

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

Where do you stand for GATE?

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.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Sets, Relations and Functions in GATE CSE

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 Functions

More from GATE CSE 2024 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2024 Set 1 · Q32 · NAT

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

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.