Math 155 (Lecture 3)

Similar documents
Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) =

Week 5-6: The Binomial Coefficients

MT5821 Advanced Combinatorics

Math 475, Problem Set #12: Answers

(ii) Two-permutations of {a, b, c}. Answer. (B) P (3, 3) = 3! (C) 3! = 6, and there are 6 items in (A). ... Answer.

Complex Numbers Solutions

1. n! = n. tion. For example, (n+1)! working with factorials. = (n+1) n (n 1) 2 1

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

Section 5.1 The Basics of Counting

Enumerative & Asymptotic Combinatorics

REVIEW FOR CHAPTER 1

arxiv: v1 [math.co] 23 Mar 2016

Bertrand s Postulate

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients:

An Introduction to Randomized Algorithms

MT5821 Advanced Combinatorics

Let us consider the following problem to warm up towards a more general statement.

CALCULATION OF FIBONACCI VECTORS

Combinatorics and Newton s theorem

Course : Algebraic Combinatorics

Course : Algebraic Combinatorics

Infinite Sequences and Series

CIS Spring 2018 (instructor Val Tannen)

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

Axioms of Measure Theory

Math 4400/6400 Homework #7 solutions

Introduction To Discrete Mathematics

Chapter 1 : Combinatorial Analysis

Exercises 1 Sets and functions

LINEAR ALGEBRAIC GROUPS: LECTURE 6

1 Generating functions for balls in boxes

The Binomial Theorem

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

Homework 9. (n + 1)! = 1 1

4.3 Growth Rates of Solutions to Recurrences

Injections, Surjections, and the Pigeonhole Principle

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Review Problems 1. ICME and MS&E Refresher Course September 19, 2011 B = C = AB = A = A 2 = A 3... C 2 = C 3 = =

Chapter 6. Advanced Counting Techniques

1 Counting and Stirling Numbers

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

Series: Infinite Sums

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

3 Gauss map and continued fractions

The Random Walk For Dummies

CHAPTER 5. Theory and Solution Using Matrix Techniques

David Vella, Skidmore College.

MATH 304: MIDTERM EXAM SOLUTIONS

Enumerative & Asymptotic Combinatorics

COMPUTING SUMS AND THE AVERAGE VALUE OF THE DIVISOR FUNCTION (x 1) + x = n = n.

2.4 - Sequences and Series

Chapter 4. Fourier Series

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Lecture Notes for CS 313H, Fall 2011

SEQUENCES AND SERIES

4 The Sperner property.

Mathematical Induction

If a subset E of R contains no open interval, is it of zero measure? For instance, is the set of irrationals in [0, 1] is of measure zero?

Topic 5: Basics of Probability

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22

6.3 Testing Series With Positive Terms

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

SOLVED EXAMPLES

14 Classic Counting Problems in Combinatorics

Random Models. Tusheng Zhang. February 14, 2013

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST. First Round For all Colorado Students Grades 7-12 November 3, 2007

Generating Functions. 1 Operations on generating functions

Basic Counting. Periklis A. Papakonstantinou. York University

P1 Chapter 8 :: Binomial Expansion

CHAPTER I: Vector Spaces

Legendre-Stirling Permutations

BINOMIAL COEFFICIENT AND THE GAUSSIAN

Linear chord diagrams with long chords

Measure and Measurable Functions

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

Is mathematics discovered or

Generating Functions

( ) GENERATING FUNCTIONS

Math 4707 Spring 2018 (Darij Grinberg): homework set 4 page 1

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4.

Math 172 Spring 2010 Haiman Notes on ordinary generating functions

Math 5705: Enumerative Combinatorics, Fall 2018: Homework 3

Discrete Math Class 5 ( )

REGULARIZATION OF CERTAIN DIVERGENT SERIES OF POLYNOMIALS

2.4 Sequences, Sequences of Sets

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Lecture 10: Mathematical Preliminaries

Section 6.4: Series. Section 6.4 Series 413

SNAP Centre Workshop. Basic Algebraic Manipulation

Lecture notes for Enumerative Combinatorics

Intermediate Math Circles November 4, 2009 Counting II

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

Sequences. Notation. Convergence of a Sequence

Permutations, Combinations, and the Binomial Theorem

Transcription:

Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,, }? The aswer to this questio is deoted by (, which is typically read as choose To obtai a formula for (, we first cosider a differet coutig problem: how may ways are there to choose a sequece of distict elemets of the set {,, }? I other words, how may ijective fuctios f are there from the set {,, } to the set {,,, }? This is easy to determie: there are possible values for f(), ( ) possible values for f(), ad so forth, so the umber of such fuctios is give by ( )( ) ( + ) = ( )( ) (3)()() ( ( ) (3)()() =! (! Of course, this is differet from the aswer to Questio, because we are coutig ordered sequeces of legth, rather tha elemet subsets Every elemet subset of {,,, } ca be ordered i precisely! differet ways We therefore obtai the idetity! ( ) =! (!, or ( )! =!(! Remar The above formula maes sese for ; we obviously have ( = for > Let us ow cosider aother method of determiig the itegers (, which proceeds ot by coutig directly but istead by establishig a recurrece relatio Let X, deote the collectio of all subsets of {,, } havig size, so that X, = ( We ca partitio the set X, ito two subsets Let X +, deote the collectio of all -elemet subsets of {,, } which cotai the iteger Such a subset is give by the uio of {} with a ( )-elemet subset of {,, } It follows that ( ) X +, = X, = Let X, deote the collectio of -elemet subsets of {,, } which do ot cotai the iteger We the have X, = X,, so that ( ) X, = We therefore have at least for > ( ) ( ) = X, = X +, + X, = + ( ),

Exercise 3 Prove the idetity ( ) ( = ) ( + ) ( directly from the formula ) =! It may be istructive to orgaize the itegers ( ito a table ( )!(! ( ) ( ) ( ) ( ) ( ) ( 3 3) ( 4 3 4), which is called Pascal s triagle The recurrece relatio ( ) ( = ( ) + dictates how to fill this table i: each etry is the sum of the two etries diagoally above it More specifically, we obtai 3 3 4 6 4, Let s ow see what we ca lear usig the method of geeratig fuctios itroduced i the last lecture Fix a iteger, ad defie a power series F (x) by the formula F (x) = ( ) x Sice ( = for >, this is actually a fiite sum: that is, F (x) is a polyomial fuctio of x For

example, whe =, we obtai F = For >, we ca use our recurrece relatio to obtai F (x) = ( ) x = ( ) x + ( ) x = x( ( ) x l + ( ) x l = (x + )F (x) It follows that F (x) = (x + ) Now tae variables y ad z, ad write (y + z) = y ( + z y ) = y F ( z y ) = y ( ) ( z y ) = ( ) y z This is a idetity of polyomials, ad therefore remais valid after substitutig ay umbers we lie for y ad z We have prove: Theorem 4 (Biomial Theorem) For ay quatities y ad z (belogig to the itegers, or to the real umbers, or more geerally ay commutative rig) ad ay, we have (y + z) = ( ) y z Because of Theorem 4, the itegers ( are ofte called biomial coefficiets I the last lecture, we metioed that geeratig fuctios should geerally be viewed as formal power series: that is, we geerally do ot care whether or ot they coverge However, we ca sometimes get iformatio by evaluatig a geeratig fuctio at a poit Let us close this lecture by givig a illustratio of this priciple Questio 5 Fix a iteger Compute the sum ( We ow describe a few differet approaches to this questio First, let s use the method of geeratig fuctios Let F (x) be defied as above, so that ( is the coefficiet of x i F (x) Let F (x) deote the derivative of F (x), so that the coefficiet of x i F (x) is ( ) It follows that ( is the sum of the coefficiets of the polyomial F (x): that is, it is the iteger F () We saw above that F (x) = (x+) It follows that F (x) = (x + ), so that F () = Let us ow try to arrive at the same aswer by combiatorial meas The idea is to iterpret ( ) as the solutio to a coutig problem Questio 6 Suppose we are give a group of people How may ways are there to select a committee (that is, a subset of the collectio of people) together with a leader of that committee (who we require belogs to the committee) Let s try aswer Questio 6 i two differet ways Suppose first that we are iterested i committees of size I this case, there are ( choices for the members of the committee, ad choices for its leader: a total of ( choices i all The aswer to Questio 6 is the give by summig over : that is, by ( Here is aother way to solve the coutig problem posed i Questio 6 First, there are choices for the leader of the committee Oce the leader is fixed, the remaiig people ca each be assiged to the committee or ot, for a total of choices We ca therefore give as a aswer to Questio 6 We coclude that ( ) = 3

Let us describe oe more way of arrivig at the aswer The idea is to iterpret the sum appearig i Questio 5 ot the solutio to a coutig problem, but as the solutio to a expected value problem Questio 7 Suppose that a subset S of {,, } is chose at radom What is the expected umber of elemets of S? The aswer is evidetly O the other had, we ca compute the aswer as S {,,} S Here there ( terms i the umerator where the associated summad is, so we ca rewrite the umerator as ( ) We therefore obtai ( ) = = Recall that a deragemet of the set {,, } is a permutatio of {,, } with o fixed poits: that is, a permutatio π such that π(i) i for all i Let s begi with the followig questio: Questio 8 How may deragemets are there of the set {,, }? permutatio chose at radom is a deragemet? What is the probability that a To fix ideas, let D deote the umber of deragemets of the set {,, } We have D = (the idetity permutatio of the empty set has o fixed poits), D = (the idetity permutatio of {} does have a fixed poit), D = (there is a uique deragemet of {, }, give by the o-idetity permutatio), D 3 = (the deragemets of the set {,, 3} are precisely the cyclic permutatios) Our goal ow is to obtai a formula for the itegers D As a startig poit, we ow that the total umber of permutatios of the set {,, } is! We therefore have! = D + X, where X is the set of permutatios of {,, } which have at least oe fixed poit I fact, we ca say somethig more refied For >, let X deote the collectio of all permutatios of {, } havig exactly fixed poits The X ca be writte as the disjoit uio of the subsets X, X,, X We therefore have! = D + X + X + X 3 + + X Remar 9 We ca write this equatio more aturally as! = X + X + + X, where X deotes the set of permutatios with o fixed poits: that is, the set of deragemets To determie D from the above formula, we eed to ow how big the sets X are How ca we describe a permutatio π with exactly fixed poits? First, we eed to specify which elemets of {,, } are fixed poits of π: there are ( possibilities for this i all Secod, we eed to specify what our permutatio does o the remaiig elemets This restricted permutatio must be fixed poit free (otherwise, π would have more tha fixed poits), so the umber of choices is give by D We therefore obtai the formula ( ) X = D so that our earlier equatio reads! = ( ) D 4

Usig our formula for the biomial coefficiets ( ) =!!(!, we see that both sides of this expressio are divisible by! Dividig out, we get = D!(! The aalysis above gives a series of equatios (oe for each ) which ca be used to successively solve for the itegers D Rather tha treatig all of these equatios separately, it will be coveiet to thi about them all at oce, usig the method of geeratig fuctios For this, let us itroduce a formal variable x Multiplyig our previous equatio by x, we get x = D x!(! Summig over all, we obtai a idetity of formal power series x = D x!(! It is ow coveiet to rearrage the sum o the right had side: ote that givig a iteger ad aother iteger betwee ad is equivalet to givig a pair of oegative itegers ad l, with = +l We therefore obtai x =,l D l x +l! The right had side of this expressio factors as a product ( x! )( l =,l ) x! The first factor should be familiar: it the power series expasio for the expoetial fuctio e x Let us itroduce a otatio for the secod factor: F (x) = l = + x + x3 3 + The power series F (x) is called the expoetial geeratig fuctio for the sequece of itegers {D l } l It differs from the geeratig fuctios we have met so far because of the additio of a auxiliary factor of o the coefficiet of x l We ca ow rewrite our equatio as x = ex F (x), which is easy to solve: we get F (x) = e x x 5