∑GateAndNet
Practice MCQs
GATE CS / Engineering Mathematics & Discrete Math
Edit
INTERMEDIATE⭐ Must Know 4 min read 3 views

Relations, Equivalence Classes, POSETs, Lattices & Group Theory

Counting reflexive, symmetric, antisymmetric, and equivalence relations; Hasse diagrams, distributive/complemented lattices, cyclic groups, and Lagrange’s theorem.

1. Exact Relation Counting Formulas on ∣A∣=n|A| = n

Represent any relation R⊆A×AR \subseteq A \times A as an n×nn \times n Boolean matrix MRM_R with nn diagonal entries and n(n−1)2\frac{n(n-1)}{2} off-diagonal pairs (i,j),(j,i)(i,j),(j,i):

Relation PropertyDiagonal Choices (nn)Off-Diagonal Pair Choices (n(n−1)2\frac{n(n-1)}{2})Total Count
ReflexiveAll 11 (11 way)Free (44 ways per pair)2n(n−1)2^{n(n-1)}
IrreflexiveAll 00 (11 way)Free (44 ways per pair)2n(n−1)2^{n(n-1)}
SymmetricFree (2n2^n)(0,0)(0,0) or (1,1)(1,1) (22 ways)2n(n+1)/22^{n(n+1)/2}
AntisymmetricFree (2n2^n)(0,0),(1,0),(0,1)(0,0), (1,0), (0,1) (33 ways)2n⋅3n(n−1)/22^n \cdot 3^{n(n-1)/2}
AsymmetricAll 00 (11 way)(0,0),(1,0),(0,1)(0,0), (1,0), (0,1) (33 ways)3n(n−1)/23^{n(n-1)/2}

Equivalence Relations (Reflexive + Symmetric + Transitive) equal the nn-th Bell Number BnB_n: B1=1,B2=2,B3=5,B4=15,B5=52B_1 = 1, B_2 = 2, B_3 = 5, B_4 = 15, B_5 = 52.

2. POSETs, Hasse Diagrams & Lattices

A relation ⪯\preceq is a Partial Order if it is Reflexive, Antisymmetric, and Transitive.

  • Lattice: A POSET in which every pair of elements (a,b)(a, b) has both a unique Least Upper Bound (Join a∨ba \lor b) and Greatest Lower Bound (Meet a∧ba \land b).
  • Boolean Algebra: A Bounded, Distributive, and Complemented lattice. Every finite Boolean algebra has cardinality 2k2^k (isomorphic to the divisor lattice DND_N iff NN is a product of kk distinct primes, e.g. D30=D2⋅3⋅5D_{30} = D_{2 \cdot 3 \cdot 5} is a Boolean algebra, whereas D12=D22⋅3D_{12} = D_{2^2 \cdot 3} is NOT complemented!).

3. Algebraic Structures & Group Theory

  • Monoid: Associative + Identity element.
  • Group (G,∗)(G, *): Monoid + Every element has an inverse in GG.
  • Cyclic Group: Generated by a single element gg; number of generators of cyclic group of order nn is Euler’s totient ϕ(n)\phi(n).
💡 Shortcut & Tip

Instant Group Hierarchy: Every Cyclic Group   ⟹  \implies Abelian Group, and every group of prime order pp (or order ≤5\le 5 except wait: order 4 has Klein-4 V4V_4 which is non-cyclic but STILL Abelian! Smallest non-Abelian group has order 6, namely S3S_3).

📐 Quick Revision Formula Sheet
Counting Binary Relations on |A| = n
Reflexive=2n(n−1),Symmetric=2n(n+1)/2,Antisymmetric=2n⋅3n(n−1)/2\text{Reflexive} = 2^{n(n-1)}, \quad \text{Symmetric} = 2^{n(n+1)/2}, \quad \text{Antisymmetric} = 2^n \cdot 3^{n(n-1)/2}
💡 Total binary relations = 2^(n^2)
Lagrange’s Theorem for Finite Groups
∣H∣  ∣  ∣G∣  ⟹  Order of any subgroup (or element) divides ∣G∣|H| \;\big|\; |G| \implies \text{Order of any subgroup (or element) divides } |G|
💡 Every group of prime order p is cyclic and hence Abelian
#Discrete Math#Relations#POSET#Lattice#Group Theory#Lagrange Theorem

🎯 Practice PYQs on This Topic (2)

Q1.GATE CS Discrete MathMCQMEDIUM
+2 Marks • -0.67 Neg

On a set AA with ∣A∣=4|A| = 4 elements, how many distinct Equivalence Relations can be defined on AA?

Q2.GATE CS Discrete MathMCQMEDIUM
+2 Marks • -0.67 Neg

Let (G,∗)(G, *) be a cyclic group of order 1212. How many generators does GG possess?

Previous TopicCombinatorics, Pigeonhole Principle, Inclusion-Exclusion & Generating FunctionsNext Topic IEEE-754 Floating-Point Standard & 2’s Complement Arithmetic