1 / 12

Chapter 6.1 Generating Functions

Chapter 6.1 Generating Functions. By: Patti Bodkin Sarah Graham Tamsen Hunter Christina Touhey. Definitions:. Generating Function: a tool used for handling special constraints in selection and arrangement problems with repetition.

Jims
Download Presentation

Chapter 6.1 Generating Functions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 6.1Generating Functions By: Patti Bodkin Sarah Graham Tamsen Hunter Christina Touhey

  2. Definitions: • Generating Function: a tool used for handling special constraints in selection and arrangement problems with repetition. • Suppose ar is the number of ways to select r objects from n objects. • G(x) is a generating function for ar • The Polynomial expansion of G(x) is • Power Series: A function may have an infinite number of terms. Tucker, Applied Combinatorics Sec. 6.1

  3. The generating function for a Power Series has a closed form since, expands to be: This is the generating function of any ar. Since this is the coefficient of xr in the generating function Tucker, Applied Combinatorics Sec. 6.1

  4. In General • If • You will get a factor: • If • You will get a factor: which continues forever Tucker, Applied Combinatorics Sec. 6.1

  5. Not in subset In the subset From this set, let’s choose a subset, for example, 2 out of the 3 objects. For this subset we have 3 possibilities, or or . These subsets can be represented like this: The polynomial expands to: (Generating Function) This shows that there are three ways to choose 2 objects from 3 objects. Tucker, Applied Combinatorics Sec. 6.1

  6. Example 1 • Find the generating function for ar, the number of way to select r balls from a pile of three green, three white, three blue, and three gold balls. • This is modeled as the number of integer solutions to Tucker, Applied Combinatorics Sec. 6.1

  7. Example 1 (cont) • Here represents the number of green balls chosen, the number of white, blue and gold. • We want to construct a product of polynomial factors that when multiplied out formally, has the form with each exponent ei between 0 and 3, because there are 3 balls of each color. • So, we need four factors, each containing an “inventory” of the powers of x from which is chosen. • Each factor should be of the form . • Where, if this factor represent the green balls chosen, • means no green balls were chosen • means one green ball was chosen • means two green balls were chosen • means all three green balls were chosen. Tucker, Applied Combinatorics Sec. 6.1

  8. Example 1 (cont) • Because there are four different colors, each color should have its own factor. • Therefore the generating function is: • Which expands out to Tucker, Applied Combinatorics Sec. 6.1

  9. Example 1 (cont).Let’s suppose we modify the original question so that we are going to pick 6 balls. • We can use this equation to find out how many ways there are to pick 6 balls. • Since each coefficient represents the number picked, we use the coefficient of 6. (44 ways). • Think about what goes into getting a factor of • Can have any combination, such as 2 greens, 3 blues, 1 gold: • represents that combination. Tucker, Applied Combinatorics Sec. 6.1

  10. Example 2 • Find the generating function for arthe number of ways to distribute r identical objects into five distinct boxes with an even number of objects not exceeding 10 in the first two boxes, and between 3 and 5 in the other boxes. • Model the solution like this: • Then transform these into a polynomial for each factor. For example, • The generating function is Tucker, Applied Combinatorics Sec. 6.1

  11. Class Problem 1: • Build a generating function for ar, the number of integer solutions to the equation: Tucker, Applied Combinatorics Sec. 6.1

  12. Class Problem 2: • Build a generating function for ar, the number of r selections from a pile of: • Five Jelly beans, three licorice sticks, eight lollipops with at least one of each candy. Tucker, Applied Combinatorics Sec. 6.1

More Related