Published by:
CGP EDU Academic Team
Published on: August 14, 2026
If P = {1,2, 3,4, 5} and Q = {a, b, c}, then the number of onto functions from P to Q is
Text Solution
Verified by ExpertsThe correct answer is:
A
150
Total number of functions = 3 5
(Since each of 1,2, 3,4 or 5 can correspond to any of a, b or c)
The number of functions that corresponds to only one element of B is 3 C 1 x 1 5 and the number of functions that correspond to at most two elementsofB is 3 C 2 x 2 5 .
Total number of onto functions 
( 3 C 1 x 1 5 is repeated twice in 3 C 2 x 2 5 )
Prepare Smarter with CGP Edu
Get practice questions, solutions, and test series in one place.
Write a Review
Share your experience with this question and solution.
Commentary
Send your comment, doubt, correction, or feedback to admin.
Similar Questions
Explore conceptually related problems
Let for all real x. The least natural number n such that for all real values of x is
If f (x) + 2f (1 - x) = 6x , then the value of is equal to
If is a surjective function, then the value of is equal to
If f : R R is a function satisfying the equation f (3x + 1) + f (3x + 10) = 10, , then the period…
The domain of definition of the function is
Let be a periodic function such that where T is a fixed positive number, then period of f(x) is