The number of functions \(f:\left{1,2,3,4\right}\to \left{a,b,c\right}\) which are not onto, is: [JEE Main 2026, 4 Apr (…
Q1 FREE PREVIEW
The number of functions \(f:\left{1,2,3,4\right}\to \left{a,b,c\right}\) which are not onto, is:
[JEE Main 2026, 4 Apr (Shift 1)]
✓ Correct answer: b)
\(45\)
Explanation
Number of functions which are not onto
\(=(\)Total number of functions possible\()-(\)Number of onto functions \() \)
\( =3^4-\left(3^4-{ }^3 C_1(3-1)^4+{ }^3 C_2(3-2)^4\right) \)
\(= 3(2)^4-3(1) \)
\(=48-3=45\)
Practice more JEE Maths PYQs
See every question on Relations and Functions, or browse the full JEE question bank.
See all questions on Relations and Functions →