JEE Main 2022MathematicsFunctionsClassification Of FunctionshardNumerical

JEE Main 2022Functions Question with Solution

From: JEE Main 2022 (Online) 28th June Evening Shift

Question

Let S = {1, 2, 3, 4}. Then the number of elements in the set { f : S S S : f is onto and f (a, b) = f (b, a) a (a, b) S S } is ______________.

Enter your answer

Show full solutionCorrect answer: 37
Correct answer
37

Step-by-step explanation

There are 16 ordered pairs in . We write all these ordered pairs in 4 sets as follows.









All elements of set have image 4 and only element of has image 1.

All elements of set have image 3 or 4 and all elements of set have image 2 or 3 or 4 .

We will solve this question in two cases.

Case I: When no element of set has image 3.

Number of onto functions (when elements of set have images 2 or 3

Case II: When atleast one element of set has image 3.

Number of onto functions



Total number of functions

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Functions chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2022, covering the Functions chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.