Skip to main content

Permutations MCQ: Let R=a, b, c, d and S=1,2,3, then the number of…

JEE · Mathematics · Permutations

1 Easy +4 | -1 Application
Let R={a,b,c,d}R=\{a, b, c, d\} and S={1,2,3}S=\{1,2,3\}, then the number of functions ff, from RR to SS, which are onto is
View answer and explanation
Correct option: D
36
Option D (36) is correct because it uses the principle of inclusion-exclusion to subtract the non-onto functions from the total number of functions.
Solution approach
  1. Correct Answer + Core Reason: 36. The number of onto functions is calculated using the principle of inclusion-exclusion.

    Step-by-Step Solution:

    Step 1: Calculate the total number of functions from R to S. Since each of the 4 elements in R can be mapped to any of the 3 elements in S, the total number of functions is 34=813^4 = 81.

    Step 2: Calculate the number of functions that are not onto. This means the functions map to only 1 or 2 elements in S.

    Step 3: Number of functions mapping to exactly one element: There are 3 ways to choose one element from S, and all 4 elements in R map to that element. So, there are 3 such functions.

    Step 4: Number of functions mapping to exactly two elements: There are 3C2=3{}^3C_2 = 3 ways to choose two elements from S. For each pair of elements, each of the 4 elements in R can map to either of these two elements, giving 242^4 possibilities. However, this includes the cases where all elements map to only one of the two chosen elements, which we already counted. So, we subtract 2 from 242^4, giving 24−2=16−2=142^4 - 2 = 16 - 2 = 14. Therefore, the number of functions mapping to exactly two elements is 3∗14=423 * 14 = 42.

    Step 5: Calculate the number of onto functions by subtracting the non-onto functions from the total number of functions: 34−3−3(24−2)=81−3−42=363^4 - 3 - 3(2^4 - 2) = 81 - 3 - 42 = 36.

    Why other options are wrong:
    - Option A (80): This is an incorrect calculation of the number of onto functions.
    - Option B (16): This is an incorrect calculation of the number of onto functions.
    - Option C (24): This is an incorrect calculation of the number of onto functions.

    Key Concepts:
    - Functions
    - Onto functions
    - Principle of Inclusion-Exclusion

    Memory Aids:
    - Remember the formula for the total number of functions: ∣S∣∣R∣|S|^{|R|}

    Quick Tips:
    - Use the principle of inclusion-exclusion to count onto functions.

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.