If A={1,2,3} and B={4,5} then the number of function f:A→B which is not onto is ______
A
2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
6
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
8
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
4
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A2 Total number of function f:A→B is the number of relations from A to B such that all the elements of A are in the first elements of function f.
Hence, total number of functions are =2×2×2=23=8
There are two functions for which the function is {(1,4),(2,4),(3,4)} and {(1,5),(2,5),(3,5)}.