Discrete Mathematics
WEN-CHING LIEN Department of Mathematics National Cheng Kung University
2008
9.4: The exponential generating function
Recall:
For 0≤r ≤n,
C(n,r) = n!
r!(n−r)! =
1 r!
P(n,r)
where P(n,r)denotes the number of permutations of n objects taken r at a time.
So,
(1+x)n = C(n,0) +
n
X
k=1
C(n,k)xk
= P(n,0) +
n
X
k=1
P(n,k)xk k!
9.4: The exponential generating function
Recall:
For 0≤r ≤n,
C(n,r) = n!
r!(n−r)! =
1 r!
P(n,r)
where P(n,r)denotes the number of permutations of n objects taken r at a time.
So,
(1+x)n = C(n,0) +
n
X
k=1
C(n,k)xk
= P(n,0) +
n
X
k=1
P(n,k)xk k!
Definition
For a sequence a0,a1, · · · of real numbers,
f(x) =a0+a1x+a2x2
2! +a3x3
3! + · · · =
∞
X
i=0
aixi i!
is called the exponential generating function for the given sequence.
Example:
ex =1+x +x2 2! +x3
3! + · · ·
is the exponential generating function for the sequence 1,1,1, ...(and the ordinary generating function for the sequence 1,1,1/2!,1/3!..).
Definition
For a sequence a0,a1, · · · of real numbers,
f(x) =a0+a1x+a2x2
2! +a3x3
3! + · · · =
∞
X
i=0
aixi i!
is called the exponential generating function for the given sequence.
Example:
ex =1+x +x2 2! +x3
3! + · · ·
is the exponential generating function for the sequence 1,1,1, ...(and the ordinary generating function for the sequence 1,1,1/2!,1/3!..).
Note:
By the series expansions of ex and e−x, we can obtain
1. ex +e−x
2 = 1+ x2
2! +x4
4! + · · · , 2. ex −e−x
2 = x+x3
3! +x5
5! + · · · .
Example
A ship carries 48 flags, 12 each of the colors red, white, blue, and black. 12 of these flags are placed on a vertical pole in order to communicate a signal to other ships.
(a) How many of these signals use an even number of blue flags and an odd number of black flags?
(b) How many of the signals have at least 3 white flags or no white flags at all?
Example
A ship carries 48 flags, 12 each of the colors red, white, blue, and black. 12 of these flags are placed on a vertical pole in order to communicate a signal to other ships.
(a) How many of these signals use an even number of blue flags and an odd number of black flags?
(b) How many of the signals have at least 3 white flags or no white flags at all?
Example
A ship carries 48 flags, 12 each of the colors red, white, blue, and black. 12 of these flags are placed on a vertical pole in order to communicate a signal to other ships.
(a) How many of these signals use an even number of blue flags and an odd number of black flags?
(b) How many of the signals have at least 3 white flags or no white flags at all?