Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Exercises: An Invitation to Analytic Combinatorics in Several Variables
Created by Stephen Melczer
This notebook complements the exercises found on the ALEA ACSV course webpage
A quick Sage tutorial can be found here (try an interactive version in your browser here).
See https://melczer.ca/textbook for further Sage notebooks solving problems in analytic combinatorics in several varibles. In particular, this notebook (also available as a static HTML page) gives an algorithm to compute asymptotic terms. Don't use it to solve these exercises, but use it to further check your answers! (Or to compute asymptotics for other problems!)
These functions can be used to compute the matrix M appearing in asymptotics, as well as the leading asymptotic term in an asymptotic expansion.
Here is an example of their use to find asymptotics for the main diagonal of .
We can check our asymptotic approximation by computing series terms.
Question 1: Delannoy Numbers
The Delannoy number is the number of paths from the origin to the point using only the steps , , and .
(a) Prove the recurrence $$ d_{a,b} = \begin{cases} 1 &: \text{ if $a=0$ or } \ d_{a-1,b} + d_{a,b-1} + d_{a-1,b-1} &:\text{ otherwise} \end{cases} D(x,y) = \sum_{a,b\geq0}d_{a,b}x^ay^b = \frac{1}{1-x-y-xy}. $$
(b) Use the Main Theorem of Smooth ACSV to find asymptotics of as the -diagonal of . What are the critical points in the direction? Which are minimal?
(c) Use the Main Theorem of Smooth ACSV to find asymptotics of the -diagonal of for any .
Function to numerically compute terms in the expansion
Check your computed asymptotics against this function!
Question 2: Apéry Asymptotics
Recall from lecture that a key step in Apéry's proof of the irrationality of is determining the exponential growth of the sequence that can be encoded as the main diagonal of Use the Main Theorem of Smooth ACSV to find dominant asymptotics of this sequence.
Function to numerically compute terms in the expansion
Check your computed asymptotics against this function!
Question 3: Pathological Directions
(a) Find asymptotics of the -diagonal of for any .
(b) What are the critical points of in the direction when ? Which are minimal? Characterize the behaviour of the diagonal when .
Function to numerically compute terms in the expansion
Check your computed asymptotics against this function!
Question 4: A Composition Limit Theorem
An integer composition of size is an ordered tuple of positive integers (of any length) that sum to . A composition can be viewed as an integer partition where the order of the summands matters. Let denote the number of compositions of size that contain ones.
(a) If you know the symbolic method, species theory, or similar enumerative constructions, prove that
(b) Prove that the distribution for the number of ones in a composition of size satisfies a local central limit theorem as . More precisely, find a constant and normal density such that as .
Function to plot series coefficients
Check your computed distribution against this function!