Mathematics (JEE)HardJEE Main pattern
The number of onto functions from {1, 2, 3, 4} to {a, b, c} is:
- A. 36
- B. 81
- C. 24
- D. 45
Correct answer: A. 36
By inclusion–exclusion: 3⁴ − ³C₁·2⁴ + ³C₂·1⁴ = 81 − 48 + 3 = 36. 81 counts all functions, including those that miss an image.
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- The number of equivalence relations on the set {1, 2, 3} is:
- The number of reflexive relations on a set with 4 elements is:
- The number of symmetric relations on a set with 3 elements is:
- The inverse of f: R → (−1, 1), f(x) = (eˣ − e⁻ˣ)/(eˣ + e⁻ˣ), is:
- The domain of f(x) = sin⁻¹(log₂(x²/2)) is:
- Which of the following functions from R to R is a bijection?