Let A = {1, 2, 3, 4, 5} and B = {6, 7}. What is the number of onto functions from A to B ?

This question was previously asked in
NDA-I (Mathematics) Official Paper (Held On: 21 Apr, 2024)
View all NDA Papers >
  1. 10
  2. 20
  3. 30
  4. 32

Answer (Detailed Solution Below)

Option 3 : 30
Free
UPSC NDA 01/2025 General Ability Full (GAT) Full Mock Test
150 Qs. 600 Marks 150 Mins

Detailed Solution

Download Solution PDF

Concept:

Number of onto function from a set A (containing m elements) to a set B (containing n elements) (m ≥ n) is given by

nm - nC1(n - 1)m + nC2(n - 2)m - ...

Explanation:

A = {1, 2, 3, 4, 5}, B = {6, 7}

n(A) = m = 5 and n(B) = n = 2

So number of onto functions from A to B is

252C1(2 - 1)5 

= 32 - 2 = 30

Option (3) is true.

Latest NDA Updates

Last updated on Jul 8, 2025

->UPSC NDA Application Correction Window is open from 7th July to 9th July 2025.

->UPSC had extended the UPSC NDA 2 Registration Date till 20th June 2025.

-> A total of 406 vacancies have been announced for NDA 2 Exam 2025.

->The NDA exam date 2025 has been announced. The written examination will be held on 14th September 2025.

-> The selection process for the NDA exam includes a Written Exam and SSB Interview.

-> Candidates who get successful selection under UPSC NDA will get a salary range between Rs. 15,600 to Rs. 39,100. 

-> Candidates must go through the NDA previous year question paper. Attempting the NDA mock test is also essential. 

Hot Links: teen patti game online teen patti master 2024 teen patti online game teen patti royal teen patti rummy 51 bonus