GATE CSE Sets, Relations and Functions PYQs
In this topic, GATE tests the foundational properties of finite sets, combinatorial counting of structured objects (such as matrices and function spaces), and t… Read the guide
- Questions
- 5
- Asked
- 2014–2024
- Total marks
- 7
- Marks / paper
- 0.3
5 GATE CSE Sets, Relations and Functions PYQs with solutions, from Engineering Mathematics. Browse all GATE CSE PYQs.
Questions
Every official paper that asked this topic, newest first.
- GATE CSE 2024 Set 1 · Q32Let 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 ________NAT1 markMediumSolve
- GATE CSE 2021 Set 2 · Q11Consider the following sets, where : : Set of all matrices with entries from the set : Set of all functions from the set to the set Which of the following choice(s) is/are correct?MSQ1 markEasySolve
- GATE CSE 2015 Set 2 · Q18The cardinality of the power set of is _______.NAT1 markEasySolve
- GATE CSE 2014 Set 1 · Q50Let denote the set of all functions . Denote by the number of functions from to the set . The value of is _______.NAT2 marksEasySolve
- GATE CSE 2014 Set 3 · Q49Consider the set of all functions such that , for all . Consider the following statements: For each such function it must be the case that for every , . For each such function it must be the…MCQ2 marksMediumSolve
What GATE tests in Sets, Relations and Functions
Concepts, patterns, formulas and traps distilled from past papers.
In this topic, GATE tests the foundational properties of finite sets, combinatorial counting of structured objects (such as matrices and function spaces), and the existence of mappings (injections, surjections, and bijections). The focus is on comparing cardinalities of constructed sets and understanding how equal or unequal cardinalities govern the existence of specific mapping types.
Core concepts
- Set cardinality
- Power set definition and cardinality
- Inclusive integer range counting
- Involutions (functions satisfying f(f(x)) = x)
- Bijection, Injection, and Surjection properties of invertible functions
- Fixed points of finite set permutations (f(x) = x)
- Parity and counting arguments on finite set cardinalities
- Set Cardinality and Combinatorics
- Matrix configurations over finite alphabets
- Function spaces and total functions (BA)
- Injective, Surjective, and Bijective mappings between finite sets
- Function cardinality and function spaces (BA)
- Bijection (one-to-one and onto) and equinumerosity
- Cartesian product cardinality
- Principle of Inclusion-Exclusion bounds on union of sets
- Logarithmic scaling of large combinatorial powers
Recurring question patterns
Power Set Cardinality Computation
RareNAT1 marks2015Given an explicitly defined finite set or integer range (often starting from 0 to test inclusive counting), compute the total number of subsets (the cardinality of the power set) using .
Properties of Involutions and Finite Set Mappings
RareMCQ2 marks2014Given a function satisfying an algebraic relation like on a finite set , evaluate statements concerning injectivity, surjectivity, identity mapping, and the existence of fixed points.
Cardinality Comparison and Existence of Mappings
RareMSQ1 marks2021Two abstract sets and are defined via combinatorial constructions (e.g., matrices over finite alphabets, set of total functions). Candidates compute and to evaluate assertions regarding injective, surjective, or bijective mappings between them.
Higher-Order Function Space Cardinality
OccasionalNAT2 marks2014Determining the size of a set of functions and subsequent meta-functions between such sets, usually requiring logarithmic compression to evaluate the final integer answer.
Cardinality Constraints from Bijections
OccasionalNAT1 marks2024Given bijective mappings between compound sets derived from finite sets (such as and ), setting up bounds via the Principle of Inclusion-Exclusion to find the number of valid integer cardinalities.
Formulas GATE uses
Power Set Cardinality
Used to find the number of all possible subsets of a finite set .
Inclusive Integer Range Cardinality
Used to find the number of elements in a contiguous set of integers from to inclusive.
Cycle Decomposition of Involutions
Used to relate the number of 2-cycles () and fixed points / 1-cycles () to the total cardinality of the set .
Invertibility Condition for Involutions
Used to prove that any self-inverse mapping on a set is both one-to-one and onto.
Number of Matrices Over a Finite Set
Determining the number of matrices where each entry is chosen independently from an alphabet/set .
Total Number of Functions
Computing the number of total functions from domain set to codomain set .
Existence of Mappings between Finite Sets
Evaluating the validity of assertions about injective, surjective, and bijective mappings between finite sets of identical cardinality.
Number of Functions Between Sets
Used to compute total number of functions from domain set to codomain set .
Bijection Cardinality Equivalence
Used to equate cardinalities of sets connected by a one-to-one and onto function.
Cartesian Product Cardinality
Used when computing domain or codomain size of product sets.
Inclusion-Exclusion Cardinality Bounds
Used to establish bounds on the union of two finite sets.
Examiner traps in Sets, Relations and Functions
- Off-by-one counting error: assuming the set {0, 1, , n} has n elements instead of n + 1, leading to computing 210 = 1024 instead of 211 = 2048.
- Off-by-one error when counting elements in a range starting at 0 (e.g., forgetting that |{0, 1, , 2014}| = 2015, an odd number).
- Assuming an involution must be the identity map globally (f(x) = x for all x) rather than permitting 2-cycles / pairwise swaps.
- Failing to recognize that f f = I implies f is its own two-sided inverse, directly guaranteeing that f is onto.
- Confusing domain and codomain powers when computing function count (|A||B| vs |B||A|).
- Selecting only 'bijection exists' and missing 'surjection exists' or 'injection exists' in an MSQ format.
- Miscalculating matrix cardinality as |A| × n2 instead of |A|n2.
- Confusing |B||A| with |A||B| when computing total functions.
- Forgetting to enforce non-emptiness (|A| ≥ 1), which might incorrectly allow |A| = 0.
- Missing extreme overlap cases in set unions (disjoint vs subset) leading to missing valid integer solutions for |A|.
How questions are asked
- Direct NAT power set size calculation
- Multi-statement verification on function properties
- Identify valid mapping properties (injection/surjection/bijection) between two constructed sets
- Evaluate nested log of total function count
- Determine the count of possible set cardinalities satisfying bijective conditions
Paper trends
Appears as a 1-mark NAT testing quick evaluation of power set size with minimal computational complexity.
2015
In 2014, emphasis was placed on combining functional identities () with discrete parity arguments based on set cardinality () to determine surjectivity and fixed-point presence.
2014
With the introduction of MSQ question types in 2021, set theory questions test multiple logical consequences of cardinality equality (e.g., bijection implies both injection and surjection) across individual options.
2021
Both questions appear as NAT items testing cardinality principles rather than abstract proofs, shifting from direct nested function counting to inequality-bounded algebraic reasoning on set cardinalities.
2024, 2014
Difficulty notes
Easy: Direct evaluation of power set size for a contiguous range of integers. Medium: Base set defined with predicates/conditions (e.g., divisibility or prime criteria) before power set evaluation. Hard: Nested power sets (e.g., ) or subsets with specific size/parity constraints.