JEE Main 2020MathematicsFunctionsClassification Of FunctionsmediumNumerical

JEE Main 2020Functions Question with Solution

From: JEE Main 2020 (Online) 5th September Evening Slot

Question

Let A = {a, b, c} and B = {1, 2, 3, 4}. Then the number of elements in the set
C = {f : A B | 2 f(A) and f is not one-one} is ______.

Enter your answer

Show full solutionCorrect answer: 19
Correct answer
19

Step-by-step explanation

The desired functions will contain either one element or two elements in its codomain of which '2' always belongs to f(A).

Case 1 : When 2 is the image of all element of set A.

Number of ways this is possible = 1

Case 2 : When one image is 2 and other one image is one of {1, 3, 4}.

Number of ways we can choose one of {1, 3, 4} is = 3C1.

Now divide 3 elements {a, b, c} of set A into two parts.
We can do this ways.

Now map one part of set A into the element 2 of set B and map other part of set A into one of {1, 3, 4} of set B.
We can do that 2! ways.

So number of functions in this case
= 3C1 2! = 18

Total number of functions = 1 + 18 = 19

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 2020, 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.