Chapters

Relations and Functions

NCERT Class 12 Mathematics — Chapter 1

There is no permanent place in the world for ugly mathematics. — G. H. Hardy

1.1 Introduction

A relation RR from a set AA to a set BB is a subset of A×BA \times B.

If (a,b)R(a, b) \in R, we write aRba\, R\, b and say aa is related to bb.

Functions are special relations. This chapter covers types of relations, types of functions, composition, and invertible functions.


1.2 Types of Relations

A relation RR in a set AA is a subset of A×AA \times A.

  • Empty relation: R=ϕA×AR = \phi \subset A \times A (no element is related to any element)
  • Universal relation: R=A×AR = A \times A (every element is related to every element)

Empty and universal relations are called trivial relations.

Reflexive, symmetric, transitive

A relation RR in AA is:

  • Reflexive if (a,a)R(a, a) \in R for every aAa \in A
  • Symmetric if (a1,a2)R(a_1, a_2) \in R implies (a2,a1)R(a_2, a_1) \in R
  • Transitive if (a1,a2)R(a_1, a_2) \in R and (a2,a3)R(a_2, a_3) \in R implies (a1,a3)R(a_1, a_3) \in R

Equivalence relation

RR is an equivalence relation if it is reflexive, symmetric and transitive.

An equivalence relation partitions AA into disjoint equivalence classes [a][a].

Example: Congruence of triangles is an equivalence relation. Perpendicularity of lines is symmetric but neither reflexive nor transitive.


1.3 Types of Functions

Let f:XYf : X \to Y.

  • One-one (injective): f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2
  • Many-one: not one-one
  • Onto (surjective): for every yYy \in Y there exists xXx \in X with f(x)=yf(x) = y (range of ff is YY)
  • Bijective: both one-one and onto

For a finite set XX, f:XXf : X \to X is one-one if and only if it is onto. This need not hold for infinite sets.


1.4 Composition and Invertible Functions

If f:ABf : A \to B and g:BCg : B \to C, the composition gof:ACgof : A \to C is

(gof)(x)=g(f(x))(gof)(x) = g(f(x))

In general goffoggof \mathrel{\htmlClass{course-neq}{\char"2260}} fog.

f:XYf : X \to Y is invertible if there exists g:YXg : Y \to X such that

gof=IXandfog=IYgof = I_X \quad\text{and}\quad fog = I_Y

Then g=f1g = f^{-1}.

ff is invertible if and only if ff is bijective.


Chapter Summary

  • Empty relation: R=ϕR = \phi; universal relation: R=X×XR = X \times X
  • Equivalence relation = reflexive + symmetric + transitive
  • One-one: f(x1)=f(x2)x1=x2f(x_1)=f(x_2)\Rightarrow x_1=x_2
  • Onto: range of ff equals YY
  • (gof)(x)=g(f(x))(gof)(x)=g(f(x))
  • Invertible     \iff bijective

Exercises (NCERT)

  • Exercise 1.1 — reflexive, symmetric, transitive, equivalence
  • Exercise 1.2 — injective / surjective / bijective
  • Miscellaneous Exercise — mixed problems