Relations and functions form the bedrock of modern mathematics. A relation describes how the elements of one set are connected to the elements of another set through a rule, whereas a function is a special kind of relation in which every element of the domain is paired with exactly one element of the codomain. This chapter revisits and deepens the Class 11 ideas of Cartesian products, relations, and functions by classifying relations as reflexive, symmetric, transitive, and equivalence relations, and by classifying functions as one-one, onto, and bijective.
The chapter also introduces the composition of functions and the inverse of a bijective function. These concepts are not merely abstract; they power the definition of inverse trigonometric functions, the change of variables in integration, and the solution of differential equations. A firm command of equivalence classes and binary operations additionally prepares students for the study of algebra and number theory at higher levels.
Mastering this chapter is essential because virtually every later chapter assumes fluency with functions. The notation $f: A \to B$, the ability to check injectivity and surjectivity, and the technique of composing functions reappear throughout calculus and coordinate geometry. Treat this chapter as the language toolkit for the entire book.
A relation R in a set A is a subset of A x A. That is, $R \subseteq A \times A$. If $(a, b) \in R$, we write $a\,R\,b$ and say that a is related to b.
A relation R in A is reflexive if every element is related to itself: $a\,R\,a$ for all $a \in A$. Equivalently, $(a, a) \in R$ for every $a \in A$.
A relation R in A is symmetric if $a\,R\,b$ implies $b\,R\,a$. In other words, whenever $(a, b) \in R$, we must also have $(b, a) \in R$.
A relation R in A is transitive if $a\,R\,b$ and $b\,R\,c$ together imply $a\,R\,c$ for all $a, b, c \in A$.
A relation R in A is an equivalence relation if it is simultaneously reflexive, symmetric, and transitive. The most familiar example is equality itself on the set of real numbers.
Consider the relation R on the set A = {1, 2, 3} given by R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}. This relation is reflexive because all diagonal pairs are present, symmetric because (1, 2) and (2, 1) both occur, and transitive because the only non-trivial chains lead to pairs already listed. Hence R is an equivalence relation.
Let R be an equivalence relation in a set A. For any element $a \in A$, the equivalence class of a, denoted $[a]$, is the set of all elements of A that are related to a:
$$[a] = {x \in A : x\,R\,a}$$
Every element of A belongs to exactly one equivalence class. Two equivalence classes are either identical or disjoint. The equivalence classes partition the set A into mutually disjoint, non-empty subsets whose union is A.
A function $f: A \to B$ is one-one if distinct elements of A have distinct images in B: $f(x_1) = f(x_2)$ implies $x_1 = x_2$. Equivalently, $x_1 \neq x_2$ implies $f(x_1) \neq f(x_2)$.
A function $f: A \to B$ is onto if every element of B has at least one pre-image in A, that is, the range of f equals the codomain B. For every $b \in B$ there exists $a \in A$ such that $f(a) = b$.
A function that is both one-one and onto is called bijective, or a one-to-one correspondence.
If n(A) = p and n(B) = q, then: - The number of functions from A to B is $q^p$. - The number of one-one functions from A to B is $qP_p = \frac{q!}{(q-p)!}$ if $q \geq p$, otherwise zero. - The number of onto functions from A to B, when $q \leq p$, is $\sum_{k=0}^{q} (-1)^k \binom{q}{k} (q-k)^p$.
A function from a finite set A to itself is one-one if and only if it is onto.
Let $f: A \to B$ and $g: B \to C$ be two functions. The composition of g with f, written $g \circ f$, is the function from A to C defined by
$$(g \circ f)(x) = g(f(x)) \quad \text{for all } x \in A$$
A function $f: A \to B$ has an inverse if and only if f is bijective. The inverse function $f^{-1}: B \to A$ satisfies
$$f^{-1}(y) = x \iff f(x) = y$$
The inverse function satisfies the fundamental relations $f^{-1} \circ f = I_A$ and $f \circ f^{-1} = I_B$, where $I_A$ and $I_B$ are the identity functions on A and B respectively.
For example, if $f(x) = \frac{2x + 3}{x - 2}$, then setting $y = \frac{2x + 3}{x - 2}$ gives $y(x - 2) = 2x + 3$, so $xy - 2y = 2x + 3$, hence $x(y - 2) = 2y + 3$, and $x = \frac{2y + 3}{y - 2}$. Interchanging variables, $f^{-1}(x) = \frac{2x + 3}{x - 2}$, which in this case equals f itself, a property called being an involution.
A binary operation * on a set A is a function $*: A \times A \to A$ that assigns to each ordered pair $(a, b)$ of elements of A a unique element $a * b$ of A.
If A has n elements, then the number of binary operations on A is $n^{n^2}$, since each of the $n^2$ ordered pairs can be assigned any of the n elements.
| Property | Definition | Example on set of integers |
|---|---|---|
| Reflexive | $(a, a) \in R$ for all a | Less than or equal to (<=) |
| Symmetric | $(a, b) \in R$ implies $(b, a) \in R$ | Equality (=) |
| Transitive | $(a, b), (b, c) \in R$ implies $(a, c) \in R$ | Divisibility |
| Equivalence | Reflexive + symmetric + transitive | Congruence modulo m |
| Type | Condition | Example | Inverse exists? |
|---|---|---|---|
| One-one (injective) | Distinct inputs give distinct outputs | $f(x) = 2x$ on R | Not necessarily |
| Onto (surjective) | Range equals codomain | $f(x) = x^3$ on R | Not necessarily |
| Bijective | One-one and onto | $f(x) = 2x + 1$ on R | Yes |
| Neither | Fails both conditions | $f(x) = x^2$ from R to R | No |
| Statement | Result |
|---|---|
| f and g both one-one | g o f is one-one |
| f and g both onto | g o f is onto |
| f bijective | f^(-1) exists and is bijective |
| (f o g)^(-1) | g^(-1) o f^(-1) |
| Number of functions A to B | n(B)^n(A) |
| Number of binary operations on A | n(A)^(n(A)^2) |
Relations and functions convert intuitive ideas of dependence into precise mathematical statements. The classification of relations as reflexive, symmetric, transitive, and equivalence relations, together with equivalence classes, gives structure to sets. Functions, classified as injective, surjective, and bijective, form the basis for composition and inversion, which are used in every branch of higher mathematics. The notion of a binary operation completes the toolkit by turning sets into algebraic structures. A student who has internalised the language of this chapter will find inverse trigonometric functions, change of variables in integration, and the concept of invertible matrices natural extensions of these same ideas. This chapter is therefore not just the first chapter of the book but the conceptual foundation on which the entire course is built.