Skip to main content

Permutations MCQ: If f:1,2,3,4,5 →x, y, z, t, then the total number…

JEE · Mathematics · Permutations

1 Easy +4 | -1 Application
If f:{1,2,3,4,5}→{x,y,z,t}f:\{1,2,3,4,5\} \rightarrow\{x, y, z, t\}, then the total number of onto functions is equal to
View answer and explanation
Correct option: D
240
Option D (240) is correct because it accurately calculates the number of onto functions using the inclusion-exclusion principle.
Solution approach
  1. Correct Answer + Core Reason: 240. The number of onto functions is calculated using the inclusion-exclusion principle.

    Step-by-Step Solution:

    Step 1: Understand the problem. We need to find the number of onto functions f:A→Bf: A \rightarrow B, where A=1,2,3,4,5A = \\{1, 2, 3, 4, 5\\} and B=x,y,z,tB = \\{x, y, z, t\\}.

    Step 2: Use the inclusion-exclusion principle.
    - Total number of functions from A to B is 45=10244^5 = 1024.
    - Number of functions that miss at least one element in B: 4C1⋅35=4⋅243=972{}^4C_1 \cdot 3^5 = 4 \cdot 243 = 972.
    - Number of functions that miss at least two elements in B: 4C2⋅25=6⋅32=192{}^4C_2 \cdot 2^5 = 6 \cdot 32 = 192.
    - Number of functions that miss at least three elements in B: 4C3⋅15=4⋅1=4{}^4C_3 \cdot 1^5 = 4 \cdot 1 = 4.

    Step 3: Apply the inclusion-exclusion principle.
    - Number of onto functions = Total functions - (Functions missing at least one element) + (Functions missing at least two elements) - (Functions missing at least three elements).
    - Number of onto functions = 45−4C1⋅35+4C2⋅25−4C3⋅15=1024−972+192−4=2404^5 - {}^4C_1 \cdot 3^5 + {}^4C_2 \cdot 2^5 - {}^4C_3 \cdot 1^5 = 1024 - 972 + 192 - 4 = 240.

    Why other options are wrong:
    - Option A: 242. This is likely a calculation error.
    - Option B: 245. This is also likely a calculation error.
    - Option C: 102. This is also likely a calculation error or misunderstanding of the inclusion-exclusion principle.

    Key Concepts:
    - Functions
    - Onto functions
    - Inclusion-exclusion principle

    Memory Aids:
    - Inclusion-exclusion principle for onto functions.

    Quick Tips:
    - Use the inclusion-exclusion principle to count onto functions.
    - Remember the formula: N(onto)=∑i=0∣B∣(−1)i∣B∣Ci(∣B∣−i)∣A∣N(onto) = \sum_{i=0}^{|B|} (-1)^i {}^{|B|}C_i (|B| - i)^{|A|}.

More Questions from Permutations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.