MA3210 Lecture 8: The Pigeonhole Principle I 1

Size: px
Start display at page:

Download "MA3210 Lecture 8: The Pigeonhole Principle I 1"

Transcription

1 MA30 Lecture 8: The Pigeohole Priciple I Erik E. Westlud The Pigeohole Priciple (simple: If +, or more objects are placed ito boxes, the at least oe box will cotai two or more objects. Proof. If ot, the maximum umber of objects is a cotradictio. {}}{ < +, Note: we do t kow which box cotais more tha elemets, oly that oe exists. (No-costructive existece proof. Also called Dirichlet drawer priciple or Shoebox priciple. Ex. Amog ay group of 367 people, there are at least two with the same birthday. Ex. At ay give time, there are at least two people i Califoria who were bor o the same secod of the year. There are (365(4(60(60 3,536,000 secods ad at least 36,000,000 people i Califoria. Ex. At ay give time, there are at least two people i Lodo that have the exact same umber of hairs o their heads. Roughly 5,000 hairs o average head, so i o case more tha,000,000 hairs. Lodo has more tha,000,000 people. Ex. You eed oly select + people out a set of married couples to guaratee a married couple has bee selected. There exists o ijectio ϕ : A B o fiite sets such that the codomai is smaller tha the domai. If A B ad ϕ is ijective, the ϕ is surjective, i.e., If objects are put ito boxes ad o box gets more tha oe object, the each box has a object i it. If A B ad ϕ is surjective, the ϕ is ijective, i.e., If objects are put ito boxes ad o box is empty, the each box has a object i it. Updated: May 6, 009.

2 Ex. Does there exist a perfect cover of a chessboard prued by cuttig out two diagoally opposite corers? Solutio. There are a total of 6 squares, w.l.o.g., 3 black ad 30 white. Let A be the black ad B be the white squares. Each domio covers both a black ad white square. The domioes iduce a - correspodece betwee white ad black squares. But Pigeohole forbids a ijectio ϕ : A B. Ex. Durig a 30-day moth, a baseball team plays at least game a day, but o more tha 45 games. Prove that there exists a successio of cosecutive days durig which the team will have played exactly 4 games. Proof. Let a j # games played o or prior to j th day. a, a,..., a 30 is a icreasig sequece of distict positive itegers ad a j 45 for j 30. Also, a + 4, a + 4,..., a is a icreasig sequece of distict positive itegers, where 5 a j The elemets of the 60-set {a,..., a 30, a + 4,..., a } are all less tha or equal to 59. By Pigeohole Priciple, i, j with i, j 30 such that a i a j + 4, i.e., exact 4 games where played from day j + to day i. Ex. Prove that amog ay + positive itegers ot exceedig, there must be a iteger that divides oe of the others. Proof. Let {a, a,..., a + } Z, where a i for i +. Factor out as may s as possible, i.e., a j k j q j, where k j Z + ad q j is odd. Clearly, {q,..., q + } are odd positive itegers ad q j <. As there are oly odd positive itegers less tha, by the Pigeohole Priciple, q i q j q for some i, j, so that a i k i q ad a j k j q. If k i < k j a i a j ad if k j < k i, the a j a i. (Note: this is optimal i the sese that havig chose oly 0 itegers ot exceedig 0 0, e.g., {,, 3, 4, 5, 6, 7, 8, 9, 0}, the o iteger divides oe of the others. With itegers, we are guarateed oe that divides the other.

3 Ex. The Chiese Remaider Theorem (simple: if m ad are relatively prime positive itegers, the x Z + such that x a (mod m ad x b (mod. (I fact, x is uique modulo m. E.g., If m 4, 9, the gcd(4, 9. Pick a 3 ad b, the a x that satisfies x 3 (mod 4 ad x (mod 9 is x. Proof. Cosider S {a, m + a, m + a,..., ( m + a}. If for some 0 i < j <, we have im + a jm + a r (mod im + a q i + r ad jm + a q j + r, so that (j im (q i q j (j im (j i, as gcd(, m. But 0 < j i, so (j i, a cotradictio, hece all elemets i S must have differet remaiders whe divided by. Hece, by Pigeohole Priciple, each of 0,,..., occurs as a remaider, ad so b is a remaider. Let x q k m + a be the umber that has b as its remaider. Hece, x p + b, so that x a (mod m ad x b (mod. Ex. Let {(x i, y i, z i : i 9, ad x i, y i, z i Z} be a set of ie poits i xyz-space. Prove that the midpoit of at least oe pair of poits also has iteger coordiates. Proof. Let (x i, y i, z i ad (x j, y j, z j be two poits where i < j 9. The midpoit has coordiates (xi + x j, y i + y j, z i + z j. These will be iteger coordiates if ad oly if x i, x j have same parity, y i, y j have same parity, ad z i, z j have same parity. There are 3 possible triples for parity, e.g. (Eve, Odd, Odd or (Eve, Odd, Eve, etc. By Pigeohole, at least two poits must have the same parity triple. Ex. I a room with 0 people, whose ages (i whole umbers are betwee ad 60 iclusive, prove that we ca always fid two disjoit groups of people whose ages sum to the same umber. Proof. There are 0 03 ways to select a o-empty subset of 0 people. The largest the age sum ca be is , thus by Pigeohole, at least two groups must have the same age. If they itersect, remove the commo people, to get disjoit sets with the same age sum. 3

4 MA30 Lecture 9: The Pigeohole Priciple II Erik E. Westlud Pigeohole Priciple (Strog. For some positive itegers, q, q,..., q, if q + q + + q + objects are placed ito boxes, the either the first box cotais at least q objects,..., or the th box cotais at least q objects. Proof. If ot, the we have o more tha (q i objects total, a cotradictio. i If q i for all i, we get the Pigeohole Priciple (Simple. If q i r for all i, we get the Geeralized Pigeohole Priciple: if (r + objects are placed ito boxes, the at least oe box will cotai at least r objects. Alteratively, if D objects are placed ito boxes, the at least oe box will cotai at least D/ objects. Proof. If ot, the the umber of objects is at most ( (( D D < + D (We ca get the Geeralized Pigeohole Priciple by settig D (r +. Ex. Amog 00 people, there are at least 00/ 9 that were bor o the same moth. Ex. What is the least umber of area-codes eeded to guaratee that the 5 millio phoes i a state have distict umbers (NXX-NXX-XXXX where N {,..., 9}? There are (8(0 6 8, 000, 000 umbers of the form NXX-XXXX. Therefore, at least 5, 000, 000/8, 000, of them are idetical, so we eed at least 4 area codes. Updated: May 6, 009.

5 Ex. Suppose I have 7 blue ad black socks i my drawer, it s completely dark, ad I eed to pack for a coferece. What is the miimum umber of socks I eed to take out the drawer to guaratee I have ( at least oe matchig pair? ( six socks of oe color? (3 six black socks? (4 three matched pairs (possibly icludig pairs of each color? ( I eed to pick at least three. ( I eed to pick D (r + objects so some box gets at least r 6, thus D (5 + socks. (3 Pigeohole does t apply, so we take worst-case sceario, i.e. all 7 blue socks are chose. Thus, we eed 3 socks draw. (4 Three socks gets oe matched pair, aother three gets aother matched pair. The two leftovers may ot be matched, so we eed a seveth sock. Ramsey Theory. I every group of 6 people, there are always at least three people who all kow each other, or all do t kow each other. Proof. Let P A, B, C, D, E, F be the people. Out of {B, C, D, E, F } either three or more kow A or three or more do t kow A. (Puttig D 5 objects ito boxes, at least oe box cotais 5/ 3 objects. If, say B, C, D kow A ad ay pair kow each other, the we re doe. Otherwise, B, C, D are three o-aquaitaces. If a, a,..., a N is a sequece of legth, the a i, a i,..., a ik is a subsequece, provided that i < i < < i k N, ad is icreasig if a i a i a ik or decreasig if a i a i a ik. Ex. Every sequece of + real umbers cotais either a icreasig subsequece or a decreasig subsequece of + umbers. E.g. 8,, 9,, 4, 6,, 0, 5, 7 is a sequece of real umbers., 4, 6, is a icreasig subsequece,, 9, 6, 5 is a decreasig subsequece. Proof. Let a, a,..., a + be a sequece ad let m k be the legth of the logest icreasig subsequece that starts with a k : a k a i a i a imk,

6 where k +. If m k +, for some k, we re doe. Otherwise, suppose that k +, we have m k. By Pigeohole Priciple, at least + of the umbers m, m..., m + are equal, call them m k m k m k+, where k < k < < k + +. If for some i, we have a ki < a ki+, the m ki > m ki+, a cotradictio. Hece, a ki a ki+, so that a k a k a k+ is a decreasig subsequece of legth +. 3

7 MA30 Lecture 6: The Multiomial Theorem ad Newto s Biomial Theorem Erik E. Westlud Goal: establish a geeralizatio of the Biomial Theorem to multiomials. Recall: The Biomial Theorem, for N, ( ( (x + y x i y i x i y i i i i0 But, what about expadig (x + y + z? (x + x + x k? i0 i0 ( x i y i i Revisit permutatios of multisets: if S { s, s } is a multiset of two differet types, the for +, the # of permutatios of S is ( (!!!!!(!. I.e., ( is the # of -subsets of a -set, ad the # of permutatios of S. If,,..., k are o-egative itegers, ad k, the the multiomial coefficiet is: (! k!! k!. ( ( ( ( E.g., for, k N, +. k k k k k k k Therefore, the Biomial Theorem may be rewritte as (x + y ( x y + Pascal s Formula for Multiomial Coefficiets:, k,,,..., k N, where + + k, we have ( k ( k i i i+ k i Updated: Jue 9, 009.

8 Proof. k ( i i i+ k i k i k i (!! i!( i! i+! k! i (!! i! k! (!!! k! k i (!!! k!!!! k! i Ex. Expad (x + x + x 3 out ad combie like terms. (x + x + x 3 (x + x + x 3 x + x + x 3 + x x + x x 3 + x x 3 The Multiomial Theorem. Let, k Z,, k. The for all x, x,..., x k, ( (x + x + + x k x x x k k, k where i N for all i k. + + k Iductive Proof. Too complicated. Double iductio o k ad, or iductio ad use of multi-idex otatio. For a fixed k, say k 3, we ca use repeated applicatio of The Biomial Theorem. Here s the idea: (x + x + x 3 ((x + x + x 3 ( (x + x x 3 + Applyig the Biomial Theorem agai to (x + x, (x + x + x 3 ( [ ( k k + k +k Pullig everythig ito the iterior sum, ( ( x k k k xk x 3 + k +k k +k + ( x k xk k k ] x 3 x k xk x 3

9 Combiatorial Proof. Write (x + + x k as the product of factors: (x + + x k (x + + x k (x + + x k (x + + x k }{{} terms Every moomial is formed by selectig oe of the x i s from each of the terms. Hece, we form k moomial terms, ad each term ca be arraged i the form x x x k k, where i N, ad + + k. A arbitrary moomial term is obtaied by pickig x i of the factors, x i of the remaiig factors,..., ad x k i k of the remaiig k k factors. Thus, the # of ways to do this is: ( ( ( k k!!! k!. Ex. Fid the expasio of (x + x + x 3 3 usig the Multiomial Theorem. (x + x + x ( 3 3 x x x 3 3 The total # of terms is The # of distict moomials x x x 3 3 is equivalet to the umber of o-egative itegral solutios to , for which there are ( ( ( x 3 + 3x x + 3x x 3 + 3x x + 6x x x 3 + 3x x 3 + x 3 + 3x x 3 + 3x x 3 + x

10 Ex. What is the coefficiet of x x x 5 x 0 6 i the expasio of (x + x + x 3 + x 4 + x 5 + x 6 + x 7 5? Now, x x x 5 x 0 6 x x x 0 3x 0 4x 5x 0 6 x 0 7, so the coefficiet is ( 5 5! 4, 46, 857, !!!0! There are a total of 7 5, 34, 068, 69, 663, 964, 900, 807 terms. Ex. What is the coefficiet of x x x 3x 5 i the expasio of Note: (x 3x + 5x 3 + x 4 x 5 7? (x 3x +5x 3 +x 4 x 5 7 ( Hece, the coefficiet is: ( 7 ( , If r R, ad k Z, the defie r(r (r k+ ( r k! if k if k 0 k 0 if k (x ( 3x (5x 3 3 x 4 4 ( x 5 5 The expressio r(r (r k + is a fallig factorial, deoted (r k. Pascal s formula holds for geeral ( r k as well, e.g., ( 5 (5 (5 (5 ( ( ! 3 Right aroud the time the Black Plague was ragig i Lodo, Isaac Newto ( geeralized the Biomial Theorem as follows: Geeralized Biomial Theorem. If α, x, y R, where x < y, the ( α (x + y α x k y α k k k0 4

11 Equivaletly, if z x/y, the (x + y α y α (z + α, ad so for ay z R, with z <, we have ( α ( + z α z k k Proof Sketch. Form the Taylor series cetered at z 0 for f(z ( + z α (as f(z has derivatives at all orders at z 0 usig k0 f (k (0 z k + αz + k! k0 α(α z +! α(α (α z 3 + 3! Usig the Ratio Test, it ca be show f has radius of covergece R, i.e. the Taylor series for f coverges to some fuctio o (,. Use Taylor s Theorem to show it actually coverges to f o this iterval. Hece, as z <, we are iside the radius of covergece, ad the result holds. Ex.. ( + 0. /, ad as z 0. <, we have ( 0.5. (0. k + 0. k (0. + (0.3 ( k0 If α, for some Z +, the for all z < ( + z ( z k k k0 ( ( ( k + z k k! k0 ( k (( + ( + k z k k! k0 ( + k ( k z k k ( + z k0 A few useful corollaries, for z < ( z ( z ( + k z k k k0 + Updated: Jue 9,

12 + z ( k z k z + z z 3 + z 4 k0 z z k + z + z + z 3 + z 4 + k0 The last two are ifiite geometric series, ad recall for a, r 0, ad r <, we have ar i a + ar + ar + ar 3 + a r. i0 6

13 MA30 Lecture 7: The Priciple of Iclusio-Exclusio Erik E. Westlud How may elemets are i A B? If A B, the A B A + B. What if A B? Clearly, A + B will cout the elemets i A B two times, hece, A B A + B A B Ex. A discrete mathematics class cosists of 5 math majors, 3 c.s. majors, ad 8 joit math/c.s. majors. If every studet i the class is either a math major, c.s. major, or joit major, how may studets are i the class? Let A : { math majors} ad B : { c.s. majors}. We seek A B. A B A + B A B Ex. How may positive itegers ot exceedig 000 are divisible by 7 or? Let A : {x Z + : x 000, 7 x} ad B : {x Z + : x 000, x}. We seek A B. Now, A , B , ad if 7 x ad x, the lcm(7, x 77 x, i.e. A B Therefore, A B Ex. Suppose there are,807 freshme at your school. Of these, 453 are takig a course i C.S., 567 are takig a course i Math, ad 99 are takig courses i both C.S. ad Math. How may freshme are ot takig a course i either Math or C.S.? Let A : { freshme i a Math course}, B : { freshme i a C.S. course}, so that A 567, B 453, ad A B 99. We seek A B A B, the umber of freshme either i A or B. By Subtractio Priciple, A B S A B S A B + A B If A ad A are subsets of objects of S havig properties P ad P, respectively, the A A is the subset of objects havig both properties, ad A A is the subset of objects havig either property. A A A A S A A + A A Updated: Jue 9, 009.

14 What about A A A 3? What about A A A k? The sum A + A + A 3 couts objects i exactly oe of the three sets oce, i exactly two of the three sets twice, i all three sets three times. The sum A + A + A 3 A A A A 3 A A 3 couts objects i exactly oe of the three sets oce, i exactly two of the three sets oce, i all three sets zero times. Fially, we add back i the elemets i all three sets. A A A 3 A + A + A 3 A A A A 3 A A 3 + A A A 3. Ex. 3 studets have take a course i Spaish (S, 879 have take a course i Frech (F, ad 4 have take a course i Russia (R. Further, 03 have take S ad F, 3 have take S ad R, ad 4 have take F ad R. If 09 studets have take at least oe course i S, F, or R, how may studets have take a course i all three? Note, S 3, F 879, ad R 4, ad S F 03, S R 3, ad F R 4. Also, S F R 09, so S F R S F R 7. Ex. Fid the umber of itegers betwee ad 0,000 that are either perfect squares or perfect cubes. Let A {x Z : x 0000, x y y Z}, the set of perfect squares. Let A {x Z : x 0000, x y 3 y Z}, the set of perfect cubes. As , the squares of the umbers {,,..., 00} are less tha 0,000, so A 00. Likewise, as 3 96, ad 3 0, 648, the cubes of the umbers {,,..., } are all less tha 0,000, so A. Now, if x A A, the x y z 3, for some y, z Z, ad so x t 6, ad so x is a perfect 6 th power. As , ad 5 6 5, 65, the 6 th powers of the umbers {,, 3, 4} are all less tha 0,000, i.e., A A 4. Hece, there are itegers of the required form.

15 The Priciple of Iclusio-Exclusio. Let A, A,..., A m be fiite sets. The, A A A m A i A i A j + A i A j A k i m i<j m i<j<k m + ( m+ A A A m Proof. Let a A A A m ad suppose that a is a member of exactly r of the sets A i, where r m. Now, i evaluatig the summatios o the RHS, we see a is couted ( r times i i m A i, a is couted ( r times i i<j m A i A j, a is couted ( r 3 times i i<j<k m A i A j A k, ad i geeral, for t r, a is couted ( r t times i the sum ivolvig the summatios of itersectios of t of the sets A i. Therefore, the elemet a is couted exactly (r ( ( ( r r r + + ( r+ 3 r times by the RHS. But, we have ( ( ( ( r r r r + + ( r 0, 0 r so ( ( ( ( r r r r + ( r. 0 r Hece, a is couted exactly oce by the RHS. Ex. Give a formula for the umber of elemets i the uio of four sets. A A A 3 A 4 A + A + A 3 + A 4 A A A A 3 A A 4 A A 3 A A 4 A 3 A 4 + A A A 3 + A A A 4 + A A 3 A 4 + A A 3 A 4 A A A 3 A 4 Furthermore, if there is a uiversal set S, the A A A m A A A m S A A A m. 3

16 Ex. How may of the permutatios of the 6 letters of the Eglish alphabet do ot cotai ay of the strigs FISH, RAT, or BIRD? Let S { permutatios of the alphabet } A { permutatios that cotai FISH } A { permutatios that cotai RAT } A 3 { permutatios that cotai BIRD } We seek A A A 3. Clearly, S 6!. Elemets i A are permutatios of the symbol FISH, ad the other letters, i.e., A 3!. Similarly, A 4!, ad A 3 3!. Elemets i A A are permutatios of the symbols, F ISH, RAT, ad the 9 other letters, i.e. A A!. Next, A A 3 A A 3 0, for FISH ad BIRD share a I, ad RAT ad BIRD share a R. For the same reaso, A A A 3 0. Hece, there are 6! (3!+4!+3!+(! , 69, 359, 78, 336, 797, 900, 800, 000 permutatios. 4

17 MA30 Lecture 8: Applicatios of the Priciple of Iclusio-Exclusio Erik E. Westlud Goal: preset ad discuss some iterestig applicatios of The Priciple of Iclusio-Exclusio. Applicatio : The Euler-Phi Fuctio The followig fuctio ϕ( is ubiquitous to umber theory ad algebra: ϕ : N N defied by ϕ( {m N : m ad gcd(, m } (The umber of positive itegers less tha that are relatively prime to. Let p a pa pa k k be the prime factorizatio of a positive iteger. For i k, let A i : {m N : m ad p i m}. Clearly, x A A A k gcd(, x. Thus, Hece, k A i i ϕ( A A A k. A i p i p i A i A j p i p j p i p j A i A j A l p i p j p l p i p j p l A A A k k i p i + k i i<j k p i + k ( pi i. i<j k Updated: Jue 4, p p p k p p p k p i p j i<j<l k + + ( k p i p j p l p p p k + + ( k p i p j p i p j p l p p p k i<j<l k

18 The last equality follows from the fact that for all x i R, we have ( x i i x i + x i x j x i x j x k + + ( x x x. i i<j i<j<k (You ca quickly prove this usig iductio! Applicatio : Coutig Prime Numbers Cout the umber of primes betwee ad a fixed positive iteger. Note: if m is composite, the m ab with < a b a m a m there exists a prime p m ad p m. Hece, every composite iteger m has a prime factor p m, so excludig these umbers will remove all composite umbers from {,,..., }. Ex. Let 0, the every composite iteger < m 0 has a prime factor p , i.e. p {p, p 3, p 3 5, p 4 7}. Let A i {x Z : x ad p i x}. Hece, A A A 3 A 4 0 ( ( ( However, we have t couted the primes,, 3, 5, ad 7 ad we have couted the oprime. So, the umber is Applicatio 3: The Number of Surjective Fuctios We kow that for X ad Y, where X m ad Y.. The umber of fuctios f : X Y is m.. The umber of ijective fuctios f : X Y is { 0 if m > ( ( m + if m 3. The umber of bijective fuctios f : X Y is { 0 if m! if m Questio: What is the umber of surjective fuctios f : X Y?

19 Let Y {y, y,..., y }, ad let A i be the set of all fuctios f : X Y such that y i is ot i the rage of f. Ay fuctio g / i A i is surjective, ad vice versa. Now A i ( m, A i A j ( m, A i A j A k ( 3 m. I geeral, for t hece A i m i A i A i A it ( t m, ( ( m + ( ( ( m + ( m The umber of surjective fuctios f : X Y is 0 if m < ( m + ( i ( i m if m i i Applicatio 4: Combiatios with Repetitio Let S { s,,..., k s k } be a multiset with k differet types. ( if i for all i k r The # of r-combiatios of S ( r + k if i r for all i k r What if < i < r? I.e., what are the # of r-combiatios for geeral repetitio umbers? Ex. Determie the umber of -combiatios of the multiset S {4 s, 3 s, 4 s 3, 5 s 4 }. Cosider the multiset S { s, s, s 3, s 4 }. For i 4, let A i be subsets of -combiatios of S where elemets i A have more tha 4 s s, elemets i A have more tha 3 s s, elemets i A 3 have more tha 4 s 3 s, ad elemets i A 4 have more tha 5 s 4 s. We seek A A A 3 A 4 T A A A 3 A 4, where T is the set of all ( combiatios of S. Note A is the umber of -combiatios that have at least 5 s s, so A ( Similarly, A ( , A3 ( , ad A4 (

20 Now, A A is the umber of -combiatios of S that have at least 5 s( s ad at least 4 s s, i.e. we ca complete this -combiatio i exactly ways. Similarly, A A 3 ( +4 0, A A 4 ( +4 4, ad A A 3 ( , ad A A 4 ( +4 0, ad A3 A 4 ( Furthermore, A A A 3 is the set of -combiatios that have at least 5 s s, at least 4 s s, ad at least 5 s 3 s, a cotradictio, thus A A A 3 0. Similarly, A A A 4 0, A A 3 A 4 0, ad A A 3 A 4 0. Fially, A A A 3 A 4 0. Hece, 455 ( ( ( Usig the above techique, we may ow determie the umber of itegral solutios to x + x + + x k r, where for all i k, we have 0 x i i for o-egative itegers i. Ex. Fid the umber of itegral solutios to x + x + x 3 7 that satisfy x 5, 0 x 4, ad 5 x 3. By lettig y x +, y x, ad y 3 x 3 5, this is the same as the umber of itegral solutios to y + y + y that satisfy 0 y 7, 0 y 4, ad 0 y 3 6. Let S be the set of all o-egative solutios to the above, so ( ( S 0. 4 Let A { o-egative solutios to y + y + y 3 4 where y 8}. Let A { o-egative solutios to y + y + y 3 4 where y 5}. Let A 3 { o-egative solutios to y + y + y 3 4 where y 3 7}. Note, A is the umber of o-egative solutios to z + z + z , 4

21 by lettig z y 8, z y, ad z 3 y 3. Hece, ( ( A 8. 6 Similarly, ( ( ( A 55 ad A Now, A A is the umber of o-egative solutios to u + u + u ( by lettig u y 8, u y 5, ad u 3 y 3. Hece, ( + 3 A A 3. Similarly, ( + 3 A A 3 0 ad A A 3 6 Fially, A A A 3 0, so by the Priciple of Iclusio-Exclusio, we have the umber of itegral solutios to our origial liear equatio is A A A 3 0 ( (

22 MA30 Lecture 9: Deragemets Erik E. Westlud Goal: discuss permutatios that have o fixed poits. Suppose a lazy professor gives his 44 studets a quiz, collects them, mixes them up, ad the radomly passes the quizzes back out to be graded by the studets. What is the probability that o studet grades their ow quiz? (D 44 /44! I recotres, a old Frech card game, the 5 cards of a deck are laid out, ad the cards of a secod deck are laid out with oe o top of each of the previous deck. The score is determied by the umber of matched cards oe from each deck. What is the probability of gettig a score of zero? (D 5 /5! How may aagrams of a word leave o letters fixed? Problems of this kid deal with permutatios that are completely out of order. A deragemet of {,,..., } is a permutatio i i i such that i j j for all j. More geerally, a deragemet of a set S is a bijectio ϕ : S S such that ϕ(x x for all x S. Ex. The permutatio 453 is a deragemet of {,, 3, 4, 5}, but 354 is ot, because 3 is i its atural positio. Ex. List all deragemets of ABCD. BADC, BCDA, BDAC, CADB, CDAB, CDBA, DABC, DCAB, DCBA. Let D be the umber of deragemets of {,,..., }. D is also called the th subfactorial, deoted!. Theorem. For, D! (! +! 3! + + (! Proof. Let X be the set of all! permutatios of {,,..., }. For all j, let A j : {σ i i i X : i j j}. The D A A A. Updated: Jue 7, 009.

23 It is easily see that, for all k, A t A t A tk ( k!, where {t, t,, t k } is ay k-subset of {,,..., }. By the Priciple of Iclusio-Exclusio, we have ( ( ( D! (! + (! + ( 0! D!!! +!! + (!! Ex. The umber of deragemets of ABCD is ( D 4 4!! +! 3! + 4! Ex. Determie the umber of permutatios of {,,..., 8} i which exactly four itegers are i their atural positios. This is the # of permutatios i which exactly four itegers are ot i their atural positios. There are ( 8 4 ways to pick the itegers, ad D4 ways to derage them, so ( 8 4 D4 630 permutatios. From calculus, we have e! +! 3! + 4! Recall the Lagrage Error Boud: if f ad all of its derivatives are cotiuous, ad P (x is the th Taylor polyomial of f about x a, the f(x P (x max f (+ (z x a +, where z is i betwee x ad a. ( +! Note: if P (x is the th MacLauri polyomial of f(x e x, the D!P (, ad e x P (x ( +! x + e D! ( +! Note: e ad D is the closest iteger to!e.

24 D e D /! /( +! So, for 6, e ad D /! agree to at least three decimal places. Therefore, if E D, the Prob(E D! e, for 6. Ex. A ew employee checks the hats of people at a restaurat, forgettig to put claim check umbers o the hats. What is the probability that upo leavig, o customer receives the correct hat? Usig the aforemetioed, formula, we see that the probability is D /! 0.36, ad this probability is essetially the same for 0 customers as it is for billio customers! Theorem. The deragemet umbers satisfy the liear recurrece relatio: D ( (D + D for 3. Let X be the set of deragemets of {,..., }, ad let σ σ σ σ X. Let d i # of deragemets where σ i. Clearly, σ i σ j for all i, j, ad let d be the commo value. Hece, D ( d. Partitio the d deragemets σ σ σ 3 σ accordig to whether σ or σ. I.e., let A {σ σ 3 σ : σ j j, σ } ad B {σ σ 3 σ : σ j j, σ } Thus, d A + B, ad clearly, A is the # of deragemets of {3, 4,..., }, ad B is the # of deragemets of {, 3, 4,..., }. Thus, D ( ( A + B ( (D + D. 3

25 D D ( [D ( D ] ( [D ( D 3 ] ( 3 [D 3 ( 3D 4 ] ( [D D ] ( ( Hece, D D + ( for all. Ex. Prove that D is eve if ad oly if is odd. Proof. If D is eve, the D ± D is odd, hece is odd. If is odd, the D is odd, for otherwise, is odd, a cotradictio. Hece, D D + ( is odd, so that D is eve. 4

26 MA30 Lecture : Ordiary Geeratig Fuctios I Erik E. Westlud Goal: discuss the importace ad basic operatios of geeratig fuctios, ad how they are applied to coutig problems. Aalogy: A geeratig fuctio for a sequece ca be thought of as a clotheslie for displayig a sequece. We wat a way to cocisely represet sequeces ad maipulate them. The formal power series of a sequece {a } is A(x a x a 0 + a x + a x + a 3 x a x + The coefficiets of A(x are the terms i the sequece (a, ad A(x is called the ordiary geeratig fuctio, or GF, of (a. Geeratig fuctios trasform problems about sequeces to problems about algebraic fuctios. Commets: Ulike calculus, we usually do t care about issues of covergece! A(x is ot a fuctio of x i the atural sese of domai ad codomai. A(x may be regarded as a purely algebraic object that ca be maipulated as such. A(x may be expressed i closed form as a fuctio of a formal argumet x, usig the otio of a fuctio ad its power series expasio. x is essetially a placeholder for a. GF s for fiite sequeces, i.e., sequeces with oly fiitely may ozero terms, (a a 0, a,..., a, 0, 0,..., as just polyomials. Ex. The GF s for the sequeces (a, with a 4, a +, ad a, are 4x, ( + x, ad x, respectively. Ex. The GF of (a,,,,...,,..., is A(x + x + x + x x + x Updated: Jue, 009. if x <.

27 Ex. The GF of (a, a, a, a 3,..., a,... is A(x +ax+a x + +a x + +(ax+(ax + +(ax + ax if ax < x < / a. Properties: If A(x a x ad B(x b x, are GF s for (a ad (b, respectively, the A(x + B(x (a + b x (a 0 + b 0 + (a + b x + (a + b x + is the GF for (a + b a 0 + b 0, a + b, a + b,..., a + b,... x k A(x a x +k a 0 x k + a x k+ + a x k+ +, called the right traslatio, is the GF for 0, 0,..., 0, a }{{} 0, a,..., a,... k ca(x ca x ca 0 +ca x+ca x +, is the GF for the scaled sequece, (ca ca 0, ca,..., ca,... A (x d dx [A(x] a x a + a x + 3a 3 x + 4a 4 x 3 +, called the formal derivative, is the GF for A(xB(x a, a, 3a 3,... a }{{} st term,... ( a k b k x, called the discrete covolutio. k0 Ex. Fid the sequece whose GF is C(x ( x. ( C(x ( x x ( x x x k0 (+x Hece, (c,, 3, 4,..., the atural umber sequece startig at, is the correspodig sequece.

28 Alteratively, we could use differetiatio: ( x d [ ] dx x k0 x Ex. The GF for (a k ( ( 0, (, (,..., k,..., for, k Z + is: ( ( ( ( ( A(x x k + x + x + x k ( + x k 0 k Notatio: If A(x is the GF for the sequece (a a 0, a, a,..., a,..., we will write: A(x a 0, a, a,..., a,.... Ex. Fid the GF for the sequece of perfect squares (a 0,, 4, 9,...,,.... Cosider: A (x xa (x d dx [xa (x] x d dx [xa (x] A(x x x x x x x k0,,,...,,..., ( x,, 3,..., +,..., x ( x 0,,, 3,...,,... + x ( x 3, 4, 9,..., ( +,... x( + x ( x 3 0,, 4, 9,...,,... 3

29 MA30 Lecture : Ordiary Geeratig Fuctios II Erik E. Westlud Ex. Fid the GF for (f, the Fiboacci umber sequece. We eed to fid F (x f 0 + f x + f x + + f x +, a GF for the sequece (f 0,, f + f 0, f + f, f 3 + f,... 0,, 0, 0, 0,... x 0, f 0, f, f, f 3,... xf (x + 0, 0, f 0, f, f,... x F (x 0, + f 0, f + f 0, f + f, f 3 + f,... x + xf (x + x F (x Hece, F (x x+xf (x+x F (x F (x x x x x+x +x 3 +3x 4 +5x 5 + I.e., the coefficiets i the power series expasio of F (x are exactly the Fiboacci umbers! Questio: How ca we use geeratig fuctios to cout? Give a set A, let A(x a 0 + a x + a x +, where the coefficiet of x is the # of ways to select objects from A. More geerally, give a task that depeds o a parameter, let the coefficiet of x be the # of ways to perform the task for. Covolutio Rule: Let A(x be the GF for selectig objects from a set A, ad let B(x be the GF for selectig objects from a set B. If A B, the the GF for selectig objects from A B is A(xB(x. Note: to cout the # of ways to select objects from A B, we ca select k objects from A ad k objects from B, where 0 k. As A B, the total is a 0 b + a b + a b + + a b 0 This is the coefficiet of x i A(xB(x. Updated: Jue, 009. Selected examples from Course Notes writte by Prof. Albert R. Meyer ad Prof. Roitt Rubifeld, MIT 005.

30 Ex. Fid the geeratig fuctio for the sequece (a, where a is the umber ways to choose objects from a multiset with k types, each available i ulimited supply. Let S { s, s,..., s k }. The GF for selectig the s s is: x + x + x + x 3 + +, for there is oe way to select zero s s, oe way to select s, oe way to select two s s, etc, ad we may replace s with ay of the s i s ad get the same GF. Hece, the GF for selectig objects from S is: ( x k ( ( ( x x x ( ( ( x x x ( + + k k x ( + k x The coefficiet of x is the umber of oegative itegral solutios to x + x + + x k. We could also derive the GF by usig Newto s Biomial Theorem. Ex. Fid the umber of itegral solutios of y + y + y 3 7 satisfyig y 5, 3 y 6, ad 4 y 3 7. Let S { s, s, s 3 } ad let y i be the # of s i s we pick. The GF for selectig the s s is S (x x + x 3 + x 4 + x 5, because there is zero ways to pick y s s for 0 y, ad 6 y, ad oe way to pick y s s for each y 5. Similarly, the GFs for pickig the s s ad s 3 s are, S (x x 3 + x 4 + x 5 + x 6, ad S 3 (x x 4 + x 5 + x 6 + x 7. Hece, the umber of ways to pick 7 objects from S, subject to the costraits, is the coefficet of x 7 i the expasio of S(x S (xs (xs 3 (x (x +x 3 +x 4 +x 5 (x 3 +x 4 +x 5 +x 6 (x 4 +x 5 +x 6 +x 7 S(x x 9 + 3x 0 + 6x + 0x + x 3 + x 4 + 0x 5 + 6x 6 + 3x 7 + x 8,

31 so there are 3 solutios. Furthermore, the coefficiet of x i S(x is exactly the # of iteger solutios to y + y + y 3 that satisfy the costraits. Ex. Determie the geeratig fuctio for the umber of bags of fruit that cotai a eve umber of apples, at most four orages, at most oe pear, ad the umber of baaas is a multiple of 5, ad o other fruits. We use the Covolutio Rule. The GF for selectig apples is A(x + x + x 4 + x 6 + x The GF for selectig orages is O(x + x + x + x 3 + x 5 x5 x The GF for selectig pears is The GF for selectig baaas is P (x + x B(x + x 5 + x 0 + x 5 + x 5 Hece, the GF for selectig objects amog the four fruits, subject to the costraits is: G(x A(xO(xP (xb(x ( x ( x 5 x ( (+x x 5 ( x. I.e., G(x + x + 3x + 4x 3 +. Hece, there are h + bags of fruits that meet the requiremets. (Note: the above coutig problem was aswered purely through algebraic maipulatio! Ex. I how may ways ca you make chage for a dollar, usig peies, ickels, dimes, ad quarters? This is equivalet to the umber of o-egative itegral solutios to x + 5x + 0x 3 + 5x 4 00 If P (x, N(x, D(x, ad Q(x deote the geeratig fuctios to choosig peies, ickels, dimes, ad quarters, the P (x + x + x + x 3

32 N(x + x 5 + x 0 + x 5 N(x + x 0 + x 0 + x 0 N(x + x 5 + x 50 + x 5 So, the # of solutios to the problem is the coefficiet of x 00 i G(x x x 5 x 0 x 5 Usig Mathematica, we see G(x + x + x + x 3 + x 4 + x 5 + x 6 + x 7 + x 8 +x 9 +4x 0 +4x +4x +4x 3 +4x 4 +6x 5 +6x 6 +6x 7 +6x 8 +6x 9 + 9x 0 + 9x + 9x + 9x 3 + 9x 4 + 3x 5 + 3x 6 + 3x 7 + 3x 8 + 3x 9 + 8x 30 +8x 3 +8x 3 +8x 33 +8x 34 +4x 35 +4x 36 +4x 37 +4x 38 +4x x 40 +3x 4 +3x 4 +3x 43 +3x x x x x x x x 5 +49x 5 +49x x x x x x x x x 6 +73x 6 +73x x x x x x x x x x x x 74 + x 75 + x 76 + x 77 + x 78 + x x x 8 + 4x 8 + 4x x x x x x x x x x x x x x x x x x Agai, G(x aswers more tha we asked for. The coefficiet of x i G(x is the # of ways to make cets out of peies, ickels, dimes, ad quarters. Theorem. Let A(x sequece. The x, be the geeratig fuctio for the geometric A(x e A(x e A(x e r T x is the geeratig fuctio where T is the # of o-egative itegral solutios to e x + e x + + e r x r. Note: there is o closed, short formula i geeral. 4

33 We ca use geeratig fuctios to solve liear recurrece relatios. A sequece (a is said to have a liear recurrece relatio of order k if a β a + β a + + β k a k + γ, where k, β k 0, ad each of the β i ad γ may deped o. Solvig a liear recurrece relatio meas fidig a closed-form expressio for a, i.e., a formula that may deped o, but ot o a i for ay i <. Ex. Solve the recurrece relatio a 3a, for, where a 0. Let A(x a x be the GF for (a. Note that xa(x a x + a x So, A(x 3xA(x a x 3 a x a 0 + Thus, ( 3xA(x A(x a 3 for 0. (a 3a x. 3x A(x ( 3 x, so that Ex. Derive a closed-form for the th Fiboacci umber f, where. x Recall F (x x x is the GF for (f. Usig Partial Fractio Decompositio, we have x F (x x x A ϕx + B ϕx, where ϕ + 5 ad ϕ 5. It s easy to fid that Hece, A ϕ ϕ 5 ad B ϕ ϕ 5. F (x ( 5 ϕx, ϕx F (x ( + ϕx + (ϕx + ( + ϕx + (ϕx + 5 5

34 Hece, F (x 5 ((ϕ ϕx + (ϕ ϕ x + + (ϕ ϕ x +, i.e., f ϕ ϕ 5 5 (( + ( 5 5. Ex. Fid a recurrece relatio for C, the umber of ways to evaluate a matrix product A, A,..., A +, for 0, by addig various paretheses ad determie a closed formula for C. E.g. C 0 C, C, they are: A (A A 3, (A A A 3. C 3 5, they are: ((A A A 3 A 4, (A (A A 3 A 4, (A A (A 3 A 4, A ((A A 3 A 4, A (A (A 3 A 4 I evaluatig C +, the matrix product A A A + eds with the fial operator betwee A k+ ad A k+, for some 0 k. Thus, Let C(x (A A }{{ k+ (A } k+ A }{{ + } C k C + C k C k C k, for. k0 C x be the GF of (C. Now ( ( C(x C x C x So, xc(x So C x ad C(x + ( C k C k x k0 C x ad so xc(x C(x xc(x C(x + 0 C(x 4x x Now, by Newto s Biomial Theorem, ( / ( 4x / ( 4x 6 C + x (!!( +! x+

35 Hece, C(x (!!( +! x ( x + Therefore, the sequece (C is give by C +(, for 0. This is called the Catala sequece, ad is a importat coutig sequece i combiatorics. 7

Generating Functions. 1 Operations on generating functions

Generating Functions. 1 Operations on generating functions Geeratig Fuctios The geeratig fuctio for a sequece a 0, a,..., a,... is defied to be the power series fx a x. 0 We say that a 0, a,... is the sequece geerated by fx ad a is the coefficiet of x. Example

More information

Math 155 (Lecture 3)

Math 155 (Lecture 3) 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 {,,,

More information

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

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Coutig Methods CSE 191, Class Note 05: Coutig Methods Computer Sci & Eg Dept SUNY Buffalo c Xi He (Uiversity at Buffalo CSE 191 Discrete Structures 1 / 48 Need for Coutig The problem of coutig the umber

More information

Section 5.1 The Basics of Counting

Section 5.1 The Basics of Counting 1 Sectio 5.1 The Basics of Coutig Combiatorics, the study of arragemets of objects, is a importat part of discrete mathematics. I this chapter, we will lear basic techiques of coutig which has a lot of

More information

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

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) = COMPSCI 230: Discrete Mathematics for Computer Sciece April 8, 2019 Lecturer: Debmalya Paigrahi Lecture 22 Scribe: Kevi Su 1 Overview I this lecture, we begi studyig the fudametals of coutig discrete objects.

More information

Injections, Surjections, and the Pigeonhole Principle

Injections, Surjections, and the Pigeonhole Principle Ijectios, Surjectios, ad the Pigeohole Priciple 1 (10 poits Here we will come up with a sloppy boud o the umber of parethesisestigs (a (5 poits Describe a ijectio from the set of possible ways to est pairs

More information

Math 475, Problem Set #12: Answers

Math 475, Problem Set #12: Answers Math 475, Problem Set #12: Aswers A. Chapter 8, problem 12, parts (b) ad (d). (b) S # (, 2) = 2 2, sice, from amog the 2 ways of puttig elemets ito 2 distiguishable boxes, exactly 2 of them result i oe

More information

Solutions to Final Exam

Solutions to Final Exam Solutios to Fial Exam 1. Three married couples are seated together at the couter at Moty s Blue Plate Dier, occupyig six cosecutive seats. How may arragemets are there with o wife sittig ext to her ow

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

Worksheet on Generating Functions

Worksheet on Generating Functions Worksheet o Geeratig Fuctios October 26, 205 This worksheet is adapted from otes/exercises by Nat Thiem. Derivatives of Geeratig Fuctios. If the sequece a 0, a, a 2,... has ordiary geeratig fuctio A(x,

More information

Chapter 6. Advanced Counting Techniques

Chapter 6. Advanced Counting Techniques Chapter 6 Advaced Coutig Techiques 6.: Recurrece Relatios Defiitio: A recurrece relatio for the sequece {a } is a equatio expressig a i terms of oe or more of the previous terms of the sequece: a,a2,a3,,a

More information

1 Generating functions for balls in boxes

1 Generating functions for balls in boxes Math 566 Fall 05 Some otes o geeratig fuctios Give a sequece a 0, a, a,..., a,..., a geeratig fuctio some way of represetig the sequece as a fuctio. There are may ways to do this, with the most commo ways

More information

Complex Numbers Solutions

Complex Numbers Solutions Complex Numbers Solutios Joseph Zoller February 7, 06 Solutios. (009 AIME I Problem ) There is a complex umber with imagiary part 64 ad a positive iteger such that Fid. [Solutio: 697] 4i + + 4i. 4i 4i

More information

Introduction To Discrete Mathematics

Introduction To Discrete Mathematics Itroductio To Discrete Mathematics Review If you put + pigeos i pigeoholes the at least oe hole would have more tha oe pigeo. If (r + objects are put ito boxes, the at least oe of the boxes cotais r or

More information

1 Counting and Stirling Numbers

1 Counting and Stirling Numbers 1 Coutig ad Stirlig Numbers Natural Numbers: We let N {0, 1, 2,...} deote the set of atural umbers. []: For N we let [] {1, 2,..., }. Sym: For a set X we let Sym(X) deote the set of bijectios from X to

More information

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n Review of Power Series, Power Series Solutios A power series i x - a is a ifiite series of the form c (x a) =c +c (x a)+(x a) +... We also call this a power series cetered at a. Ex. (x+) is cetered at

More information

Week 5-6: The Binomial Coefficients

Week 5-6: The Binomial Coefficients Wee 5-6: The Biomial Coefficiets March 6, 2018 1 Pascal Formula Theorem 11 (Pascal s Formula For itegers ad such that 1, ( ( ( 1 1 + 1 The umbers ( 2 ( 1 2 ( 2 are triagle umbers, that is, The petago umbers

More information

( ) GENERATING FUNCTIONS

( ) GENERATING FUNCTIONS GENERATING FUNCTIONS Solve a ifiite umber of related problems i oe swoop. *Code the problems, maipulate the code, the decode the aswer! Really a algebraic cocept but ca be eteded to aalytic basis for iterestig

More information

CIS Spring 2018 (instructor Val Tannen)

CIS Spring 2018 (instructor Val Tannen) CIS 160 - Sprig 2018 (istructor Val Tae) Lecture 5 Thursday, Jauary 25 COUNTING We cotiue studyig how to use combiatios ad what are their properties. Example 5.1 How may 8-letter strigs ca be costructed

More information

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play. Number Theory Math 5840 otes. Sectio 1: Axioms. I umber theory we will geerally be workig with itegers, though occasioally fractios ad irratioals will come ito play. Notatio: Z deotes the set of all itegers

More information

(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

(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 MATH 337 Sequeces Dr. Neal, WKU Let X be a metric space with distace fuctio d. We shall defie the geeral cocept of sequece ad limit i a metric space, the apply the results i particular to some special

More information

Chapter 6 Infinite Series

Chapter 6 Infinite Series Chapter 6 Ifiite Series I the previous chapter we cosidered itegrals which were improper i the sese that the iterval of itegratio was ubouded. I this chapter we are goig to discuss a topic which is somewhat

More information

Books Recommended for Further Reading

Books Recommended for Further Reading Books Recommeded for Further Readig by 8.5..8 o 0//8. For persoal use oly.. K. P. Bogart, Itroductory Combiatorics rd ed., S. I. Harcourt Brace College Publishers, 998.. R. A. Brualdi, Itroductory Combiatorics

More information

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

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 Homewor 3 Chapter 5 pp53: 3 40 45 Chapter 6 p85: 4 6 4 30 Use combiatorial reasoig to prove the idetity 3 3 Proof Let S be a set of elemets ad let a b c be distict elemets of S The umber of -subsets of

More information

MATH 304: MIDTERM EXAM SOLUTIONS

MATH 304: MIDTERM EXAM SOLUTIONS MATH 304: MIDTERM EXAM SOLUTIONS [The problems are each worth five poits, except for problem 8, which is worth 8 poits. Thus there are 43 possible poits.] 1. Use the Euclidea algorithm to fid the greatest

More information

MAT1026 Calculus II Basic Convergence Tests for Series

MAT1026 Calculus II Basic Convergence Tests for Series MAT026 Calculus II Basic Covergece Tests for Series Egi MERMUT 202.03.08 Dokuz Eylül Uiversity Faculty of Sciece Departmet of Mathematics İzmir/TURKEY Cotets Mootoe Covergece Theorem 2 2 Series of Real

More information

CHAPTER 10 INFINITE SEQUENCES AND SERIES

CHAPTER 10 INFINITE SEQUENCES AND SERIES CHAPTER 10 INFINITE SEQUENCES AND SERIES 10.1 Sequeces 10.2 Ifiite Series 10.3 The Itegral Tests 10.4 Compariso Tests 10.5 The Ratio ad Root Tests 10.6 Alteratig Series: Absolute ad Coditioal Covergece

More information

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 +

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 + 62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of

More information

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016 18th Bay Area Mathematical Olympiad February 3, 016 Problems ad Solutios BAMO-8 ad BAMO-1 are each 5-questio essay-proof exams, for middle- ad high-school studets, respectively. The problems i each exam

More information

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,

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, 3. Z Trasform Referece: Etire Chapter 3 of text. Recall that the Fourier trasform (FT) of a DT sigal x [ ] is ω ( ) [ ] X e = j jω k = xe I order for the FT to exist i the fiite magitude sese, S = x [

More information

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006 MATH 34 Summer 006 Elemetary Number Theory Solutios to Assigmet Due: Thursday July 7, 006 Departmet of Mathematical ad Statistical Scieces Uiversity of Alberta Questio [p 74 #6] Show that o iteger of the

More information

Permutations, Combinations, and the Binomial Theorem

Permutations, Combinations, and the Binomial Theorem Permutatios, ombiatios, ad the Biomial Theorem Sectio Permutatios outig methods are used to determie the umber of members of a specific set as well as outcomes of a evet. There are may differet ways to

More information

Lecture Notes for CS 313H, Fall 2011

Lecture Notes for CS 313H, Fall 2011 Lecture Notes for CS 313H, Fall 011 August 5. We start by examiig triagular umbers: T () = 1 + + + ( = 0, 1,,...). Triagular umbers ca be also defied recursively: T (0) = 0, T ( + 1) = T () + + 1, or usig

More information

Bertrand s Postulate

Bertrand s Postulate Bertrad s Postulate Lola Thompso Ross Program July 3, 2009 Lola Thompso (Ross Program Bertrad s Postulate July 3, 2009 1 / 33 Bertrad s Postulate I ve said it oce ad I ll say it agai: There s always a

More information

ENGI Series Page 6-01

ENGI Series Page 6-01 ENGI 3425 6 Series Page 6-01 6. Series Cotets: 6.01 Sequeces; geeral term, limits, covergece 6.02 Series; summatio otatio, covergece, divergece test 6.03 Stadard Series; telescopig series, geometric series,

More information

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

(ii) Two-permutations of {a, b, c}. Answer. (B) P (3, 3) = 3! (C) 3! = 6, and there are 6 items in (A). ... Answer. SOLUTIONS Homewor 5 Due /6/19 Exercise. (a Cosider the set {a, b, c}. For each of the followig, (A list the objects described, (B give a formula that tells you how may you should have listed, ad (C verify

More information

SOLVED EXAMPLES

SOLVED EXAMPLES Prelimiaries Chapter PELIMINAIES Cocept of Divisibility: A o-zero iteger t is said to be a divisor of a iteger s if there is a iteger u such that s tu I this case we write t s (i) 6 as ca be writte as

More information

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs CSE 1400 Applied Discrete Mathematics Number Theory ad Proofs Departmet of Computer Scieces College of Egieerig Florida Tech Sprig 01 Problems for Number Theory Backgroud Number theory is the brach of

More information

A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS. Mircea Merca

A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS. Mircea Merca Idia J Pure Appl Math 45): 75-89 February 204 c Idia Natioal Sciece Academy A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS Mircea Merca Departmet of Mathematics Uiversity

More information

Induction: Solutions

Induction: Solutions Writig Proofs Misha Lavrov Iductio: Solutios Wester PA ARML Practice March 6, 206. Prove that a 2 2 chessboard with ay oe square removed ca always be covered by shaped tiles. Solutio : We iduct o. For

More information

Intermediate Math Circles November 4, 2009 Counting II

Intermediate Math Circles November 4, 2009 Counting II Uiversity of Waterloo Faculty of Mathematics Cetre for Educatio i Mathematics ad Computig Itermediate Math Circles November 4, 009 Coutig II Last time, after lookig at the product rule ad sum rule, we

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

REVIEW FOR CHAPTER 1

REVIEW FOR CHAPTER 1 REVIEW FOR CHAPTER 1 A short summary: I this chapter you helped develop some basic coutig priciples. I particular, the uses of ordered pairs (The Product Priciple), fuctios, ad set partitios (The Sum Priciple)

More information

1 Summary: Binary and Logic

1 Summary: Binary and Logic 1 Summary: Biary ad Logic Biary Usiged Represetatio : each 1-bit is a power of two, the right-most is for 2 0 : 0110101 2 = 2 5 + 2 4 + 2 2 + 2 0 = 32 + 16 + 4 + 1 = 53 10 Usiged Rage o bits is [0...2

More information

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

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients: Chapter 7 COMBINATIONS AND PERMUTATIONS We have see i the previous chapter that (a + b) ca be writte as 0 a % a & b%þ% a & b %þ% b where we have the specific formula for the biomial coefficiets: '!!(&)!

More information

Combinatorially Thinking

Combinatorially Thinking Combiatorially Thiig SIMUW 2008: July 4 25 Jeifer J Qui jjqui@uwashigtoedu Philosophy We wat to costruct our mathematical uderstadig To this ed, our goal is to situate our problems i cocrete coutig cotexts

More information

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS VERNER E. HOGGATT, JR. Sa Jose State Uiversity, Sa Jose, Califoria 95192 ad CALVIN T. LONG Washigto State Uiversity, Pullma, Washigto 99163

More information

The Binomial Theorem

The Binomial Theorem The Biomial Theorem Robert Marti Itroductio The Biomial Theorem is used to expad biomials, that is, brackets cosistig of two distict terms The formula for the Biomial Theorem is as follows: (a + b ( k

More information

Sequences and Series of Functions

Sequences and Series of Functions Chapter 6 Sequeces ad Series of Fuctios 6.1. Covergece of a Sequece of Fuctios Poitwise Covergece. Defiitio 6.1. Let, for each N, fuctio f : A R be defied. If, for each x A, the sequece (f (x)) coverges

More information

Zeros of Polynomials

Zeros of Polynomials Math 160 www.timetodare.com 4.5 4.6 Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered with fidig the solutios of polyomial equatios of ay degree

More information

The multiplicative structure of finite field and a construction of LRC

The multiplicative structure of finite field and a construction of LRC IERG6120 Codig for Distributed Storage Systems Lecture 8-06/10/2016 The multiplicative structure of fiite field ad a costructio of LRC Lecturer: Keeth Shum Scribe: Zhouyi Hu Notatios: We use the otatio

More information

Lesson 10: Limits and Continuity

Lesson 10: Limits and Continuity www.scimsacademy.com Lesso 10: Limits ad Cotiuity SCIMS Academy 1 Limit of a fuctio The cocept of limit of a fuctio is cetral to all other cocepts i calculus (like cotiuity, derivative, defiite itegrals

More information

David Vella, Skidmore College.

David Vella, Skidmore College. David Vella, Skidmore College dvella@skidmore.edu Geeratig Fuctios ad Expoetial Geeratig Fuctios Give a sequece {a } we ca associate to it two fuctios determied by power series: Its (ordiary) geeratig

More information

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or Topic : Sequeces ad Series A sequece is a ordered list of umbers, e.g.,,, 8, 6, or,,,.... A series is a sum of the terms of a sequece, e.g. + + + 8 + 6 + or... Sigma Notatio b The otatio f ( k) is shorthad

More information

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

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018 CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical

More information

Math 61CM - Solutions to homework 3

Math 61CM - Solutions to homework 3 Math 6CM - Solutios to homework 3 Cédric De Groote October 2 th, 208 Problem : Let F be a field, m 0 a fixed oegative iteger ad let V = {a 0 + a x + + a m x m a 0,, a m F} be the vector space cosistig

More information

4.1 Sigma Notation and Riemann Sums

4.1 Sigma Notation and Riemann Sums 0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas

More information

Axioms of Measure Theory

Axioms of Measure Theory MATH 532 Axioms of Measure Theory Dr. Neal, WKU I. The Space Throughout the course, we shall let X deote a geeric o-empty set. I geeral, we shall ot assume that ay algebraic structure exists o X so that

More information

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

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function. MATH 532 Measurable Fuctios Dr. Neal, WKU Throughout, let ( X, F, µ) be a measure space ad let (!, F, P ) deote the special case of a probability space. We shall ow begi to study real-valued fuctios defied

More information

Lecture Notes for Analysis Class

Lecture Notes for Analysis Class Lecture Notes for Aalysis Class Topological Spaces A topology for a set X is a collectio T of subsets of X such that: (a) X ad the empty set are i T (b) Uios of elemets of T are i T (c) Fiite itersectios

More information

Problem Set 2 Solutions

Problem Set 2 Solutions CS271 Radomess & Computatio, Sprig 2018 Problem Set 2 Solutios Poit totals are i the margi; the maximum total umber of poits was 52. 1. Probabilistic method for domiatig sets 6pts Pick a radom subset S

More information

MT5821 Advanced Combinatorics

MT5821 Advanced Combinatorics MT5821 Advaced Combiatorics 1 Coutig subsets I this sectio, we cout the subsets of a -elemet set. The coutig umbers are the biomial coefficiets, familiar objects but there are some ew thigs to say about

More information

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

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018) Radomized Algorithms I, Sprig 08, Departmet of Computer Sciece, Uiversity of Helsiki Homework : Solutios Discussed Jauary 5, 08). Exercise.: Cosider the followig balls-ad-bi game. We start with oe black

More information

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms. [ 11 ] 1 1.1 Polyomial Fuctios 1 Algebra Ay fuctio f ( x) ax a1x... a1x a0 is a polyomial fuctio if ai ( i 0,1,,,..., ) is a costat which belogs to the set of real umbers ad the idices,, 1,...,1 are atural

More information

Solutions to Math 347 Practice Problems for the final

Solutions to Math 347 Practice Problems for the final Solutios to Math 347 Practice Problems for the fial 1) True or False: a) There exist itegers x,y such that 50x + 76y = 6. True: the gcd of 50 ad 76 is, ad 6 is a multiple of. b) The ifiimum of a set is

More information

4 The Sperner property.

4 The Sperner property. 4 The Sperer property. I this sectio we cosider a surprisig applicatio of certai adjacecy matrices to some problems i extremal set theory. A importat role will also be played by fiite groups. I geeral,

More information

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

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4. 11. FINITE FIELDS 11.1. A Field With 4 Elemets Probably the oly fiite fields which you ll kow about at this stage are the fields of itegers modulo a prime p, deoted by Z p. But there are others. Now although

More information

lim za n n = z lim a n n.

lim za n n = z lim a n n. Lecture 6 Sequeces ad Series Defiitio 1 By a sequece i a set A, we mea a mappig f : N A. It is customary to deote a sequece f by {s } where, s := f(). A sequece {z } of (complex) umbers is said to be coverget

More information

The Boolean Ring of Intervals

The Boolean Ring of Intervals MATH 532 Lebesgue Measure Dr. Neal, WKU We ow shall apply the results obtaied about outer measure to the legth measure o the real lie. Throughout, our space X will be the set of real umbers R. Whe ecessary,

More information

Lecture 10: Mathematical Preliminaries

Lecture 10: Mathematical Preliminaries Lecture : Mathematical Prelimiaries Obective: Reviewig mathematical cocepts ad tools that are frequetly used i the aalysis of algorithms. Lecture # Slide # I this

More information

Chapter 1 : Combinatorial Analysis

Chapter 1 : Combinatorial Analysis STAT/MATH 394 A - PROBABILITY I UW Autum Quarter 205 Néhémy Lim Chapter : Combiatorial Aalysis A major brach of combiatorial aalysis called eumerative combiatorics cosists of studyig methods for coutig

More information

Generating Functions II

Generating Functions II Geeratig Fuctios II Misha Lavrov ARML Practice 5/4/2014 Warm-up problems 1. Solve the recursio a +1 = 2a, a 0 = 1 by usig commo sese. 2. Solve the recursio b +1 = 2b + 1, b 0 = 1 by usig commo sese ad

More information

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers) Putam Traiig Exercise Coutig, Probability, Pigeohole Pricile (Aswers) November 24th, 2015 1. Fid the umber of iteger o-egative solutios to the followig Diohatie equatio: x 1 + x 2 + x 3 + x 4 + x 5 = 17.

More information

2.4 - Sequences and Series

2.4 - Sequences and Series 2.4 - Sequeces ad Series Sequeces A sequece is a ordered list of elemets. Defiitio 1 A sequece is a fuctio from a subset of the set of itegers (usually either the set 80, 1, 2, 3,... < or the set 81, 2,

More information

Math 113 Exam 3 Practice

Math 113 Exam 3 Practice Math Exam Practice Exam 4 will cover.-., 0. ad 0.. Note that eve though. was tested i exam, questios from that sectios may also be o this exam. For practice problems o., refer to the last review. This

More information

MT5821 Advanced Combinatorics

MT5821 Advanced Combinatorics MT5821 Advaced Combiatorics 9 Set partitios ad permutatios It could be said that the mai objects of iterest i combiatorics are subsets, partitios ad permutatios of a fiite set. We have spet some time coutig

More information

A Combinatoric Proof and Generalization of Ferguson s Formula for k-generalized Fibonacci Numbers

A Combinatoric Proof and Generalization of Ferguson s Formula for k-generalized Fibonacci Numbers Jue 5 00 A Combiatoric Proof ad Geeralizatio of Ferguso s Formula for k-geeralized Fiboacci Numbers David Kessler 1 ad Jeremy Schiff 1 Departmet of Physics Departmet of Mathematics Bar-Ila Uiversity, Ramat

More information

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials Math 60 www.timetodare.com 3. Properties of Divisio 3.3 Zeros of Polyomials 3.4 Complex ad Ratioal Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered

More information

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime. MATH 324 Summer 200 Elemetary Number Theory Solutios to Assigmet 2 Due: Wedesday July 2, 200 Questio [p 74 #6] Show that o iteger of the form 3 + is a prime, other tha 2 = 3 + Solutio: If 3 + is a prime,

More information

Ma 530 Introduction to Power Series

Ma 530 Introduction to Power Series Ma 530 Itroductio to Power Series Please ote that there is material o power series at Visual Calculus. Some of this material was used as part of the presetatio of the topics that follow. What is a Power

More information

SOLUTIONS TO EXAM 3. Solution: Note that this defines two convergent geometric series with respective radii r 1 = 2/5 < 1 and r 2 = 1/5 < 1.

SOLUTIONS TO EXAM 3. Solution: Note that this defines two convergent geometric series with respective radii r 1 = 2/5 < 1 and r 2 = 1/5 < 1. SOLUTIONS TO EXAM 3 Problem Fid the sum of the followig series 2 + ( ) 5 5 2 5 3 25 2 2 This series diverges Solutio: Note that this defies two coverget geometric series with respective radii r 2/5 < ad

More information

Math 2784 (or 2794W) University of Connecticut

Math 2784 (or 2794W) University of Connecticut ORDERS OF GROWTH PAT SMITH Math 2784 (or 2794W) Uiversity of Coecticut Date: Mar. 2, 22. ORDERS OF GROWTH. Itroductio Gaiig a ituitive feel for the relative growth of fuctios is importat if you really

More information

Solutions to Final Exam Review Problems

Solutions to Final Exam Review Problems . Let f(x) 4+x. Solutios to Fial Exam Review Problems Math 5C, Witer 2007 (a) Fid the Maclauri series for f(x), ad compute its radius of covergece. Solutio. f(x) 4( ( x/4)) ( x/4) ( ) 4 4 + x. Sice the

More information

Tutorial F n F n 1

Tutorial F n F n 1 (CS 207) Discrete Structures July 30, 203 Tutorial. Prove the followig properties of Fiboacci umbers usig iductio, where Fiboacci umbers are defied as follows: F 0 =0,F =adf = F + F 2. (a) Prove that P

More information

Math 113 Exam 3 Practice

Math 113 Exam 3 Practice Math Exam Practice Exam will cover.-.9. This sheet has three sectios. The first sectio will remid you about techiques ad formulas that you should kow. The secod gives a umber of practice questios for you

More information

Chapter 10: Power Series

Chapter 10: Power Series Chapter : Power Series 57 Chapter Overview: Power Series The reaso series are part of a Calculus course is that there are fuctios which caot be itegrated. All power series, though, ca be itegrated because

More information

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

Let us consider the following problem to warm up towards a more general statement. Lecture 4: Sequeces with repetitios, distributig idetical objects amog distict parties, the biomial theorem, ad some properties of biomial coefficiets Refereces: Relevat parts of chapter 15 of the Math

More information

distinct distinct n k n k n! n n k k n 1 if k n, identical identical p j (k) p 0 if k > n n (k)

distinct distinct n k n k n! n n k k n 1 if k n, identical identical p j (k) p 0 if k > n n (k) THE TWELVEFOLD WAY FOLLOWING GIAN-CARLO ROTA How ay ways ca we distribute objects to recipiets? Equivaletly, we wat to euerate equivalece classes of fuctios f : X Y where X = ad Y = The fuctios are subject

More information

End-of-Year Contest. ERHS Math Club. May 5, 2009

End-of-Year Contest. ERHS Math Club. May 5, 2009 Ed-of-Year Cotest ERHS Math Club May 5, 009 Problem 1: There are 9 cois. Oe is fake ad weighs a little less tha the others. Fid the fake coi by weighigs. Solutio: Separate the 9 cois ito 3 groups (A, B,

More information

4x 2. (n+1) x 3 n+1. = lim. 4x 2 n+1 n3 n. n 4x 2 = lim = 3

4x 2. (n+1) x 3 n+1. = lim. 4x 2 n+1 n3 n. n 4x 2 = lim = 3 Exam Problems (x. Give the series (, fid the values of x for which this power series coverges. Also =0 state clearly what the radius of covergece is. We start by settig up the Ratio Test: x ( x x ( x x

More information

Basic Counting. Periklis A. Papakonstantinou. York University

Basic Counting. Periklis A. Papakonstantinou. York University Basic Coutig Periklis A. Papakostatiou York Uiversity We survey elemetary coutig priciples ad related combiatorial argumets. This documet serves oly as a remider ad by o ways does it go i depth or is it

More information

The Random Walk For Dummies

The Random Walk For Dummies The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli

More information

MIDTERM 3 CALCULUS 2. Monday, December 3, :15 PM to 6:45 PM. Name PRACTICE EXAM SOLUTIONS

MIDTERM 3 CALCULUS 2. Monday, December 3, :15 PM to 6:45 PM. Name PRACTICE EXAM SOLUTIONS MIDTERM 3 CALCULUS MATH 300 FALL 08 Moday, December 3, 08 5:5 PM to 6:45 PM Name PRACTICE EXAM S Please aswer all of the questios, ad show your work. You must explai your aswers to get credit. You will

More information

CALCULATION OF FIBONACCI VECTORS

CALCULATION OF FIBONACCI VECTORS CALCULATION OF FIBONACCI VECTORS Stuart D. Aderso Departmet of Physics, Ithaca College 953 Daby Road, Ithaca NY 14850, USA email: saderso@ithaca.edu ad Dai Novak Departmet of Mathematics, Ithaca College

More information

Course : Algebraic Combinatorics

Course : Algebraic Combinatorics Course 8.32: Algebraic Combiatorics Lecture Notes # Addedum by Gregg Musier February 4th - 6th, 2009 Recurrece Relatios ad Geeratig Fuctios Give a ifiite sequece of umbers, a geeratig fuctio is a compact

More information

Sequences. Notation. Convergence of a Sequence

Sequences. Notation. Convergence of a Sequence Sequeces A sequece is essetially just a list. Defiitio (Sequece of Real Numbers). A sequece of real umbers is a fuctio Z (, ) R for some real umber. Do t let the descriptio of the domai cofuse you; it

More information

Permutations & Combinations. Dr Patrick Chan. Multiplication / Addition Principle Inclusion-Exclusion Principle Permutation / Combination

Permutations & Combinations. Dr Patrick Chan. Multiplication / Addition Principle Inclusion-Exclusion Principle Permutation / Combination Discrete Mathematic Chapter 3: C outig 3. The Basics of Coutig 3.3 Permutatios & Combiatios 3.5 Geeralized Permutatios & Combiatios 3.6 Geeratig Permutatios & Combiatios Dr Patrick Cha School of Computer

More information

What is Probability?

What is Probability? Quatificatio of ucertaity. What is Probability? Mathematical model for thigs that occur radomly. Radom ot haphazard, do t kow what will happe o ay oe experimet, but has a log ru order. The cocept of probability

More information

Generating Functions

Generating Functions Geeratig Fuctios Geeratig Fuctios are a powerful tool i combiatorics Wilf describes them, quite appropriately, as a clotheslie o which we hag up a sequece of umber for display What does he mea by that?

More information

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger.

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger. Homewor 1 Solutios Math 171, Sprig 2010 Hery Adams The exercises are from Foudatios of Mathematical Aalysis by Richard Johsobaugh ad W.E. Pfaffeberger. 2.2. Let h : X Y, g : Y Z, ad f : Z W. Prove that

More information