Mathematics · Functions

JEE Main 2026 — 4 April, Morning Shift — Question 27

The number of functions f:{1,2,3,4}→{a,b,c}\mathrm{f}:\{1,2,3,4\} \to \{\mathrm{a},\mathrm{b},\mathrm{c}\} which are not onto, is :

  1. Option A:

    48

  2. Option B:

    45

    Correct
  3. Option C:

    51

  4. Option D:

    35

Answer: B

Step-by-step solution

Total functions from a set with 4 elements to a set with 3 elements: 34=813^4 = 81. Number of onto functions: 3!⋅S(4,3)=6×6=363! \cdot S(4,3) = 6 \times 6 = 36, where S(4,3)S(4,3) is Stirling number of the second kind. Alternatively, number of onto functions = 34−(31)24+(32)14=81−3×16+3×1=81−48+3=363^4 - \binom{3}{1}2^4 + \binom{3}{2}1^4 = 81 - 3 \times 16 + 3 \times 1 = 81 - 48 + 3 = 36. Number of functions not onto = Total functions - onto functions = 81−36=4581 - 36 = 45.

Solution figure

Answer key and solution verified before publishing.

Practise Functions

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Functions
Topic
One-One, many-one, onto, into, bijective functions
The number of functions f :\ 1,2,3,4\ to \ a , b , c \ which are not… | JEE Main 2026 PYQ with Solution · DhiX AI