One-One, Onto and Bijective Functions, and Counting Functions — DPP: Let A = 1, 2, 3, 4, 5 . How many functions f : A A are neither one-one nor onto?
Question
Let . How many functions are neither one-one nor onto?
Options
Answer
Correct option: A
Hint
On a finite set mapped to itself, one-one and onto are equivalent, so 'neither' is exactly the complement of the bijections.
Solution
For with finite, is one-one if and only if it is onto (finite pigeonhole argument). So 'neither one-one nor onto' is exactly the set of functions that are not bijections.
Total functions from to : .
Bijections: .
Required count .
More questions from One-One, Onto and Bijective Functions, and Counting Functions — DPP
- How many onto (surjective) functions are there from a 4 -element set A to a 3 -element…
- Consider f : R R defined by f(x) = x 3 - 3x 2 . Which of the following correctly…
- How many one-one (injective) functions are there from a 3 -element set to a 5 -element…
Practise the full set: One-One, Onto and Bijective Functions, and Counting Functions — DPP