Lecture 16 Generating Functions. Basically, generating functions are a tool to solve a wide variety of counting problems and recurrence relations, find.

Slides:



Advertisements
Similar presentations
The Distributive Property
Advertisements

Lecture 17 Generating Functions. Recap Generating functions are defined by a sequence as follows: Thus: For every sequence there a generating function.
1 Copyright M.R.K. Krishna Rao Solving Recurrence Relations Steps for solving a linear homogeneous recurrence relation of degree 2 : Step #1.
6.5 & 6.6 Theorems About Roots and the Fundamental Theorem of Algebra
10.1 – Exponents Notation that represents repeated multiplication of the same factor. where a is the base (or factor) and n is the exponent. Examples:
3-4 Algebra Properties Used in Geometry The properties of operations of real numbers that you used in arithmetic and algebra can be applied in geometry.
Multiplying and Dividing Real Numbers Objective: To multiply and divide real numbers.
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.
§ 4.5 Multiplication of Polynomials. Angel, Elementary Algebra, 7ed 2 Multiplying Polynomials To multiply a monomial by a monomial, multiply their coefficients.
Exponents and Polynomials
Section 5.1 Polynomials Addition And Subtraction.
1. Solve: 2x 3 – 4x 2 – 6x = 0. (Check with GUT) 2. Solve algebraically or graphically: x 2 – 2x – 15> 0 1.
Holt McDougal Algebra Completing the Square Solve quadratic equations by completing the square. Write quadratic equations in vertex form. Objectives.
Algebra 2 Chapter 6 Notes Polynomials and Polynomial Functions Algebra 2 Chapter 6 Notes Polynomials and Polynomial Functions.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Copyright © 2011 Pearson Education, Inc. Slide
Exponents An exponent is the number of times the base is multiplied by itself. Example 27 can also be written as 3 This means 3 X 3 X 3.
Do Now: Factor x2 – 196 4x2 + 38x x2 – 36 (x + 14)(x – 14)
1 Chapter 7 Generating functions. 2 Summary Generating functions Recurrences and generating functions A geometry example Exponential generating functions.
Chapter 5: Polynomials & Polynomial Functions
Polynomials P4.
Chapter 7 Advance Counting Techniques. Content Recurrence relations Generating function The principle of inclusion-exclusion.
Chapter 3 Section 3.3 Real Zeros of Polynomial Functions.
01 Polynomials, The building blocks of algebra College Algebra.
1 2.6 – Limits Involving Infinity. 2 Definition The notation means that the values of f (x) can be made arbitrarily large (as large as we please) by taking.
Polynomials. The Degree of ax n If a does not equal 0, the degree of ax n is n. The degree of a nonzero constant is 0. The constant 0 has no defined degree.
Beginning Algebra 5.1 The Greatest Common Factor and Factoring by Grouping.
5.1&5.2 Exponents 8 2 =8 8 = = = 16 x 2 = x xx 4 = x x x xBase = x Exponent = 2Exponent = 4 Exponents of 1Zero Exponents Anything to the.
Analyzing Patterns when Multiplying Polynomials Carol A. Marinas, Ph.D.
Multiply two binomials using FOIL method
Calculus Chapter One Sec 1.5 Infinite Limits. Sec 1.5 Up until now, we have been looking at limits where x approaches a regular, finite number. But x.
Ch 9 – Properties and Attributes of Functions 9.4 – Operations with Functions.
§ 6.6 Solving Quadratic Equations by Factoring. Martin-Gay, Beginning and Intermediate Algebra, 4ed 22 Zero Factor Theorem Quadratic Equations Can be.
Definition of Limit, Properties of Limits Section 2.1a.
Holt McDougal Algebra Multiplying Polynomials Multiply polynomials. Use binomial expansion to expand binomial expressions that are raised to positive.
1.(-7) (-2) 2.(3)(-6) 3.(4)(5) 4.(-3) (4t) 5.(2)(-2x) 6.(7y)(3) 7.3(s+5) 8.4(-n+2) 9.4-(t+2) 10.3n+(2-n) Algebra S9 Day 21.
Objective The student will be able to: multiply two polynomials using the distributive property.
Factoring Trinomials SWBAT: Factor Trinomials by Grouping.
Quadratic Equations Lesson 4-5 Part 1
P.3 Polynomials and Special Products Unit P:Prerequisites for Algebra 5-Trig.
Multiply two binomials using FOIL method
CHAPTER R: Basic Concepts of Algebra
Solving Quadratic Equations by Factoring
Polynomials.
Module 3.3 Factoring.
Factoring Polynomials
Objectives Solve quadratic equations by factoring.
2.5 and 2.6 Properties of Equality and Congruence
Copyright © Cengage Learning. All rights reserved.
Limits of Functions.
Multiplying Binomials and Special Cases
Generating Functions II
Notes 5.6 (Day 1) Find Rational Zeros.
Section 3.4 Zeros of Polynomial Functions
Algebra II September 8, 2005.
Complex Numbers Real Numbers Imaginary Numbers Rational Numbers
1.2/1.3 Limits Grand Teton National Park, Wyoming.
Apply the Fundamental Theorem of Algebra
Multiplying Polynomials Using Algebra Tiles
Multiplying and Factoring
Multiplication of Polynomials
Lecture 37 Section 7.2 Tue, Apr 3, 2007
Miniconference on the Mathematics of Computation
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
2 Chapter Chapter 2 Equations, Inequalities and Problem Solving.
Lesson 4: Solving Inequalities
Integer Practice plus Distributive Property with Binomials
Using the Distributive Property to Simplify Algebraic Expressions
Algebra and Indices.
Copyright © Cengage Learning. All rights reserved.
Presentation transcript:

Lecture 16 Generating Functions

Basically, generating functions are a tool to solve a wide variety of counting problems and recurrence relations, find moments of probability distributions and much more. The idea is to associate with any sequence {an} a function defined as follows: - For finite sequences of order n we simply set all terms higher than n to 0. - Example: G(x) for 1,1,1,1,1 = 1+x+x^2+x^3+x^4+x^5=(x^6-1)/(x-1) (x not 1) where we used the result:

GF For the binomial coefficients we already know that: Therefore: (x+1)^m is the generating function for the binomial coefficients a[1]...a[m] with a[k]=C(m,k).

Some Useful G(x) Take a=1, x<1 and take the limit n  infinity Therefore: 1/(1-x) is the generating function for the sequence 1,1,1,1,1,..... Now write y=(ax)  Therefore 1/(1-ax) is the generating function of 1, a, a^2, a^3,...

Algebra on G(x) If we have two generating functions F(x) and G(x), we define the sum and product as follows: Match all terms with equal powers in x. (a0+a1x+a2x^2)(b0+b1x+b2x^2)= (a0b0) + (a0b1+a1b0)x + (a0b2+a1b1+a2b1)x^2 + (a1b2+a2b1)x^3 + (a2b2)x^4

GF Example why multiplying generating functions is useful: F(x)=1/(1-x)^2 = 1/(1-x) 1/(1-x) both have generating functions: 1+x+x^2+...

Extended Binomial Coefficients What is new is that u is now any real number. Note that for u positive integers, the definition is the same as C(u,k). Example: EC(-2,3) = (-2)(-3)(-4) / 3! = -4. EC(0.5,3)=(0.5)(-0.5)(-1.5) / 3! = 1/16 Note that: EC(m,k) with k>m we have: m(m-1)(m-2)...(m-m)(m-m-1)...(m-k+1)=0 but this is not true when m is not an integer!

Extended Binomial Theorem Handy property of extended Binomial coefficients: notation: () notation is for extended BC, while C() is only for ordinary BC!