JEE/Mathematics/Sets, Relations and Functions

Algebra and Functions · Must Do

Sets, Relations and Functions — JEE Main & Advanced Notes

Build domain-range discipline, relation properties, composition and inverse-function thinking before moving into calculus.

domainrangecompositioninverse
Copyright-safe content: These notes are rewritten from scratch. The uploaded PDFs were used only to understand chapter coverage, difficulty levels and test formats.

Concept Depth

Start Sets, Relations and Functions by identifying definitions, standard forms, and the condition under which each formula is valid. JEE questions usually become hard when a familiar formula is used outside its comfort zone.

Solved-Example Method

For every example, write the trigger, the transformation, and the final shortcut. The goal is not to remember the solution, but to recognise why that method was chosen.

Advanced Trap Check

Before marking an answer, check domain, extraneous roots, sign changes, equality cases, and hidden constraints. These are the places where JEE Advanced turns a routine question into a rank-decider.

1. Introduction & Exam Weightage

Build domain-range discipline, relation properties, composition and inverse-function thinking before moving into calculus.

Material signal: Mapped from repeated function and inverse-trigonometry revision assignments.

Priority: Must Do. Treat this as a foundation chapter inside the JEE Mathematics ladder.

2. Core Concepts & Definitions

  • Sets and the inclusion-exclusion principle: A set is a well-defined collection of distinct objects. When two or more sets overlap, simply adding their sizes overcounts the intersection. The formula n(A∪B) = n(A)+n(B)−n(A∩B) corrects this. For three sets, triple overlaps are added back after double intersections are subtracted. Draw a Venn diagram and assign an unknown to each region before forming equations — this approach handles virtually every JEE set-counting problem.
  • Relations and equivalence: A relation R on A is reflexive if (a,a)∈R for every a, symmetric if (a,b)∈R implies (b,a)∈R, and transitive if (a,b)∈R and (b,c)∈R together imply (a,c)∈R. An equivalence relation satisfies all three and partitions A into disjoint equivalence classes. The classic example: aRb iff (a−b) is divisible by n partitions ℤ into n residue classes.
  • Types of functions: A function f: A→B is one-one (injective) if f(a₁)=f(a₂) ⇒ a₁=a₂. Test algebraically: set f(x₁)=f(x₂) and show x₁=x₂. Graphically, every horizontal line cuts the graph at most once. A function is onto (surjective) if every element of B is an image: for every y∈B, solve f(x)=y and show a real solution exists. A bijection is both one-one and onto; only bijections have inverses.
  • Domain discipline: Finding the domain means simultaneously enforcing every restriction. List them all: square roots need non-negative arguments, logarithms need strictly positive arguments, denominators must be non-zero, and for inverse trig, arguments must lie in [−1,1]. Intersect all constraint sets. When a simplification cancels a factor (e.g. (x²−1)/(x−1) = x+1), the excluded point x=1 is still not in the domain.
  • Finding the range: Two reliable methods. (1) Direct method: write y=f(x), express x as g(y), then find the domain of g(y) — that is the range of f. (2) Derivative method: find turning points and check the function’s behavior at boundaries/infinity to identify all achievable y-values. For polynomials on a closed interval, always evaluate at endpoints and critical points.
  • Composition and its domain: (f∘g)(x)=f(g(x)) requires x to be in domain(g) and g(x) to be in domain(f). The domain of f∘g = {x∈domain(g) : g(x)∈domain(f)}. Composition is associative: f∘(g∘h)=(f∘g)∘h. It is generally NOT commutative: f∘g ≠ g∘f. Always work the inner function first when evaluating.
  • Inverse functions: f⁻¹ exists only for bijections. To find f⁻¹: (1) write y=f(x), (2) solve for x in terms of y, (3) write f⁻¹(y)=x and rename the variable. The domain of f⁻¹ equals the range of f, and the range of f⁻¹ equals the domain of f. The graph of f⁻¹ is the reflection of the graph of f across y=x. Check: f(f⁻¹(x))=x on the range of f.
  • Even and odd functions: Even functions (f(−x)=f(x)) are symmetric about the y-axis; examples include x², cos(x), |x|. Odd functions (f(−x)=−f(x)) pass through the origin and are symmetric about it; examples include x, x³, sin(x). The product of two odd functions or two even functions is even; the product of an odd and even function is odd. The zero function is both even and odd.

3. Key Formulas with Derivation Hints

  • (f ∘ g)(x) = f(g(x)) — apply g first, then apply f to the result
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • f⁻¹ exists iff f is bijective (both one-one and onto)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • n(A ∪ B ∪ C) = n(A)+n(B)+n(C)−n(A∩B)−n(B∩C)−n(A∩C)+n(A∩B∩C)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Number of functions from A to B = |B|^|A|
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Number of one-one functions from A to B = P(|B|,|A|) = |B|!/(|B|−|A|)! (if |B| ≥ |A|, else 0)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Number of relations from A to B = 2^(|A|×|B|)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Domain of √(f(x)): require f(x) ≥ 0; Domain of log(f(x)): require f(x) > 0; Domain of 1/f(x): require f(x) ≠ 0
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Even function: f(−x) = f(x) [y-axis symmetry]; Odd function: f(−x) = −f(x) [origin symmetry]
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
  • Decomposition: any f = [f(x)+f(−x)]/2 (even part) + [f(x)−f(−x)]/2 (odd part)
    Hint: do not memorise this in isolation; connect it to the definition or diagram that produces it.
Ad Slot · Light banner · Natural break after high-intent study section

4. Solved Examples — Original Practice Models

Domain with simultaneous restrictions

Problem: Find the domain of f(x) = √(x−1) / log(3−x).

Restriction 1 (numerator √(x−1) ≥ 0): x−1 ≥ 0 ⇒ x ≥ 1.

Restriction 2 (denominator log(3−x) defined): 3−x > 0 ⇒ x < 3.

Restriction 3 (denominator ≠ 0): log(3−x) ≠ 0 ⇒ 3−x ≠ 1 ⇒ x ≠ 2.

Intersect all: x ≥ 1 AND x < 3 AND x ≠ 2

Domain = [1, 2) ∪ (2, 3).

Finding the inverse of a rational function

Problem: Find f⁻¹(x) for f(x) = (2x+3)/(x−1), and state its domain.

Step 1 — One-one check: For (ax+b)/(cx+d) with ad−bc ≠ 0, the function is one-one on its natural domain (x ≠ 1).

Step 2 — Set y = (2x+3)/(x−1) and solve for x: y(x−1) = 2x+3 ⇒ yx−y = 2x+3 ⇒ x(y−2) = y+3 ⇒ x = (y+3)/(y−2).

Step 3 — Write inverse: f⁻¹(x) = (x+3)/(x−2).

Domain of f⁻¹ = range of f. Since f(x)=2 has no solution (2x+3=2x−2 is impossible), range of f = ℝ\{2}, so domain of f⁻¹ = ℝ\{2}.

Composition and its domain

Problem: If f(x) = √x and g(x) = 2−x², find (f∘g)(x) and its domain.

(f∘g)(x) = f(g(x)) = √(2−x²).

Domain condition: Need g(x) ≥ 0 (since f requires non-negative input). 2−x² ≥ 0 ⇒ x² ≤ 2 ⇒ −√2 ≤ x ≤ √2.

Domain of f∘g = [−√2, √2].

Note: (g∘f)(x) = g(√x) = 2−x, defined for x ≥ 0 — a completely different function and domain, confirming f∘g ≠ g∘f.

Proving an equivalence relation

Problem: On ℤ, define R by: aRb iff 3 divides (a−b). Show R is an equivalence relation and find its equivalence classes.

Reflexive: a−a=0=3×0, so 3|(a−a) for all a∈ℤ. ✓

Symmetric: If 3|(a−b), then a−b=3k, so b−a=−3k=3(−k). Hence 3|(b−a), so bRa. ✓

Transitive: If 3|(a−b) and 3|(b−c), then a−b=3k and b−c=3m. Adding: a−c=3(k+m), so 3|(a−c). Hence aRc. ✓

Equivalence classes: [0]={...,−6,−3,0,3,6,...}, [1]={...,−5,−2,1,4,7,...}, [2]={...,−4,−1,2,5,8,...}. These three classes partition ℤ completely.

5. Common Mistakes & Traps

  • Finding inverse without restricting the domain: f(x)=x² is not one-one on ℝ, so its inverse doesn’t exist there. Restrict to [0,∞) first, then f⁻¹(x)=√x. Always state the domain restriction explicitly.
  • Treating every relation as a function: a relation where one input maps to two outputs is not a function. E.g., x²+y²=1 is a relation, not a function of x on [−1,1], because each x-value gives two y-values. The vertical line test catches this graphically.
  • Ignoring excluded values after simplification: (x²−4)/(x−2) simplifies to x+2, but x=2 is excluded from the domain. Writing domain = ℝ is wrong; it is ℝ−2.
  • Confusing domain of f∘g with domain of f: the domain of f(g(x)) is the set of x in domain(g) such that g(x) lies in domain(f), not just any x in domain(f).
  • Assuming f∘g = g∘f: this is almost never true. Always compute both and compare rather than assuming commutativity.

6. JEE Main Specific Strategy

For JEE Main, aim for fast recognition and clean substitution. Finish the first pass of Sets, Relations and Functions questions in 60–90 seconds each. Prioritise standard formulas, short sign/domain checks and option elimination only after the setup is correct.

7. JEE Advanced Specific Strategy

For JEE Advanced, expect combined conditions, hidden domains, multi-correct traps and integer-style answers. Build the solution from definitions, not memorised tricks. When a parameter appears, solve the general case and then filter using restrictions.

8. Quick Revision Summary

  • Domain first, always. For each subexpression, list its restriction and intersect all constraints at the end.
  • For inverse: restrict domain → confirm one-one → write y=f(x) → solve for x → state domain of f⁻¹ = range of f.
  • Use horizontal line test for one-one. If any horizontal line meets the graph more than once, restrict the domain.
  • Composition order: (f∘g)(x) = f(g(x)). The inner function g runs first; f acts on the output of g.
  • For inclusion-exclusion with three sets: start from the Venn diagram, assign a variable to each of the seven regions, and build equations from the given totals.
Ad Slot · Light banner · Natural break after high-intent study section
Finished this topic?

Keep the practice loop moving

Move straight from chapter-wise questions into a subject test, then loop back into weaker areas instead of ending the session here.