You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

Exponential generating functions are powerful tools for solving counting problems involving labeled objects. They use factorials to encode information about permutations and combinations, making them ideal for problems with distinct elements.

These functions build on ordinary generating functions, adding new techniques to our problem-solving toolkit. By understanding their properties and operations, we can tackle complex combinatorial challenges involving permutations, partitions, and arrangements of labeled elements.

Ordinary vs Exponential Generating Functions

Definitions and Differences

Top images from around the web for Definitions and Differences
Top images from around the web for Definitions and Differences
  • Ordinary generating functions (OGFs) are power series where the coefficient of the nth term represents the number of combinatorial objects of size n, without regard to order or labeling
  • Exponential generating functions (EGFs) are power series where the coefficient of the nth term represents the number of labelled combinatorial objects of size n, divided by n!
  • OGFs are used for counting problems involving unlabelled objects, while EGFs are used for counting problems involving labelled objects
  • The coefficients in an OGF grow at a slower rate compared to the coefficients in an EGF due to the absence of the n! factor in the denominator of OGFs
  • EGFs often involve the exponential function [ex](https://www.fiveableKeyTerm:ex)[e^x](https://www.fiveableKeyTerm:e^x), while OGFs typically do not

Examples and Applications

  • The OGF for the number of ways to select k items from n distinct items is (1+x)n(1 + x)^n, as the number of such selections is given by the binomial coefficient (nk)\binom{n}{k}
  • The EGF for the number of permutations of n distinct objects is given by exe^x, as the number of permutations is n! and the coefficient of the nth term is n!n!=1\frac{n!}{n!} = 1
  • OGFs can be used to solve counting problems related to integer partitions, such as the number of ways to partition a positive integer into a sum of smaller positive integers (partition function)
  • EGFs can be used to solve counting problems related to set partitions, such as the number of ways to partition a set of n labelled objects into k nonempty subsets ( of the second kind)

Exponential Generating Functions for Labelled Objects

Developing EGFs

  • To develop an EGF for a given combinatorial problem, identify the number of labelled objects of size n and divide it by n! to obtain the coefficient of the nth term
  • The EGF for the number of ways to arrange n labelled objects into k cycles is given by exkke^{\frac{x^k}{k}}, as the number of such arrangements is the unsigned Stirling number of the first kind, denoted as s(n,k)|s(n, k)|
  • The EGF for the number of ways to partition a set of n labelled objects into k nonempty subsets is given by (ex1)kk!\frac{(e^x - 1)^k}{k!}, as the number of such partitions is the Stirling number of the second kind, denoted as S(n,k)S(n, k)
  • The product of two EGFs represents the convolution of their corresponding sequences, which can be used to solve counting problems involving the principle for labelled objects

Examples and Applications

  • The EGF for the number of derangements (permutations where no element remains in its original position) of n objects is given by !ne\frac{!n}{e}, where !n!n represents the subfactorial of n
  • The EGF for the number of ways to arrange n labelled objects into an even number of cycles is given by ex+ex2\frac{e^x + e^{-x}}{2}
  • The EGF for the number of ways to partition a set of n labelled objects into an even number of nonempty subsets is given by (ex1)n+(1ex)n2n!\frac{(e^x - 1)^n + (1 - e^x)^n}{2n!}
  • The EGF for the number of involutions (permutations that are their own inverse) of n objects is given by ex+x22e^{x + \frac{x^2}{2}}

Solving Counting Problems with Generating Functions

Operations on EGFs

  • Addition of EGFs corresponds to adding the coefficients of like terms, which can be used to solve counting problems involving the sum of two or more sets of labelled objects
  • Multiplication of EGFs corresponds to the convolution of their coefficient sequences, which can be used to solve counting problems involving the multiplication principle for labelled objects
  • of EGFs, denoted as A(B(x))A(B(x)), can be used to solve counting problems where the structures being counted are composed of smaller labelled structures
  • Differentiation of an EGF A(x)A(x) with respect to x gives the EGF for the sequence {nan}\{na_n\}, where ana_n is the coefficient of the nth term in A(x)A(x)
  • Integration of an EGF A(x)A(x) with respect to x gives the EGF for the sequence {ann}\{\frac{a_n}{n}\}, where ana_n is the coefficient of the nth term in A(x)A(x)

Examples and Applications

  • The EGF for the number of ways to distribute n distinct objects into k distinct boxes, allowing for empty boxes, is given by (ex)k(e^x)^k, which is the product of k copies of the EGF for permutations
  • The EGF for the number of ways to arrange n labelled objects into cycles, where each cycle is colored with one of k colors, is given by ekxe^{kx}, which is the composition of the EGF for permutations with the function kxkx
  • The EGF for the number of ways to select a subset of size k from a set of n labelled objects, where order matters, is given by xkk!ex\frac{x^k}{k!}e^x, which is the product of the EGF for k-permutations and the EGF for permutations
  • The EGF for the number of ways to partition a set of n labelled objects into cycles, where each cycle has size at most m, is given by ex+x22+...+xmme^{x + \frac{x^2}{2} + ... + \frac{x^m}{m}}, which is the composition of the EGF for permutations with the polynomial x+x22+...+xmmx + \frac{x^2}{2} + ... + \frac{x^m}{m}

Coefficients of Exponential Generating Functions

Finding Coefficients

  • The coefficient of the nth term in an EGF can be found by expansion of the EGF around x = 0
  • The coefficient of the nth term in an EGF can also be found by taking the nth derivative of the EGF evaluated at x = 0 and dividing by n!
  • The coefficient of the nth term in the product of two EGFs can be found using the convolution formula: [xn](A(x)B(x))=k=0n(akbnk)[x^n](A(x)B(x)) = \sum_{k=0}^n (a_k * b_{n-k})
  • The coefficient of the nth term in the composition of two EGFs, A(B(x))A(B(x)), can be found using Faà di Bruno's formula, which involves partial Bell polynomials
  • Lagrange inversion formula can be used to find the coefficients of an EGF when it is given as an implicit function

Examples and Applications

  • The coefficient of the nth term in the EGF exe^x is 1n!\frac{1}{n!}, as the Taylor series expansion of exe^x is n=0xnn!\sum_{n=0}^{\infty} \frac{x^n}{n!}
  • The coefficient of the nth term in the EGF (ex1)kk!\frac{(e^x - 1)^k}{k!} is the Stirling number of the second kind, S(n,k)S(n, k), which can be found using the formula S(n,k)=1k!i=0k(1)ki(ki)inS(n, k) = \frac{1}{k!}\sum_{i=0}^k (-1)^{k-i}\binom{k}{i}i^n
  • The coefficient of the nth term in the product of the EGFs exe^x and xkk!\frac{x^k}{k!} is 1(nk)!\frac{1}{(n-k)!}, which represents the number of ways to select a subset of size k from a set of n labelled objects, where order matters
  • The coefficient of the nth term in the composition of the EGFs exe^x and x+x22+...+xmmx + \frac{x^2}{2} + ... + \frac{x^m}{m} can be found using Faà di Bruno's formula and represents the number of ways to partition a set of n labelled objects into cycles, where each cycle has size at most m
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary