Math · Sets, Relations and Functions

Relations and Functions revision notes

A concise JEE revision summary of Relations and Functions.

FormulasRevision notes
Mathrevision notes

Key Concepts & Definitions

Ordered Pair
A pair of elements grouped together in a specific, sequential order, denoted as (p,q)(p, q)(p,q) where p∈Pp \in Pp∈P and q∈Qq \in Qq∈Q. The order is crucial; (a,b)(a, b)(a,b) is not equal to (b,a)(b, a)(b,a) unless a=ba=ba=b. Equality of Ordered Pairs: Two ordered pairs are equal if and only if their corresponding first elements are equal and their corresponding second elements are equal.JEE TIPThis is used to solve linear equations equating coordinate components.
Cartesian Product (P×QP \times QP×Q)
Given two non-empty sets PPP and QQQ, their Cartesian product is the set of all possible ordered pairs where the first element is from PPP and the second is from QQQ. Defined as P×Q={(p,q):p∈P,q∈Q}P \times Q = \{(p,q) : p \in P, q \in Q\}P×Q={(p,q):p∈P,q∈Q}. If either PPP or QQQ is the null (empty) set, then P×QP \times QP×Q will also be an empty set (P×Q=ϕP \times Q = \phiP×Q=ϕ). If AAA and BBB are non-empty and at least one is an infinite set, A×BA \times BA×B is an infinite set.
Ordered Triplet
The product A×A×A={(a,b,c):a,b,c∈A}A \times A \times A = \{(a, b, c) : a, b, c \in A\}A×A×A={(a,b,c):a,b,c∈A} is a set of ordered triplets. Example: R×R×R\mathbb{R} \times \mathbb{R} \times \mathbb{R}R×R×R represents the coordinates of all points in three-dimensional space.
Relation (RRR)
A relation from a non-empty set AAA to a non-empty set BBB is a subset of the Cartesian product A×BA \times BA×B. It is derived by establishing a relationship between the first and second elements of the ordered pairs. Arrow Diagram: A visual representation of a relation. Relation on A: A relation from a set AAA to the same set AAA.
Image & Preimage
If (a,b)∈f(a, b) \in f(a,b)∈f, then the second element bbb is called the image of aaa under fff. Conversely, the first element aaa is called the preimage of bbb under fff.
Domain of a Relation/Function
The set of all first elements (xxx) of the ordered pairs in a relation or function.
Range of a Relation/Function
The set of all second elements (imagesimagesimages, yyy) of the ordered pairs. It is the actual set of outputs produced.
Codomain
The entire destination set BBB in a relation from AAA to BBB. The Range is always a subset of the Codomain (Range⊆Codomain\text{Range} \subseteq \text{Codomain}Range⊆Codomain).
Function (fff)
A relation from a set AAA to a set BBB is said to be a function if every element of set AAA has one and only one image in set BBB. No two distinct ordered pairs in a function can have the same first element. Denoted as f:A→Bf: A \rightarrow Bf:A→B.
Real-Valued Function
A function which has either R\mathbb{R}R or one of its subsets as its range.
Real Function
A function where both the domain and range are either the set of real numbers R\mathbb{R}R or subsets of R\mathbb{R}R.
Historical Note
The term "function" first appeared in a 1673 Latin manuscript by Gottfried Wilhelm Leibnitz to describe the "mathematical job" of a curve. Johan Bernoulli assigned it the analytical sense we use today in 1698.

Formulae, Equations & Set Operations

  • Cardinality of Cartesian Product: If set AA has pp elements (n(A)=pn(A) = p) and set BB has qq elements (n(B)=qn(B) = q), then the Cartesian product A×BA \times B has exactly pqpq elements: n(A×B)=n(A)×n(B)=pqn(A \times B) = n(A) \times n(B) = pq.
  • Total Number of Relations: Because every relation from AA to BB is a subset of A×BA \times B, and a set with pqpq elements has 2pq2^{pq} subsets, the total number of possible relations from AA to BB is 2pq2^{pq}.JEE TIPThis formula is extremely frequent in Permutations & Combinations/Sets mixed MCQ questions.
  • Distributive Properties of Cartesian Products:
    • A×(BC)=(A×B)(A×C)A \times (B \cap C) = (A \times B) \cap (A \times C)JEE TIPVery useful to split complex Cartesian operations.
    • A×(BC)=(A×B)(A×C)A \times (B \cup C) = (A \times B) \cup (A \times C)

Standard Real Functions & Important Graphs

  • Identity Function: y=f(x)=xy = f(x) = x.
    • Domain: R\mathbb{R}. Range: R\mathbb{R}.
    • Graph: A straight line passing directly through the origin (0,0) making a 45° angle with the x-axis.
  • Constant Function: y=f(x)=cy = f(x) = c (where cc is a constant real number).
    • Domain: R\mathbb{R}. Range: {c}\{c\}.
    • Graph: A straight horizontal line parallel to the x-axis.
  • Linear Function: f(x)=mx+cf(x) = mx + c (where m,cm, c are constants). Its graph is a straight line.
  • Polynomial Function: f(x)=a0+a1x+a2x2++anxnf(x) = a_0 + a_1x + a_2x^2 + \dots + a_nx^n.
    • Condition: nn is a non-negative integer and a0,a1,,anRa_0, a_1, \dots, a_n \in \mathbb{R}.
    • Domain: Generally R\mathbb{R}.
  • Rational Function: f(x)=g(x)h(x)f(x) = \frac{g(x)}{h(x)}, where g(x)g(x) and h(x)h(x) are polynomial functions.
    • Condition: Defined in a domain where h(x)0h(x) \neq 0.
  • Modulus Function: f(x)=xf(x) = |x|.
    • Definition: f(x)=xf(x) = x if x0x \geq 0, and f(x)=xf(x) = -x if x<0x < 0.
    • Domain: R\mathbb{R}. Range: Non-negative real numbers.
    • Graph: V-shaped, symmetric about the y-axis, vertex at the origin.
  • Signum Function:
    • Definition: f(x)=1f(x) = 1 if x>0x > 0; f(x)=0f(x) = 0 if x=0x = 0; f(x)=1f(x) = -1 if x<0x < 0.
    • Domain: R\mathbb{R}. Range: {1,0,1}\{-1, 0, 1\}.
    • Graph: Two horizontal rays (at y=1y = -1 and y=1y = 1) and a distinct point at the origin (0,0)(0,0).JEE TIPThe Signum function heavily tests continuity and differentiability boundaries at x=0x=0.
  • Greatest Integer Function (Step Function): f(x)=[x]f(x) = [x].
    • Definition: Assumes the value of the greatest integer less than or equal to xx. Example: [x]=1[x] = -1 for 1x<0-1 \leq x < 0 and [x]=0[x] = 0 for 0x<10 \leq x < 1.
    • Domain: R\mathbb{R}. Range: Z\mathbb{Z} (All Integers).
    • Graph: "Staircase" or step-like shape.

Algebra of Real Functions

For two real functions f:XRf: X \rightarrow \mathbb{R} and g:XRg: X \rightarrow \mathbb{R} (where XRX \subset \mathbb{R}):

  • Addition: (f+g)(x)=f(x)+g(x)(f + g)(x) = f(x) + g(x) for all xXx \in X.
  • Subtraction: (fg)(x)=f(x)g(x)(f - g)(x) = f(x) - g(x) for all xXx \in X.
  • Multiplication by a Scalar: (kf)(x)=kf(x)(kf)(x) = k \cdot f(x) where kk is a real number (scalar).
  • Multiplication (Pointwise): (fg)(x)=f(x)g(x)(fg)(x) = f(x)g(x) for all xXx \in X.
  • Quotient: (fg)(x)=f(x)g(x)\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}, valid for all xXx \in X provided g(x)0g(x) \neq 0.

Conditions, Edge Cases & Limitations

(Adapted for mathematical boundaries & algebraic sign conventions)

  • Polynomial Integer Limit: The exponents in a polynomial function must be non-negative integers. Edge Case: f(x)=x2/3+2xf(x) = x^{2/3} + 2x is strictly NOT a polynomial.
  • Division by Zero Boundary: For rational functions f(x)/g(x)f(x)/g(x), you must strictly evaluate the roots where g(x)=0g(x) = 0 and remove them from the domain. Example: For f(x)=x25x+4x25x+4f(x) = \frac{x^2 - 5x + 4}{x^2 - 5x + 4}, domain is R{1,4}\mathbb{R} - \{1, 4\}.
  • Square Root Convention: The radicand of a square root must be non-negative. f(x)=xf(x) = \sqrt{x} is defined over non-negative reals.
  • Modulus Sign Convention: For x<0x < 0, the modulus outputs x-x. Since xx is already negative, x-x becomes positive. Do not assume x-x implies a negative output.

Previous Year JEE Topics & Advanced Extensions

  • Domain & Range Calculations of Composite Expressions: This chapter establishes the base rules. JEE Advanced heavily combines domains. To find the domain of (f/g)(x)(f/g)(x), students must compute Domain(f)Domain(g)Domain(f) \cap Domain(g) AND exclude points where g(x)=0g(x) = 0.
  • Set Theory + Cartesian Products: Advanced problems frequently ask for intersections of Cartesian spaces. The distributive laws A×(BC)=(A×B)(A×C)A \times (B \cap C) = (A \times B) \cap (A \times C) are critical shortcuts.
  • Piecewise Function continuity prep: Thorough understanding of the Modulus (x|x|), Signum, and Greatest Integer ([x][x]) graphs built here is strictly required for evaluating limits and derivatives in Calculus. Graphical transformations (shifting the vertex of the V-shape of a modulus) is a staple of Advanced MCQs.

⚠️ COMMON MISCONCEPTIONS & SIGN CONVENTIONS (JEE MCQ TRAPS)

Based on the foundational topics in this chapter, here are the top 10 JEE traps.

  1. Misconception: Any set of ordered pairs mapping AA to BB is a function. Correct Understanding: A relation is ONLY a function if every element in AA maps to one and only one element in BB. If x=2x=2 maps to both y=2y=2 and y=4y=4, it is a relation, not a function.JEE TIP
  2. Misconception: The Codomain and the Range are the exact same thing. Correct Understanding: The Codomain is the entire destination set BB. The Range is only the actual images produced by the mapping. Range \subseteq Codomain.JEE TIP
  3. Misconception: You should simplify rational expressions before finding their domain. Correct Understanding: Find the domain before canceling common factors. If f(x)=x21x1f(x) = \frac{x^2-1}{x-1}, the domain strictly excludes x=1x=1, even though it simplifies to x+1x+1.JEE TIP
  4. Misconception: The Greatest Integer Function just truncates the decimal (e.g., [1.5]=1[-1.5] = -1). Correct Understanding: The GIF evaluates to the greatest integer less than or equal to xx. For negative numbers, you step down to the left on the number line: [1.5]=2[-1.5] = -2.JEE TIP
  5. Misconception: Cartesian products are commutative (A×B=B×AA \times B = B \times A). Correct Understanding: In general, A×BB×AA \times B \neq B \times A. They only equal if Set A = Set B.JEE TIP
  6. Misconception: A×BA \times B can contain elements even if one set is empty. Correct Understanding: If either AA or BB is an empty set (ϕ\phi), then A×BA \times B is strictly the empty set ϕ\phi.JEE TIP
  7. Misconception: The number of relations from AA to BB is n(A)×n(B)n(A) \times n(B). Correct Understanding: n(A×B)=pqn(A \times B) = pq is the number of elements in the Cartesian product. The total number of relations is 2pq2^{pq}, which is the total number of possible subsets.JEE TIP
  8. Misconception: For f(x)=x2f(x) = x^2, the domain is only positive real numbers. Correct Understanding: The domain of f(x)=x2f(x) = x^2 is all real numbers R\mathbb{R}. Its range is non-negative real numbers.JEE TIP
  9. Misconception: f(x)=x1/2+2f(x) = x^{1/2} + 2 is a polynomial function of degree 1/21/2. Correct Understanding: It is not a polynomial at all. Polynomials require non-negative integer powers.JEE TIP
  10. Misconception: For piecewise functions, the boundaries (like x=0x=0) can map to two different outputs. Correct Understanding: To be a valid function, boundary values must uniquely map. If f(x)=1xf(x) = 1 - x for x<0x < 0 and f(x)=x+1f(x) = x + 1 for x>0x > 0, the value at exactly x=0x = 0 must be explicitly defined (e.g., f(0)=1f(0) = 1) to avoid undefined gaps or function violations.JEE TIP
Notes fade fast. Rhovecs re-surfaces each concept on a forgetting schedule and picks what you practise next — so revision sticks.See how it works
Other chapters

Rhovecs re-surfaces each concept right before you’d forget it — and picks the next thing to practise. We decide, you execute.

Get started