Relations and Functions

What is Relations and Functions Class 11: Complete NCERT Guide

By ConceptScroll Team · Published on 19 June 2026 · 5 min read

In Class 11 NCERT Mathematics, 'what is Relations and Functions' is a key topic that introduces the concepts of how elements from one set relate to another and how functions map inputs to outputs. This chapter is essential for building a strong foundation in mathematics.

Definition and Basics of Relations in Class 11

A relation in mathematics is a connection or association between elements of two sets. If we have two sets $A$ and $B$, a relation $R$ from $A$ to $B$ is a subset of the Cartesian product $A \times B$. This means $R$ consists of ordered pairs $(a, b)$ where $a \in A$ and $b \in B$.

For example, if $A = \{1, 2\}$ and $B = \{x, y\}$, then a relation $R$ could be $\{(1, x), (2, y)\}$. This shows how elements of $A$ relate to elements of $B$.

Key points:

  • Relations may or may not associate every element of $A$ to $B$.
  • Relations can be represented using sets, tables, graphs, or mappings.

Understanding relations helps us see how elements correspond between sets, which is foundational for functions.

Understanding Functions: A Special Type of Relation

A function is a special kind of relation where every element of the domain (set $A$) is related to exactly one element of the codomain (set $B$). In other words, for each input, there is a unique output.

If $f$ is a function from $A$ to $B$, we write $f: A \to B$, and for each $a \in A$, there is a unique $b \in B$ such that $f(a) = b$.

Example: Let $A = \{1, 2, 3\}$ and $B = \{4, 5, 6\}$. If $f = \{(1, 4), (2, 5), (3, 6)\}$, then $f$ is a function.

Important terms:

  • Domain: The set of all inputs ($A$).
  • Codomain: The set of possible outputs ($B$).
  • Range: The set of actual outputs produced by the function.

Functions are essential in mathematics because they model real-world relationships with predictable outputs.

Want to test yourself on Relations and Functions? Try our free quiz →

Types of Functions Explained with Examples

Functions can be classified based on how elements in the domain and codomain relate:

Function TypeDefinitionExample
One-one (Injective)Different inputs have different outputs$f(x) = 2x$ for $x \in \mathbb{R}$
Onto (Surjective)Every element in codomain is mapped by some input$f(x) = x^3$ for $x \in \mathbb{R}$
BijectiveBoth one-one and onto$f(x) = x + 1$ for $x \in \mathbb{R}$

Worked example: Is $f(x) = x^2$ from $\mathbb{R}$ to $\mathbb{R}$ one-one?

  • No, because $f(2) = 4 = f(-2)$, so different inputs give the same output.

Knowing function types helps in solving problems related to inverse functions and compositions.

Domain, Range, and Codomain: Key Concepts

Understanding the terms domain, range, and codomain is crucial:

  • Domain: The set of all possible inputs for the function.
  • Codomain: The set in which all outputs lie (may include elements not mapped to).
  • Range: The actual set of outputs produced by the function.

Example: For $f(x) = \sqrt{x}$, defined from $\mathbb{R}$ to $\mathbb{R}$:

  • Domain: $[0, \infty)$ because square root of negative numbers is not real.
  • Codomain: $\mathbb{R}$ (all real numbers).
  • Range: $[0, \infty)$ (only non-negative real numbers).

This distinction is important for correctly defining and working with functions.

Composition and Inverse of Functions

Composition of functions means applying one function to the result of another. If $f: A \to B$ and $g: B \to C$, then the composition $g \circ f$ is a function from $A$ to $C$ defined by:

$$ (g \circ f)(x) = g(f(x)) $$

Example: If $f(x) = 2x$ and $g(x) = x + 3$, then:

$$ (g \circ f)(x) = g(2x) = 2x + 3 $$

An inverse function reverses the effect of the original function. For $f: A \to B$, if there exists $f^{-1}: B \to A$ such that:

$$ f^{-1}(f(x)) = x \quad \text{and} \quad f(f^{-1}(y)) = y $$

then $f^{-1}$ is the inverse of $f$.

Note: Only bijective functions have inverses.

Understanding these concepts is vital for solving complex function problems.

Relation vs Function: A Quick Comparison

It's important to distinguish between relations and functions:

AspectRelationFunction
DefinitionAny subset of $A \times B$Relation with unique output for each input
Output uniquenessNot necessaryExactly one output per input
Domain coverageMay not cover all elementsMust cover entire domain
Example$\{(1, 2), (1, 3)\}$$\{(1, 2), (2, 3)\}$

This table clarifies why all functions are relations but not all relations are functions.

Frequently asked questions

What is the difference between a relation and a function?

A relation pairs elements from two sets, but a function assigns exactly one output to each input.

Can a function have more than one output for a single input?

No, by definition, a function has exactly one output for each input in its domain.

What is the domain of a function?

The domain is the set of all possible inputs on which the function is defined.

When does a function have an inverse?

A function has an inverse only if it is bijective (one-one and onto).

What is the composition of functions?

Composition applies one function to the result of another, written as $(g \circ f)(x) = g(f(x))$.

Ready to ace this chapter?

Get the full Relations and Functions chapter — interactive notes, diagrams, worked solutions, polls and a free practice quiz — in the ConceptScroll app.

Open in ConceptScroll →

Study smarter with ConceptScroll

Daily NCERT-aligned reels, AI doubt solving and chapter quizzes — all free.

Start learning free