Onto Function: One to One, Bijective and Surjective Function, Examples

Collegedunia Team logo

Collegedunia Team

Content Curator

Onto Function is also known as Surjective Function. A function is defined as that which relates values/elements of one set to the values/elements of a different set, in a way that elements from the second set is equivalently defined by the elements from the first set. A function comprises various types which usually define the relationship between two sets that are in a different pattern. The different types of function are: onto function, many to one function, one to one function, etc.

Key Terms: Onto Function, total number of functions, right inverse, surjective functions, injective function.

Read More: Formulas of Inverse Trigonometry


What is Surjective/Onto Function?

[Click Here for Sample Questions]

The function is a process that relates elements of two different sets. One set is called the domain while the other is referred to as codomain. Functions can be explained in simple words as ‘for every set of inputs, there is a unique set of outputs’. It is important to note that the output and input sets should have some elements for a function to exist, which means it must not be empty sets

Surjective/ Onto Function

Onto Function

Representation of a function is generally done as f (x) = y. There are different types of functions like identical functions, periodic functions, many to one functions, algebraic functions, onto function, into the function, rational functions, one to one function, linear, quadratic and cubic functions, even and odd functions etc. 

Every element of a function in the domain has one and only one element in the codomain. Two elements in the codomain can’t be related to any element in the domain. However, the same element in the codomain can be correlated with two elements in the domain.

Read more: Binary Operations

Onto Function Explained

For Explaining the Onto Function we have to consider two sets. So, let us consider Set A and Set B consisting of elements. If at least one or more elements are matching with A for every element B, then the function is said to be surjective or onto function. Nicolas Bourbaki was the person who coined the term Surjective Function.

Explaination of Onto Function

Explaination of Onto Function

In Fig 1 we can observe that there is a pre-image for every element of B or a matching element in Set A. Therefore, it is a surjective function. In Fig 2, since 1 element in Set B is not linked with any element of set A, it's not a surjective function.

Read more: Derivative Inverse Trigonometry

Number of Surjective functions/Onto Functions Formula

When we are about to find the number of onto functions from a set A containing ‘n’ number of elements to set B which has ‘m’ number of elements.

Thus,

Number of functions from A to B = mn

Total number of surjective functions = Total number of functions – Number of functions which cannot be referred as onto

Read more: Types of Functions

The formula to find the total number of functions that can’t be onto is given by:

(m1)(m−1)n+(m2)(m−2)n−(m3)(m−3)n+.....−(mm−1)(1)n

Therefore, by this formula, we can find the number of Onto functions.

mn−(m1)(m−1)n+(m2)(m−2)n−(m3)(m−3)n+.....−(mm−1)(1)n

When,

n < m, the number of onto functions = 0

n = m, the number of onto functions = m!

Read more: Relations and Functions


Properties of an Onto Function

[Click Here for Sample Questions]

The range denotes the actual input of the function, the codomain states possible outcomes, the domain is basically what can go into the function.

  • All elements in onto function have a right inverse.
  • All function is said to be Surjective if it is with a right inverse.
  • It results in onto function only if we compose onto functions.

Read more: Types of Relations


Onto Function Solved Examples

[Click Here for Sample Questions]

Example 1: Let A = {1, 5, 8, 9) and B {2, 4} And f={(1, 2), (5, 4), (8, 2), (9, 4)}. Then prove f is a surjective function.

Solution: From the question itself we get,

A={1, 5, 8, 9)

B{2, 4}

& f={(1, 2), (5, 4), (8, 2), (9, 4)}

So, we can say elements 1 and 8 & 5 and 9 have the same range 2 & 4 respectively, that is every element on set B has a domain element on set A.

Therefore, f: A → B is a surjective function.

Example 2: Find the number of onto functions from the set X = {1, 2, 3, 4} to the set y= {a, b, c} .

Solution: Given: Set X = {1, 2, 3, 4}; Set Y = {a, b, c}

Here, n=4 and m=3

Then, the values of m and n in the formula are substituted and we get

= 34 – 3C1(2)4 + 3C2(1)4

= 81 – 3 (16) + 3(1)

= 81 – 48 + 3

= 84 – 48

= 36

Therefore, the number of surjective functions from set X to set Y is 36.

Read more: Triangle


Things to Remember

[Click Here for Sample Questions]

  • A function serves the purpose of relating elements of two different sets. 
  • Every element of a function in the domain has one and only one element in the codomain.
  • If at least one or more elements are matching with A for every element B, then the function is said to be surjective or onto function.

Also Read:


Sample Questions

Ques. What do you mean by onto function? (2 Marks)

Ans. For Explaining the Onto Function we have to consider two sets. So, let us consider two sets: Set A and Set B consisting of elements. If at least one or more elements are matching with A for every element B, then the function is said to be subjective or onto function.

Ques. What is the other name of the surjective function? (1 Mark)

Ans. The surjective function is also called the onto function.

Ques. How to determine if a graph is onto? (2 Marks)

Ans. Let us consider a function “f” so, if and only if its graph function intersects the horizontal line at least once then only it can be referred to as onto,

Ques. What can we call if a function is both injective and surjective? (1 Mark)

Ans. The bijective function is a term that is coined If a function is both injective and surjective, which is also known as the one-to-one correspondence.

Ques. Mention two properties of the surjective function. (2 Marks)

Ans. The chief properties of the Onto Function are: 

  • All elements in onto function have a right inverse.
  • All function is said to be Surjective if it is with a right inverse.
  • It results in onto function only if we compose onto functions.

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

1.

Let A=\(\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix}\),show that(aI+bA)n=anI+nan-1bA,where I is the identity matrix of order 2 and n∈N

      2.

      Solve system of linear equations, using matrix method.
       x-y+2z=7
       3x+4y-5z=-5
       2x-y+3z=12

          3.
          Find the inverse of each of the matrices, if it exists. \(\begin{bmatrix} 1 &  3\\ 2 & 7\end{bmatrix}\)

              4.
              Find the inverse of each of the matrices,if it exists \(\begin{bmatrix} 2 & 1 \\ 7 & 4  \end{bmatrix}\)

                  5.
                  Find the inverse of each of the matrices,if it exists. \(\begin{bmatrix} 2 &  3\\ 5 & 7 \end{bmatrix}\)

                      6.
                      If (i) A=\(\begin{bmatrix} \cos\alpha & \sin\alpha\\ -\sin\alpha & \cos\alpha \end{bmatrix}\),then verify that A'A=I
                      (ii) A= \(\begin{bmatrix} \sin\alpha & \cos\alpha\\ -\cos \alpha & \sin\alpha \end{bmatrix}\),then verify that A'A=I

                          CBSE CLASS XII Previous Year Papers

                          Comments



                          No Comments To Show