Chapter 6.1 Generating Functions

Slides:



Advertisements
Similar presentations
Maths C4 Binomial Theorem.
Advertisements

Section 6.2 Calculating Coefficients Of Generating Functions
Counting Chapter 6 With Question/Answer Animations.
Lecture 17 Generating Functions. Recap Generating functions are defined by a sequence as follows: Thus: For every sequence there a generating function.
Geometric Sequences A geometric sequence (or geometric progression) is a sequence in which each term after the first is obtained by multiplying the preceding.
Ch 6 Sec 3: Slide #1 Columbus State Community College Chapter 6 Section 3 More on Solving Linear Equations.
Chapter 9 Generating functions Yen-Liang Chen Dept of Information Management National Central University.
4/5/05Tucker, Sec Applied Combinatorics, 4rth Ed. Alan Tucker Section 5.4 Distributions Prepared by Jo Ellis-Monaghan.
4/2/03Tucker, Section 5.31 How many ways to arrange the six letters b, a, n, a, n, a ? Arrangements and Selections With Repetitions Six places: __ __ __.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 25, Friday, October 31.
Exponential Generating Function
Michael Duquette & Whitney Sherman
3/26/03 Tucker, Applied Combinatorics Section General Counting Methods for Arrangements and Selections Tucker, Applied Combinatorics, Sec. 5.1,
Tucker, Section 5.41 Section 5.4 Distributions By Colleen Raimondi.
Applied Combinatorics, 4th Ed. Alan Tucker
Introduction: We are going to study a standard second order ODE called the Sturm-Liouville ODE. The solution of this ODE form a function space, or Hilbert.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
1. Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Polynomials CHAPTER 5.1Exponents and Scientific Notation 5.2Introduction.
7.4 Generating Functions Definition 1: The generation function for the sequence a 0, a 1,...,a k,... of real numbers is the infinite series G(x) = a 0.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Mathematics for Business and Economics - I
Combinations with repetitions allowed Red, green and blue cubes are given. There are at least five cubes of each of the above colors. In how many ways.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Chapter 7 With Question/Answer Animations. Section 7.1.
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
Slide 7- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
1 Section 5.5 Solving Recurrences Any recursively defined function ƒ with domain N that computes numbers is called a recurrence or recurrence relation.
1 Chapter 7 Generating functions. 2 Summary Generating functions Recurrences and generating functions A geometry example Exponential generating functions.
1 Discrete and Combinatorial Mathematics R. P. Grimaldi, 5 th edition, 2004 Chapter 6 Generating Functions.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
Chapter 7 Advance Counting Techniques. Content Recurrence relations Generating function The principle of inclusion-exclusion.
Chapter 12 – Probability and Statistics 12.2 – Permutations and Combinations.
To solve an equation with variables on both sides, use inverse operations to "collect" variable terms on one side of the equation. Helpful Hint Equations.
Series Solutions of Linear Differential Equations CHAPTER 5.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
FINDING A POLYNOMIAL PASSING THROUGH A POINT. Review: the Linear Factorization Theorem If where n > 1 and a n ≠ 0 then Where c 1, c 2, … c n are complex.
MATH 416 Equations & Inequalities II. Solving Systems of Equations Apart from the graphic method, there are three other methods we could use to solve.
Copyright © 2010 Pearson Education, Inc. All rights reserved. 4.2 – Slide 1.
CS Lecture 8 Developing Your Counting Muscles.
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
Discrete Math by R.S. Chang, Dept. CSIE, NDHU1 Chapter 9.
5.5 Generalized Permutations and Combinations
Section 6.4. Powers of Binomial Expressions Definition: A binomial expression is the sum of two terms, such as x + y. (More generally, these terms can.
Binomial Coefficients and Identities
Adding two numbers together which have the same absolute value but are opposite in sign results in a value of zero. This same principle can be applied.
Distributions. Basic Model for Distributions of Distinct Objects The following problems are equivalent: Distributing n distinct objects into b distinct.
Factoring Trinomials SWBAT: Factor Trinomials by Grouping.
Section 6.3. Section Summary Permutations Combinations.
Combinatorial Principles, Permutations, and Combinations
Section 6.2 Calculating Coefficients Of Generating Functions
The Pigeonhole Principle
Developing Your Counting Muscles
Objective The student will be able to:
Sec 5.3 – Undetermined Coefficients
Calculating Coefficients Of Generating Functions
The Binomial Theorem Objectives: Evaluate a Binomial Coefficient
CS100: Discrete structures
Review Algebra.
Numerical Analysis Lecture 16.
Chapter R Algebra Reference.
Applied Combinatorics, 4th ed. Alan Tucker
Michael Duquette & Whitney Sherman
12 Systems of Linear Equations and Inequalities.
The Binomial Theorem OBJECTIVES: Evaluate a Binomial Coefficient
Combinations with repetitions allowed
Applied Combinatorics, 4th Ed. Alan Tucker
Two hungry Math 160 students are waiting in line at Chipotle
Presentation transcript:

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

Tucker, Applied Combinatorics Sec. 6.1 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. April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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 April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 In General If You will get a factor: which continues forever April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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: Not in subset In the subset The polynomial expands to: (Generating Function) This shows that there are three ways to choose 2 objects from 3 objects. April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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 April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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. April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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 April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 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. April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

Tucker, Applied Combinatorics Sec. 6.1 Example 2 Find the generating function for ar the 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 April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1

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

Tucker, Applied Combinatorics Sec. 6.1 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. April 14, 2003 Tucker, Applied Combinatorics Sec. 6.1