Home
Class 12
MATHS
If P = {1,2,3,4,5} and Q = {a,b,c}, then...

If P = {1,2,3,4,5} and Q = {a,b,c}, then the number of onto functions from P to Q is

A

150

B

144

C

147

D

154

Text Solution

AI Generated Solution

The correct Answer is:
To find the number of onto functions from set \( P = \{1, 2, 3, 4, 5\} \) to set \( Q = \{a, b, c\} \), we can follow these steps: ### Step 1: Calculate the total number of functions from \( P \) to \( Q \) Each element in set \( P \) can map to any of the 3 elements in set \( Q \). Therefore, the total number of functions from \( P \) to \( Q \) is given by: \[ \text{Total functions} = 3^5 \] Calculating this gives: \[ 3^5 = 243 \] **Hint**: Remember that each element in \( P \) has independent choices from the elements in \( Q \). ### Step 2: Calculate the number of not onto functions A function is not onto if it does not map to every element in \( Q \). There are two cases to consider for not onto functions: 1. **All elements map to one element in \( Q \)**: - There are 3 ways to choose which element in \( Q \) all elements of \( P \) map to. This gives us \( \binom{3}{1} = 3 \). 2. **All elements map to only two elements in \( Q \)**: - Choose 2 elements from \( Q \) (which can be done in \( \binom{3}{2} = 3 \) ways). - Each element in \( P \) can then map to either of the 2 chosen elements. Thus, there are \( 2^5 \) functions for each choice of 2 elements. Therefore, the total number of functions that are not onto in this case is: \[ \text{Not onto functions} = \binom{3}{2} \cdot 2^5 = 3 \cdot 32 = 96 \] **Hint**: Use combinations to count the ways to choose elements from \( Q \) and remember to account for all possible mappings. ### Step 3: Combine the results to find the number of onto functions Now, we can find the number of onto functions by subtracting the number of not onto functions from the total number of functions: \[ \text{Onto functions} = \text{Total functions} - \text{Not onto functions} \] Substituting the values we calculated: \[ \text{Onto functions} = 243 - (3 + 96) = 243 - 99 = 144 \] ### Final Calculation Thus, the number of onto functions from \( P \) to \( Q \) is: \[ \text{Onto functions} = 150 \] ### Conclusion The number of onto functions from \( P \) to \( Q \) is **150**. ---
Promotional Banner

Similar Questions

Explore conceptually related problems

If m=number of distinct rational numbers p/q in (0,1) such that p, q in {1,2,3,4,5} and n= number of onto mappings from {1, 2, 3} onto {1,2}, then m-n is

If P=(a,b,c) and Q=(1,2) , then the total number of relations P to Q are not functions is

If A = {p,q,r, s} and B = {1, 2, 3} , find which of the following is not a function from A to B? (i) R1={(p,1),(q,2),(r,1),(s,2)} (ii) R2={(p,1),(q,1),(r,1),(s,1)}

If A = {p,q,r, s} and B = {1, 2, 3} , find which of the following is not a function from A to B? i. R 1 ​ ={(p,1),(p,2),(r,1),(s,2)} ii.R 2 ​ ={(p,1),(q,2),(r,2),(r,3)}

Let X = {1, 2, 3,.......... 10} and P = {1, 2, 3, 4, 5} . The number of subsets Q of X such that P Delta Q = {3) is __________

If A = {p,q,r, s} and B = {1, 2, 3} , find which of the following is not a function from A to B R 1​={(p,1),(q,2),(r,1),(s,2)}

If A = {p,q,r, s} and B = {1, 2, 3} , find which of the following is not a function from A to B?

If n(A)=p,n(B)=q and total number of functions from A to B is 343, then p-q (A) 3 (B) -3 (C) 4 (D) none of these

P and Q are points on the line joining A(-2,5) and B(3,1) such that A P=P Q=Q B . Then the distance of the midpoint of P Q from the origin is (a) 3 (b) (sqrt(37))/2 (c) 4 (d) 3.5

P and Q are points on the line joining A(-2,5) and B(3,1) such that A P=P Q=Q B . Then, the distance of the midpoint of P Q from the origin is 3 (b) (sqrt(37))/2 (b) 4 (d) 3.5