Math · Sets, Relations and Functions

Relations and Functions revision notes

A concise JEE revision summary of Relations and Functions.

FormulasRevision notes
Mathrevision notes

01Key Concepts & Definitions

Ordered Pair
A pair of elements grouped together in a specific, sequential order, denoted as (p,q)(p, q) where pPp \in P and qQq \in Q. The order is crucial; (a,b)(a, b) is not equal to (b,a)(b, a) unless a=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 Tip This is used to solve linear equations equating coordinate components.
Cartesian Product (P×QP \times Q)
Given two non-empty sets PP and QQ, their Cartesian product is the set of all possible ordered pairs where the first element is from PP and the second is from QQ. Defined as P×Q={(p,q):pP,qQ}P \times Q = \{(p,q) : p \in P, q \in Q\}.
  • If either PP or QQ is the null (empty) set, then P×QP \times Q will also be an empty set (P×Q=ϕP \times Q = \phi).
  • If AA and BB are non-empty and at least one is an infinite set, A×BA \times B is an infinite set.
Ordered Triplet
The product A×A×A={(a,b,c):a,b,cA}A \times A \times A = \{(a, b, c) : a, b, c \in A\} is a set of ordered triplets. Example: R×R×R\mathbb{R} \times \mathbb{R} \times \mathbb{R} represents the coordinates of all points in three-dimensional space.
Relation (RR)
A relation from a non-empty set AA to a non-empty set BB is a subset of the Cartesian product A×BA \times 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 AA to the same set AA.
Image & Preimage
If (a,b)f(a, b) \in f, then the second element bb is called the image of aa under ff. Conversely, the first element aa is called the preimage of bb under ff.
Domain of a Relation/Function
The set of all first elements (xx) of the ordered pairs in a relation or function.
Range of a Relation/Function
The set of all second elements (imagesimages, yy) of the ordered pairs. It is the actual set of outputs produced.
Codomain
The entire destination set BB in a relation from AA to BB. The Range is always a subset of the Codomain (RangeCodomain\text{Range} \subseteq \text{Codomain}).
Function (ff)
A relation from a set AA to a set BB is said to be a function if every element of set AA has one and only one image in set BB.
  • No two distinct ordered pairs in a function can have the same first element.
  • Denoted as f:ABf: A \rightarrow B.
Real-Valued Function
A function which has either R\mathbb{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} or subsets of R\mathbb{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.

02Formulae, 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 Tip This 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 Tip Very useful to split complex Cartesian operations.
  • A×(BC)=(A×B)(A×C)A \times (B \cup C) = (A \times B) \cup (A \times C)

03Standard 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 Tip The 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.

04Algebra 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.

05Conditions, 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.

06Previous 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.

07JEE Traps

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

Relation vs. Function Mapping
Misconception

Any set of ordered pairs mapping AA to BB is a function.

Reality

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.

Codomain vs. Range
Misconception

The Codomain and the Range are the exact same thing.

Reality

The Codomain is the entire destination set BB. The Range is only the actual images produced by the mapping. Range \subseteq Codomain.

Simplifying Before Finding Domain
Misconception

You should simplify rational expressions before finding their domain.

Reality

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.

Greatest Integer Function on Negatives
Misconception

The Greatest Integer Function just truncates the decimal (e.g., [1.5]=1[-1.5] = -1).

Reality

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.

Cartesian Product Commutativity
Misconception

Cartesian products are commutative (A×B=B×AA \times B = B \times A).

Reality

In general, A×BB×AA \times B \neq B \times A. They only equal if Set A = Set B.

Cartesian Product of Empty Set
Misconception

A×BA \times B can contain elements even if one set is empty.

Reality

If either AA or BB is an empty set (ϕ\phi), then A×BA \times B is strictly the empty set ϕ\phi.

Counting Relations vs. Elements
Misconception

The number of relations from AA to BB is n(A)×n(B)n(A) \times n(B).

Reality

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.

Domain of x2x^2
Misconception

For f(x)=x2f(x) = x^2, the domain is only positive real numbers.

Reality

The domain of f(x)=x2f(x) = x^2 is all real numbers R\mathbb{R}. Its range is non-negative real numbers.

Fractional Powers Are Not Polynomials
Misconception

f(x)=x1/2+2f(x) = x^{1/2} + 2 is a polynomial function of degree 1/21/2.

Reality

It is not a polynomial at all. Polynomials require non-negative integer powers.

Piecewise Boundary Values
Misconception

For piecewise functions, the boundaries (like x=0x=0) can map to two different outputs.

Reality

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.

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