JEE Prep Master

Reading mode

Text size

JEE Main 24 January 2025 Shift 2: Mathematics Question 24

FunctionsNumerical answer+4 / −1

Number of functions f:{1,2,…,100}→{0,1},f:\left\{ 1,2,\ldots,100 \right\} \rightarrow \left\{ 0,1 \right\}, that assign 1 to exactly one of the positive integers less than or equal to 98, is equal to ________.

Show answer and solution

Correct answer: 392

Among the first 98 elements of the domain, exactly one must be mapped to 1. There are 98 choices for that element, and all other 97 elements in this part of the domain must be mapped to 0.

The condition imposes no restriction on f(99) or f(100). Each independently has two possible values, so together they contribute 22=42^{2} = 4 choices.

By the multiplication principle, the total number of functions is 98⋅4=392.98 \cdot 4 = 392. In particular, the problem does not require exactly one value 1 across the entire 100-element domain.

More Functions questions

All 43 Functions questions