1 What is combinatorics?

Size: px
Start display at page:

Download "1 What is combinatorics?"

Transcription

1 1 What is combiatorics Combiatorics is the brach of mathematics dealig with thigs that are discrete, such as the itegers, or words created from a alphabet. This is i cotrast to aalysis, which deals with the properties of cotiuous systems, such as the real umber lie or a differetial equatio. May (but ot all) combiatorial problems also address systems which are fiite, so the systems beig ivestigated will have a specific umber of elemets: i fact, the questio how may elemets are i a particular system is a commo combiatorial query. The above loose defiitio of combiatorics is iclusive of a few other disciplies. Exploratios of the arithmetic properties of the itegers may be cosidered to fall uder the headig of umber theory; exploratios of multiplicatio-like ad additio-like operatios o discrete structures geerally falls uder the headig of algebra. The distictios betwee these disciplies ad combiatorics, especially as regards fiite structures, are somewhat amorphous. Broadly speakig, combiatorics teds to ask four types of questios: Eumerative questios How large is a particular set Existetial questios Is a set of coditios o a discrete system actually satisfiable Extremal questios How large does a discrete structure eed to become before certai substructures become ievitable Computatioal questios How log would it take a computer to aswer a questio posed about a discrete system To give some cotext to the above descriptios, here are a few fudametally combiatorial questios: How may umbers less tha cosist of distict digits appearig i ascedig order How may people eed to be attedig a party i order to guaratee that there are either 5 mutual acquaitaces or 5 mutual stragers If 20 people each choose a set of acceptable roommates, ca each perso be paired with a acceptable roommate How could a computer program be writte to fid such a pairig How may aagrams are there of the word MISSISSIPPI If we remove oe square from a 7 9 checkerboard, ca the remaiig squares be covered with domioes Does it matter which square we remove If we walk five blocks orth ad six blocks east, takig a radom route, what is the probability that we will pass by a ewsstad oe block to the orth ad oe block east of our startig positio After we have completed both semester of this course, you will kow the aswer to five of these questios as well as may others! Page 1 of 10 August 25, 2009

2 2 Itroductory Eumerative Methods The absolute simplest eumerative method is exhaustive eumeratio, also kow as brute force : simply list out every Questio 1: How may three-digit umbers are there whose digits add up to 6 Aswer 1: Cosider those umers startig with 1 ad with the remaiig digits addig up to 5: 105, 114, 123, 132, 141, ad 150. The those startig with 2, ad havig remaiig digits addig up to 4: 204, 213, 222, 231, 240; ow those startig with 3 : 303, 312, 321, 330. Fially, 4 yields 402, 411, ad 420, 5 gives 501 ad 510, ad 6 gives oly 600. We have listed 21 umbers here. Exhaustive eumeratio works, if the set beig explored is small eough ad the approach is methodical eough. But it s easy to get wrog if you re careless. It s better to use priciples to build up a cout o large sets from small sets. 2.1 A multiplicative priciple If the items beig couted ca be split ito two or more idepedetly coutable parts, the multiplicative priciple is a fudametal meas for coutig the items i questio: Propositio 1. If the elemets of a set X ca be decomposed ito pairs of elemets of A ad B such that each pair (a, b) correspods to oe ad oly oe elemet of X, the X = A B. So, for example: Questio 2: How may 2-letter strigs ca be costructed cosistig of a cosoat followed by a vowel Aswer 2: There are 21 cosoats ad 5 vowels. If we were to take A above to be the cosoatset ad B the vowel-set, there is a trivial associatio with our set of two-letter strigs via cocateatio, e.g. TO ( T, O ), so the size of our desired set is 21 5 = 105. We ca also use this to strig together groups of more tha two items at a time: Questio 3: A licese plate umber cosists of three letters followed by 3 umbers. To avoid cofusio, the letters I ad O are ot used, as are the umbers 1 ad 0. How may licese plates are possible Aswer 3: We have 24 possibilities for each letter, ad 8 possibilities for each umber. Thus, the umber of licese plates is the product of our umber of choices for each positio: = (24 3 )(8 3 ) = As log as the umber of choices for each part of the problem is idepedet of the choice made for the other parts of the problem, the multiplicative priciple holds, which allows us to use it eve i cases where there is apparetly ot idepedece of choice: Questio 4: How may 2-digit umbers are there with distict digits Aswer 4: The first digit ca be ay umber from 1 through 9; there are 9 possibilities for this digit. It seems that the possibilities for the secod digit deped o the choice of the first digit, but regardless of what first digit was chose, there are 9 possibilities for the secod digit (what they are depeds o the first digit, but how may of them there are is ot). Thus, there are 9 9 = 81 such umbers. Questio 5: How may orderigs are there of the letters ABCDE Page 2 of 10 August 25, 2009

3 Aswer 5: We ca choose ay of the 5 letters to be first; we ca choose ay of the 4 remaiig letters to be secod; ay of the 3 remaiig letters to be third, ad ay of the 2 remaiig letters to be fourth. At this poit, we have oly oe letter left, ad it must be fifth. Multiplyig together the umber of choices we have at each phase of the strig costructio, we have = 120. Beware, however, of situatios where the umber of possibilities for differet parts of the problem are ot idepedet! Questio 6: How may two-letter strigs are there with at most oe vowel Aswer 6: This is ot somethig we ca solve easily usig the multiplicative priciple! We might aïvely assert that there are 26 possibilities for the first letter, but we ru ito a problem: if the first letter is a cosoat, we have 26 possibilities for the secod letter; if it s a vowel, however, the secod letter would have to be a cosoat, so we d oly have 21 choices. 2.2 A additive priciple If we ca divide the set of objects beig couted ito two subsets, ad cout each oe idividually, we ca add up their sizes to fid the size of the origial set. Propositio 2. If set X ca be partitioed ito disjoit subsets A ad B, the X = A + B. This is useful for problems which behave differetly i differet cases: Questio 7: How may two-letter strigs are there with at most oe vowel Aswer 7: As metioed above, our choice of the first letter dictates the umber of possibilities for the secod letter. We ca thus divide the set we mea to cout ito two sets correspodig to our two cases: Case I: The first letter is a vowel (so the secod letter must be a cosoat). This case allows 5 choices for the first letter ad 21 for the secod, yieldig 5 21 = 105 two-letter strigs. Case II: The first letter is a cosoat (so the secod letter could be aythig). This case allows 21 choices for the first letter, ad 26 for the secod, yieldig = 546 two-letter strigs. We add these two distict cases to get the total umber of strigs, = 651. As see above, the additive priciple is frequetly used i tadem with other methods. I additio, it ca be used i place of other methods, if ecessary: Questio 8: How may 2-letter strigs ca be costructed cosistig of either a cosoat followed by a vowel, or a vowel followed by a cosoat Aswer 8: We ca divide this ito two cases: cosoat followed by a vowel has 21 5 = 105 possibilities, ad vowel followed by a coosoat has 5 21 = 105 possibilities, for a total of = 210 possibilities. However, we could also solve this usig solely the multiplicative priciple, by cosiderig three thigs to be set: a choice of vowel, a choice of cosoat, ad a order, e.g. TO ( O, T,C V), OF ( O, F,V C). There are 5 choices of vowel, 21 choices of cosoat, ad two orders, givig = 210 possibilities. Page 3 of 10 August 25, 2009

4 2.3 A Subtractive Priciple Sometimes, it s easier to overcout a set ad the exclude the thigs you did t mea to cout tha it is to try to exclude them from the start. Propositio 3. If set X is a subset of set A, ad B cosists of all elemets of A ot i X, the X = A B. Questio 9: How may two-letter strigs are there with at most oe vowel (have t we already asked this oe) Aswer 9: We ca cout all two-letter strigs easily: there are 26 choices of first letter, ad 26 choices of secod letter, for = 676. But this icludes two-letter strigs with two vowels, ad we emphatically do t wat to iclude those. How may of them are there Well, we d eed two vowels, so there would be 5 5 = 25 ways to get these uwated strigs. There are thus = 651 strigs with fewer tha 2 vowels. The subtractive priciple as preseted here is actually ot of use too ofte, but some modificatios o the same idea we ll fid to be extremely useful later. 2.4 Symmetry removal with divisio This priciple is extremely useful, but also dagerously easy to misuse: Propositio 4. If each elemet of set X ca be associated with elemets of set A such that each elemet of set A is associated with exactly oe elemet of X, X = A. The use of this method ca be see with a simple eumeratio which we will fid extremely useful later: Questio 10: How may 3-elemet subsets are there of the set {0, 1, 2,..., 9} Aswer 10: We will start with a questio aki to oe we ve already aswered: how may sequeces of three distict digits from 0 to 9 are there There are 10 possibilities for the first digit, ad ay of the ie uused possibilities ca be used for the secod digit, ad ay of the eight remaiig after that ca be used for the third. So there are = 720 possible sequeces. But sequeces are ot sets! The sequece 314 ad 134 both correspod to the set {1, 3, 4}. However, sequeces of distict terms correspod to sets i a ice predictable fashio: each set of three elemets ca have ay of the 3 elemets first, ay of the 2 remaiig elemets secod, ad the leftover elemet third, so each set correspods to 6 differet sequeces whe reordered. Thus, to fid the umber of sets, we simply cout groups of 6 sequeces, which would be = 120. Be wary, however, of situatios where a correspodece is ot cosistetly -to-oe for a particular value of : Questio 11: How may choices of 3 umbers from the set {0, 1, 2,..., 9}, allowig repetitios ad igorig order of selectio, are there Aswer 11: This seems quite similar to the above problem: why ot cout strigs of 3 umbers ad divide by the umber of arragemets which correspod to the same thig i differet orders But differet choices correspod to differet ubmers of strigs. While [1, 3, 4] correspods to 6 strigs as see above, [1, 1, 4] oly correspods to 3 (114, 141, ad 411), ad [1, 1, 1] oly correspods to oe. Page 4 of 10 August 25, 2009

5 You ca use the divisio method o this if you use the additive priciple to partitio the set of choices ito three classes based o how may of their elemets are the same: [a, a, a], [a, b, b], ad [a, b, c]. It is left as a exercise to the reader to get from this method to the correct aswer, which is Two Forms of Equivalece 3.1 Bijectios Betwee Coutable Structures Oe useful trick which we ll see more i comig days is showig that the same eumeratio ca be used to cout differet structures. For istace, we might cosider the ways to build a biary tree with 3 odes; there are 5 ways to do this: We might also cosider the umer of ways to triagulate a petago: Aother questio whose aswer is 5 is How may ways are there to est 3 pairs of paretheses. We ca do this i the followig ways: ((())), (()()), (())(), ()(()), ad ()()(). These might be coicidece! But if we look at 4-ode biary trees, triagulatios of the hexago, or estigs of 4 sets of paretheses, we see that there are 14 ways to do each of these. This may be more tha coicidece! I fact, we may show that all of these objects are coutable the same way by explicitly costructig a bijectio betwee them. For istace, we ca tur a parethesis structure ito a tree by the rule: (A)B becomes a ode whose left child is whatever tree is associated with A ad whose right child is whatever tree is associated with B ; coversely, we ca associate ay tree with a parethesis-system by associatig a tree with left-brach A ad right-brach B with the parethesis-system (A)B. Similarly, triagulatios could be associated with trees by idetifyig each tragle with a ode, which produces a atural biary tree. By associatig these systems with each other we show that they are eumerated the same way. This is useful i case oe of these structures is easier to cout tha the others (i this case, biary trees are particularly easy to cout). The umbers i this example are called the Catala umbers. Richard Staley, i Eumerative Combiatorics, Volume 2, idetifies 66 differet structures eumerated by the Catala umbers. 3.2 Multiple Coutig Methodologies For a Sigle Structure I additio to usig oe coutig method to eumerate multiple differet-seemig structure, oe powerful trick i our arseal is usig two differet methods to cout the same thig, ad i so Page 5 of 10 August 25, 2009

6 doig build a equality betwee two differet-seemig algebraic quatities. Example: Questio 7 ad Questio 9 really asked the exact same thig, but we aswered it two differet ways. From this, eve if we could t do simple arithmetic, we d kow that = That s a pretty silly idetity, sice it s just arithmetic. However, we could use the same techique, slightly geeralized, to prove a familiar algebraic idetity: Questio 12: Give a combiatorial proof that for itegers m 0, m 2 2 = (m+)(m ). Aswer 12: Let X = {a 1, a 2,..., a, b +1, b +2,..., b m }. We will ask the questio how may ways are there to select a ordered pair of elemets of X such that ot both of them are as This is a geeralizatio of our above argumet, with a i ad b j as stadis for vowels ad cosoats respectively. We may cout the umber of ways to get such a ordered pair usig the additive priciple. If the first term i the ordered pair is a a i (which could happe i ay of ways), the the secod term must be a b j (which ca happe i ay of m ways). We have (m ) possible ordered pairs begiig with a a. If we start with a b, however (whcih ca be doe i ay of m ways), we have free choice of ay of the m elemets of X for the secod term. Thus there are (m )m ordered pairs whose first term is a b. Takig these possibilities together, we see that there are ( m) + (m )m = ( m)( + m) ordered pairs i total. Alteratively, however, we could cout all the ordered pairs (which have m choices for each term, for a total of m 2 ) ad use the subtractive priciple to remove those of the form (a i, a j ), of which there ca be easily see to be 2. Thus, this same eumeratio ca be computed as m 2 2. We thus have a combiatorial presetatio that ( m)( m) = m 2 2. This too is a bit of a parlor trick: it avoids usig the distributive property, but it s otherwise difficult to see why this might be useful. The big beefits of demostratig equality this way came ito play whe we itroduce the combiatio statistic. Defiitio 1. The umber of possible k-elemet subsets of a -elemet set is the combiatio statistic or biomial coefficiet, deoted ( k), ad read choose k. This expressio is equal to! k!( k)!.! The demostratio that this statistic is actually used to solve Questio 11. k!( k)! is simply a geeralizatio of the argumet The ( biomial coefficiets are subject to a tremedous umber of idetities; oe of the simplest is ( k) = 1 ) ( k + 1 k 1). This ca be proved algebraically, but doig so is perfectly miserable, ad more importatly, uillumiatig: ( ) ( ) 1 1 ( 1)! + = k k 1 k!( 1 k)! + ( 1)! (k 1)!( k)! ( 1)!( k) = k![( k)( k 1)!] + ( 1)!(k) [k(k 1)!]( k)! ( 1)!( k) ( 1)!(k) = + = k!( k)! ( 1)! k!( k)! =! k!( k)! = k!( k)! ( ) k Page 6 of 10 August 25, 2009

7 Questio 13: osese How ca we prove that ( ) ( k = 1 ) ( k + 1 k 1) without all this awful factorial Aswer ) 13: We will cout a particular set i two differet ways! Let X = {1, 2, 3,..., }. The, clearly couts the k-elemet subsets of X. ( k We hope that we ca somehow use ( ) ( 1 k + 1 k 1) to cout the same thig, ad do so by artificially itroducig a additive-priciple decompositio of the k-elemet subsets of X ito two cases. Let X = {1, 2, 3,..., 1}. The, i costructig a subset S of X, we have two distict possibilities: Case I: S cotais. The, sice we kow oe elemet of S, we oly eed to choose k 1 others to brig it up to k 1 elemets. These elemets must be umbers less tha ; that is, elemets of X. There are thus ( 1 k 1) possible such k-elemet sets. Case I: S does ot cotai. Sice we have t assiged ay elemets to S, we eed to choose all k of them. These elemets must be umbers less tha, sice was specifically excluded. There are thus ( ) 1 k possible such k-elemet sets. Usig the additive priciple to assemble these, we see that there are ( ) ( 1 k ) k subsets of X with k elemets. Sice the biomial coefficiet has such a simple eumerative iterpretatio, it leds itself to may equivalecies of eumeratios: Questio 14: Prove that ( ) + 0 ( ) + 1 ( ) + 2 ( ) ( ) ( ) = 2 Aswer 14: The left side of this equatio is easily iterpreted as a cout related to subsets of a set with elemets. Let X = {1, 2,..., }. The, the terms of the sum o the left side cout the umber of zero-elemet subsets of X, the the umber of oe-elemet subsets, the the umber of two-elemet subsets, ad so forth up to the umber of -elemet subsets. Addig together the umber of subsets of each size gives a umber with a simple iterpretatio: it is the umber of subsets of X, regardless of size. Now, to form a equality with the right side of the equaito, we wat to fid a way to argue that the ubmer of subsets of X is also 2. To do so, we might cosider the followig costructio techique for a subset of X: for each elemet of X, we have two choices; it is either i the subset or it is out of the subset. Sice we make a choice amog two alteratives ad repeat this choice times, the umber of ways to build a subset is = 2. Almost all idetities ivolvig the combiatio statistic are ameable to a combiatorial proof, ad frequetly these proofs are much easier tha tryig to prove the same thig algebraically. 4 The Twelvefold Way The twelvefold way is a term developed by Richard Staley to describe 12 closely related eumeratio statistics; i the course of developig these statistics, we ll lear a great deal about eumerative methods. We ve see several differet sorts of ways to eumerate selectios so far. There were our strigs, where we cared about order but did t force ay relatioship amog the strig elemets; there were Page 7 of 10 August 25, 2009

8 multisets, where we allowed repetitios but did t care about order, there were strigs of distict elemets, where we cared about order ad were restrictig choices, ad there were sets, which did t regard order but had choice-restricito. It s clear that the questio how may differet ways ca we take thigs from a pool of k has more tha oe iterpretatio. I order to specify this questio, we eed to kow more about what distiguishes two ways, ad what restrictios we have o our choice. There are three properties of a selectio statistic which we ll fid of iterest: Selected-elemet restrictio Ca we select the same elemet multiple times Do we demad that each elemet be selected at least oce Order cosideratio Is the choice AAC differet from ACA Elemet cosideratio Do the idividual thigs chose have itrisic properties Do we thik of ABC merely as choosig 3 differet thigs ad idistiguishable from CAB or eve XYZ We would always thik of AAB ad ABC as differet, however; oe has a repetitio, ad the other does ot. All i all, we will have 12 differet statistics, based o our aswer to these questios: Choosig k el ts from a set of size Free choice No repeats Each el t at least oce Ordered choice, distiguished el ts (1) (2) (3) Uordered choice, distiguished el ts (4) (5) (6) Ordered choice, udistiguished el ts (7) (8) (9) Uordered choice, udistiguished el ts (10) (11) (12) We ve actually see examples of (1), (2), ad (5) already. There are two commo other ways of iterpretig these eumerative statistics, which may be useful, or easier to visualize. Gia-Carlo Rota preseted these statistics as a questio of puttig balls ito boxes. For istace, istead of selectig the three-elemet subset {1, 3, 7} from {1, 2,..., 10}, he would visualize this as a system of 10 umbered boxes, with three ulabeled balls placed i boxes 1, 3, ad 7. I cotrast, if he wated to describe the sequece (1, 7, 3), he would describe the same set of boxes, but umbered balls to idicate order of appearace, so that ball 1 would go i box 1, ball 2 i box 7, ad ball 3 i box 3. Thus, the same statistics could be represeted by the umber of cofiguratios of balls ito boxes, depedig o box capacity ad whether thigs were labeled. Puttig k balls ito boxes Free choice 1 ball per box 1 ball per box Labeled balls, labeled boxes (1) (2) (3) Ulabeled balls, labeled boxes (4) (5) (6) Labeled balls, ulabeled boxes (7) (8) (9) Ulabeled balls, ulabeled boxes (10) (11) (12) Aother popular iterpretatio of these statistics is that of Richard Staley, where he couts equivalece classes of fuctios from a set of size k to a set of size. The questio of equivalece depeds o whether two fuctios are idetical up to permutatio of the elemets of oe set; e.g. If X = {A, B, C} ad Y = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, the the fuctio {(A, 2), (B, 5), (C, 8)} would be cosidered as equivalet to {(A, 8), (B, 2), (C, 5)} uder a permutatio of the elemets of X. Page 8 of 10 August 25, 2009

9 This correspods to order-distiguishability, or ball-labelig i the two prior iterpretatios. I this iterpretatio, the restrictios o repeated choice or requiremet to choose all elemets ca easily be stated as ijectivity ad surjectivity: Fuctios from X to Y with X = k, Y = Ay fuctios Ijective fuctios Surjective fuctios I total (1) (2) (3) Equivalece classes uder permutig X (4) (5) (6) Equivalece classes uder permutig Y (7) (8) (9) Equivalece classes uder permutig Xad Y (10) (11) (12) Now, with may iterpretatios of these statistics, we are i a positio to start discussig the actual values i each cell. Cell (5) couts the umber of uordered choices of k distict elemets from a -elemet set. This! we kow to be k!( k)! = ( k). Cell (2) couts the umber of ordered choices of distict elemets; this is actually a precursor to our calculatio for cell (5), which we attaied via symmetry-divisio from the umber of ordered choices. The umber of ordered choices was ( 1)( 2)( 3) ( k + 1) =! ( k)! = k!( k). This is sometimes kow as the permutatio statistic, ad may be deoted P k. Cell (1) is also easy to cout usig the multiplicative priciple. We choose ay of values for our first choice; we choose ay of values for our secod choice, ad so forth k times over, which we ca do i = k ways. The ext easy cell to fill is the surprisigly esoteric (11) ad almost icidetally (8). I the ballsad-boxes paradigm, this would be the questio: how may ways ca we put k balls i ulabeled boxes such that each box cotais o more tha oe ball If k >, this is clearly impossible. If k, the we could put oe ball per box util we have k boxes cotaiig oe ball each, ad k boxes cotaiig o balls. If the boxes are ulabeled, all ways of doig this are idetical. Thus, statistics (8) ad (11) happe to always be either 1 or 0, depedig k. We thous have a pretty good start o fillig out our table: Choosig k el ts from a set of size Free choice No repeats Each el t at least oce Ordered choice, distiguished el ts k k! ( k) ( = P k Uordered choice, distiguished el ts { k) 1 if k Ordered choice, udistiguished el ts 0 if < k { 1 if k Uordered choice, udistiguished el ts 0 if < k 4.1 Cells (4) ad (6): quatity assigmets Cells (4) ad (6) of the twelvefold way ca easily be idetified as assigmets of quatities to each of differet etities. This is most evidet i the balls-i-boxes paradigm, uder which we are simply distributig k balls amog boxes, freely i the case of cell (4), freely after assigig oe Page 9 of 10 August 25, 2009

10 to each box i the case of cell (6). We might ask this questio for specific values of ad k to get a better idea of what we re lookig at: Questio 15: How may ways are there to distribute 10 idetical items (e.g. cois) amog four idividuals so that each idividual receives at least oe item Aswer 15: We culd list all the ways to do this out, but it would be astoishigly tedious to do so. A revisualizatio of the problem, though, allows us to rephrase it i terms of a quatity we kow how to fid. A divisio of 10 cois amog 4 idividuals could be represeted by layig out all 10 cois i a row, ad the placig 3 dividers, ad assigig each sectio to a idividual. So, for istace, we could represet a divisio i which Alice receives 3 cois, Bob 4, Carl 2, ad Diae 1 with the followig placemet of dividers: So, i geeral, we ca associate a divisio of 10 items amog people with a choice of three dividerpositios amog the 10 items. Sice the dividers go betwee the items, there are 9 possible dividerlocatios amog 10 items; as a result, there are ( 9 3) = 84 ways to do so. Geeralizig the above, we see that if we are assigig k items to idividuals such that each idividual gets at least oe, we ca view this as placig 1 dividers i the k 1 iterstices betwee the items, ad that there are ( k 1 1) ways to do so. We ca use a similar approach to fid a statistic for cell (4): we ca either bootstrap off of our kow value for (6), or subtly modify it. To bootstrap, ote that we ca form a easy bijectio betwee free asigmets of k items to etities ad assigmets of + k items to etities i which each etity gets at least oe item. The bijectio is simple: distribute the extra items givig oe to each idividual or reverse the process by takig oe item away from each idividual. Thus, all we eed to kow is how to calculate statistic (6) with parameters ad + k: this would give ( +k 1 1 ). Alteratively, we could fid (4) by simply cosiderig the placemet of items ad dividers as was doe for (6), but here placig multiple dividers adjacet is ot a problem, so istead of fixig the locatio of items ad puttig dividers amog them, we cosider + k 1 ope spaces, ad fill each with either oe of k items item or oe of 1 dividers. We are thus selectig 1 locatios from + k 1 possible lcoatios for our dividers, which ca be doe i ( ) +k 1 1 ways. Our table for the twelvefold way is rapidly fillig! Choosig k el ts from a set of size Free choice No repeats Each el t at least oce Ordered choice, distiguished el ts k k! ( ) k ( Uordered choice, distiguished el ts +k 1 ) ( ( k 1 ) 1 { k) 1 1 if k Ordered choice, udistiguished el ts 0 if < k { 1 if k Uordered choice, udistiguished el ts 0 if < k The five remaiig spaces will require more clever tools to fill i. Page 10 of 10 August 25, 2009

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

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

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

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

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

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

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

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

Math 172 Spring 2010 Haiman Notes on ordinary generating functions

Math 172 Spring 2010 Haiman Notes on ordinary generating functions Math 72 Sprig 200 Haima Notes o ordiary geeratig fuctios How do we cout with geeratig fuctios? May eumeratio problems which are ot so easy to hadle by elemetary meas ca be solved usig geeratig fuctios

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

(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

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

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

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

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

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece 1, 1, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet

More information

Counting Well-Formed Parenthesizations Easily

Counting Well-Formed Parenthesizations Easily Coutig Well-Formed Parethesizatios Easily Pekka Kilpeläie Uiversity of Easter Filad School of Computig, Kuopio August 20, 2014 Abstract It is well kow that there is a oe-to-oe correspodece betwee ordered

More information

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

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece,, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet as

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

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

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

Mathematical Induction

Mathematical Induction Mathematical Iductio Itroductio Mathematical iductio, or just iductio, is a proof techique. Suppose that for every atural umber, P() is a statemet. We wish to show that all statemets P() are true. I a

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

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

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

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 018/019 DR. ANTHONY BROWN 8. Statistics 8.1. Measures of Cetre: Mea, Media ad Mode. If we have a series of umbers the

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

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

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016 subcaptiofot+=small,labelformat=pares,labelsep=space,skip=6pt,list=0,hypcap=0 subcaptio ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, /6/06. Self-cojugate Partitios Recall that, give a partitio λ, we may

More information

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function Summary: Cogrueces j whe divided by, ad determiig the additive order of a iteger mod. As described i the Prelab sectio, cogrueces ca be thought of i terms of coutig with rows, ad for some questios this

More information

As stated by Laplace, Probability is common sense reduced to calculation.

As stated by Laplace, Probability is common sense reduced to calculation. Note: Hadouts DO NOT replace the book. I most cases, they oly provide a guidelie o topics ad a ituitive feel. The math details will be covered i class, so it is importat to atted class ad also you MUST

More information

CS 336. of n 1 objects with order unimportant but repetition allowed.

CS 336. of n 1 objects with order unimportant but repetition allowed. CS 336. The importat issue is the logic you used to arrive at your aswer.. Use extra paper to determie your solutios the eatly trascribe them oto these sheets. 3. Do ot submit the scratch sheets. However,

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

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

P1 Chapter 8 :: Binomial Expansion

P1 Chapter 8 :: Binomial Expansion P Chapter 8 :: Biomial Expasio jfrost@tiffi.kigsto.sch.uk www.drfrostmaths.com @DrFrostMaths Last modified: 6 th August 7 Use of DrFrostMaths for practice Register for free at: www.drfrostmaths.com/homework

More information

Some Basic Counting Techniques

Some Basic Counting Techniques Some Basic Coutig Techiques Itroductio If A is a oempty subset of a fiite sample space S, the coceptually simplest way to fid the probability of A would be simply to apply the defiitio P (A) = s A p(s);

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

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

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

Statistics 511 Additional Materials

Statistics 511 Additional Materials Cofidece Itervals o mu Statistics 511 Additioal Materials This topic officially moves us from probability to statistics. We begi to discuss makig ifereces about the populatio. Oe way to differetiate probability

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

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

1. n! = n. tion. For example, (n+1)! working with factorials. = (n+1) n (n 1) 2 1 Biomial Coefficiets ad Permutatios Mii-lecture The followig pages discuss a few special iteger coutig fuctios You may have see some of these before i a basic probability class or elsewhere, but perhaps

More information

1 Hash tables. 1.1 Implementation

1 Hash tables. 1.1 Implementation Lecture 8 Hash Tables, Uiversal Hash Fuctios, Balls ad Bis Scribes: Luke Johsto, Moses Charikar, G. Valiat Date: Oct 18, 2017 Adapted From Virgiia Williams lecture otes 1 Hash tables A hash table is a

More information

Discrete Mathematics Recurrences

Discrete Mathematics Recurrences Discrete Mathematics Recurreces Saad Meimeh 1 What is a recurrece? It ofte happes that, i studyig a sequece of umbers a, a coectio betwee a ad a 1, or betwee a ad several of the previous a i, i

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

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

Topic 5: Basics of Probability

Topic 5: Basics of Probability Topic 5: Jue 1, 2011 1 Itroductio Mathematical structures lie Euclidea geometry or algebraic fields are defied by a set of axioms. Mathematical reality is the developed through the itroductio of cocepts

More information

Hashing and Amortization

Hashing and Amortization Lecture Hashig ad Amortizatio Supplemetal readig i CLRS: Chapter ; Chapter 7 itro; Sectio 7.. Arrays ad Hashig Arrays are very useful. The items i a array are statically addressed, so that isertig, deletig,

More information

Some examples of vector spaces

Some examples of vector spaces Roberto s Notes o Liear Algebra Chapter 11: Vector spaces Sectio 2 Some examples of vector spaces What you eed to kow already: The te axioms eeded to idetify a vector space. What you ca lear here: Some

More information

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

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

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS DEMETRES CHRISTOFIDES Abstract. Cosider a ivertible matrix over some field. The Gauss-Jorda elimiatio reduces this matrix to the idetity

More information

CHAPTER I: Vector Spaces

CHAPTER I: Vector Spaces CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig

More information

Combinatorics II. Combinatorics. Product Rule. Sum Rule II. Theorem (Product Rule) Theorem (Sum Rule)

Combinatorics II. Combinatorics. Product Rule. Sum Rule II. Theorem (Product Rule) Theorem (Sum Rule) Combiatorics Combiatorics I Slides by Christopher M. Bourke Istructor: Berthe Y. Choueiry Fall 27 Computer Sciece & Egieerig 235 to Discrete Mathematics Sectios 5.-5.6 & 7.5-7.6 of Rose cse235@cse.ul.edu

More information

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

Discrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions CS 70 Discrete Mathematics for CS Sprig 2005 Clacy/Wager Notes 21 Some Importat Distributios Questio: A biased coi with Heads probability p is tossed repeatedly util the first Head appears. What is the

More information

Math 216A Notes, Week 5

Math 216A Notes, Week 5 Math 6A Notes, Week 5 Scribe: Ayastassia Sebolt Disclaimer: These otes are ot early as polished (ad quite possibly ot early as correct) as a published paper. Please use them at your ow risk.. Thresholds

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

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

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

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22 CS 70 Discrete Mathematics for CS Sprig 2007 Luca Trevisa Lecture 22 Aother Importat Distributio The Geometric Distributio Questio: A biased coi with Heads probability p is tossed repeatedly util the first

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

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

Exercises 1 Sets and functions

Exercises 1 Sets and functions Exercises 1 Sets ad fuctios HU Wei September 6, 018 1 Basics Set theory ca be made much more rigorous ad built upo a set of Axioms. But we will cover oly some heuristic ideas. For those iterested studets,

More information

PROPERTIES OF AN EULER SQUARE

PROPERTIES OF AN EULER SQUARE PROPERTIES OF N EULER SQURE bout 0 the mathematicia Leoard Euler discussed the properties a x array of letters or itegers ow kow as a Euler or Graeco-Lati Square Such squares have the property that every

More information

(k) x n. n! tk = x a. (i) x p p! ti ) ( q 0. i 0. k A (i) n p

(k) x n. n! tk = x a. (i) x p p! ti ) ( q 0. i 0. k A (i) n p Math 880 Bigraded Classes & Stirlig Cycle Numbers Fall 206 Bigraded classes. Followig Flajolet-Sedgewic Ch. III, we defie a bigraded class A to be a set of combiatorial objects a A with two measures of

More information

arxiv: v1 [math.co] 23 Mar 2016

arxiv: v1 [math.co] 23 Mar 2016 The umber of direct-sum decompositios of a fiite vector space arxiv:603.0769v [math.co] 23 Mar 206 David Ellerma Uiversity of Califoria at Riverside August 3, 208 Abstract The theory of q-aalogs develops

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

Singular Continuous Measures by Michael Pejic 5/14/10

Singular Continuous Measures by Michael Pejic 5/14/10 Sigular Cotiuous Measures by Michael Peic 5/4/0 Prelimiaries Give a set X, a σ-algebra o X is a collectio of subsets of X that cotais X ad ad is closed uder complemetatio ad coutable uios hece, coutable

More information

The Borel hierarchy classifies subsets of the reals by their topological complexity. Another approach is to classify them by size.

The Borel hierarchy classifies subsets of the reals by their topological complexity. Another approach is to classify them by size. Lecture 7: Measure ad Category The Borel hierarchy classifies subsets of the reals by their topological complexity. Aother approach is to classify them by size. Filters ad Ideals The most commo measure

More information

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 17 Lecturer: David Wagner April 3, Notes 17 for CS 170

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 17 Lecturer: David Wagner April 3, Notes 17 for CS 170 UC Berkeley CS 170: Efficiet Algorithms ad Itractable Problems Hadout 17 Lecturer: David Wager April 3, 2003 Notes 17 for CS 170 1 The Lempel-Ziv algorithm There is a sese i which the Huffma codig was

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

Shannon s noiseless coding theorem

Shannon s noiseless coding theorem 18.310 lecture otes May 4, 2015 Shao s oiseless codig theorem Lecturer: Michel Goemas I these otes we discuss Shao s oiseless codig theorem, which is oe of the foudig results of the field of iformatio

More information

LINEAR ALGEBRAIC GROUPS: LECTURE 6

LINEAR ALGEBRAIC GROUPS: LECTURE 6 LINEAR ALGEBRAIC GROUPS: LECTURE 6 JOHN SIMANYI Grassmaias over Fiite Fields As see i the Fao plae, fiite fields create geometries that are uite differet from our more commo R or C based geometries These

More information

Solutions. tan 2 θ(tan 2 θ + 1) = cot6 θ,

Solutions. tan 2 θ(tan 2 θ + 1) = cot6 θ, Solutios 99. Let A ad B be two poits o a parabola with vertex V such that V A is perpedicular to V B ad θ is the agle betwee the chord V A ad the axis of the parabola. Prove that V A V B cot3 θ. Commet.

More information

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

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) = AN INTRODUCTION TO SCHRÖDER AND UNKNOWN NUMBERS NICK DUFRESNE Abstract. I this article we will itroduce two types of lattice paths, Schröder paths ad Ukow paths. We will examie differet properties of each,

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

Combinatorics and Newton s theorem

Combinatorics and Newton s theorem INTRODUCTION TO MATHEMATICAL REASONING Key Ideas Worksheet 5 Combiatorics ad Newto s theorem This week we are goig to explore Newto s biomial expasio theorem. This is a very useful tool i aalysis, but

More information

SNAP Centre Workshop. Basic Algebraic Manipulation

SNAP Centre Workshop. Basic Algebraic Manipulation SNAP Cetre Workshop Basic Algebraic Maipulatio 8 Simplifyig Algebraic Expressios Whe a expressio is writte i the most compact maer possible, it is cosidered to be simplified. Not Simplified: x(x + 4x)

More information

Lecture 4 The Simple Random Walk

Lecture 4 The Simple Random Walk Lecture 4: The Simple Radom Walk 1 of 9 Course: M36K Itro to Stochastic Processes Term: Fall 014 Istructor: Gorda Zitkovic Lecture 4 The Simple Radom Walk We have defied ad costructed a radom walk {X }

More information

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row: Math 5-4 Tue Feb 4 Cotiue with sectio 36 Determiats The effective way to compute determiats for larger-sized matrices without lots of zeroes is to ot use the defiitio, but rather to use the followig facts,

More information

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering CEE 5 Autum 005 Ucertaity Cocepts for Geotechical Egieerig Basic Termiology Set A set is a collectio of (mutually exclusive) objects or evets. The sample space is the (collectively exhaustive) collectio

More information

Lecture 12: November 13, 2018

Lecture 12: November 13, 2018 Mathematical Toolkit Autum 2018 Lecturer: Madhur Tulsiai Lecture 12: November 13, 2018 1 Radomized polyomial idetity testig We will use our kowledge of coditioal probability to prove the followig lemma,

More information

14 Classic Counting Problems in Combinatorics

14 Classic Counting Problems in Combinatorics 14 Classic Coutig Problems i Combiatorics (Herbert E. Müller, May 2017, herbert-mueller.ifo) Combiatorics is about coutig objects, or the umber of ways of doig somethig. I this article I preset some classic

More information

Chapter 4. Fourier Series

Chapter 4. Fourier Series Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,

More information

Combinatorics I Introduction. Combinatorics. Combinatorics I Motivating Example. Combinations. Product Rule. Permutations. Theorem (Product Rule)

Combinatorics I Introduction. Combinatorics. Combinatorics I Motivating Example. Combinations. Product Rule. Permutations. Theorem (Product Rule) Combiatorics I Itroductio Combiatorics Computer Sciece & Egieerig 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.ul.edu Combiatorics is the study of collectios of objects. Specifically, coutig

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

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence Chapter 3 Strog covergece As poited out i the Chapter 2, there are multiple ways to defie the otio of covergece of a sequece of radom variables. That chapter defied covergece i probability, covergece i

More information

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen) Goodess-of-Fit Tests ad Categorical Data Aalysis (Devore Chapter Fourtee) MATH-252-01: Probability ad Statistics II Sprig 2019 Cotets 1 Chi-Squared Tests with Kow Probabilities 1 1.1 Chi-Squared Testig................

More information

CS / MCS 401 Homework 3 grader solutions

CS / MCS 401 Homework 3 grader solutions CS / MCS 401 Homework 3 grader solutios assigmet due July 6, 016 writte by Jāis Lazovskis maximum poits: 33 Some questios from CLRS. Questios marked with a asterisk were ot graded. 1 Use the defiitio of

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

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

SOLUTIONS TO PRISM PROBLEMS Junior Level 2014

SOLUTIONS TO PRISM PROBLEMS Junior Level 2014 SOLUTIONS TO PRISM PROBLEMS Juior Level 04. (B) Sice 50% of 50 is 50 5 ad 50% of 40 is the secod by 5 0 5. 40 0, the first exceeds. (A) Oe way of comparig the magitudes of the umbers,,, 5 ad 0.7 is 4 5

More information

x a x a Lecture 2 Series (See Chapter 1 in Boas)

x a x a Lecture 2 Series (See Chapter 1 in Boas) Lecture Series (See Chapter i Boas) A basic ad very powerful (if pedestria, recall we are lazy AD smart) way to solve ay differetial (or itegral) equatio is via a series expasio of the correspodig solutio

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

Lecture 2: April 3, 2013

Lecture 2: April 3, 2013 TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 2: April 3, 203 Scribe: Shubhedu Trivedi Coi tosses cotiued We retur to the coi tossig example from the last lecture agai: Example. Give,

More information

ARRANGEMENTS IN A CIRCLE

ARRANGEMENTS IN A CIRCLE ARRANGEMENTS IN A CIRCLE Whe objects are arraged i a circle, the total umber of arragemets is reduced. The arragemet of (say) four people i a lie is easy ad o problem (if they liste of course!!). With

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

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 15

Discrete Mathematics and Probability Theory Summer 2014 James Cook Note 15 CS 70 Discrete Mathematics ad Probability Theory Summer 2014 James Cook Note 15 Some Importat Distributios I this ote we will itroduce three importat probability distributios that are widely used to model

More information

Lecture 1: Basic problems of coding theory

Lecture 1: Basic problems of coding theory Lecture 1: Basic problems of codig theory Error-Correctig Codes (Sprig 016) Rutgers Uiversity Swastik Kopparty Scribes: Abhishek Bhrushudi & Aditya Potukuchi Admiistrivia was discussed at the begiig of

More information

CALCULATING FIBONACCI VECTORS

CALCULATING FIBONACCI VECTORS THE GENERALIZED BINET FORMULA FOR CALCULATING FIBONACCI VECTORS Stuart D Aderso Departmet of Physics, Ithaca College 953 Daby Road, Ithaca NY 14850, USA email: saderso@ithacaedu ad Dai Novak Departmet

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

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis Recursive Algorithms Recurreces Computer Sciece & Egieerig 35: Discrete Mathematics Christopher M Bourke cbourke@cseuledu A recursive algorithm is oe i which objects are defied i terms of other objects

More information