5. Analytic Combinatorics
|
|
- Luke Allison
- 5 years ago
- Views:
Transcription
1 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics
2 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Features: Analysis begins with formal combinatorial constructions. The generating function is the central object of study. Transfer theorems can immediately provide results from formal descriptions. Results extend, in principle, to any desired precision on the standard scale. Variations on fundamental constructions are easily handled. combinatorial constructions symbolic transfer theorem generating function equation analytic transfer theorem coefficient asymptotics the symbolic method 2
3 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Ex: How many binary trees with N nodes? T = E + Z T T combinatorial construction () = + () GF equation coefficient asymptotics 3
4 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5a.AC.Symbolic
5 The symbolic method is an approach for translating combinatorial constructions to GF equations Define a class of combinatorial objects. Define a notion of size. Define a GF whose coefficients count objects of the same size. Define operations suitable for constructive definitions of objects. Develop translations from constructions to operations on GFs. Examples A, B, Z b A(z) A B A(z)B(z) Formal basis: A combinatorial class is a set of objects and a size function. An atom is an object of size. An neutral object is an atom of size 0. A combinatorial construction uses the union, product, and sequence operations to define a class in terms of atoms and other classes. Building blocks notation denotes contains Z E Φ atomic class neutral class empty class an atom neutral object nothing 5
6 Unlabelled class example : natural numbers Def. A natural number is a set (or a sequence) of atoms. counting sequence OGF = I = I2 = I3 = I4 = I5 = = unary notation 6
7 Unlabelled class example 2: bitstrings Def. A bitstring is a sequence of 0 or bits. 0 B0 = B = B2 = B3 = counting sequence OGF = = () = B4 = 6 7
8 Unlabelled class example 3: binary trees Def. A binary tree is empty or a sequence of a node and two binary trees counting sequence OGF T = T2 = 2 = + ( ) Catalan numbers (see Lecture 3) () = + () T3 = 5 T4 = 4 8
9 Combinatorial constructions for unlabelled classes construction notation semantics disjoint union A + B disjoint copies of objects from A and B Cartesian product A B ordered pairs of copies of objects, one from A and one from B A and B are combinatorial classes of unlabelled objects sequence SEQ ( A ) sequences of objects from A Ex. ( ) ( ) = Ex 2. SEQ( ) =... Ex 3. = "unlabelled"?? Stay tuned. 9
10 The symbolic method for unlabelled classes (transfer theorem) Theorem. Let A and B be combinatorial classes of unlabelled objects with OGFs A(z) and B(z). Then construction notation semantics OGF disjoint union A + B disjoint copies of objects from A and B ()+() Cartesian product A B ordered pairs of copies of objects, one from A and one from B ()() sequence SEQ ( A ) sequences of objects from A () 0
11 Proofs of transfers are immediate from GF counting A + B = + = ()+() + A B = + = = ()() SEQ ( A ) () ɛ ()+() + () + () +...= ()
12 Symbolic method: binary trees How many binary trees with N nodes? Class T, the class of all binary trees Atoms Size t, the number of internal nodes in t OGF Construction = + OGF equation () = = () = + () type class size GF external node 0 internal node z a binary tree is an external node or an internal node connected to two binary trees or [ ]() = + see Lecture 3 and stay tuned. 2
13 Symbolic method: binary trees How many binary trees with N external nodes? Class T, the class of all binary trees Atoms type class size GF Size OGF OGF equation, t the number of external nodes in t () = t Construction = + () = + () external node z internal node 0 a binary tree is an external node or an internal node connected to two binary trees or () =() [ ] () =[ ]() = same as # binary trees with N internal nodes 3
14 Symbolic method: binary strings Warmup: How many binary strings with N bits? Class B, the class of all binary strings Atoms type class size GF Size b, the number of bits in b 0 bit z OGF () = = bit z Construction = ( + ) OGF equation () = a binary string is a sequence of 0 bits and bits [ ]() = 4
15 Symbolic method: binary strings (alternate) Warmup: How many binary strings with N bits? Class B, the class of all binary strings Atoms type class size GF Size b, the number of bits in b 0 bit z OGF () = = bit z Construction OGF equation Solution = +( + ) () = + () () = a binary string is empty or a bit followed by a binary string [ ]() = 5
16 Symbolic method: binary strings with restrictions Ex. How many N-bit binary strings have no two consecutive 0s? 0 T0 = T = T2 = T3 = T4 = T5 =3 Stay tuned for general treatment (Chapter 8) 6
17 Symbolic method: binary strings with restrictions Ex. How many N-bit binary strings have no two consecutive 0s? Class B00, the class of binary strings with no 00 Atoms type class size GF Size OGF b, the number of bits in b () = 0 bit z bit z Construction OGF equation = + +( + ) () = + +( + ) () a binary string with no 00 is either empty or 0 or it is or 0 followed by a binary string with no 00 solution () = + [ ] () = + + = +, 2, 5, 8, 3,... 7
18 Symbolic method: many, many examples to follow How many... with...? Class Atoms type class size GF Size OGF Construction a... is either... or... and... OGF equation solution 8
19 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5a.AC.Symbolic
20 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5b.AC.Labelled
21 Labelled combinatorial classes have objects composed of N atoms, labelled with the integers through N. Ex. Different unlabelled objects Ex. Different labelled objects
22 Labelled class example : urns Def. An urn is a set of labelled atoms counting sequence = EGF U = U2 = U3 = U4 =! = 22
23 Labelled class example 2: permutations Def. A permutation is a sequence of labelled atoms P = 2 2 P2 = P3 = counting sequence EGF =!!! = = P4 = 6 23
24 Labelled class example 3: cycles Def. A cycle is a cyclic sequence of labelled atoms C = 2 C2 = C3 = counting sequence EGF =( )! ln ( )!! = =ln 2 3 C4 = 6 24
25 Star product operation Analog to Cartesian product requires relabelling in all consistent ways. 25 Ex. Ex = =
26 Combinatorial constructions for labelled classes construction notation semantics disjoint union A + B disjoint copies of objects from A and B labelled product A B ordered pairs of copies of objects, one from A and one from B A and B are combinatorial classes of labelled objects sequence SEQ ( A ) sequences of objects from A set SET ( A ) sets of objects from A cycle CYC ( A ) cyclic sequences of objects from A 26
27 The symbolic method for labelled classes (transfer theorem) Theorem. Let A and B be combinatorial classes of labelled objects with EGFs A(z) and B(z). Then construction notation semantics EGF disjoint union A + B disjoint copies of objects from A and B ()+() labelled product A B ordered pairs of copies of objects, one from A and one from B ()() SEQk ( A ) k- sequences of objects from A () sequence SEQ ( A ) sequences of objects from A () set SETk ( A ) SET ( A ) k-sets of objects from A sets of objects from A () /! () CYCk ( A ) k-cycles of objects from A () / cycle CYC ( A ) cycles of objects from A ln () 27
28 The symbolic method for labelled classes: basic constructions class construction EGF counting sequence construction notation EGF disjoint union A + B ()+() urns U = SET ( Z ) () = = labelled product A B ()() SEQk ( A ) () cycles C = CYC ( Z ) P = SEQ ( Z ) permutations P = E + Z P () =ln () = =( =! )! sequence set cycle SEQ ( A ) SETk ( A ) SET ( A ) CYCk ( A ) CYC ( A ) () () /! () () / ln () 28
29 Proofs of transfers are immediate from GF counting A + B +! =! +! = ()+() A B A B! = A B + + ( + )! = A! B! = ()() Notation. We write A 2 for A A, A 3 for A A A, etc. 29
30 Proofs of transfers are immediate from GF counting () = {# }! = {# }! =!{# }! () = {# }! ()! = {# }! class construction EGF k-sequence SEQk( A ) sequence SEQk( A ) = SEQ0( A ) + SEQ( A ) + SEQ2( A ) +... k-cycle CYCk( A ) cycle CYCk( A ) = CYC0( A ) + CYC( A ) + CYC2( A ) +... k-set SETk( A ) set SETk( A ) = SET0( A ) + SET( A ) + SET2( A ) ()+() + () +...= + () + ()! + () + ()! () () + () ()! + ()! +...=ln () () +...= () 30
31 Labelled class example 4: sets of cycles Q. How many sets of cycles of labelled atoms? P * = P * 2 = 2 P * 3 = 6 P * 4 = 24 3
32 Symbolic method: sets of cycles How many sets of cycles of length N? Class P*, the class of all sets of cycles of atoms Atom type class size GF Size p, the number of atoms in p labelled atom Z z EGF () =! =! Construction OGF equation Counting sequence = (()) () =exp ( ln ) = =![ ] () =! 32
33 Aside: A combinatorial bijection A permutation is a set of cycles. Standard representation Set of cycles representation
34 Derangements N people go to the opera and leave their hats on a shelf in the cloakroom. When leaving, they each grab a hat at random. Q. What is the probability that nobody gets their own hat? Definition. A derangement is a permutation with no singleton cycles 34
35 Derangements (various versions) A group of N people go to the opera and leave their hats in the cloakroom. When leaving, they each grab a hat at random. Q. What is the probability that nobody gets their own hat? A professor returns exams to N students by passing them out at random. Q. What is the probability that nobody gets their own exam? A group of N sailors go ashore for revelry that leads to a state of inebriation. When returning, they each end up sleeping in a random cabin. Q. What is the probability that nobody sleeps in their own cabin? A group of N students who live in single rooms go to a party that leads to a state of inebriation. When returning, they each end up in a random room. Q. What is the probability that nobody ends up in their own room? 35
36 Derangements are permutations with no singleton cycles. D = 0 D2 = D3 = 2 D4 = 9 36
37 Symbolic method: derangements How many derangements of length N? Class D, the class of all derangements Atom type class size GF Size p, the number of atoms in p labelled atom Z z EGF () =! =! Construction = ( > ()) =exp ( OGF equation () = /+ /+ /+... ln ) = Expansion [ ( ) ]() =!! probability that a random permutation is a derangement simple convolution Derangements are permutations with no singleton cycles" see Asymptotics lecture Alternate derivation () = () = 37
38 Derangements A group of N students who live in single rooms go to a party that leads to a state of inebriation. When returning, they each end up in a random room. Q. What is the probability that nobody ends up in their own room? A.. =. 38
39 Derangements A group of N graduating seniors each throw their hats in the air and each catch a random hat. Q. What is the probability that nobody gets their own hat back? A.. =. 39
40 Generalized derangements In the hats-in-the-air scenario, a student can get her hat back by "following the cycle" Q. What is the probability that all cycles are of length > M? 40
41 Symbolic method: generalized derangements How many permutations of length N have no cycles of length M? Class DM, the class of all generalized derangements Atom type class size GF labelled atom Z z Size d, the number of atoms in d EGF () =! =! Construction OGF equation = ( > ()) () = =... =exp ( ln /... / ) Expansion =?? M-way convolution (stay tuned) 4
42 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5b.AC.Labelled
43 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5c.AC.Asymptotics
44 Generating coefficient asymptotics are often immediately derived via general "analytic" transfer theorems. Example. Taylor's theorem Theorem. If f (z) has N derivatives, then [ z N ]f (z) = f (N ) (0)/N! Example 2. Rational functions transfer theorem (see "Asymptotics" lecture) Theorem. If f (z) and g (z) are polynomials, then [ ] () () = β(/β) (β) β see Asymptotics lecture for general case where /β is the largest root of g (provided that it has multiplicity ). Example 3. Radius-of-convergence transfer theorem [see next slide] Most are based on complex asymptotics. Stay tuned for Part 2 44
45 Radius-of-convergence transfer theorem Theorem. If f (z) has radius of convergence > with f () 0, then ( ) [ () + α ] ( ) α () for any real α 0,, 2,... () Γ(α) α Gamma function (generalized factorial ) Γ() = Γ(α + ) =αγ(α) Γ( + ) =! convolution, f + f fn ~ f () standard asymptotics with generalized binomial coefficient Γ() = Γ(/) = Corollary. If f (z) has radius of convergence >ρ with f (ρ) 0, then [ () ] ( /ρ) α (ρ) Γ(α) ρ α for any real α 0,, 2,... 45
46 Radius-of-convergence transfer theorem: applications Corollary. If f (z) has radius of convergence >ρ with f (ρ) 0, then [ () ] ( /ρ) α (ρ) Γ(α) ρ α for any real α 0,, 2,... Ex : Catalan () = ( ) = / = / () = / ( /) = (/) = [ ]() Ex 2: Derangements () = /... / [! ] () = = () = /... / 46
47 Transfer theorems based on complex asymptotics provide universal laws of sweeping generality Example: Context-free constructions A system of combinatorial constructions < G > = (< G >, < G >,..., < G t >) < G > = (< G >, < G >,..., < G t >)... < G t > = (< G >, < G >,..., < G t >) that reduces to a single GF equation () =( (), (),..., ()) symbolic method Grobner basis elimination Drmota-Lalley-Woods theorem transfers to a system of GF equations () = ( (), (),..., ()) () = ( (), (),..., ())... () = ( (), (),..., ()) that has an explicit () solution singularity analysis Stay tuned for many more (in Part 2). that transfers to a simple asymptotic form!! 47
48 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5c.AC.Asymptotics
49 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5d.AC.Perspective
50 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Ex: How many binary trees with N nodes? T = E + Z T T combinatorial construction () = ( ) GF coefficient asymptotics 50
51 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Ex: How many binary trees with N nodes? T = E + Z T T combinatorial construction () = + () GF equation Note: With complex asymptotics, we can transfer directly from GF equation (no need to solve it). See Part 2. coefficient asymptotics 5
52 Old vs. New: Two ways to count binary trees Old Recurrence GF Expand GF Asymptotics New T = E + Z T T () = + () 52
53 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Ex: How many generalized derangements? = ( > ()) /... /! combinatorial construction GF equation coefficient asymptotics 53
54 A standard paradigm for analytic combinatorics Fundamental constructs elementary or trivial confirm intuition Compound constructs many possibilities classical combinatorial objects expose underlying structure Variations unlimited possibilities not easily analyzed otherwise
55 Combinatorial parameters are handled as two counting problems via cumulated costs. Ex: How many leaves in a random binary tree?. Count trees T = E + Z T T () = ( ) 2. Count leaves in all trees T = E + Z T T (, ) = Symbolic method works for BGFs (see text) 3. Divide 55
56 Analytic combinatorics is a calculus for the quantitative study of large combinatorial structures. Features: Analysis begins with formal combinatorial constructions. The generating function is the central object of study. Transfer theorems can immediately provide results from formal descriptions. Results extend, in principle, to any desired precision on the standard scale. Variations on fundamental constructions are easily handled. combinatorial constructions symbolic transfer theorem generating function equation analytic transfer theorem coefficient asymptotics the symbolic method 56
57 Stay tuned for many applications of analytic combinatorics and applications to the analysis of algorithms Trees Permutations Mappings Bitstrings
58 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics OF The symbolic method Labelled objects Coefficient asymptotics Perspective 5d.AC.Perspective
59 Exercise 5. Practice with counting bitstrings. AN INTRODUCTION TO THE ANALYSIS OF ALGORITHMS S E C O N D E D I T I O N R O B E R T S E D G E W I C K PHILIPPE FLAJOLET 59
60 Exercise 5.3 Practice with counting trees. AN INTRODUCTION TO THE ANALYSIS OF ALGORITHMS S E C O N D E D I T I O N R O B E R T S E D G E W I C K PHILIPPE FLAJOLET 60
61 Exercise 5.7 Practice with counting permutations. AN INTRODUCTION TO THE ANALYSIS OF ALGORITHMS S E C O N D E D I T I O N R O B E R T S E D G E W I C K PHILIPPE FLAJOLET 6
62 Exercises 5.5 and 5.6 Practice with tree parameters. AN INTRODUCTION TO THE ANALYSIS OF ALGORITHMS S E C O N D E D I T I O N R O B E R T S E D G E W I C K PHILIPPE FLAJOLET 62
63 Assignments for next lecture. Read pages in text. AN INTRODUCTION TO THE ANALYSIS OF ALGORITHMS S E C O N D E D I T I O N R O B E R T S E D G E W I C K PHILIPPE FLAJOLET 2. Write up solutions to Exercises 5., 5.3, 5.7, 5.5, and
64 ANALYTIC COMBINATORICS P A R T O N E 5. Analytic Combinatorics
3. Generating Functions
ANALYTIC COMBINATORICS P A R T O N E 3. Generating Functions http://aofa.cs.princeton.edu ANALYTIC COMBINATORICS P A R T O N E 3. Generating Functions OF OGFs Solving recurrences Catalan numbers EGFs Counting
More informationNotes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.
Lecture: Hélène Barcelo Analytic Combinatorics ECCO 202, Bogotá Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.. Tuesday, June 2, 202 Combinatorics is the study of finite structures that
More information4. Complex Analysis, Rational and Meromorphic Asymptotics
ANALYTIC COMBINATORICS P A R T T W O 4. Complex Analysis, Rational and Meromorphic Asymptotics http://ac.cs.princeton.edu ANALYTIC COMBINATORICS P A R T T W O Analytic Combinatorics Philippe Flajolet and
More informationCombinatorial Enumeration. Jason Z. Gao Carleton University, Ottawa, Canada
Combinatorial Enumeration Jason Z. Gao Carleton University, Ottawa, Canada Counting Combinatorial Structures We are interested in counting combinatorial (discrete) structures of a given size. For example,
More informationOn (Effective) Analytic Combinatorics
On (Effective) Analytic Combinatorics Bruno Salvy Inria & ENS de Lyon Séminaire Algorithmes Dec. 2017 Combinatorics, Randomness and Analysis From simple local rules, a global structure arises. A quest
More informationGenerating Functions
Semester 1, 2004 Generating functions Another means of organising enumeration. Two examples we have seen already. Example 1. Binomial coefficients. Let X = {1, 2,..., n} c k = # k-element subsets of X
More informationDISCRETE AND ALGEBRAIC STRUCTURES
DISCRETE AND ALGEBRAIC STRUCTURES Master Study Mathematics MAT40 Winter Semester 015/16 (Due to organisational reasons register for the course at TU and KFU) Edited by Mihyun Kang TU Graz Contents I Lectures
More informationare the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).
Lecture A jacques@ucsd.edu Notation: N, R, Z, F, C naturals, reals, integers, a field, complex numbers. p(n), S n,, b(n), s n, partition numbers, Stirling of the second ind, Bell numbers, Stirling of the
More informationUnlabelled Structures: Restricted Constructions
Gao & Šana, Combinatorial Enumeration Notes 5 Unlabelled Structures: Restricted Constructions Let SEQ k (B denote the set of sequences of exactly k elements from B, and SEQ k (B denote the set of sequences
More informationADDITIONAL NOTES. 3 Surjections 6
Contents Labelling Atoms. Well-labelling............................................. The Exponential Generating Function egf............................3 Examples................................................
More informationLECTURE 7. 2 Simple trees and Lagrange Inversion Restricting the out-degree Lagrange Inversion... 4
Contents 1 Recursive specifications 1 1.1 Binary Trees B............................................ 1 1.1.1 A recursive structure.................................... 1.1. Decomposition........................................
More informationDISCRETE AND ALGEBRAIC STRUCTURES
DISCRETE AND ALGEBRAIC STRUCTURES Master Study Mathematics MAT.40 Winter Semester 015/016 & 016/17 (Due to organisational reasons register for the course at TU and KFU) Parts I & II Contents I Combinatorics
More informationDiscrete Mathematics & Mathematical Reasoning Chapter 6: Counting
Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 39 Chapter Summary The Basics
More informationDe part en retraite de Pierre
Introduction Combinatorics Generating Series Oracle Conclusion De part en retraite de Pierre Villetaneuse, fe vrier 2013 1 / 41 De part en retraite de Pierre Introduction Combinatorics Generating Series
More information1 Basic Combinatorics
1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set
More informationFoundations of Computer Science Lecture 14 Advanced Counting
Foundations of Computer Science Lecture 14 Advanced Counting Sequences with Repetition Union of Overlapping Sets: Inclusion-Exclusion Pigeonhole Principle Last Time To count complex objects, construct
More informationAdvanced Counting Techniques. Chapter 8
Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer
More informationASYMPTOTIC ENUMERATION OF PERMUTATIONS AVOIDING GENERALIZED PATTERNS
ASYMPTOTIC ENUMERATION OF PERMUTATIONS AVOIDING GENERALIZED PATTERNS SERGI ELIZALDE Abstract. Motivated by the recent proof of the Stanley-Wilf conjecture, we study the asymptotic behavior of the number
More informationAnalytic Combinatorics: A Primer
Analytic Combinatorics: A Primer Conrado Martínez Univ. Politècnica de Catalunya, Spain April 2011 What is this course about? Analytic Combinatorics seeks to develop mathematical techniques that help us
More informationAn Introduction to Combinatorial Species
An Introduction to Combinatorial Species Ira M. Gessel Department of Mathematics Brandeis University Summer School on Algebraic Combinatorics Korea Institute for Advanced Study Seoul, Korea June 14, 2016
More information6 CARDINALITY OF SETS
6 CARDINALITY OF SETS MATH10111 - Foundations of Pure Mathematics We all have an idea of what it means to count a finite collection of objects, but we must be careful to define rigorously what it means
More informationCS 2336 Discrete Mathematics
CS 2336 Discrete Mathematics Lecture 8 Counting: Permutations and Combinations 1 Outline Definitions Permutation Combination Interesting Identities 2 Definitions Selection and arrangement of objects appear
More informationChapter Generating Functions
Chapter 8.1.1-8.1.2. Generating Functions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 8. Generating Functions Math 184A / Fall 2017 1 / 63 Ordinary Generating Functions (OGF) Let a n (n = 0, 1,...)
More informationAdvanced Counting Techniques
. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Advanced Counting
More informationLecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya
BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya Resources: Kenneth
More information7 Asymptotics for Meromorphic Functions
Lecture G jacques@ucsd.edu 7 Asymptotics for Meromorphic Functions Hadamard s Theorem gives a broad description of the exponential growth of coefficients in power series, but the notion of exponential
More informationLECTURE Questions 1
Contents 1 Questions 1 2 Reality 1 2.1 Implementing a distribution generator.............................. 1 2.2 Evaluating the generating function from the series expression................ 2 2.3 Finding
More informationCombinatorial/probabilistic analysis of a class of search-tree functionals
Combinatorial/probabilistic analysis of a class of search-tree functionals Jim Fill jimfill@jhu.edu http://www.mts.jhu.edu/ fill/ Mathematical Sciences The Johns Hopkins University Joint Statistical Meetings;
More informationAlgorithms for Combinatorial Systems: Between Analytic Combinatorics and Species Theory.
Algorithms for Combinatorial Systems: Between Analytic Combinatorics and Species Theory. Carine Pivoteau - LIGM - december 2011 joint work with Bruno Salvy and Michèle Soria Algorithms for Combinatorial
More informationBinomial Coefficient Identities/Complements
Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology
More informationApplication of Logic to Generating Functions. Holonomic (P-recursive) Sequences
Application of Logic to Generating Functions Holonomic (P-recursive) Sequences Johann A. Makowsky Faculty of Computer Science, Technion - Israel Institute of Technology, Haifa, Israel http://www.cs.technion.ac.il/
More informationSymbolic-Numeric Tools for Multivariate Asymptotics
Symbolic-Numeric Tools for Multivariate Asymptotics Bruno Salvy Joint work with Stephen Melczer to appear in Proc. ISSAC 2016 FastRelax meeting May 25, 2016 Combinatorics, Randomness and Analysis From
More informationNotes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006
Combinatorics Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 4.1-4.6 & 6.5-6.6 of Rosen cse235@cse.unl.edu
More informationApplications of Discrete Mathematics to the Analysis of Algorithms
Applications of Discrete Mathematics to the Analysis of Algorithms Conrado Martínez Univ. Politècnica de Catalunya, Spain May 2007 Goal Given some algorithm taking inputs from some set Á, we would like
More informationGenerating Functions
8.30 lecture notes March, 0 Generating Functions Lecturer: Michel Goemans We are going to discuss enumeration problems, and how to solve them using a powerful tool: generating functions. What is an enumeration
More informationIndistinguishable objects in indistinguishable boxes
Counting integer partitions 2.4 61 Indistinguishable objects in indistinguishable boxes When placing k indistinguishable objects into n indistinguishable boxes, what matters? We are partitioning the integer
More information1. Foundations of Numerics from Advanced Mathematics. Mathematical Essentials and Notation
1. Foundations of Numerics from Advanced Mathematics Mathematical Essentials and Notation Mathematical Essentials and Notation, October 22, 2012 1 The main purpose of this first chapter (about 4 lectures)
More informationCountability. 1 Motivation. 2 Counting
Countability 1 Motivation In topology as well as other areas of mathematics, we deal with a lot of infinite sets. However, as we will gradually discover, some infinite sets are bigger than others. Countably
More informationAlgebraic Counting Techniques
Chapter 4 Algebraic Counting Techniques 4.1 The Principle of Inclusion and Exclusion 4.1.1 The size of a union of sets One of our very first counting principles was the sum principle which says that the
More informationProbabilistic models
Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became the definitive formulation
More information2 Generating Functions
2 Generating Functions In this part of the course, we re going to introduce algebraic methods for counting and proving combinatorial identities. This is often greatly advantageous over the method of finding
More informationMassachusetts Institute of Technology Handout J/18.062J: Mathematics for Computer Science May 3, 2000 Professors David Karger and Nancy Lynch
Massachusetts Institute of Technology Handout 48 6.042J/18.062J: Mathematics for Computer Science May 3, 2000 Professors David Karger and Nancy Lynch Quiz 2 Solutions Problem 1 [10 points] Consider n >
More informationMapping the Discrete Logarithm: Talk 2
Mapping the Discrete Logarithm: Talk 2 Joshua Holden Joint work with Daniel Cloutier, Nathan Lindle (Senior Theses), Max Brugger, Christina Frederick, Andrew Hoffman, and Marcus Mace (RHIT REU) Rose-Hulman
More informationand the compositional inverse when it exists is A.
Lecture B jacques@ucsd.edu Notation: R denotes a ring, N denotes the set of sequences of natural numbers with finite support, is a generic element of N, is the infinite zero sequence, n 0 R[[ X]] denotes
More informationAlgorithms: Lecture 2
1 Algorithms: Lecture 2 Basic Structures: Sets, Functions, Sequences, and Sums Jinwoo Kim jwkim@jjay.cuny.edu 2.1 Sets 2 1 2.1 Sets 3 2.1 Sets 4 2 2.1 Sets 5 2.1 Sets 6 3 2.1 Sets 7 2.2 Set Operations
More informationBasic counting techniques. Periklis A. Papakonstantinou Rutgers Business School
Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED
More information3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.
1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is
More informationCOUNTING WITH AB-BA=1
COUNTING WITH AB-BA=1 PHILIPPE FLAJOLET, ROCQUENCOURT & PAWEL BLASIAK, KRAKÓW COMBINATORIAL MODELS OF ANNIHILATION-CREATION ; IN PREP. (2010) 1 A. = + + B. = 2 Annihilation and Creation A = Annihilate
More informationWhat you learned in Math 28. Rosa C. Orellana
What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the
More informationIntegro-differential Algebras of Combinatorial species
1 Integro-differential Algebras of Combinatorial species Xing Gao Lanzhou University in China, Rutgers University-Newark (Joint work with L. Guo, M. Rosenkranz and S. Zhang) Kolchin Seminar in Differential
More information{ 0! = 1 n! = n(n 1)!, n 1. n! =
Summations Question? What is the sum of the first 100 positive integers? Counting Question? In how many ways may the first three horses in a 10 horse race finish? Multiplication Principle: If an event
More informationProbabilistic models
Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became
More informationLecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions. Recall that a power function has the form f(x) = x r where r is a real number.
L7-1 Lecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions Recall that a power function has the form f(x) = x r where r is a real number. f(x) = x 1/2 f(x) = x 1/3 ex. Sketch the graph of
More informationCombinatorial Analysis of the Geometric Series
Combinatorial Analysis of the Geometric Series David P. Little April 7, 205 www.math.psu.edu/dlittle Analytic Convergence of a Series The series converges analytically if and only if the sequence of partial
More informationIntroduction to Decision Sciences Lecture 11
Introduction to Decision Sciences Lecture 11 Andrew Nobel October 24, 2017 Basics of Counting Product Rule Product Rule: Suppose that the elements of a collection S can be specified by a sequence of k
More informationRandom Boolean expressions
Random Boolean expressions Danièle Gardy PRiSM, Univ. Versailles-Saint Quentin and CNRS UMR 8144. Daniele.Gardy@prism.uvsq.fr We examine how we can define several probability distributions on the set of
More informationDefinition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.
4 Functions Before studying functions we will first quickly define a more general idea, namely the notion of a relation. A function turns out to be a special type of relation. Definition: Let S and T be
More informationBoltzmann Sampling and Random Generation of Combinatorial Structures
Boltzmann Sampling and Random Generation of Combinatorial Structures Philippe Flajolet Based on joint work with Philippe Duchon, Éric Fusy, Guy Louchard, Carine Pivoteau, Gilles Schaeffer GASCOM 06, Dijon,
More informationCounting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo
Counting Methods CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 48 Need for Counting The problem of counting
More informationShow that the following problems are NP-complete
Show that the following problems are NP-complete April 7, 2018 Below is a list of 30 exercises in which you are asked to prove that some problem is NP-complete. The goal is to better understand the theory
More informationClassification of root systems
Classification of root systems September 8, 2017 1 Introduction These notes are an approximate outline of some of the material to be covered on Thursday, April 9; Tuesday, April 14; and Thursday, April
More informationDiscrete mathematics , Fall Instructor: prof. János Pach
Discrete mathematics 016-017, Fall Instructor: prof. János Pach - covered material - Lecture 1. Counting problems To read: [Lov]: 1.. Sets, 1.3. Number of subsets, 1.5. Sequences, 1.6. Permutations, 1.7.
More informationk-protected VERTICES IN BINARY SEARCH TREES
k-protected VERTICES IN BINARY SEARCH TREES MIKLÓS BÓNA Abstract. We show that for every k, the probability that a randomly selected vertex of a random binary search tree on n nodes is at distance k from
More informationCS294: Pseudorandomness and Combinatorial Constructions September 13, Notes for Lecture 5
UC Berkeley Handout N5 CS94: Pseudorandomness and Combinatorial Constructions September 3, 005 Professor Luca Trevisan Scribe: Gatis Midrijanis Notes for Lecture 5 In the few lectures we are going to look
More informationReview problems solutions
Review problems solutions Math 3152 December 15, 2017 1. Use the binomial theorem to prove that, for all n 1 and k satisfying 0 k n, ( )( ) { n i ( 1) i k 1 if k n; i k 0 otherwise. ik Solution: Using
More informationMath 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction
Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If
More informationDiscrete Structures for Computer Science: Counting, Recursion, and Probability
Discrete Structures for Computer Science: Counting, Recursion, and Probability Michiel Smid School of Computer Science Carleton University Ottawa, Ontario Canada michiel@scs.carleton.ca December 18, 2017
More informationA Generic Approach for the Unranking of Labeled Combinatorial Classes
A Generic Approach for the Unranking of Labeled Combinatorial Classes Conrado Martínez, Xavier Molinero Departament de Llenguatges i Sistemes Informàtics, Universitat Politècnica de Catalunya, E-08034
More informationAsymptotic Counting Theorems for Primitive. Juggling Patterns
Asymptotic Counting Theorems for Primitive Juggling Patterns Erik R. Tou January 11, 2018 1 Introduction Juggling patterns are typically described using siteswap notation, which is based on the regular
More information2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations
2030 LECTURES R. Craigen Inclusion/Exclusion and Relations The Principle of Inclusion-Exclusion 7 ROS enumerates the union of disjoint sets. What if sets overlap? Some 17 out of 30 students in a class
More informationON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS. 1. Introduction
ON POLYNOMIAL REPRESENTATION FUNCTIONS FOR MULTILINEAR FORMS JUANJO RUÉ In Memoriam of Yahya Ould Hamidoune. Abstract. Given an infinite sequence of positive integers A, we prove that for every nonnegative
More informationCounting permutations by cyclic peaks and valleys
Annales Mathematicae et Informaticae 43 (2014) pp. 43 54 http://ami.ektf.hu Counting permutations by cyclic peaks and valleys Chak-On Chow a, Shi-Mei Ma b, Toufik Mansour c Mark Shattuck d a Division of
More informationPropositional Logic, Predicates, and Equivalence
Chapter 1 Propositional Logic, Predicates, and Equivalence A statement or a proposition is a sentence that is true (T) or false (F) but not both. The symbol denotes not, denotes and, and denotes or. If
More informationCSCE 222 Discrete Structures for Computing. Review for Exam 2. Dr. Hyunyoung Lee !!!
CSCE 222 Discrete Structures for Computing Review for Exam 2 Dr. Hyunyoung Lee 1 Strategy for Exam Preparation - Start studying now (unless have already started) - Study class notes (lecture slides and
More informationMCS 256 Discrete Calculus and Probability Exam 5: Final Examination 22 May 2007
MCS 256 Discrete Calculus and Probability SOLUTIONS Exam 5: Final Examination 22 May 2007 Instructions: This is a closed-book examination. You may, however, use one 8.5 -by-11 page of notes, your note
More informationEquality of P-partition Generating Functions
Bucknell University Bucknell Digital Commons Honors Theses Student Theses 2011 Equality of P-partition Generating Functions Ryan Ward Bucknell University Follow this and additional works at: https://digitalcommons.bucknell.edu/honors_theses
More informationBIJECTIVE PROOFS FOR FIBONACCI IDENTITIES RELATED TO ZECKENDORF S THEOREM
BIJECTIVE PROOFS FOR FIBONACCI IDENTITIES RELATED TO ZECKENDORF S THEOREM Philip Matchett Wood Department of Mathematics, Rutgers University, Piscataway, NJ 08854 e-mail: matchett@math.rutgers.edu (Submitted
More informationCarleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 195
Carleton University Final Examination Fall 15 DURATION: 2 HOURS No. of students: 195 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda: Calculator
More informationHarvard CS121 and CSCI E-121 Lecture 2: Mathematical Preliminaries
Harvard CS121 and CSCI E-121 Lecture 2: Mathematical Preliminaries Harry Lewis September 5, 2013 Reading: Sipser, Chapter 0 Sets Sets are defined by their members A = B means that for every x, x A iff
More informationIntroduction to Techniques for Counting
Introduction to Techniques for Counting A generating function is a device somewhat similar to a bag. Instead of carrying many little objects detachedly, which could be embarrassing, we put them all in
More informationMATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS
MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS Lior Pachter and Lawrence C. Evans Department of Mathematics University of California Berkeley, CA 94720 January 21, 2013 Lior Pachter
More informationRook Polynomials In Higher Dimensions
Grand Valley State University ScholarWors@GVSU Student Summer Scholars Undergraduate Research and Creative Practice 2009 Roo Polynomials In Higher Dimensions Nicholas Krzywonos Grand Valley State University
More informationData Compression Techniques
Data Compression Techniques Part 1: Entropy Coding Lecture 4: Asymmetric Numeral Systems Juha Kärkkäinen 08.11.2017 1 / 19 Asymmetric Numeral Systems Asymmetric numeral systems (ANS) is a recent entropy
More informationCounting Palindromes According to r-runs of Ones Using Generating Functions
Counting Palindromes According to r-runs of Ones Using Generating Functions Helmut Prodinger Department of Mathematics Stellenbosch University 7602 Stellenbosch South Africa hproding@sun.ac.za Abstract
More informationGenerating Function Notes , Fall 2005, Prof. Peter Shor
Counting Change Generating Function Notes 80, Fall 00, Prof Peter Shor In this lecture, I m going to talk about generating functions We ve already seen an example of generating functions Recall when we
More informationUniversal Juggling Cycles
Universal Juggling Cycles Fan Chung y Ron Graham z Abstract During the past several decades, it has become popular among jugglers (and juggling mathematicians) to represent certain periodic juggling patterns
More informationF 99 Final Quiz Solutions
Massachusetts Institute of Technology Handout 53 6.04J/18.06J: Mathematics for Computer Science May 11, 000 Professors David Karger and Nancy Lynch F 99 Final Quiz Solutions Problem 1 [18 points] Injections
More informationRandom Boolean expressions
Computational Logic and Applications, CLA 05 DMTCS proc. AF, 2006, 1 36 Random Boolean expressions Danièle Gardy PRiSM, Univ. Versailles-Saint Quentin and CNRS UMR 8144. Daniele.Gardy@prism.uvsq.fr We
More informationReview 3. Andreas Klappenecker
Review 3 Andreas Klappenecker Final Exam Friday, May 4, 2012, starting at 12:30pm, usual classroom Topics Topic Reading Algorithms and their Complexity Chapter 3 Logic and Proofs Chapter 1 Logic and Proofs
More informationAlgorithmic Tools for the Asymptotics of Linear Recurrences
Algorithmic Tools for the Asymptotics of Linear Recurrences Bruno Salvy Inria & ENS de Lyon Computer Algebra in Combinatorics, Schrödinger Institute, Vienna, Nov. 2017 Motivation p 0 (n)a n+k + + p k (n)a
More informationReview Notes for IB Standard Level Math
Review Notes for IB Standard Level Math 1 Contents 1 Algebra 8 1.1 Rules of Basic Operations............................... 8 1.2 Rules of Roots..................................... 8 1.3 Rules of Exponents...................................
More informationNamed numbres. Ngày 25 tháng 11 năm () Named numbres Ngày 25 tháng 11 năm / 7
Named numbres Ngày 25 tháng 11 năm 2011 () Named numbres Ngày 25 tháng 11 năm 2011 1 / 7 Fibonacci, Catalan, Stirling, Euler, Bernoulli Many sequences are famous. 1 1, 2, 3, 4,... the integers. () Named
More informationData Compression Techniques (Spring 2012) Model Solutions for Exercise 2
582487 Data Compression Techniques (Spring 22) Model Solutions for Exercise 2 If you have any feedback or corrections, please contact nvalimak at cs.helsinki.fi.. Problem: Construct a canonical prefix
More informationCollege Algebra To learn more about all our offerings Visit Knewton.com
College Algebra 978-1-63545-097-2 To learn more about all our offerings Visit Knewton.com Source Author(s) (Text or Video) Title(s) Link (where applicable) OpenStax Text Jay Abramson, Arizona State University
More informationPre-calculus 12 Curriculum Outcomes Framework (110 hours)
Curriculum Outcomes Framework (110 hours) Trigonometry (T) (35 40 hours) General Curriculum Outcome: Students will be expected to develop trigonometric reasoning. T01 Students will be expected to T01.01
More informationChapter 0 Introduction. Fourth Academic Year/ Elective Course Electrical Engineering Department College of Engineering University of Salahaddin
Chapter 0 Introduction Fourth Academic Year/ Elective Course Electrical Engineering Department College of Engineering University of Salahaddin October 2014 Automata Theory 2 of 22 Automata theory deals
More informationPROBABILITY VITTORIA SILVESTRI
PROBABILITY VITTORIA SILVESTRI Contents Preface. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8 4. Properties of Probability measures Preface These lecture notes are for the course
More informationOn the number of F -matchings in a tree
On the number of F -matchings in a tree Hiu-Fai Law Mathematical Institute Oxford University hiufai.law@gmail.com Submitted: Jul 18, 2011; Accepted: Feb 4, 2012; Published: Feb 23, 2012 Mathematics Subject
More informationAutomata and Languages
Automata and Languages Prof. Mohamed Hamada Software Engineering Lab. The University of Aizu Japan Mathematical Background Mathematical Background Sets Relations Functions Graphs Proof techniques Sets
More informationCounting Palindromes According to r-runs of Ones Using Generating Functions
3 47 6 3 Journal of Integer Sequences, Vol. 7 (04), Article 4.6. Counting Palindromes According to r-runs of Ones Using Generating Functions Helmut Prodinger Department of Mathematics Stellenbosch University
More information