✦ VidyaVerseIIT JEE MathematicsAll books

IIT JEE Mathematics · Chapter 1 of 22

⬇ Complete book PDF

Sets, Relations and Functions

JEE Main · Unit 1 JEE Advanced · Sets, Relations and Functions

Sets

n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
n(A ∪ B ∪ C) = Σn(A) − Σn(A ∩ B) + n(A ∩ B ∩ C)
De Morgan: (A ∪ B)′ = A′ ∩ B′, (A ∩ B)′ = A′ ∪ B′

Relations

On a set with n elements: reflexive relations = 2n² − n, symmetric relations = 2n(n+1)/2

Functions

Number of functions A → B = nm; one-one functions (m ≤ n) = ⁿPₘ; bijections when m = n: n!
Onto functions from m-set to n-set = Σk=0n (−1)k ⁿCₖ (n − k)m

Example 1

Find the domain of f(x) = √(log₀.₅(x − 1)).

Solution. Need x − 1 > 0 and log₀.₅(x − 1) ≥ 0. Base 0.5 < 1, so log₀.₅ t ≥ 0 ⇔ 0 < t ≤ 1. Hence 0 < x − 1 ≤ 1, i.e. x ∈ (1, 2].

Example 2

How many onto functions are there from a 4-element set to a 3-element set?

Solution. 3⁴ − ³C₁·2⁴ + ³C₂·1⁴ = 81 − 48 + 3 = 36.

Example 3

Is R = {(a, b) : a − b is divisible by 3} on ℤ an equivalence relation?

Solution. a − a = 0 (reflexive); if 3 | a − b then 3 | b − a (symmetric); if 3 | a − b and 3 | b − c then 3 | a − c (transitive). Yes; the classes are the three remainder classes 0, 1, 2 (mod 3).

⚠ Common mistake. For domains, the base of a logarithm must be positive and ≠ 1, and the argument must be strictly positive – students often forget the base condition when x appears in the base.
⚠ Common mistake. Onto depends on the co-domain. f(x) = x² is onto from ℝ to [0, ∞) but not from ℝ to ℝ.
★ Topper tip. For "one-one/onto" questions, sketch the graph first. Most JEE questions are decided in 20 seconds by monotonicity and range.

Practice questions

  1. Number of symmetric relations on a set with 3 elements.
  2. Domain of f(x) = 1/√([x]² − [x] − 6), where [·] is the greatest integer function.
  3. f(x) = (x − 1)/(x + 1), x ≠ −1. Find f⁻¹(x).
  4. Fundamental period of f(x) = |sin x| + |cos x|.
  5. If n(A) = 3 and n(B) = 5, number of one-one functions from A to B.
Show answers
  1. 2⁶ = 64
  2. [x] < −2 or [x] > 3, i.e. x ∈ (−∞, −2) ∪ [4, ∞)
  3. (1 + x)/(1 − x), x ≠ 1
  4. π/2
  5. ⁵P₃ = 60