Snake Oil

Calculus Level 3

f ( n ) = r = 0 n ( 1 ) n r ( n r ) r n \large f(n) = \sum_{r=0}^{n} (-1)^{n-r} \dbinom{n}{r} r^n

Find the closed form of lim n f ( n ) n ! \displaystyle \lim_{n \to \infty} \dfrac{f(n)}{n!} .

Give your answer to 2 decimal places.


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Actually, this is more of a combinatorics problem.Let us evaluate f(n).Firstly, take (-1)^n out of the summation, so that our summand becomes (-1)^r times (r^n)(nCr).To evaluate this, I consider the following scenario: "Suppose there are n students and n prizes.We want to distribute the prizes among the students such that every student gets atleast one prize."Clearly every student gets exactly one prize, hence the total number of distributions are n! .Now, let us solve this scenario using a different method.Suppose that I choose r students (1<r <n) and distribute the prizes among these r students.It can be done in (nCr)(r^n) ways.But this includes those cases also in which some students out of the r chosen students do not get any prize.Hence, by principle of inclusion and exclusion, the number of ways in which n prizes can be distributed among n students, such that every student gets atleast one prize will be : (nCn)(n^n) - (nC(n-1))((n-1)^n) + (nC(n-2))((n-2)^n) - .......... which is nothing but the summation asked in the question in reverse order.Hence we get that f(n)=n! and the limit becomes 1.

The problem can be solved in many ways. What you have used is inclusion-exclusion. We can also use the forward difference operator to solve it.

Ishan Singh - 4 years, 8 months ago

Log in to reply

Could you post the solution with the forward difference operator?

Nowras Otmen - 4 years, 8 months ago

Log in to reply

I have posted a solution using forward difference operator, you may check it out.

Ishan Singh - 4 years, 8 months ago

IMO, there ought to be a bit more explanation in this solution. For one thing, you (rightly) observe that "(nCr)(r^n) ... includes those cases also in which some students out of the r chosen students do not get any prize", but you didn't mention that it counts those cases multiple times over.

Peter Byers - 4 years, 8 months ago

Log in to reply

Yes,I agree.The solution would be better if more explanation is provided.I find typing a cumbersome task, hence I provided only an outline of the solution,highlighting only the key points without much descriptive explanation.

Indraneel Mukhopadhyaya - 4 years, 8 months ago

Fantastic soln +1

Somyaneel Sinha - 4 years, 8 months ago
Ishan Singh
Sep 24, 2016

Define Δ ( f ( x ) ) = f ( x + 1 ) f ( x ) \displaystyle \Delta (f(x)) = f(x+1) - f(x) . Also, E ( f ( x ) ) = f ( x + 1 ) \text{E} (f(x)) = f(x+1) . Clearly, Δ E 1 \Delta \equiv \text{E} - 1 .

Now,

Δ n ( f ( x ) ) = ( E 1 ) n f ( x ) \displaystyle \Delta^{n} (f(x)) = (\text{E} - 1)^{n} f(x)

= ( 1 ) n r = 0 n ( 1 ) r ( n r ) E r ( f ( x ) ) \displaystyle = (-1)^n \sum_{r=0}^{n} (-1)^r \dbinom{n}{r} \text{E}^{r} (f(x))

= ( 1 ) n r = 0 n ( 1 ) r ( n r ) f ( x + r ) (*) \displaystyle = (-1)^n \sum_{r=0}^{n} (-1)^r \dbinom{n}{r} f(x+r) \tag{*}

where Δ n ( f ( x ) ) \displaystyle \Delta^{n} (f(x)) represents n n compositions of Δ \Delta over f f .

Note that,

Δ n ( x m ) = 0 n > m \displaystyle \Delta^{n} (x^m) = 0 \ \forall \ n > m , so for f ( x ) = x n f(x) = x^n , we have,

λ = Δ n x n = Δ n 1 ( Δ ( x n ) ) = Δ n 1 ( ( n 1 ) x n 1 + ( lower degree terms ) ) \displaystyle \lambda = \Delta^{n} x^n = \Delta^{n-1} (\Delta (x^n)) = \Delta^{n-1} \left( \dbinom{n}{1} x^{n-1} + \ (\text{lower degree terms}) \right)

= Δ n 2 ( ( n 1 ) ( n 1 1 ) x n 2 + ( lower degree terms ) ) \displaystyle = \Delta^{n-2} \left( \dbinom{n}{1} \dbinom{n-1}{1} x^{n-2} + \ (\text{lower degree terms}) \right)

Continuing like this, we have,

\displaystyle \lambda = n! \tag{#}

From ( ) (*) and (#) , we have,

r = 0 n ( 1 ) n r ( n r ) ( x + r ) n = n ! \displaystyle \sum_{r=0}^{n} (-1)^{n-r} \dbinom{n}{r} (x+r)^n = n!

Putting x = 0 x=0 , we have,

f ( n ) = r = 0 n ( 1 ) n r ( n r ) r n = n ! \displaystyle f(n) = \sum_{r=0}^{n} (-1)^{n-r} \dbinom{n}{r} r^n = n!

lim n f ( n ) n ! = 1 \displaystyle \implies \lim_{n \to \infty} \dfrac{f(n)}{n!} = \boxed{1}

Thank you very much!

Nowras Otmen - 4 years, 8 months ago

You could have just used Stirling numbers of second kind.

Kartik Sharma - 3 years, 12 months ago

Log in to reply

I know. But I wanted to do without using them.

Ishan Singh - 3 years, 12 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...