Skip to content
dronacharya.ai
JEE Main 2022MathematicsInteger+4 / -1

JEE Main 2022 Maths Q29: Types of functions

From the JEE Main 2022 · 28 Jun · Shift 2 paper. Try it, check your answer, then read the worked solution below.

Let S={1,2,3,4}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}\{f:S\times S\to S:f\text{ is onto and }f(a,b)=f(b,a)\ge a\ \forall(a,b)\in S\times S\} is ______.

Answer and worked solution

Try it yourself first, then check your working against this.

Official answer37

Worked solution

Condition. f(a,b)≥max⁡(a,b)f(a,b)\ge\max(a,b) on each unordered pair. Value 1 is possible only at (1,1)(1,1), so f(1,1)=1f(1,1)=1; pairs with max 4 must be 4.

Pairs with max 2 (two of them) take values in {2,3,4}\{2,3,4\} with at least one 2: 5 ways. Max 3 (three pairs): {3,4}\{3,4\}, 8 ways.

Need a 3 somewhere. 5⋅8−3⋅1=375\cdot8-3\cdot1=37.

Answer: 37

Concepts used: onto with constraints

Practise this topic

Every past question tagged to the same part of the syllabus, with solutions.

Similar questions from other papers

Past questions on the same topic (Types of functions), each with a worked solution.

full papers
217
questions
18,571
worked solutions
18,550

Sit a paper tonight. See exactly where you stand.

Timed, in the real format, and marked the moment you submit.