Prove the generating function <munder> &#x2211;<!-- ∑ --> <mrow class="MJX-TeXAtom-ORD

Joshua Foley

Joshua Foley

Answered question

2022-07-07

Prove the generating function N 0 ( M + N N ) x N = 1 ( 1 x ) M + 1

Answer & Explanation

Nirdaciw3

Nirdaciw3

Beginner2022-07-08Added 20 answers

Step 1
You can prove it by induction.
P ( k ) : 1 ( 1 x ) m + 1 = i = 0 ( m + i i ) x i
P(0) is true, so we have 1 1 x = i = 0 x i .
Assume P(n) is true, and multiply both sides by 1 1 x .
1 ( 1 x ) m + 2 = ( j = 0 x j ) ( i = 0 ( m + i i ) x i )
i and j are independent, so the sums can be nested.
= i = 0 ( m + i i ) j = 0 x i + j
Step 2
Let i + j = k. Note that this is a different j from the previous equation, and because i 0, the new j is capped at k.
= k = 0 j = 0 k ( m + k j k j ) x k
By the hockey-stick identity and the independence of j, the inner sum can be re-written.
= k = 0 ( m + 1 + k k ) x k
Esmeralda Lane

Esmeralda Lane

Beginner2022-07-09Added 7 answers

Step 1
You can also obtain the generating function directly via stars-and-bars. Fix M, and let aN be the number of nonnegative integer solutions of
y 1 + + y M + 1 = N .
Then a N = ( ( M + 1 ) + N 1 ( M + 1 ) 1 ) = ( M + N M ) = ( M + N N ) .
Step 2
So N = 0 ( M + N N ) x N = N = 0 a N x N = ( k = 0 x k ) M + 1 = ( 1 1 x ) M + 1 = 1 ( 1 x ) M + 1

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?