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 such that 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
- 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 . The domain has 4 elements, and the codomain has 4 elements. We want the sum 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 ( 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 .
Step 5: Case 2: Three odd and one even. We choose which of the 4 elements in the domain maps to an even number ( 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 .
Step 6: The total number of functions is the sum of the two cases: .
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.
