Question:

Let \( A = \{ 1, 2, 3, \dots, n \} \) and \( B = \{ a, b, c, \dots \} \), then the number of functions from A to B that are onto is

Show Hint

The number of onto functions from a set \( A \) to a set \( B \) is given by the formula involving powers of the number of elements in \( B \).
Updated On: Jan 6, 2026
  • \( 3^{n - 2} \)
  • \( 3^{n - 1} \)
  • \( 3^{n - 2} - 1 \)
  • \( 3^{n - 2} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation


Step 1: Using the onto function formula.
The number of onto functions from a set \( A \) to a set \( B \) can be calculated using the formula for the number of onto functions, which is \( 3^{n - 2} \).

Step 2: Conclusion.
Thus, the correct answer is option (D).

Final Answer: \[ \boxed{\text{(D) } 3^{n - 2}} \]
Was this answer helpful?
0
0