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.
    Evaluate : \[ \int_{-\frac{\pi}{6}}^{\frac{\pi}{3}}(\sin|x|+\cos|x|)\,dx \]


      • 2.
        Find the sub–interval of \((0,\pi)\) in which the function \[ f(x)=\tan^{-1}(\sin x-\cos x) \] is increasing and decreasing.


          • 3.

            The probability of hitting the target by a trained sniper is three times the probability of not hitting the target on a stormy day due to high wind speed. The sniper fired two shots on the target on a stormy day when wind speed was very high. Find the probability that 
            (i) target is hit. 
            (ii) at least one shot misses the target. 


              • 4.

                Smoking increases the risk of lung problems. A study revealed that 170 in 1000 males who smoke develop lung complications, while 120 out of 1000 females who smoke develop lung related problems. In a colony, 50 people were found to be smokers of which 30 are males. A person is selected at random from these 50 people and tested for lung related problems. Based on the given information answer the following questions: 

                (i) What is the probability that selected person is a female? 
                (ii) If a male person is selected, what is the probability that he will not be suffering from lung problems? 
                (iii)(a) A person selected at random is detected with lung complications. Find the probability that selected person is a female. 
                OR 
                (iii)(b) A person selected at random is not having lung problems. Find the probability that the person is a male. 
                 


                  • 5.

                    A racing track is built around an elliptical ground whose equation is given by \[ 9x^2 + 16y^2 = 144 \] The width of the track is \(3\) m as shown. Based on the given information answer the following: 

                    (i) Express \(y\) as a function of \(x\) from the given equation of ellipse. 
                    (ii) Integrate the function obtained in (i) with respect to \(x\). 
                    (iii)(a) Find the area of the region enclosed within the elliptical ground excluding the track using integration. 
                    OR 
                    (iii)(b) Write the coordinates of the points \(P\) and \(Q\) where the outer edge of the track cuts \(x\)-axis and \(y\)-axis in first quadrant and find the area of triangle formed by points \(P,O,Q\). 
                     


                      • 6.

                        Sports car racing is a form of motorsport which uses sports car prototypes. The competition is held on special tracks designed in various shapes. The equation of one such track is given as 

                        (i) Find \(f'(x)\) for \(0<x>3\). 
                        (ii) Find \(f'(4)\). 
                        (iii)(a) Test for continuity of \(f(x)\) at \(x=3\). 
                        OR 
                        (iii)(b) Test for differentiability of \(f(x)\) at \(x=3\). 
                         

                          CBSE CLASS XII Previous Year Papers

                          Comments


                          No Comments To Show