How Relations and Functions Is Asked

The chapter carries 9 printed marks in three questions, and their shape hardly changes:

Q Marks What the board asks
Q1 1 Properties of a small relation such as {(1, 1), (2, 2)} on {1, 2, 3}, a definition, a composition, or whether x3x^3 is one-one
Q30 3 Check a relation for reflexive, symmetric and transitive, or prove it is an equivalence relation
Q39 5 Prove a function is one-one and onto (bijective), and usually find its inverse

Q39 in the 2026 exams was f(x)=4x+3f(x) = 4x + 3 and f(x)=10x+7f(x) = 10x + 7: a linear function, shown invertible, with its inverse found. In 2025 it was f(x)=x−2x−3f(x) = \frac{x - 2}{x - 3} twice and f(x)=3−4xf(x) = 3 - 4x once. Q30 alternates between "show it is an equivalence relation" (congruent triangles, parallel lines, 2 divides a − b) and "check each property" (such as a≤b3a \le b^3).

Types of Relations

A relation R in a set A is a subset of A×AA \times A. We write (a,b)∈R(a, b) \in R or aRbaRb.

Property Condition To disprove it
Reflexive (a,a)∈R(a, a) \in R for every a∈Aa \in A Find one a with (a,a)∉R(a, a) \notin R
Symmetric (a,b)∈R⇒(b,a)∈R(a, b) \in R \Rightarrow (b, a) \in R Find one pair in R whose reverse is not
Transitive (a,b)∈R(a, b) \in R and (b,c)∈R⇒(a,c)∈R(b, c) \in R \Rightarrow (a, c) \in R Find a, b, c with the first two in R but (a,c)(a, c) not

An equivalence relation is reflexive, symmetric and transitive together.

The equivalence class of a, written [a], is the set of all elements related to a. For "2 divides a − b" on Z\mathbb{Z}, [0][0] is the set of even integers and [1][1] the set of odd integers. Any two equivalence classes are either equal or disjoint.

Points to remember:

  • The empty relation ϕ\phi relates nothing; the universal relation A×AA \times A relates everything. The universal relation is an equivalence relation.
  • A relation with no pairs to check can still be symmetric and transitive. For example, {(1, 1)} on {1, 2, 3} is symmetric and transitive but not reflexive, because (2, 2) and (3, 3) are missing.
  • To prove a property you must argue for all elements. To disprove it, one counterexample is enough. The board gives 1 mark for each property with a valid reason or counterexample.

Types of Functions

A function f:A→Bf: A \to B is:

  • One-one (injective) if f(x1)=f(x2)⇒x1=x2f(x_1) = f(x_2) \Rightarrow x_1 = x_2. No two inputs give the same output.
  • Onto (surjective) if every y∈By \in B is f(x)f(x) for some x∈Ax \in A. The range is the whole of B.
  • Bijective if it is both.

How to prove each one:

To show Method
One-one Start with f(x1)=f(x2)f(x_1) = f(x_2) and simplify until you reach x1=x2x_1 = x_2
Not one-one Give two different inputs with the same output, such as f(1)=f(−1)f(1) = f(-1) for x2x^2
Onto Take any y in B, solve y=f(x)y = f(x) for x, and check that this x lies in A
Not onto Give one y in B that is never reached, such as y=−1y = -1 for x2x^2 on R\mathbb{R}

Standard results the board uses:

Function One-one? Onto?
f(x)=ax+bf(x) = ax + b, a≠0a \ne 0, R→R\mathbb{R} \to \mathbb{R} Yes Yes
f(x)=x2f(x) = x^2, R→R\mathbb{R} \to \mathbb{R} No No (negatives not reached)
f(x)=x3f(x) = x^3, R→R\mathbb{R} \to \mathbb{R} Yes Yes
f(x)=∣x∣f(x) = \lvert x\rvert, R→R\mathbb{R} \to \mathbb{R} No No
f(x)=[x]f(x) = [x] (greatest integer), R→R\mathbb{R} \to \mathbb{R} No No (only integers)
f(x)=1xf(x) = \frac{1}{x}, R∗→R∗\mathbb{R}_* \to \mathbb{R}_* (non-zero reals) Yes Yes

The domain and codomain matter. f(x)=x2f(x) = x^2 is one-one on N\mathbb{N} but not on R\mathbb{R}.

Composition and Inverse

Composition: (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)), apply f first, then g. In general g∘f≠f∘gg \circ f \ne f \circ g. For f(x)=sin⁡xf(x) = \sin x and g(x)=x2g(x) = x^2, f∘g(x)=sin⁡(x2)f \circ g(x) = \sin(x^2) but g∘f(x)=sin⁡2xg \circ f(x) = \sin^2 x.

Invertible functions: f:A→Bf: A \to B is invertible if there is g:B→Ag: B \to A with g∘f=IAg \circ f = I_A and f∘g=IBf \circ g = I_B. A function is invertible if and only if it is bijective. The inverse is written f−1f^{-1}.

Finding f−1f^{-1}:

  1. Write y=f(x)y = f(x).
  2. Solve for x in terms of y.
  3. Then f−1(y)f^{-1}(y) is that expression; rename y to x if asked for f−1(x)f^{-1}(x).

For f(x)=4x+3f(x) = 4x + 3: y=4x+3y = 4x + 3 gives x=y−34x = \frac{y - 3}{4}, so f−1(x)=x−34f^{-1}(x) = \frac{x - 3}{4}.

To show invertibility the board's way, either prove f is one-one and onto, or find g and show g∘f=Ig \circ f = I and f∘g=If \circ g = I. Both methods get full marks.

Solved Examples: Relations

Question 1 (1 mark): The relation R = {(1, 1), (2, 2)} on {1, 2, 3} is (a) symmetric but not transitive (b) transitive but not symmetric (c) symmetric and transitive (d) neither.

Answer. (c). The only pairs are (1, 1) and (2, 2). Each reverse is itself, so R is symmetric, and there is no chain that breaks transitivity. It is not reflexive, because (3, 3) is missing, but that wasn't asked.

Question 2 (3 marks): Check whether R={(a,b):a≤b3}R = \{(a, b) : a \le b^3\} on R\mathbb{R} is reflexive, symmetric or transitive.

Answer.

  • Not reflexive: (12,12)∉R\left(\frac{1}{2}, \frac{1}{2}\right) \notin R, because 12≤18\frac{1}{2} \le \frac{1}{8} is false.
  • Not symmetric: (1,2)∈R(1, 2) \in R since 1≤81 \le 8, but (2,1)∉R(2, 1) \notin R since 2≤12 \le 1 is false.
  • Not transitive: (3,32)∈R\left(3, \frac{3}{2}\right) \in R since 3≤2783 \le \frac{27}{8}, and (32,65)∈R\left(\frac{3}{2}, \frac{6}{5}\right) \in R since 32≤216125\frac{3}{2} \le \frac{216}{125}. But (3,65)∉R\left(3, \frac{6}{5}\right) \notin R, because 3≤2161253 \le \frac{216}{125} is false.

Marks: 1 for each property with a correct counterexample.

Question 3 (3 marks): Show that R={(a,b):2 divides a−b}R = \{(a, b) : 2 \text{ divides } a - b\} on Z\mathbb{Z} is an equivalence relation.

Answer.

  • Reflexive: a−a=0a - a = 0, which is divisible by 2, so (a,a)∈R(a, a) \in R for all a.
  • Symmetric: if 2∣(a−b)2 \mid (a - b), say a−b=2ka - b = 2k, then b−a=2(−k)b - a = 2(-k), so 2∣(b−a)2 \mid (b - a) and (b,a)∈R(b, a) \in R.
  • Transitive: if a−b=2ka - b = 2k and b−c=2mb - c = 2m, then a−c=2(k+m)a - c = 2(k + m), so (a,c)∈R(a, c) \in R.

So R is an equivalence relation.

Marks: 1 for each property.

Question 4 (3 marks): In the set L of all lines in a plane, R={(L1,L2):L1∥L2}R = \{(L_1, L_2) : L_1 \parallel L_2\}. Show that R is an equivalence relation.

Answer.

  • Reflexive: every line is parallel to itself (taking a line as parallel to itself), so (L1,L1)∈R(L_1, L_1) \in R.
  • Symmetric: if L1∥L2L_1 \parallel L_2, then L2∥L1L_2 \parallel L_1.
  • Transitive: if L1∥L2L_1 \parallel L_2 and L2∥L3L_2 \parallel L_3, then L1∥L3L_1 \parallel L_3.

Hence R is an equivalence relation.

Solved Examples: Functions

Question 5 (5 marks): Let A=R−{3}A = \mathbb{R} - \{3\} and B=R−{1}B = \mathbb{R} - \{1\}. Show that f:A→Bf: A \to B, f(x)=x−2x−3f(x) = \frac{x - 2}{x - 3} is one-one and onto.

Answer. One-one. Let f(x1)=f(x2)f(x_1) = f(x_2):

x1−2x1−3=x2−2x2−3⇒(x1−2)(x2−3)=(x2−2)(x1−3)\frac{x_1 - 2}{x_1 - 3} = \frac{x_2 - 2}{x_2 - 3} \Rightarrow (x_1 - 2)(x_2 - 3) = (x_2 - 2)(x_1 - 3)

x1x2−3x1−2x2+6=x1x2−3x2−2x1+6⇒−x1=−x2⇒x1=x2x_1x_2 - 3x_1 - 2x_2 + 6 = x_1x_2 - 3x_2 - 2x_1 + 6 \Rightarrow -x_1 = -x_2 \Rightarrow x_1 = x_2

So f is one-one.

Onto. Take any y∈By \in B, so y≠1y \ne 1. Let y=x−2x−3y = \frac{x - 2}{x - 3}. Then xy−3y=x−2xy - 3y = x - 2, so x(y−1)=3y−2x(y - 1) = 3y - 2 and

x=3y−2y−1x = \frac{3y - 2}{y - 1}

This is a real number because y≠1y \ne 1, and x≠3x \ne 3 (if it were, 3y−2=3y−33y - 2 = 3y - 3, which is impossible). So x∈Ax \in A and f(x)=yf(x) = y. Hence f is onto.

Marks: 1 for cross-multiplying, 1 for expanding, 1 for x1=x2x_1 = x_2, 1 for setting f(x)=yf(x) = y, 1 for x in A.

Question 6 (5 marks): Show that f:R→Rf: \mathbb{R} \to \mathbb{R}, f(x)=10x+7f(x) = 10x + 7 is invertible and find f−1f^{-1}.

Answer. One-one: 10x1+7=10x2+7⇒x1=x210x_1 + 7 = 10x_2 + 7 \Rightarrow x_1 = x_2.

Onto: for any real y, x=y−710x = \frac{y - 7}{10} is real and f(x)=10⋅y−710+7=yf(x) = 10 \cdot \frac{y - 7}{10} + 7 = y.

So f is bijective and hence invertible. Define g(y)=y−710g(y) = \frac{y - 7}{10}. Then

g(f(x))=10x+7−710=x,f(g(y))=10⋅y−710+7=yg(f(x)) = \frac{10x + 7 - 7}{10} = x, \qquad f(g(y)) = 10 \cdot \frac{y - 7}{10} + 7 = y

So f−1(x)=x−710f^{-1}(x) = \frac{x - 7}{10}.

Question 7 (5 marks): Show that f:R→Rf: \mathbb{R} \to \mathbb{R}, f(x)=1+x2f(x) = 1 + x^2 is neither one-one nor onto.

Answer. Not one-one: f(1)=2f(1) = 2 and f(−1)=2f(-1) = 2, but 1≠−11 \ne -1.

Not onto: 1+x2≥11 + x^2 \ge 1 for every real x, so a value like 0∈R0 \in \mathbb{R} (or any number less than 1) is never reached. Its range is [1,∞)[1, \infty), not R\mathbb{R}.

Question 8 (1 mark): If f(x)=sin⁡xf(x) = \sin x and g(x)=x2g(x) = x^2, find f∘gf \circ g.

Answer. (f∘g)(x)=f(g(x))=sin⁡(x2)(f \circ g)(x) = f(g(x)) = \sin(x^2).