Generating Functions
Generating Functions
Arash Rafiey
September 7, 2015
Example :
Determine the generating functions of the following
1 an = 1 (n = 0, 1, . . . ,)
Example :
Determine the generating functions of the following
an = 1 (n = 0, 1, . . . ,) G (x) = 1 + x + x 2 + = xn
P
1
n=0
Example :
Determine the generating functions of the following
an = 1 (n = 0, 1, . . . ,) G (x) = 1 + x + x 2 + = xn
P
1
n=0
2 an = n! (n = 0, 1, 2, . . . , ..)
Example :
Determine the generating functions of the following
an = 1 (n = 0, 1, . . . ,) G (x) = 1 + x + x 2 + = xn
P
1
n=0
2 an = n! (n = 0, 1, 2, . . . , ..)
3 a0 = 1, a1 = 1, a2 = 1, a3 = 1.
Example :
Determine the generating functions of the following
an = 1 (n = 0, 1, . . . ,) G (x) = 1 + x + x 2 + = xn
P
1
n=0
2 an = n! (n = 0, 1, 2, . . . , ..)
3 a0 = 1, a1 = 1, a2 = 1, a3 = 1.
G (x) = 1 + x + x 2 + x 3 .
1 = (1 x)(1 + x + x 2 + + ...)
1 = (1 x)(1 + x + x 2 + + ...)
1
G (x) = 1 + x + x 2 + = xn =
P
1x
n=0
1 = (1 x)(1 + x + x 2 + + ...)
1
G (x) = 1 + x + x 2 + = xn =
P
1x
n=0
1 = (1 x)(1 + x + x 2 + + ...)
1
G (x) = 1 + x + x 2 + = xn =
P
1x
n=0
1 = (1 x)(1 + x + x 2 + + ...)
1
G (x) = 1 + x + x 2 + = xn =
P
1x
n=0
d
dx (1 + x + x 2 + x 3 + . . . ) = 1 + 2x + 3x 2 + 4x 3 + . . .
1 X
2
= 1 + x2 + x4 + = x 2n
1x
n=0
1 X
2
= 1 + x2 + x4 + = x 2n
1x
n=0
1
A useful generating function corresponds to the sequence an = n!
which is the exponential function e x .
1 X
2
= 1 + x2 + x4 + = x 2n
1x
n=0
1
A useful generating function corresponds to the sequence an = n!
which is the exponential function e x .
x2 x3 xn
ex = 1 + x +
P
2! + 3! + = n! .
n=0
=
1 1 1
1.1+(1.1+1.1)x +(1.1+1.1+ 2! .1)x 2 +(1.1+1.1+ 2! .1+ 3! .1)x 3 +. . .
=
1 1 1
1.1+(1.1+1.1)x +(1.1+1.1+ 2! .1)x 2 +(1.1+1.1+ 2! .1+ 3! .1)x 3 +. . .
n
ex 1 1 1 1 1
an x n where an =
P P
1x = 0! + 1! + 2! + + n! = k!
n=0 n=0
4x 2 8x 3
(2) (1 x)(1 + 2x + 2! + 3! + ...)
3/2
(3/2)(1/2)(1/2)(3/2) 3
4 = 4! = 128 .
1
Expand (1x)2
.
1
Expand (1x)2
.
a 7 2 and x 7 x
1
Expand (1x)2
.
a 7 2 and x 7 x
1 2 2 2
(x)2 + (x)3 + . . .
(1x) 2 = 1 + 1 (x) + 2 3
2 n
P
= n (x)
n=0
1
Expand (1x)2
.
a 7 2 and x 7 x
1 2 2 2
(x)2 + (x)3 + . . .
(1x) 2 = 1 + 1 (x) + 2 3
2 n
P
= n (x)
n=0
2
= (1)n (n + 1)
n
1
Expand (1x)2
.
a 7 2 and x 7 x
1 2 2 2
(x)2 + (x)3 + . . .
(1x) 2 = 1 + 1 (x) + 2 3
2 n
P
= n (x)
n=0
2
= (1)n (n + 1)
n
1
= 1 + 2x + 3x 2 + 4x 3 + = (n + 1)x n .
P
(1x)2
n=0
f (x) = (e x 1)4 = e 4x 4e 3x + 6e 2x 4e x + 1
f (x) = (e x 1)4 = e 4x 4e 3x + 6e 2x 4e x + 1
f (x) = (e x 1)4 = e 4x 4e 3x + 6e 2x 4e x + 1