Skip to main content

Functions MCQ: The total number of functions f:1,2,3,4 →5,6,7,8…

JEE · Mathematics · Functions

1 Medium +4 | -1 Application
The total number of functions f:{1,2,3,4}→{5,6,7,8}f:\{1,2,3,4\} \rightarrow\{5,6,7,8\} such that ∑k=14f(k)\sum\limits_ {{k}=1}^4 {f}({k}) is an odd number is
View answer and explanation
Correct option: D
128
Option D (128) is correct because it considers the two possible cases where the sum of the function values is odd: one odd and three even, or three odd and one even.
Solution approach
  1. Correct Answer + Core Reason: 128. The total number of functions is calculated by considering the cases where the sum of the function values is odd.

    Step-by-Step Solution:

    Step 1: We have a function f:1,2,3,4→5,6,7,8f: \\{1, 2, 3, 4\\} \rightarrow \\{5, 6, 7, 8\\}. The domain has 4 elements, and the codomain has 4 elements. We want the sum ∑k=14f(k)\sum_{k=1}^4 f(k) to be odd.

    Step 2: For the sum of four integers to be odd, we need either one odd number and three even numbers, or three odd numbers and one even number.

    Step 3: In the codomain \\{5, 6, 7, 8\\}, there are two odd numbers (5 and 7) and two even numbers (6 and 8).

    Step 4: Case 1: One odd and three even. We choose which of the 4 elements in the domain maps to an odd number (4C1{}^4C_1 ways). Then, we choose which odd number it maps to (2 choices). The remaining 3 elements must map to even numbers, and each has 2 choices. So, the number of functions in this case is 4C1×21×23=4×2×8=64{}^4C_1 \times 2^1 \times 2^3 = 4 \times 2 \times 8 = 64.

    Step 5: Case 2: Three odd and one even. We choose which of the 4 elements in the domain maps to an even number (4C3{}^4C_3 ways). Then, we choose which even number it maps to (2 choices). The remaining 3 elements must map to odd numbers, and each has 2 choices. So, the number of functions in this case is 4C3×21×23=4×2×8=64{}^4C_3 \times 2^1 \times 2^3 = 4 \times 2 \times 8 = 64.

    Step 6: The total number of functions is the sum of the two cases: 64+64=12864 + 64 = 128.

    Why other options are wrong:
    - Option A (158): This value is incorrect as it doesn't correctly account for the combinations of odd and even numbers required to get an odd sum.
    - Option B (150): This value is incorrect as it doesn't correctly account for the combinations of odd and even numbers required to get an odd sum.
    - Option C (139): This value is incorrect as it doesn't correctly account for the combinations of odd and even numbers required to get an odd sum.

    Key Concepts:
    - Functions
    - Combinations
    - Parity (odd/even)

    Memory Aids:
    - Remember that the sum of integers is odd if and only if there is an odd number of odd integers in the sum.

    Quick Tips:
    - Break down the problem into cases based on the parity of the function values.
    - Use combinations to count the number of ways to choose which elements map to odd or even numbers.

More Questions from Functions

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.