Mathematics (JEE)Very hardJEE Advanced
The number of onto functions from a 5-element set to a 3-element set is:
- A. 243
- B. 120
- C. 150
- D. 90
Correct answer: C. 150
3⁵ − 3 · 2⁵ + 3 · 1⁵ = 243 − 96 + 3 = 150, by inclusion–exclusion.
Practise more Sets, Relations and Functions questionsSets, Relations and Functions: notes and key points
More Sets, Relations and Functions questions
- The range of f(x) = (x² + x + 1)/(x² − x + 1) is:
- A polynomial f satisfies f(x)f(y) = f(x) + f(y) + f(xy) − 2 for all x, y, and f(2) = 5. Then f(3) equals:
- The domain of f(x) = √(log₁₀((5x − x²)/4)) is:
- The number of functions f from {1, 2, 3} to itself satisfying f(f(x)) = f(x) for all x is:
- Let f(x) = 1/(1 − x). Applying f a total of 2023 times to x = 2 gives:
- If A has 2 elements and B has 3 elements, the number of relations from A to B is: