Home
Class 12
MATHS
The number of functions f: {1,2, 3,... n...

The number of functions `f: {1,2, 3,... n}-> {2016, 2017}`, where ne N, which satisfy thecondition f1)+f(2)+ ...+ f(n) is an odd number are

A

`2^(n)`

B

`n*2^(n-1)`

C

`2^(n-1)`

D

n!

Text Solution

AI Generated Solution

The correct Answer is:
To find the number of functions \( f: \{1, 2, 3, \ldots, n\} \to \{2016, 2017\} \) such that the sum \( f(1) + f(2) + \ldots + f(n) \) is an odd number, we can follow these steps: ### Step 1: Understand the problem We need to find functions that map from a set of \( n \) natural numbers to the set \( \{2016, 2017\} \). The sum of the function values must be odd. ### Step 2: Identify the properties of the numbers - The number 2016 is even. - The number 2017 is odd. ### Step 3: Analyze the sum condition For the sum \( f(1) + f(2) + \ldots + f(n) \) to be odd, we need to have an odd number of odd values (2017) in the sum. This means: - If we have an even number of 2017s, the sum will be even. - If we have an odd number of 2017s, the sum will be odd. ### Step 4: Count the functions Let \( k \) be the number of times 2017 appears in the function values. For the sum to be odd, \( k \) must be odd. The possible odd values for \( k \) can be \( 1, 3, 5, \ldots, n \). ### Step 5: Calculate the number of functions for each odd \( k \) For each odd \( k \): - Choose \( k \) positions out of \( n \) to assign the value 2017. This can be done in \( \binom{n}{k} \) ways. - The remaining \( n-k \) positions will automatically be assigned the value 2016. ### Step 6: Sum over all odd \( k \) We need to sum \( \binom{n}{k} \) for all odd \( k \): \[ \text{Total functions} = \sum_{k \text{ odd}} \binom{n}{k} \] ### Step 7: Use the binomial theorem From the binomial theorem, we know: \[ (1 + 1)^n = \sum_{k=0}^{n} \binom{n}{k} = 2^n \] \[ (1 - 1)^n = \sum_{k=0}^{n} (-1)^k \binom{n}{k} = 0 \] Adding these two equations gives: \[ 2^n = \sum_{k \text{ even}} \binom{n}{k} + \sum_{k \text{ odd}} \binom{n}{k} \] Subtracting the second equation from the first gives: \[ 0 = \sum_{k \text{ even}} \binom{n}{k} - \sum_{k \text{ odd}} \binom{n}{k} \] This implies: \[ \sum_{k \text{ odd}} \binom{n}{k} = \sum_{k \text{ even}} \binom{n}{k} = \frac{2^n}{2} = 2^{n-1} \] ### Step 8: Conclusion Thus, the total number of functions \( f \) such that \( f(1) + f(2) + \ldots + f(n) \) is odd is: \[ \boxed{2^{n-1}} \]
Promotional Banner

Topper's Solved these Questions

  • FUNCTIONS

    ARIHANT MATHS ENGLISH|Exercise Exercise For Session 1|5 Videos
  • FUNCTIONS

    ARIHANT MATHS ENGLISH|Exercise Exercise For Session 2|6 Videos
  • ESSENTIAL MATHEMATICAL TOOLS

    ARIHANT MATHS ENGLISH|Exercise Exercise (Single Integer Answer Type Questions)|3 Videos
  • GRAPHICAL TRANSFORMATIONS

    ARIHANT MATHS ENGLISH|Exercise Exercise (Questions Asked In Previous 13 Years Exam)|10 Videos

Similar Questions

Explore conceptually related problems

If functions f:{1,2,…,n} rarr {1995,1996} satisfying f(1)+f(2)+…+f(1996)=odd integer are formed, the number of such functions can be

Let f(x) be a real valued function not identically zero, which satisfied the following conditions I. f(x + y^(2n + 1)) = f(x) + (f(y))^(2n+1), n in N, x, y are any real numbers. II. f'(0) ge 0 The value of f(1), is

The function f(x)=(4sin^2x−1)^n (x^2−x+1),n in N , has a local minimum at x=pi/6 . Then (a) n is any even number (b) n is an odd number (c) n is odd prime number (d) n is any natural number

A function f:R to R is differernitable and satisfies the equation f((1)/(n)) =0 for all integers n ge 1 , then

Show that the function f: N rarr N defined by f(x)= 2x + 3 , where x in N , is not bijective.

If composite function f_1(f_2(f_3((f_n(x))))n timesis an decreasing function and if 'r' functions out of total 'n' functions are decreasing function while rest are increasing, then the maximum value of r(n-r) is (a) (n^2-4)/4 , when n is of the form 4k (b) (n^2)/4, when n is an even number (c) (n^2-1)/4, when n is an odd number (d) (n^2)/4, when n is of the form 4k+2

Let N be the set of numbers and two functions f and g be defined as f,g:N to N such that f(n)={((n+1)/(2), ,"if n is odd"),((n)/(2),,"if n is even"):} and g(n)=n-(-1)^(n) . Then, fog is

If f:{1,2,3....}->{0,+-1,+-2...} is defined by f(n)={n/2, if n is even , -((n-1)/2) if n is odd } then f^(-1)(-100) is

Let f be real valued function from N to N satisfying. The relation f(m+n)=f(m)+f(n) for all m,n in N . The range of f contains all the even numbers, the value of f(1) is

The function f : N to N defined f(x) = a+bx, where a and b are natural numbers is