**Relations and Functions Class 12** Chapter 1 starts with the revision of general notation of relations and functions. Students have already learned about domain, codomain and range in class 11, along with the various types of specific real-valued functions and the respective graphs. In class 12 Maths Chapter 1, students will learn about different types of relations and functions, the composition of functions, etc., in detail.

## Relations and Functions For Class 12 Concepts

The topics and subtopics covered in relations and Functions for class 12 are:

- Introduction
- Types of Relations
- Types of Functions
- Composition of functions and invertible functions
- Binary operations

Let us discuss the concept of relation and function in detail here.

## Relation

The concept of relation is used in relating two objects or quantities with each other. Suppose two sets are considered. The relationship between them will be established if there is a connection between the elements of two or more non-empty sets.

Mathematically, “aΒ relation R from a set A to a set B is a subset of the cartesian product A Γ B obtained by describing a relationship between the first element x and the second element y of the ordered pairs in A Γ B”.

**Types of Relations**

A relation R from A to A is also stated as a relation on A, and it can be said that the relation in a set A is a subset of A Γ A. Thus, the empty set Ο and A Γ A are two extreme relations. Below are the definitions of types of relations:

**Empty Relation**

If no element of A is related to any element of A, i.e. R = Ο β A **Γ **A**,**Β then the relation R in a set A is called empty relation.

**Universal Relation**

If each element of A is related to every element of A, i.e. R = AΒ **Γ** A, then the relation R in set A is said to be universal relation.

Both the empty relation and the universal relation are sometimes called trivial relations.

A relation R in a set A is called-

**Reflexive- **if (a, a) β R, for every aΒ β A,

**Symmetric- **if (a_{1}, a_{2}) β RΒ implies thatΒ (a_{2}, a_{1}) β R , for all a_{1}, a_{2}β A,

**Transitive- **if (a_{1}, a_{2}) β RΒ and (a_{2}, a_{3}) β R Β implies that (a_{1}, a_{3}) β RΒ Β for all a_{1}, a_{2}, a_{3} β A.

**Equivalence Relation- **A relation R in a set A is an equivalence relation if R is reflexive, symmetric and transitive.

## Functions

A function is a relationship which explains that there should be only one output for each input. It is a special kind of relation(a set of ordered pairs) which obeys a rule, i.e. every y-value should be connected to only one y-value.

Mathematically, “aΒ relation f from a set A to a set B is said to be a function if every element of set A has one and only one image in set B”.

In other words, a function f is a relation from a set A to set B such that the domain of f is A and no two distinct ordered pairs in f have the same first element. Also, A and B are two non-empty sets.

### Types of Functions

**One to one Function:**A function f : X β Y is defined to be one-one (or injective), if the images of distinct elements of X under f are distinct, i.e., for every x_{1}, x_{2}β X, f(x_{1}Β ) = f(x_{2}Β ) implies x_{1}Β = x_{2}Β . Otherwise, f is called many-one.**Onto Function:**A function f: X β Y is said to be onto (or surjective), if every element of Y is the image of some element of X under f, i.e., for every y β Y, there exists an element x in X such that f(x) = y.**One-one and Onto Function:**A function f: X β Y is said to be one-one and onto (or bijective), if f is both one-one and onto.

### Composition of Functions

Let f: A β B and g: B β C be two functions. Then the composition of f and g, denoted by **gof**, is defined as the function gof: A β C given by;

** gof (x) = g(f (x)), β x β A**

### Invertible Functions

A function f : X β Y is defined to be invertible if there exists a function g : Y β X such that gof = I_{X} and fog = I_{Y}. The function g is called the inverse of f and is denoted by f^{β1}.

An important note is that, if f is invertible, then f must be one-one and onto and conversely, if f is one-one and onto, then f must be invertible.

### Binary Operations

A binary operation β on a set A is a function β : A Γ A β A. We denote β (a, b) by a β b.

## Video Lesson on Revision of Relations and Functions

## Video Lesson on Paper Analysis

### Relations and Functions Class 12 Maths

## Solved Examples

**Example 1:Β **Show that subtraction and division are not binary operations on R.

**Solution:**Β N Γ N β N, given by (a, b) β a β b, is not binary operation, as the image of (2, 5) under βββ is 2 β 5 = β 3 β N.

Similarly, Γ·: N Γ N β N, given by (a, b) β a Γ· b is not a binary operation, as the image of (2, 5) under Γ· is 2 Γ· 5 = 2/5 β N.

**Example 2:**Β Let f : {2, 3, 4, 5} β {3, 4, 5, 9} and g : {3, 4, 5, 9} β {7, 11, 15} be functions defined as f(2) = 3, f(3) = 4, f(4) = f(5) = 5 and g (3) = g (4) = 7 and g (5) = g (9) = 11. Find gof.

**Solution:** From the given, we have:

gof(2) = g (f(2)) = g (3) = 7

gof (3) = g (f(3)) = g (4) = 7

gof(4) = g (f(4)) = g (5) = 11

gof(5) = g (5) = 11

**Example 3:**Β Show that the relation R in the set Z of integers given by R = {(a, b) : 2 divides a β b} is an equivalence relation.

**Solution:**Β R is reflexive, as 2 divides (a β a) for all a β Z.

Further, if (a, b) β R, then 2 divides a β b.

Therefore, 2 divides b β a.

Hence, (b, a) β R, which shows that R is symmetric.

Similarly, if (a, b) β R and (b, c) β R, then (a β b) and (b β c) are divisible by 2.

Now, a β c = (a β b) + (b β c) is even. (from the above statements)

From this,

(a β c) is divisible by 2.

This shows that R is transitive.

Thus, R is an equivalence relation in Z.

## Recommended Videos

### Relations and Types of Relations

### Functions – Introduction, Co-domain and Range

Download BYJU’S – The Learning App and have fun learning with us.

Please send class 12 isomerism (chemistry) notes

Please visit:

https://byjus.com/chemistry/isomerism/

https://byjus.com/chemistry/isomerism-questions/