Jeemate
MathematicsAlgebraMedium Yield (1-2 Qs in JEE)

Sets & Relations Formulas

Set operations, Venn diagram counting, number of subsets, relations, equivalence relations and counting of functions.

13 Formulas•258+ Questions in Bank

Core Formulas & Mathematical Identities

13
01

Set Operations & De Morgan's Laws

(A∪B)′=A′∩B′,(A∩B)′=A′∪B′,A−B=A∩B′,A Δ B=(A−B)∪(B−A)(A\cup B)' = A'\cap B', \quad (A\cap B)' = A'\cup B', \quad A - B = A\cap B', \quad A\,\Delta\,B = (A-B)\cup(B-A)

Complement of a union is the intersection of complements and vice versa; difference and symmetric difference are expressed through intersection and complement within the universal set U.

Examiner Tip: Distributive laws A∩(B∪C) = (A∩B)∪(A∩C) and A∪(B∩C) = (A∪B)∩(A∪C) together with De Morgan solve most set-identity questions; check with a quick Venn diagram.
02

Number of Elements in Union of Two Sets

n(A∪B)=n(A)+n(B)−n(A∩B),n(A−B)=n(A)−n(A∩B),n(A Δ B)=n(A)+n(B)−2 n(A∩B)n(A\cup B) = n(A) + n(B) - n(A\cap B), \quad n(A-B) = n(A) - n(A\cap B), \quad n(A\,\Delta\,B) = n(A) + n(B) - 2\,n(A\cap B)

Counting rule for two finite sets A and B; the symmetric difference counts elements in exactly one of the two sets.

Examiner Tip: n(A'∩B') = n(U) - n(A∪B) gives people who belong to neither group; always start filling the Venn diagram from the innermost intersection.
03

Number of Elements in Union of Three Sets

n(A∪B∪C)=n(A)+n(B)+n(C)−n(A∩B)−n(B∩C)−n(C∩A)+n(A∩B∩C)n(A\cup B\cup C) = n(A)+n(B)+n(C) - n(A\cap B) - n(B\cap C) - n(C\cap A) + n(A\cap B\cap C)

Inclusion-exclusion for three finite sets; each region of the Venn diagram is counted exactly once.

Examiner Tip: Alternating signs: add singles, subtract pairs, add the triple. For a pair of sets it reduces to n(A)+n(B)-n(A∩B).
04

Exactly One, Exactly Two and All Three (Venn Regions)

Exactly two=∑n(A∩B)−3 n(A∩B∩C),Exactly one=∑n(A)−2∑n(A∩B)+3 n(A∩B∩C)\text{Exactly two} = \sum n(A\cap B) - 3\,n(A\cap B\cap C), \quad \text{Exactly one} = \sum n(A) - 2\sum n(A\cap B) + 3\,n(A\cap B\cap C)

Number of elements belonging to exactly two or exactly one of three sets A, B, C, where the sums run over the three sets and the three pairs.

Examiner Tip: Three sets divide the plane into 2³ = 8 regions (including the region outside all three); check by adding exactly-one, exactly-two, all-three and none to get n(U).
05

General Inclusion-Exclusion Principle

∣⋃i=1nAi∣=∑∣Ai∣−∑i<j∣Ai∩Aj∣+∑i<j<k∣Ai∩Aj∩Ak∣−⋯+(−1)n+1∣⋂i=1nAi∣\left|\bigcup_{i=1}^{n} A_i\right| = \sum |A_i| - \sum_{i<j} |A_i\cap A_j| + \sum_{i<j<k} |A_i\cap A_j\cap A_k| - \dots + (-1)^{n+1}\left|\bigcap_{i=1}^{n} A_i\right|

Counts elements in the union of n finite sets by alternately adding and subtracting sums over all intersections of 1, 2, 3, ... sets.

Examiner Tip: Basis of derangement and onto-function counts; the number of terms in the k-th sum is C(n, k).
06

Number of Subsets and Power Set

n(A)=n  ⟹  n(P(A))=2n,proper subsets=2n−1,non-empty proper subsets=2n−2,subsets of size r=nCrn(A)=n \implies n(P(A)) = 2^n, \quad \text{proper subsets} = 2^n - 1, \quad \text{non-empty proper subsets} = 2^n - 2, \quad \text{subsets of size } r = {}^nC_r

Counting subsets of a set with n elements; each element is either in or out of a subset.

Examiner Tip: A proper subset excludes only A itself, so the empty set counts; 'non-empty proper' removes both ∅ and A.
07

Cartesian Product and Number of Relations

n(A×B)=n(A) n(B)=mn,A×B≠B×A (unless A=B or one is empty),#{relations A→B}=2mnn(A\times B) = n(A)\,n(B) = mn, \quad A\times B \ne B\times A \text{ (unless } A=B \text{ or one is empty)}, \quad \#\{\text{relations } A\to B\} = 2^{mn}

If n(A) = m and n(B) = n, a relation from A to B is any subset of A × B, so there are 2^{mn} of them.

Examiner Tip: Number of non-empty relations is 2^{mn} - 1; also A×(B∪C) = (A×B)∪(A×C) and A×(B∩C) = (A×B)∩(A×C).
08

Counting Reflexive, Symmetric and Antisymmetric Relations

On A, n(A)=n: all=2n2, reflexive=2n2−n, symmetric=2n(n+1)2, antisymmetric=2n 3n(n−1)2\text{On } A,\ n(A)=n:\ \text{all} = 2^{n^2},\ \text{reflexive} = 2^{n^2-n},\ \text{symmetric} = 2^{\frac{n(n+1)}{2}},\ \text{antisymmetric} = 2^n\,3^{\frac{n(n-1)}{2}}

Counts of relations on a set of n elements with a given property, obtained by choosing independently for the n diagonal pairs and the n(n-1)/2 unordered off-diagonal pairs.

Examiner Tip: Reflexive and symmetric together: 2^{n(n-1)/2}. Transitive relations have no closed formula and are not asked in general; for equivalence relations use partitions.
09

Equivalence Relation and Equivalence Classes

Equivalence=Reflexive+Symmetric+Transitive;[a]={x:xRa}, [a]=[b] or [a]∩[b]=∅, ⋃[a]=A\text{Equivalence} = \text{Reflexive} + \text{Symmetric} + \text{Transitive}; \quad [a] = \{x : x R a\}, \ [a]=[b] \text{ or } [a]\cap[b]=\varnothing, \ \bigcup [a] = A

An equivalence relation partitions the set into disjoint equivalence classes whose union is the whole set.

Examiner Tip: Smallest equivalence relation on A is the identity {(a,a)} with n pairs; the largest is A×A with n² pairs. Check transitivity carefully; most failures are there.
10

Number of Equivalence Relations (Bell Numbers)

#{equivalence relations on A}=#{partitions of A}=Bn:B1=1, B2=2, B3=5, B4=15, B5=52\#\{\text{equivalence relations on } A\} = \#\{\text{partitions of } A\} = B_n: \quad B_1=1,\ B_2=2,\ B_3=5,\ B_4=15,\ B_5=52

Each equivalence relation on an n-element set corresponds to exactly one partition into non-empty blocks; B_n is the n-th Bell number.

Examiner Tip: For n = 3 the five equivalence relations come from partitions 1 + 1 + 1, 1 + 2 (three ways) and 3.
11

Inverse and Composition of Relations

R−1={(b,a):(a,b)∈R},S∘R={(a,c):∃ b, (a,b)∈R, (b,c)∈S},(S∘R)−1=R−1∘S−1R^{-1} = \{(b,a) : (a,b)\in R\}, \quad S\circ R = \{(a,c) : \exists\, b,\ (a,b)\in R,\ (b,c)\in S\}, \quad (S\circ R)^{-1} = R^{-1}\circ S^{-1}

The inverse reverses each ordered pair, so domain and range swap; composition chains R from A to B with S from B to C.

Examiner Tip: R is symmetric exactly when R = R⁻¹. In S∘R, R acts first, the same convention as (f∘g)(x) = f(g(x)).
12

Number of Functions: One-One, Onto and Bijective

f:A→B, n(A)=m, n(B)=n: all=nm, one-one=nPm=n!(n−m)! (m≤n), bijective=n! (m=n)f:A\to B,\ n(A)=m,\ n(B)=n:\ \text{all}=n^m,\ \text{one-one}={}^nP_m=\frac{n!}{(n-m)!}\ (m\le n),\ \text{bijective}=n!\ (m=n)

Counting rules for functions from a set of m elements to a set of n elements.

Examiner Tip: Onto functions (m ≥ n) are counted by inclusion-exclusion: Σ (-1)^k C(n,k)(n-k)^m. Quick cases: onto to a 2-element set = 2^m - 2; onto to a 3-element set = 3^m - 3·2^m + 3.
13

Intervals and Their Set Operations

∣x−a∣<r  ⟺  x∈(a−r, a+r),[a,b]∩[c,d]=[max⁡(a,c), min⁡(b,d)] if max⁡(a,c)≤min⁡(b,d),R−[a,b)=(−∞,a)∪[b,∞)|x-a|<r \iff x\in(a-r,\,a+r), \quad [a,b]\cap[c,d] = [\max(a,c),\ \min(b,d)] \text{ if } \max(a,c)\le\min(b,d), \quad \mathbb{R}-[a,b) = (-\infty,a)\cup[b,\infty)

Open, closed and half-open intervals as subsets of the real line, and how they intersect and complement.

Examiner Tip: At each endpoint check inclusion separately: an endpoint stays in the intersection only if both intervals contain it, and in the union if either does.

Top Examiner Traps & Pitfalls

Frequently tested misconceptions in Sets & Relations

  • •Counting relations: transitive relations have no simple formula, and 2^{n²-n} counts reflexive relations only (not equivalence).
  • •Mixing up 'proper subsets' (2^n - 1) with 'non-empty proper subsets' (2^n - 2).
  • •In the three-set formula forgetting the +n(A∩B∩C) term or confusing 'exactly two' with 'at least two'.
  • •Checking reflexive, symmetric and transitive properties from just a few pairs: transitivity must hold for every chain (a,b),(b,c).
  • •A relation is a subset of A × B; a function is a relation in which each input has exactly one output.
  • •Reflexive, symmetric and transitive are independent properties: check each one separately.
  • •The empty relation on a non-empty set is symmetric and transitive but not reflexive.

Fundamental Theory & Core Concepts

2 Topics

1Sets and operations

  • ›Union, intersection, difference, complement and symmetric difference. Venn diagrams are the quickest way to solve counting problems with three sets.
  • ›Disjoint sets have an empty intersection. A ⊂ B means every element of A is in B.
  • ›Intervals such as (a, b) and [a, b] are subsets of the real line; union and intersection of intervals follow the number line.

2Relations

  • ›Domain, codomain and range of a relation. The inverse relation swaps each pair.
  • ›To prove an equivalence relation show reflexivity (aRa), symmetry (aRb ⇒ bRa) and transitivity (aRb and bRc ⇒ aRc).
  • ›To disprove a property give one counter-example.