Types of Functions in Math: Definition, Examples, Composition & Exam Tips

Relations and Functions 2025 ( Maths Relations and Functions )

Jaya Sharma
Updated on Jun 19, 2025 18:49 IST

By Jaya Sharma, Assistant Manager - Content

A function in math is a rule that assigns exactly one output to each input. Say you give an input x. The function will process it as per its rule. After this, you will get a single output called f(x). While we have already discussed functions in detail as another topic. Here, we will be discussing different functions along with examples to help learners understand how these functions work and what are their characteristics. We will further discuss the composition of functions to learn how they yield single output.

Table of content
  • Different Types of Functions
  • Understanding One - One function (Injective function or Injection)
  • What is Onto function (Surjective function or Surjection)?
  • What is One – One Onto function?
  • Understanding Bijective function
  • What is Invertible function?
  • Composition of Different Types of Functions in Math
  • Points to Remember While Studying Types of Functions
View More
Maths Relations and Functions Logo

Different Types of Functions

Types of functions in Math are classified based on various criteria including mapping properties, equation forms, and range characteristics. Key types include one-to-one, many-to-one, onto, and into functions based on element mapping. Additionally, functions are categorized based on equation form, such as linear, quadratic, cubic, and polynomial functions. Other important types include rational, modulus, and even/odd functions based on their range and behaviour. NCERT class 11 notes on relations and functions cover the different types of functions in detail.These classifications help in understanding the properties and applications of different types of functions in mathematical problems. 

Maths Relations and Functions Logo

Understanding One - One function (Injective function or Injection)

One of the first types of functions if Injective function. Basically, a function f: A B is one - one function or injective function when distinct elements of A have distinct images in B.

Thus, f: A B is one - one function f(a) = f(b) a = b a, b A

 a b  f(a)  f(b) a, b A.

NCERT excercise of relations and functions include questions based this function type. Student must practice the excercise before sitting in the CBSE board exams.

Here,  function f(x) = x+1 is a type of one-to-one function as it produces a different answer for every input.

The function f(x) = x2, on the other hand, is not a one-to-one function as it gives the same answer for more than one input.

f (2) = 4 and f (–2) = 4

Maths Relations and Functions Logo

What is Onto function (Surjective function or Surjection)?

A function f: A B is onto function or a surjective function if every element of B is the f - image of some element of A.

f(A) = B or range of f is the co – domain of  f.

Thus, f: A B is onto function f(A) = B i.e., range of f = co – domain of f.

Let us consider an example to understand this function type:

f(x) = x+1:  If the domain and co - domain are both the set of real numbers (R), this function is onto.

f(x) = 2x: If the domain and co - domain are both the set of real numbers (R), this function is onto.

f(x) = x mod 3:  This function maps integers to 0,1,2 and is onto as every element in 0,1,2 has at least one corresponding integer in the domain.

f(x) = x2:  This function maps real numbers to non - negative real numbers (R+) is onto if the co-domain is restricted to the non-negative real numbers (R+).

Maths Relations and Functions Logo

What is One – One Onto function?

Also known as Bijective function or Bijection; a function f: A B is said to be one – one onto function or bijective function if it is both one - one and onto i.e., if the distinct elements of A have distinct images in B and each element of B is the image of some elements of A. Let us consider an example to understand one-one onto function type:

 

Define f : R R by f ( x ) = 2 x + 1 .

  1. One-to-One (Injective): f ( x ) = f ( x ) 2 x + 1 = 2 x + 1 x = x
  2. Onto (Surjective):

    For any y in R , solve y = 2 x + 1 for x = y 1 2 .

    Since y 1 2 belongs to R , every y has a pre-image.

Therefore, f ( x ) = 2 x + 1 is bijective.

Important reads for students:

NCERT Math solutions NCERT Solutions  
Class 12 Physics NCERT Notes CBSE Class 12 NCERT Notes
 
Maths Relations and Functions Logo

Understanding Bijective function

Another type of function in Math is Bijective function. A function f: A B is said to be one - one and onto function (or bijective function) if it is both one - one and onto. Those who plan to sit in entrance examinations like NEET and CUET must learn about these functions in detail so that they can answer problems based on this topic. 

Let us consider the function f: R R, defined as f(x) = 2x + 1, where R represents the set of all real numbers.

Injective (one - one) function: If f(x1) = f(x2),

Then 2 x1 + 1 = 2 x2 + 1.

Solving for x1, we get x1 = x2, meaning distinct inputs lead to distinct outputs.

Surjective (Onto) function: For any y in R, we can find an x in R such that f(x) = y.

Solving for x, we get x = (y –2) / 2, which is a real number for any real number y.

Since the function is both injective and surjective, it is a bijection.

 

Maths Relations and Functions Logo

What is Invertible function?

The last type of function is invertible function. As per the definition, a function f: A B is said to invertible if there exists a function g: B A such that gof = IA and fog = IB where IA and IB are identity functions. The function g is called the inverse of f and is denoted by f-1.

Entrance exams like IIT JAM and JEE Main cover questions from this function type which makes it important for students to practice them. To understand this function, below given example is a good fit.

  • f(x) = 2x + 3: This linear function is invertible because for every x, there’s a unique y, and for every y, there’s unique x.

The inverse function is f-1(x) = (x–3)/2.

  • f(x) = x3: This cubic function is invertible because it’s both one - to - one and onto. Its inverse is f-1(x) = 3√x.
  • f(x) = (3x – 4)/5: This rational function is invertible. Its inverse is f-1(x) = (5x + 4)/3.
  • f(x) = ax + b: This general linear function is invertible, where a 0, and its inverse is f-1(x) = (x – b)/a.
Maths Relations and Functions Logo

Composition of Different Types of Functions in Math

Composition of two functions means that the output of first function type becomes the input of the second type of function. 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.

Examples:

f(x) = 2x + 3

g(x) = x2

f(g(x)) = f(x2) = 2(x2) + 3 = 2 x2 + 3

g(f(x)) = g(2x + 3) = (2x + 3)2 = 4 x2 + 12x + 9

h(x) = sinx

k(x) = x – π

h (k(x)) = h (x – π ) = sin (x – π )

Maths Relations and Functions Logo

Points to Remember While Studying Types of Functions

Students must remember the following points while learning the concept of functions and its types in Math. This will help them understand the application of the concept in an easier manner:

  • A bijective function is also known as one - one function or one - to - one correspondence.
  • For an ordinary finite set A, one - one function f: A A is necessarily onto and an onto function f: A A is necessarily one – one for every finite set A.
  • If A and B have respectively m and n number of elements then the number of functions, defined from A to B is nm.
  • If A and B are two sets having m and n number of elements respectively such that m n, then total number of one – one functions from set A to set B is C m n × m ! i.e., P m n
  • If n(A) = n then the number of injective functions defined from A to itself is n!.
  • Constant Functions: Recognize that a constant function is always onto but not one-one.
  • Graphical Representation: Understand how to visualize function types using graphs and identify key features like horizontal and vertical asymptotes.
  • Algebraic Shortcuts: Learn common shortcuts for determining the range of a function or for finding the inverse of a function when it exists. 
  • To identify types of functions using graphs, look for distinct shapes and characteristics. Linear functions are straight lines, quadratic functions are U-shaped parabolas, and absolute value functions have a V-shape. Rational functions often have two curves that are symmetric about a slanting line, while trigonometric functions exhibit periodic, wave-like patterns. 
Read more
qna

Maths Relations and Functions Exam

Student Forum

chatAnything you would want to ask experts?
Write here...