Академический Документы
Профессиональный Документы
Культура Документы
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 1
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Generating
Week Date Functions
Sections
from FS2009
and their Topic/Sections
Part/ References calculus Notes/Speaker
Quasi-Powers and
of integers.
13 30 IX.5 Sophie
Gaussian limit laws
14 Dec 10
We did see that from Presentations Asst #3 Due
direct counting, we have a closed form formula for bn:
n
bn = 2 . We can easily program this to obtain the value of bn for any n.
This function is easy to program and manipulate with a computer and contains
all the information we need about our infinite sequence.
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 2
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
of6 degree
12 IV.1, IV.2
n in the A(x). Multivariable GFs (self-study)
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
2.14 Given
Dec 10
the GF A(x) associated
Presentations
to a familyAsst
of#3combinatorial
Due
objects A, deduce
from it a formula for an. This is the problem of coefficient extraction.
Question. Knowing that the GF of the family B of binary sequences is B(x) =
(1 − 2x)−1, what is the number bn of binary sequences of size n?
Answer: bn = [x n](1 − 2x)−1 = 2n.
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 3
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date an =Part/
Sections
from FS2009
Let n ≥ 0. What
1, References is A(x)?Notes/Speaker
Topic/Sections
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 4
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date bn =Part/
Sections
from FS2009
Let n, References
n ≥ 0. What is B(x)?Notes/Speaker
Topic/Sections
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
From now we will assume that we are familiar with this GF.
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 5
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 6
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date IfSections
from FS2009
Part/ References Topic/Sections Notes/Speaker
1 1
1 Sept 7 A(x) =Symbolic methods
I.1, I.2, I.3 , B(x) =
Combinatorial
2 14 I.4, I.5, I.6
1−x Structures
Unlabelled structures
(1 − x)2
FS: Part A.1, A.2
Comtet74
3 21is C II.1,
(x)II.2,=II.3 A(x) + B(x)? Labelled structures I
what Handout #1
4 28 II.4, II.5, II.6 (self study) Labelled structures II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 7
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date IfSections
from FS2009
Part/ References Topic/Sections Notes/Speaker
1 1
1 Sept 7 A(x) =Symbolic methods
I.1, I.2, I.3 , B(x) =
Combinatorial
2 14 I.4, I.5, I.6
1−x Structures
Unlabelled structures
(1 − x)2
FS: Part A.1, A.2
Comtet74
3 21is C II.1,
(x)II.2,=II.3 A(x) × B(x)? Labelled structures I
what Handout #1
4 28 II.4, II.5, II.6 (self study) Labelled structures II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 8
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date Sections canPart/
from FS2009
How weReferences
find that Topic/Sections Notes/Speaker
the GF of binary sequences is
1 Sept 7 I.1, I.2, I.3 Combinatorial Symbolic methods1
Structures
2 14 I.4, I.5, I.6 Unlabelled structures
FS: Part A.1, A.2 1 − 2x
Comtet74
3 21 II.1, II.2, II.3 Labelled structures I
Handout #1
4 28
without II.4, II.5, II.6
much effort? (self study) Labelled structures II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 9
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Summary.
Week Date Sections
from FS2009
Part/ References
That is all for now forTopic/Sections
the calculus Notes/Speaker
of GF.
1 Sept 7 I.1, I.2, I.3
Combinatorial Symbolic methods
Structures
2 14 I.4, I.5, I.6 Unlabelled structures
We know two simple GF:
FS: Part A.1, A.2
Comtet74
3
For 1,21 1, 1,II.1,.II.2,
. .II.3, i.e. a = 1, n ≥
Labelled structures I
Handout
0 we have n #1
4 28 II.4, II.5, II.6 (self study) Labelled structures II
Combinatorial Combinatorial 1
5 Oct 5 III.1, III.2
parameters A(x) =
Parameters
Asst #1 Due
FS A.III (1 − x)
6 12 IV.1, IV.2 (self-study) Multivariable GFs
7 19 IV.3, IV.4
Analytic Methods Complex Analysis
For
8
0,
26
1, 2, 3, . . . , i.e.PartaB:nIV,=
FS: V, VI n, n ≥ 0 we have
Singularity Analysis
Appendix B4
IV.5 V.1
Stanley 99: Ch. 6
9 Nov 2 Asymptotic methods 1Asst #2 Due
Handout #1
9 VI.1
(self-study) A(x) =
10 (1 −Sophie
x)2
12 A.3/ C Introduction to Prob. Mariolys
14 Dec 10
Scaling: C (x) = kA(x) Presentations Asst #3 Due
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 10
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Recurrences
Week Date and Generating
Sections
from FS2009
Part/ References Functions
Topic/Sections Notes/Speaker
Then18we can
IX.1 sum over the values Limit Laws n Comb
of and Marni
for which the recurrence holds:
11
20 IX.2 Random StructuresXDiscrete Limit Laws Sophie
and Limit Laws n
FS: Part C n −
Combinatorial
(a 2a n−1 )x =0
23 IX.3 Mariolys
(rotating
12
presentations) n≥1instances of discrete
25 IX.4 Continuous Limit Laws Marni
We
13
can
30
split
IX.5
this GF of the leftQuasi-Powers
hand-side and inSophie
two:
Gaussian limit laws
14 Dec 10 Presentations Asst #3 Due
X X
n
anx − 2an−1x n = 0
n≥1 n≥1
Now we want to use this equation to try to find a formula for A(x). So we need
to “see” A(x) in the equation above
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
Version of: 11-Dec-09
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 11
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Week have
Date Sections Part/ References Topic/Sections Notes/Speaker
from FS2009
We
1 Sept 7 I.1, I.2, I.3 Symbolic
n methods
X X
2 14 I.4, I.5, I.6
Combinatorial
Structures
−structures 2an−1x n = 0
anx Unlabelled
FS: Part A.1, A.2
Comtet74 n≥1 n≥1
3 21 II.1, II.2, II.3 Labelled structures I
Handout #1
(self study)
4
The 28
first II.4, II.5, is
sum A(x):structures II
II.6 almost the GF Labelled
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III X
6 12 IV.1, IV.2 (self-study) Multivariable
(A(x) − a0) − GFs
2an−1x n = 0
7 19 IV.3, IV.4 Analytic Methods Complex Analysis
FS: Part B: IV, V, VI
n≥1
8 26 Appendix B4 Singularity Analysis
IV.5 V.1
Stanley 99: Ch. 6
9
For Nov 2 second sum it is a little
the Asymptotic
trickiermethodsbut Asst
Handout #1 can see A(x):
we#2 Due
(self-study)
9 VI.1 Sophie
10
12 A.3/ C Introduction to Prob.
X Mariolys
n−1
18 IX.1 (A(x) − a0)Limit
− Laws
2x andComb aMarnin−1 x =0
11
20 IX.2 Random Structures Discrete Limit Laws
n≥1 Sophie
and Limit Laws
FS: Part C Combinatorial
23 IX.3 Mariolys
(rotating instances of discrete
12
presentations)
Through a change of the summation index we obtain
25 IX.4 Continuous Limit Laws Marni
Quasi-Powers and X
13 30 IX.5 Sophie
Gaussian limit laws
(A(x) − a0) − 2x anx n = 0
14 Dec 10 Presentations Asst #3 Due
n≥0
(A(x) − 1) − 2xA(x) = 0
Now we factor A(x) and move the constant term to the right hand-side
A(x) (1 − 2x) = 1
And we obtain what we are looking for, a closed form for A(x):
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
Version of: 11-Dec-09
= (1 − 2x)−1
1
A(x) =
(1 − 2x)
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 12
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
The
Week general
Date case.
Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 13
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Quasi-Powers and
13 30 IX.5 Sophie
2. If this GF is nice (it depends Gaussian
onlimitG(x)),
laws then the coefficient extraction tech-
14 Dec 10
niques of the next Presentations
section give us an quite Asst #3 Due
easily, much more easily than
the recurrences solving methods of the previous chapter.
3. What is nice is that we have a general result, that applies to homogeneous
and non-homogeneous recurrences and avoids to deal with complex numbers
if ∆ < 0 or the tedious case analysis that we had to go through for non-
homogeneous recurrences.
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
Version of: 11-Dec-09
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 14
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date Sections
from FS2009
Consider Part/
theReferences Topic/Sections
recurrence Notes/Speaker
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 15
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Link
Week with
Date the
Sections
from FS2009
characteristic
Part/ References polynomial.
Topic/Sections Notes/Speaker
We can finally understand why the
1
roots α and β ofCombinatorial
Sept 7 I.1, I.2, I.3
the characteristicSymbolic methods
polynomial play such a role in solving
Structures
2 14 I.4, I.5, I.6 Unlabelled structures
FS: Part A.1, A.2
recurrences.
Comtet74
3 21 II.1, II.2, II.3 Labelled structures I
Handout #1
Fact
4
1. If II.4, II.5, II.6
28 (self study) Labelled structures II
8 26
C + C1x Singularity
FS: Part B: + C2xAnalysis
0 IV, V, VI
2
= (1 − αx)(1 − βx)
Appendix B4
IV.5 V.1
Stanley 99: Ch. 6
9 Nov 2 Asymptotic methods Asst #2 Due
So A(x) can be rewritten as Handout #1
(self-study)
9 VI.1 Sophie
10
12 A.3/ C G(x) + C0a0 +Introduction
(C0a1 to+Prob. C1aMariolys
0 )x A1(x) A2(x)
18
A(x)
IX.1
= Limit Laws and Comb Marni
= +
11 (1 − αx)(1 − βx) (1 − αx) (1 − βx)
20 IX.2 Random Structures Discrete Limit Laws Sophie
and Limit Laws
for some
23
AIX.31(x) and A (x) that we
Combinatorial FS: Part
2C
will learn Mariolys
to get later.
(rotating instances of discrete
12
presentations)
Fact 252. The
IX.4 coefficient extraction
Continuous Limit Laws Marni
techniques will tell us that
Quasi-Powers and
13 30 IX.5 Sophie
[x ](1 − αx)−1 = α n
n
Gaussian limit laws
[x n](1 − αx)−2 = nα n
Putting both facts together, we understand where the terms α n and β n stem
from.
For the case where α = β, we have
G(x) + C a + (C a + C a0)x
Dr. Marni MISHNA, Department of Mathematics, SIMON
0 0 FRASER0UNIVERSITY A1(x) A2(x)
Version of: 11-Dec-09 A(x) =
1 1
= +
(1 − αx)2 (1 − αx) (1 − αx)2
and coefficient extraction explains us why we see the nα n factor appear.
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 16
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Coefficients
Week Date extraction
Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
2
Now 14we are
I.4, I.5, I.6 question: given a GF A(x), how can we
Structures
Unlabelled structures
looking at the following FS: Part A.1, A.2
Comtet74
3 21
deduce a II.1, II.2, II.3
formula Labelled structures
for the associated Handout #1
I
sequence a0, a1, a2 . . . ? In a sense, we
4 28 II.4, II.5, II.6 (self study)
Labelled structures II
want to reverse-engineer the GF.
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
Definition (reminder). Let FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
X
7 19 IV.3, IV.4 Analytic Methods A(x) =
Complex Analysis anx n
FS: Part B: IV, V, VI
8 26 Appendix B4 Singularity Analysis
IV.5 V.1 n≥0
Stanley 99: Ch. 6
9 Nov 2 Asymptotic methods Asst #2 Due
Handout #1
We denote also an by
be a9 GF. VI.1 (self-study)
Sophie
10
12 A.3/ C Introduction to Prob. Mariolys
n
18 IX.1 Limit Laws and Comb Marni
[x ]A(x)
11
20 IX.2 Random Structures Discrete Limit Laws Sophie
to be read as the and Limit Laws
coefficient of the monomial of degree n in the A(x).
FS: Part C Combinatorial
23 IX.3 Mariolys
(rotating instances of discrete
12
presentations)
What25we aimIX.4 at is the following: Continuous Limit Laws
if A(x) canMarni
be obtained from the set of known
Quasi-Powers and
13 30 GF IX.5using the calculus operations introduced Sophie
simple Gaussian limit laws previously (sum, product,
14 Dec 10
substitution), how can Presentations
we also trace through Asst #3 Due
these operations the formula for
the coefficients an of A(x)?
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 17
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Computational
Week Date Sections techniques.
from FS2009
Part/ References Topic/Sections Notes/Speaker
We1 first
Sept 7 establish
I.1, I.2, I.3 aCombinatorial
correspondance Symbolic methods
between all the operations we did introduce
Structures
on2 GF14 and I.4, I.5,
their I.6
FS: Part A.1, A.2
coefficients. Unlabelled structures
Comtet74
3 21 II.1, II.2, II.3 Labelled structures I
A few simple but Handout useful
(self
#1
study)
rules.
4 28 II.4, II.5, II.6 Labelled structures II
Combinatorial Combinatorial
Let
5 Oct 5 III.1, III.2 Asst #1 Due
X X
Parametersn
parameters
FS A.IIIA(x) = anx , B(x) = anx n
6 12 IV.1, IV.2 (self-study) Multivariable GFs
n≥0 n≥0
7 19 IV.3, IV.4 Analytic Methods Complex Analysis
be8 two FS: Part B: IV, V, VI
26 Singularity Analysis
GF.
Appendix B4
IV.5 V.1
Stanley 99: Ch. 6
1.9 (Sum
Nov 2 rule).
Handout #1 Asymptotic methods Asst #2 Due
(self-study)
9 VI.1 Sophie
10 n n
12 A.3/ C [x ](A(x) + B(x))
Introduction
=to([x
Prob. ]A(x)) + ([x n]B(x))
Mariolys
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 18
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Examples.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 19
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 20
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
1
Let nSeptbe7 an
I.1, I.2,arbitrary
I.3 Combinatorial
real number methodsk be a positive integer. Then
Symbolicand
2 14 Structures
I.4, I.5, I.6
FS: Part A.1, A.2
Unlabelled structures
3 21 II.1, II.2, II.3
n Comtet74 n(n − − · · ·
Labelled structures I
1)(n 2) (n − k + 1) n
Handout
= #1 , =1
4 28 II.4, II.5, II.6k (self study) k! II
Labelled structures 0
Combinatorial
Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
k parameters
n n Parameters
n
X n k
6 12 IV.1, IV.2
[x ](1 + x)
FS A.III
=
(self-study)
orMultivariable GFs
equivalently (1 + x) = x .
k k
7 19 IV.3, IV.4 Complex Analysis
k≥0
Analytic Methods
FS: Part B: IV, V, VI
It8 follows
26 that, for m and n positive integers and a a real number, we have:
Singularity Analysis
Appendix B4
IV.5 V.1
Stanley 99: Ch. 6
9 Nov 2
n Asst
Asymptotic methods
Handout #1
#2 Due
9 VI.1
n
(self-study)
X
Sophie k k
10 (1 + ax)n = a x
12 A.3/ C Introduction to Prob. k
Mariolys
k=0
18 IX.1 Limit Laws and Comb Marni
11
20 IX.2 Random Structures n Sophie
Discrete Limit Laws
and Limit Laws m n
X n km
23 IX.3
FS: Part C x ) =
(1 + Combinatorial Mariolys
x
12
(rotating instances of discrete k
presentations) k=0
25 IX.4 Continuous Limit Laws
Marni
n+1 n
13 30 IX.5
1 − x
Quasi-Powers and
X
k
Sophie
Gaussian limit=
laws x
14 Dec 10
(1 − x)
Presentations k=0Asst #3 Due
X
xk
1
=
(1 − x)
k≥0
X
ak x k
1
=
(1 − ax)
k≥0
X −n X
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
1 k k n + k − 1 km
Version of: 11-Dec-09 x x
(1 + x)n
= = (−1)
k k
k≥0 k≥0
X −n X n + k − 1
1 k km
x
(1 − x)n
= (−x) =
k k
k≥0 k≥0
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 21
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Examples.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 22
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 23
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Applications.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
We1 have
Sept 7 now
I.1, I.2, I.3all the
Combinatorial
tools we need Symbolic methods
to extract coefficients from a GF defined as
Structures
a 2sum14 of simple
I.4, I.5, I.6 GFFS: Part
ofA.1,the
A.2 form
Unlabelled structures
Comtet74
3 21 II.1, II.2, II.3 Labelled structures I
Handout #1 m1
4 28 II.4, II.5, II.6 (self study) kLabelled
1 x structures II k` x m`
A(x) = + ··· + .
5 Oct 5 III.1, III.2
Combinatorial p1x)n1
(1 +Combinatorial Asst #1 Due
(1 + p ` x)n`
parameters Parameters
FS A.III
6 12
Indeed, byIV.1,the
IV.2 sum rule (self-study) Multivariable GFs
n − m) − n − c m
k[x c−m] = k(−p)c−m = k(−p)c−m
1 + (c 1 + + 1
(1 + px)n c−m c−m
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
Version of: 11-Dec-09
So all together:
n c − m −
[x c ]A(x) = k1(−p1)c−m1
+ 1
+ ···
1 1
c − m1
n` c − m ` −
+ k` (−p` )c−m`
+ 1
.
c − m`
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 24
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
2.
14 Dec 10 Presentations 1+c−1 Asst #3 Due
[x c ] = 2c = 2c
1
1 − 2x c
3.
3x 4 c
c−4 1
[x ] = 3[x ] , c≥4
(1 − 2x)2 (1 − 2x)2
− − c −
= 3 × 2c−4SIMON FRASER UNIVERSITY
Dr. Marni MISHNA, Department of Mathematics,
= 3 × 2c−4
2 + (c 4) 1 3
Version of: 11-Dec-09
c−4 c−4
So
c−1
−1
[x c ]A(x) = 2 − 2c + 3 × 2c−4
5
3 c−4
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 25
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Partial
Week DateFraction
Sections
from FS2009
Decomposition.
Part/ References Topic/Sections Notes/Speaker
1
The Sept 7 coefficient
last I.1, I.2, I.3 Combinatorial Symbolic methods we will introduce deals with rational
extraction techniques
Structures
GF.
2 14 I.4, I.5, I.6
FS: Part A.1, A.2
Unlabelled structures
Comtet74
3 21 II.1, II.2, II.3 Labelled structures I
Definition. A GFHandout A(x)
(self
#1
study)
is rational if there exists two polynomials p(x) and
4 28 II.4, II.5, II.6 Labelled structures II
q(x) such that Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters p(x)
6 12 IV.1, IV.2
FS A.III
(self-study)
A(x) =
Multivariable GFs
.
q(x)
7 19 IV.3, IV.4 Analytic Methods Complex Analysis
FS: Part B: IV, V, VI
8
Our 26
goal Singularity
with this technique is Analysis
to transformAppendix B4
a GF into the form seen at the
IV.5 V.1
Stanley 99: Ch. 6
9 Nov 2 slide, where we described
previous AsymptoticA(x)
methodsas Asst
Handout #1
a sum#2 Due of rational GF.
(self-study)
9 VI.1 Sophie
10
12 A.3/ C Introduction to Prob. Mariolys
The general idea will be to describe a technique to transform
18 IX.1 Limit Laws and Comb
11 1Marni
20 IX.2 Random Structures A(x)
Discrete
= Limit Laws Sophie 2
and Limit Laws
FS: Part C
(x − 3)(x − 2)
Combinatorial
23 IX.3 Mariolys
(rotating instances of discrete
12
presentations)
25 IX.4
1 Continuous Limit
1 Laws 1Marni
into
−1 −1 1
13 30 IX.5
A(x) Quasi-Powers and
(1 − Sophie
= + +
3 (1 − x/3) Gaussian limit2laws x/2) 4 (1 − x/2)2
14 Dec 10 Presentations
and then to apply the coefficient extraction Asst #3 Due
rules seen previously.
The important rule is the following: if the factorization of q(x) contains a term
(x + a)k , then the Partial Fraction Decomposition of A(x) = 1/q(x) contains
terms
A1 A2 Ak
· · ·
(x + a)k
+ + +
(x + a) (x + a)2
Dr. Marniwe
MISHNA,
Version of: 11-Dec-09
and need Department of Mathematics,
to find the SIMON FRASER
values A1, A2, . . . , Ak .
ofUNIVERSITY
To do so, we will set up a system of equations in all the unknowns and solve it.
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 26
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
This is a system of three equations, with three unknowns, that can be solved
and give:
Dr. Marni MISHNA, Department of Mathematics, SIMON FRASER UNIVERSITY
Version of: 11-Dec-09
A = 1, B1 = −1, B2 = −1
So we have
1 1 −1 −1
A(x) = = + +
(x − 3)(x − 2)2 (x − 3) (x − 2) (x − 2)2
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 27
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
−1 −1 −1 −1
[x n] n n
[x n]
1
= [x ] = [x ] =
(x − 2)2 ((−2)(1 − x/2))2 4(1 − x/2)2 4 (1 − x/2)2
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 28
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Example.
Week Date Sections
from FS2009
Part/ References Topic/Sections Notes/Speaker
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 29
f ac u lty of sci ence MATH 895-4 Fall 2010
d ep ar tment of m athemat ics Course Schedule
MACM 201 Discrete Mathematics II
Combinatorial Combinatorial
5 Oct 5 III.1, III.2 Asst #1 Due
parameters Parameters
FS A.III
6 12 IV.1, IV.2 (self-study) Multivariable GFs
Quasi-Powers and
13 30 IX.5 Sophie
Gaussian limit laws
Dr. Cedric Chauve, Dr. Bojan Mohar, Spring 2018 Generating Functions 1 30