Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
If \( A=\{x \mid x \in N, x \leq 5\}, B=\left\{x \mid x \in Z, x^{2}-5 x+6=0\right\} \), then the number of onto functions
from \( A \) to \( B \) is
MathematicsFunctionsKCETKCET 2019
Options:
  • A (1) \( 23 \)
  • B \( 32 \)
  • C \( 02 \)
  • D \( 30 \)
Solution:
2633 Upvotes Verified Answer
The correct answer is: \( 30 \)
(D)
A $=\{1,2,3,4,5\}$
B $=\{2,3)$
number of onto functions from a set to a set containing 2 elements is
$=2^{n}-2$
$=2^{5}-2=30$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.