Skip to content

Sets, Relations and Functions: Class 11 and JEE Notes and Key Ideas

JEE Mathematics Sets, Relations and Functions

Sets, Relations and Functions builds from set laws and counting to relation types, equivalence classes and mappings between sets. This page explains De Morgan's laws, inclusion–exclusion, reflexive–symmetric–transitive tests, [x] and {x}, inverses, composition and periods.

Practise Sets, Relations and Functions: 163 JEE Main PYQs with a study plan.

What makes a collection a set, and how subsets are counted

A set is a well-defined collection of distinct objects. Well-defined means membership is never a matter of opinion. "Tall students in a class" is not a set, but "students taller than 170 cm" is. A set can be written in roster form, {1,2,3,4}\{1, 2, 3, 4\}, or in set-builder form, {x∈N:x2<20}\{x \in \mathbb{N} : x^2 < 20\}.

The cardinal number n(A)n(A) counts distinct elements, so repeats count once. For example, the letters of LEVEL give n=3n = 3.

Equal sets have the same elements. Equivalent sets only have the same number of elements. So {1,2,3}\{1,2,3\} and {a,b,c}\{a,b,c\} are equivalent but not equal. Equal sets are always equivalent, but the converse does not hold.

The empty set ϕ\phi has no elements, while {ϕ}\{\phi\} has one. The set ϕ\phi is a subset of every set, and if A⊆BA \subseteq B and B⊆AB \subseteq A, then A=BA = B. Each element is either in a subset or out of it, which gives the 2m2^m count of subsets. For example, {2,4,6}\{2, 4, 6\} has 8 subsets and 7 proper subsets.

Preview of Sets, Relations and Functions Mind Map – Class 11 Maths & JEE

Sets, Relations and Functions Mind Map – Class 11 Maths & JEE

In the StudentCurio app

Revise Class 11 Maths & JEE Sets, Relations & Functions fast with this 6-part mind map. Covers set laws, relation types, [x], mappings, periods & traps.

Set algebra: De Morgan's laws, disjoint pieces and ordered pairs

A union contains elements in either set, and an intersection contains elements in both. The symmetric difference A△B=(A−B)∪(B−A)A \triangle B = (A-B) \cup (B-A) contains elements in exactly one of the two sets.

De Morgan's laws say that a complement swaps ∪\cup and ∩\cap. A useful rewriting is A−B=A∩B′A - B = A \cap B'.

The union A∪BA \cup B splits into three disjoint pieces: A−BA - B, B−AB - A and A∩BA \cap B. Inclusion–exclusion counting rests on this split. Adding n(A)n(A) and n(B)n(B) counts the common piece twice, so it is subtracted once. For example, if 40 students include 25 who like tea, 20 who like coffee and 10 who like both, then 35 like at least one, so 5 like neither.

Two results force sets to be equal. If A∪B=A∩BA \cup B = A \cap B, or if A−B=B−AA - B = B - A, then A=BA = B.

The Cartesian product A×BA \times B contains the ordered pairs (a,b)(a,b). Because order matters, A×B≠B×AA \times B \ne B \times A in general. For example, {1,2}×{x,y,z}\{1,2\} \times \{x,y,z\} has 6 pairs.

Concept map linking sets, Cartesian products, relations, equivalence relations, functions and inverse functions.
Each idea in the chapter builds on the one before it.

Testing relations: reflexive, symmetric, transitive and equivalence classes

A relation from AA to BB is any subset of A×BA \times B. The inverse relation swaps every pair, so its domain and range swap too. A relation on AA is tested for three properties:

  • Reflexive: (a,a)∈R(a,a) \in R for every a∈Aa \in A. Missing even one such pair breaks it.
  • Symmetric: (a,b)∈R(a,b) \in R implies (b,a)∈R(b,a) \in R.
  • Transitive: (a,b)(a,b) and (b,c)(b,c) in RR imply (a,c)∈R(a,c) \in R.

The three properties are independent. {(1,2),(2,1)}\{(1,2),(2,1)\} is symmetric but not transitive, because it lacks (1,1)(1,1). {(1,2)}\{(1,2)\} is transitive, since there is nothing to check.

A relation with all three properties is an equivalence relation. One example is congruence mod 3 on Z\mathbb{Z}, where 3∣(a−b)3 \mid (a-b).

The class [a][a] collects everything related to aa. It is never empty, because a∈[a]a \in [a]. Any two classes are equal or disjoint, so the classes partition the set. Congruence mod 3, for instance, splits Z\mathbb{Z} into the three classes [0][0], [1][1] and [2][2].

Intersections of equivalence relations remain equivalences, but unions can lose transitivity. On {1,2,3}\{1,2,3\}, the identity with (1,2),(2,1)(1,2),(2,1) added and the identity with (2,3),(3,2)(2,3),(3,2) added are both equivalences, yet their union lacks (1,3)(1,3). A partial order is reflexive, antisymmetric and transitive.

Functions, standard graphs, [x], {x} and kinds of mapping

A function gives every element of its domain exactly one image. A rational function P(x)/Q(x)P(x)/Q(x) excludes the zeros of QQ from its domain.

The function axa^x has range (0,∞)(0,\infty), and log⁡ax\log_a x has domain (0,∞)(0,\infty). Their graphs are mirror images in y=xy = x. Both increase for a>1a > 1 and decrease for 0<a<10 < a < 1.

An even function, f(−x)=f(x)f(-x) = f(x), is symmetric about the yy-axis. An odd function, f(−x)=−f(x)f(-x) = -f(x), is symmetric about the origin. Every function is the sum of an even part and an odd part. For example, x3+x2x^3 + x^2 has even part x2x^2 and odd part x3x^3.

[x][x] steps down to an integer, so [−2.3]=−3[-2.3] = -3. The fractional part is {x}=x−[x]∈[0,1)\{x\} = x - [x] \in [0,1), so {−2.3}=0.7\{-2.3\} = 0.7.

A map is one-one if f(a)=f(b)f(a) = f(b) forces a=ba = b. On a graph, this is the horizontal-line test: no horizontal line meets the graph twice. It is onto if its range equals its codomain. On R\mathbb{R}, x3x^3 is a bijection, while x2x^2 is many-one and into. Only bijections have inverses.

Composition (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)) applies gg first, and usually f∘g≠g∘ff \circ g \ne g \circ f.

Sets, Relations and Functions formulas and when each applies

Sets

  • Subsets: 2m2^m subsets and 2m−12^m - 1 proper subsets when n(A)=mn(A) = m.
  • Power set: n(P(A))=2n(A)n(P(A)) = 2^{n(A)}.
  • Complement: n(A′)=n(U)−n(A)n(A') = n(U) - n(A).
  • Two sets: n(A∪B)=n(A)+n(B)−n(A∩B)n(A \cup B) = n(A) + n(B) - n(A \cap B).
  • Three sets: n(A∪B∪C)=∑n(A)−∑n(A∩B)+n(A∩B∩C)n(A \cup B \cup C) = \sum n(A) - \sum n(A \cap B) + n(A \cap B \cap C).
  • Cartesian product: n(A×B)=pqn(A \times B) = pq.

Relations on an nn-set

  • All relations: 2n22^{n^2}.
  • Reflexive: 2n(n−1)2^{n(n-1)}.
  • Symmetric: 2n(n+1)/22^{n(n+1)/2}.

Functions from an nn-set to an mm-set

  • All functions: mnm^n.
  • One-one: mPn{}^mP_n if m≥nm \ge n, otherwise 0.
  • Onto: ∑r=0m(−1)r(mr)(m−r)n\sum_{r=0}^{m} (-1)^r \binom{m}{r}(m-r)^n if n≥mn \ge m, otherwise 0.

Function identities and their conditions

  • Logarithm of a product: log⁡a(xy)=log⁡a∣x∣+log⁡a∣y∣\log_a(xy) = \log_a|x| + \log_a|y|, which needs xy>0xy > 0.
  • Fractional part: {−x}=1−{x}\{-x\} = 1 - \{x\} only for x∉Zx \notin \mathbb{Z}.
  • Range: acos⁡x+bsin⁡x∈[−a2+b2,a2+b2]a\cos x + b\sin x \in [-\sqrt{a^2+b^2}, \sqrt{a^2+b^2}].
  • Inverse of a composition: (g∘f)−1=f−1∘g−1(g \circ f)^{-1} = f^{-1} \circ g^{-1}.
  • Period: if ff has period TT, then kf(cx+d)kf(cx+d) has period T/∣c∣T/|c|.
Comparison of one-one and onto mappings, with an example of each kind.
A bijection must satisfy both conditions.

Worked example: counting onto functions with inclusion–exclusion

Problem. Let ∣A∣=5|A| = 5 and ∣B∣=3|B| = 3. Find the number of functions from AA to BB of each kind: all functions, one-one functions and onto functions.

Step 1: all functions. Each of the 5 inputs has 3 choices of image, so there are 35=2433^5 = 243 functions.

Step 2: one-one functions. A one-one map needs m≥nm \ge n, but here 3<53 < 5. The count is therefore 0.

Step 3: onto functions. Since 5≥35 \ge 3, use inclusion–exclusion:

35−(31)25+(32)15−0=243−96+3=1503^5 - \binom{3}{1}2^5 + \binom{3}{2}1^5 - 0 = 243 - 96 + 3 = 150.

Answer. There are 243 functions, 0 one-one functions and 150 onto functions.

Check. Split the 5 inputs into 3 non-empty groups, which can be done in 25 ways. Assign the groups to BB in 3!=63! = 6 ways. This gives 25×6=15025 \times 6 = 150, which matches.

Common mistakes with relation and function rules

  • Treating "not symmetric" as antisymmetric. These are different conditions. {(1,2),(2,3),(3,2)}\{(1,2),(2,3),(3,2)\} is neither symmetric nor antisymmetric.
  • Assuming a union of equivalences is an equivalence. Merging partitions can break transitivity.
  • Reading f∘gf \circ g left to right. The innermost function acts first.
  • Confusing the two modulus graphs. ∣f(x)∣|f(x)| reflects the part of the graph below the xx-axis. f(∣x∣)f(|x|) mirrors the right half onto the left.

Revising the six linked parts of this mind map

The mind map moves through six parts: sets, set algebra, relation types, counting and combining relations, standard functions, and functions in depth. Each numbered card links to two others, such as power sets to the number of relations, or inverse relations to inverse functions. Leave the cards tagged JEE Adv or Extension for a second pass. Cover each card's example and recompute it, then use its mnemonic, such as "RST = equivalence", as a recall prompt.

Frequently asked questions

When does a function have an inverse?

Only when it is a bijection, meaning it is both one-one and onto. To find the inverse, swap xx and yy and solve for yy.

How does changing the x-coefficient affect the period?

If ff has period TT, then kf(cx+d)kf(cx+d) has period T/∣c∣T/|c|. For example, sin⁡(3x+1)\sin(3x+1) has period 2π/32\pi/3.

Spotted an error? Report a correction. Practise this in the app: notes, formula sheets and mind maps.

Discussion

Sign in to join the discussion

Loading comments…