k = 0 ∑ n [ ( − 1 ) k ( k n ) ( n − k ) n ] = ?
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.
yes you are absolutely correct! yes it should be k im sorry
why is the number of onto functions the sum?
How did you get to the conclusion that its is a bijective function?
Suppose that we have n distinct stones and n distinct colors. We will calculate the number of ways to paint our stones such that each color is used. Obviously, this number is n ! . But, from PIE and complementary counting (we consider the cases where we don't use a finite number of colors), the number of ways is also the expression in the hypothesis. Thus, since they count the same quantity, the expressions must be equal. Hence, the answer is n ! .
Could you elaborate on how PIE and complementary counting gives you the same expression as the one in the problem?
I will use inductions to prove this.
Lemma 1: ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) = 0 for all n ≥ 2
Proof:
∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) = n ∑ k = 0 n ( − 1 ) k ( k n ) − ∑ k = 1 n ( − 1 ) k ( k n ) k
Since ( k n ) k = ( k − 1 n − 1 ) n and 0 = ( 1 − 1 ) n = ∑ k = 0 n ( − 1 ) k ( k n ) , we have
∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) = − n ∑ k = 1 n ( − 1 ) k ( k − 1 n − 1 ) = n ∑ i = 0 n − 1 ( − 1 ) i ( i n − 1 ) = n ( 1 − 1 ) n − 1 = 0
The proof is done.
Lemma 2: ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m = 0 for all n ≥ m + 1
Proof: (Induction)
By Lemma 1 , Lemma 2 holds when m = 1. Suppose ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m = 0 holds for n ≥ m + 1 , then for n ≥ m + 2 ,
∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m + 1 = n ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m − ∑ k = 0 n ( − 1 ) k ( k n ) k ( n − k ) m
The first term on the RHS equals 0 by our assumption since n ≥ m + 2 ≥ m + 1 , and the second term equals − n ∑ k = 1 n ( − 1 ) k ( k − 1 n − 1 ) ( n − k ) m = n ∑ k = 1 n ( − 1 ) k − 1 ( k − 1 n − 1 ) ( n − k ) m = n ∑ i = 0 n − 1 ( − 1 ) i ( i n − 1 ) ( n − 1 − i ) m . This term equals 0 by our assumption since n − 1 ≥ m + 1 . So
∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m + 1 = 0 for all n ≥ m + 2
The proof is done.
Corollary: ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) n − 1 = 0
Proof: This is a special case of Lemma 2 when m=n-1
The proof is done.
Theorem: ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) n = n !
Proof: The equation holds when n=1. Suppose ∑ k = 0 m ( − 1 ) k ( k m ) ( n − k ) m = m ! holds when m ≤ n , where n ≥ 1 , then
∑ k = 0 m + 1 ( − 1 ) k ( k m + 1 ) ( m + 1 − k ) m + 1 = ( m + 1 ) ∑ k = 0 m + 1 ( − 1 ) k ( k m + 1 ) ( m + 1 − k ) m − ∑ k = 0 m + 1 ( − 1 ) k ( k m + 1 ) k ( m + 1 − k ) m
The first term on the RHS equals 0 by the Corollary , and the second term
− ∑ k = 0 m + 1 ( − 1 ) k ( k m + 1 ) k ( m + 1 − k ) m = ( m + 1 ) ∑ k = 1 m + 1 ( − 1 ) k − 1 ( k − 1 m ) ( m − ( k − 1 ) ) m = ( m + 1 ) ∑ i = 0 m ( − 1 ) i ( i m ) ( m − i ) m = ( m + 1 ) m ! = ( m + 1 ) !
So ∑ k = 0 m + 1 ( − 1 ) k ( k m + 1 ) ( m + 1 − k ) m + 1 = ( m + 1 ) !
The proof is done.
Ok so clearly you all guys are too intelligent to come up with such short and elegant solutions involving extreme logical thinking rather than pure algebraic maneuvers. But for a slow person like me who finds it toooo difficult to relate a summation to the number of ways of counting an event, I had to spend half an hour solving it explicitly by using formulas and identities: Write S= summation (-1)^(n-k).nCk.k^n (coz f(k) is replaced by f(a+b-k)) Now simply write k^n= k(k-1)...(k-(n-1))+ak(k-1)...(k-(n-2))+bk(k-1)...(k-(n-3))+.........+hk, where a, b,.....,h are undetermined coefficients. Using r.nCr= n.(n-1)C(r-1) repeatedly we will see that all these sums vanish except for the first term k(k-1)....(k-(n-1)).(-1)^(n-k).nCk. So we simply take its sum which is precisely it's value at n, i.e., n!
The result is trivial if you know the Stirling number of the second kind: S ( m , n ) = n ! 1 k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) m . Let m = n and we get S ( n , n ) = 1 .
Here are the details for Nelson's solution (same as Alan's solution). I am writing it here, rather than as a reply, because of the latex support.
Let A , B be finite sets.
For a subset B ′ ⊂ B let E ( B ′ ) be the set of functions A → ( B ∖ B ′ ) and for b ∈ B let's write E ( b ) instead of E ( { b } ) for short. Clearly E ( B ′ ) = ∩ b ∈ B ′ E ( b ) and ∣ E ( B ′ ) ∣ = ( ∣ B ∣ − ∣ B ′ ∣ ) ∣ A ∣
Clearly, ∪ b ∈ B ′ E ( b ) is the set of all functions which are not onto, and therefore by PIE : ∣ onto functions ∣ = B ′ ⊂ B ∑ ( − 1 ) ∣ B ′ ∣ ∣ E ( B ′ ) ∣ = k = 0 ∑ ∣ B ∣ ( − 1 ) k ⋅ ( k ∣ B ∣ ) ⋅ ( ∣ B ∣ − k ) ∣ A ∣ Taking ∣ A ∣ = ∣ B ∣ = n the identity follows (because there are n ! onto functions in this case).
It also follows that m < n ⟹ ∑ k = 0 n ( − 1 ) k ⋅ ( k n ) ⋅ ( n − k ) m = 0
My solution is similar to Nelson's solution. I want to know if anyone has proved this equation using any other method. please do post if you have proved it by some other method!
Yes, I would like to know any other way to solve this.
Log in to reply
Here is another solution...
( x − 1 ) n = k = 0 ∑ n ( − 1 ) k ( k n ) x ( n − k )
Now differentiate wrt x on both sides...
n ( x − 1 ) n − 1 = k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) x ( n − k − 1 )
Multiply both sides by x and then differentiate again...
n x ( x − 1 ) n − 1 = k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) x ( n − k )
n ( n − 1 ) x ( x − 1 ) n − 2 + n ( x − 1 ) n − 1 = k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) 2 x ( n − k − 1 )
If we continue this for n steps...
n ! + ( x − 1 ) L ( x ) = k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) n x ( n − k − 1 )
where L(x) is some sophisticated polynomial in x. Now put x = 1,
n ! = k = 0 ∑ n ( − 1 ) k ( k n ) ( n − k ) n
I used that same method to solve the problem. It wad easy
Induction. Case is clearly true when n=1. Assume n is true, easy to prove n+1 true by expanding n choose k in factorial form and using algebraic manipulation with the (n-k) and also observing that last term is aways zero.
improve more
Problem Loading...
Note Loading...
Set Loading...
I will try to use functions to prove this.
A bijective is defined as a function which is both one-one and onto(surjective).
In a bijective, number of elements in domain = number of elements of co-domain = (n) and range is equal to co-domain.
In a bijective, No. of one-one functions is equal to number of onto functions.
No.of. onto functions = ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) m .
Here, m = n.
So, ∑ k = 0 n ( − 1 ) k ( k n ) ( n − k ) n =no.of.one-one functions from n to n = n!.
Also, I think the power of -1 should be k not n.
Please correct me if I am wrong.