Lecture 1: Generating Functions

Size: px
Start display at page:

Download "Lecture 1: Generating Functions"

Transcription

1 Advaced Topics i Combiatorics Summer 08 Lecturer: Kavish Gadhi Lecture : Geeratig Fuctios Itroductio The geeratig fuctio is a very powerful tool i combiatorics, ad is the first oe we will be itroducig i this class, mostly because it has applicatios throughout combiatorics ad will be very useful i provig results i Ramsey theory, partitio theory, code theory, ad more It is also worth gettig to ow early, because at first it may be difficult to gai ituitio as to why we use them, ad just how powerful a techique they are Defiitio A (ordiary geeratig fuctio for a series a 0, a, a, is the power series a 0 + a x + a x + + a x + = a x As a example, the geeratig fuctio for the sequece,,, 0, 0, 0, 0, is + + x = ( + x, ad that for the sequece,,,,,, is + x + x + x 3 + = x Why is such a cocept useful? I may cases, eve if there are ifiitely may ozero etries to the series, we ca reduce this ifiite power series to a closed, fiite form; ad, as it turs out, we ca add ad multiply geeratig fuctios for differet power series i a meaigful, atural way (as well as divide, scale, differetiate, ad ay other meaigful operatios o polyomials This becomes extremely useful, as we will show with examples later i the lecture A particular simple example of where you ca see geeratig fuctios pop up is i the biomial theorem, which I m sure most of you ow ( Theorem (Biomial Theorem For a iteger ad variables x, y, (x + y = x y Now, if y is a variable, ote that this actually gives a geeratig fuctio for some series; it is ideed fiite, but a geeratig fuctio oetheless Now, at this poit, it may seem that the coectio to geeratig fuctios is rather fuzzy ad ot useful, but it becomes more clear whe you cosider a geeralized versio of the biomial theorem, i which the expoet is replaced by ay real umber The details of why it is defied this way are ot worth gettig ito, but either way, the series becomes ifiite ad you ca see why geeratig fuctios are a atural way to express such a sum, ad give a reaso to examie the uderlyig sequece Note that a biomial ( j for a oiteger j ad iteger is defied as j(j (j (j +! Theorem 3 (Newto s geeralized biomial theorem For ay real umber j ad variables x, y, we have ( j that (x + y j = x j y =0 These are examples where you ca see geeratig fuctios is everyday theorems, but why are geeratig fuctios themselves a powerful tool i solvig problems? To give some ituitio behid this, I will give a rather elogated problem i which geeratig fuctios tur out to be extremely useful: derivig a explicit form for the Catala umbers This techique will prove ivaluable i geeral for solvig recurreces =0 =0 -

2 - Lecture : Geeratig Fuctios Catala umbers: bac to the quadratic formula? Formally, the Catala umbers are a sequece C 0, C, C,, C which ca be described by the followig recurrece C 0 =, C = C i C i Now, this is a rather dry formalism ad may seem lie a cotrived recurrece that comes out of owhere, but the Catala umbers tur out to have a umber of very iterestig combiatorial applicatios For example, the Catala umbers are exactly the umber of ways to travel from (0, 0 to (,, oly movig uit distaces up or to the right, ad stayig below the lie y = x Alteratively, the Catala umbers are exactly the umber of ways to write a series of ope ad close paretheses that mae sese; ie, there ca ever be more close paratheses tha ope paretheses that have appeared before them (Why is this the same as the previous defiitio? The Catala umbers tur out to appear i a lot of places As oe might imagie, because of the ubiquity of the Catala umbers, it would be useful to derive a explicit formula for them, rather tha the rather cumbersome recurrece above How are we goig to do this? Geeratig fuctios, of course! What is this geeratig fuctio? We ow that i geeral, from our defiitio, the geeratig fuctio for the Catala umbers is of the form C x However, the utility of geeratig fuctios comes from writig this is a more compressed form, ad to this ed we will use the recurrece relatio of the Catala umbers Claim 4 The geeratig fuctio C(x for the Catala umbers satisfies x C(x = C (x Proof: We re goig to use our recurrece relatio to rewrite the geeratig fuctio To this ed, cosider a slight alteratio to our traditioal geeratig fuctio, the sum Usig our recurrece, ( is equivalet to C + x ( ( C i C i x But ote that this is actually just aother way of writig C(x, sice each term of this sequece is exactly equivalet to those you would get if you squared our origial geeratig fuctio However, we also ow that (, if we multiply by x, is just our origial geeratig fuctio, except without the C 0 x 0 term: i other words, it is x (C(x C 0 = x (C(x Thus, sice both of our derivatios must be equal sice they are from the same origial equatio, we have that x (C(x = C(x, as desired Now comes the weird part We ow how to solve this: use the quadratic formula! I particular, multiplyig by x, we have that xc(x C(x + = 0, so, usig our favorite formula, C(x = ± 4x Now, which solutio is it? To figure this out, as with may recurreces, we use the base case: C 0 = 0 Now, ote that if we plug i x = 0 ito our geeratig fuctio C x, we should just get the C 0 term, sice all others go to 0 However, if we plug i 0 ito the positive square root, we get 0 =, which is clearly impossible (with the egative square root, we get 0 0, which is idetermiate, ad still could be the correct solutio Thus, the solutio we are looig for is the egative square root: our geeratig fuctio C(x = 4x For those iterested, Richard Staley, a famous combiatorist at MIT, wrote up a compedium of hudreds of iterpretatios/ways to derive the Catala umbers which ca be foud here:

3 Lecture : Geeratig Fuctios -3 From here, we re goig to use a theorem I metioed earlier, Newto s geeralized biomial theorem (it was t just a digressio!, to derive a explicit form geeratig fuctio for the Catala umbers Propositio 5 (Explicit form of Catala Numbers For all 0, C = +( ( 05 Proof: Usig the geeralized biomial theorem, we ca write ( 4x / as ( 4 x The first step to simplifyig this is expadig ( 05 as 05(05 (05 +! Multiplyig this by ( 4, we get ( 4 ( ( ((6 (4 6 = = ((3 ( 3!!! Thus, ( 4x / = = ( x = = (! ((3 ( 3!! 4 + ( ( + + (! =!! ( = x = = ( ( x This gives us that C(x = x At this poit, we are doe, sice C = 4+ ( + +, although we ca, as it turs out, further simplify this (i a o-iterestig way to +(, the more commo explicit formula The, we are doe! 3 Fiboacci: where did the 5 come from? Now, the methods that we used to fid a explicit form for the Catala umbers are ot uique! They ca geerally be applied to solve may recurreces; multiply your give geeratig fuctio by x, plug i the recurrece, ad derive a equatio for the geeratig fuctio i terms of it ad x Usig the quadratic equatio or similar techiques, solve for the geeratig fuctio as a fractio i terms of x, ad use series expasios (the biomial theorem, Taylor expasios that you ll use i calculus, or others, to derive a explicit form for the geeratig fuctio ad thus the sequece as a whole A example of this ca be see with the Fiboacci sequece, which satisfies F 0 = 0, F =, F = F + F, for which we ll write the geeratig fuctio as F(x = F x The, usig our recurrece, x F(x = F x = F x + F x = F(x + xf(x + F Thus, we have that x F(x = = = F(x+xF(x+ Multiplyig by x ad solvig for F(x, we get that F(x = = x We wo t do the x x series expasio explicitly here, but it turs out that this series expasio gives that F = (+ 5 ( 5!! This is quite extraordiary 3, ad may beg the questio: where does such a result come from, ituitively? The mai explaatio I ca give is a shay oe; the roots of the polyomial i the deomiator of the geeratig fuctio, x x are exactly + 5 ad 5, ad it turs out that we do a partial fractio decompositio based o these roots to derive the explicit form geeratig fuctio This proof is adapted from that of Mie Spivey 3 At first it might ot be etirely obvious that this gives a result that is a iteger, util you realize that oly the 5 terms remai i the expasio of the umerator, ad dividig by the 5 i the deomiator gives at least a ratioal aswer; showig that this is a iteger is aother story 5

4 -4 Lecture : Geeratig Fuctios Either way, from these two results, you ca see that usig geeratig fuctios to solve recurreces is a extremely powerful tool, ad coupled with characteristic polyomials, which we may tal about i a further lecture, ca solve most recurreces that you ll ecouter 4 Geeratig Fuctios meet Cooies A commo problem ivolvig geeratig fuctios ivolves the fact that their product is meaigful i the cotext of a coutig problem I particular, let s say that p 0, p, p, p 3, are the umber of ways of choosig elemets from some set P, ad q 0, q, q, q 3, are the umber of ways of choosig elemets from some set Q Clearly, we ca write these sequeces as P(x = p x ad Q(x = b x Now, let r be the umber of ways of choosig elemets from either P or Q; clearly r is just p i q i, which gives that R(x = Q(xP(x This idetity shows that, i coutig problems, we ca multiply geeratig fuctios associated with choosig objects from particular sets to get the combied solutio This fact turs out to be extremely powerful For example, cosider the followig problem ivolvig differet types of cooies: oreos, milaos, chips ahoy, ad thi mits (my favorite! Problem 4 Let p( be the umber of ways to choose oreos, milaos, chips ahoy, ad thi mits, subject to the followig costraits: the umber of oreos we tae must be a multiple of 7, we ca oly tae 6 milaos, we ca tae oly chips ahoy, ad the umber of thi mits must be odd What is p( for all? To solve this problem, we will fid a geeratig fuctio for all of the differet quatities we are choosig, ad the multiply them Amazigly, this will give us a simple aswer to what seems to be a pretty ugly coutig problem geeratig fuctios elimiates all of the tediousess Solutio: First, let the umber of the oreos, milaos, chips ahoy, ad thi mits, respectively, be a, b, c, d The, our costraits are that a 0 mod 7, b 6, c, d mod We wat to write geeratig fuctios for all of these Cosider the oreos first; sice a 0 mod 7, the associated possibility sequece is 0, 7, 4,, 8 If we write our geeratig fuctio as taig a if a quatity is possible ad 0 otherwise, this gives us a geeratig fuctio of A(x = x 7 = Similarly, for milaos, the possibilities x7 6 are 0,,, 3, 4, 5, 6, givig a geeratig fuctio of B(x = x = x7 Derivig a similar geeratig x fuctio for chips ahoy ad thi mits gives C(x = + x ad D(x = x + x = Now, we use x the fact that we ca multiply; the total possibilities geeratig fuctio T (x is just A(xB(xC(xD(x = x x7 7 x + x x x T (x = x ( x To express this i typical form for a geeratig fuctio, I will tae a small digressio ito calculus, usig the fact that x has expasio + x + x + ad that the derivative of x is ( x Usig the fact that derivatives apply equal well to power series (a fact that I have ot prove, this gives that ( x ca be writte as ( + x, ad thus our desired geeratig fuctio is x ( x = x, which gives us that the umber of ways to choose cooies amog the four = types is exactly! Surprisig, huh?

5 Lecture : Geeratig Fuctios -5 I geeral, this id of method is very powerful whe we are ased to choose items with respect to some requiremet, ad ca mae our lives a whole lot easier whe doig may types of combiatorics problems! 5 Expoetial Geeratig Fuctios ad Bell umbers This sectio will itroduce a ew cocept, called the expoetial geeratig fuctio The mai purpose of this sort of fuctio is to solve a coutig problem i which our goal is to cout the umber of ways the - elemet set ca tae some structure; for ordiary geeratig fuctios, our objects were idistiguishable, i some sese (although multiplicatio sometimes allowed us to chage this, while with expoetial geeratig fuctios our objects are ecessarily ordered This is a rather vague prerogative, but it will become more clear as we wor through examples Formally, a expoetial geeratig fuctio is defied as follows: Defiitio 6 A expoetial geeratig fuctio for a series a 0, a, a, is the power series a 0 + a x + a + a 3x = a x It helps to wor through some trivial examples; if the series we are cosiderig is,,,,, the the x expoetial geeratig fuctio is just! = ex, by defiitio I may cases, however, it helps to thi of our series rather as a set; the first example described the geeral set, the secod the trivial 0-elemet set If we wat a eve-sized set, or a series, 0,, 0,,, the the expoetial geeratig fuctio is ex +e x, which is the defiitio of hyperbolic cosie You ca see that we re gettig some pretty weird fuctios, ad this helps i may cases i which recurreces are strage or the sequeces/structures we are studyig require us to impose structure o a set The additive rule we used frequetly for ordiary geeratig fuctios still applies to expoetial geeratig fuctios, but this is just about the oly rule that still applies Multiplicatio is ow differet; with ordiary geeratig fuctios, we used that r = p i q i However, if we multiply two expoe- ( tial geeratig fuctios, we istead get that r = p i q i ; so, for future referece, whe we say i that R(x = P(xQ(x for expoetial geeratig fuctios, this is the implicatio about the uderlyig sequeces 4 Usig these defiitios, I wat to prove a famous formula for the Bell umbers B, which represet the umber of partitios of a set of size For example, for the three elemet set {x, y, z}, the possible partitios are {{x}, {y}, {z}}, {{x, y}, {z}}, {{x}, {y, z}}, {{x, z}, {y}}, {{x, y, z}}, so B 3 = 5 It turs out that the Bell umbers satisfy the followig explicit formula: Theorem 7 (Dobisi s Formula The th Bell umber satisfies B = e The fact that we have a ifiite sum ad a e is a pretty good idicator i geeral that we d be usig expoetial geeratig fuctios, but we ll start from scratch 4 For further referece, shiftig to the left or right i the uderlyig sequece ca o loger be achieved by substitutig x ; istead differetiatig ad itegratig are the correspodig operatios We ll try to avoid calculus as much as possible, however! =0!

6 -6 Lecture : Geeratig Fuctios Proof: First, let s thi about fidig a recurrece relatio for B + To do this, thi about what happes oce we fix the subset that the first elemet of our set is i; it ca be of ay size + j, for which there are ( j ways of choosig the remaiig j elemets Summig over all such j, we get the recurrece + B + = j= ( j B + j, or as it is more typically writte =0 ( B, if we switch aroud some idices From here, we are goig to prove the followig lemma, which will help us derive the desired result Lemma 8 The expoetial geeratig fuctio B(x for the Bell umbers is e ex ( Proof: The first step is a bit tricy, ad ivolves the recurrece B + = B that we just derived =0 Remember that we ca actually write the multiplicatio of two expoetial geeratig fuctios p ad q as ( defiig a ew sequece such that r = p q I the above, if we let p = B ad q =, ad =0 the expoetial geeratig fuctio for the Bell umbers be B(x, we get that e x B(x = db dx The ex comes from the fact that this is the geeratig fuctio for the sequece of all s, which is the q i this case, ad the B (x comes from the fact that our multiplicatio shifts the values i the series oe over, which I briefly metioed was equivalet to differetiatig (this is ot so difficult to show, but we will ot get ito it right ow Either way, from here, movig terms, we get that db B = ex dx, which, itegratig, gives that l(b = e x + C B(x = e ex +C Usig the base case that B(0 = B 0 =, sice this gives us the first term of the series, we have that C =, so we get that the expoetial geeratig fuctio for the Bell umbers is e ex, as desired With this i had, we ow eed to just expad this expoetial geeratig fuctio to get our desired explicit formulatio I particular, B(x = e ; let s first expad e eex ex We ll have to use the so-called Maclauri series (which you ll lear i calculus for e x = x Just pluggig this i, this reduces our! =0 geeratig fuctio (disregardig the factor of e for ow to (e x From here, pluggig i the Maclauri! =0 expasio for each idividual term i the sum, we get that e x x =, so the geeratig fuctio ca! be expaded out as ( x e!! = x e!! =0 B x Sice we of course also ow that B(x =, this gives that B =! e =0 =0, as desired! 6 Let s solve some HMMT Problems! I thought we d fiish with some HMMT problems that are easily solvable usig techiques we ve addressed up to this poit We ve oly begu to scratch the surface of geeratig fuctios ad their utility, however, ad I d recommed that, if iterested, you delve more deeply ito the additive, multiplicative, ad differetiable properties I briefly metioed i this lecture, ad read some resources that will help you develop a eve more rigorous theory of geeratig fuctios Regardless, here goes!

7 Lecture : Geeratig Fuctios -7 Problem 6 (HMMT 007, Problem 9, Combiatorics Let S deote the set of all triples (i, j, of positive itegers where i + j + = 7 Compute ij (i,j, S Solutio: This problem may loo itimidatig, but we re goig to solve for the geeral case, ot just i + j + = 7! Let s = s x But ote that ij We wat to fid the geeratig fuctio i+j+= 0 this geeratig fuctio simply correspods to cubig the geeratig fuctio x, because cubig this 0 fuctio causes the coefficiet of x to be exactly the sum of the products of umbers that add up to Now, let S = x Multiplyig by x ad subtractig this from S, we get that S xs = x = x, by the x 0 ( 3 sum of a geometric series This gives that S = x x ( x, ad thus our geeratig fuctio is ( x = x 3 ( x 6 ( 6 From here, usig the geeralized biomial theorem, we have that ( x 6 = x ( The, we =0 expad ( 6 = 6( 7 ( 6 +! ; multiplyig ( gives this to be (+5 (6! = ( +5 5 Thus, our geeratig ( + 5 ( + fuctio is x 3 x = x Thus, we have that s = ( , so our desired aswer is =0 =3 ( 9 = 68, which is correct! 5 A problem that also falls easily i a similar way to geeratig fuctios argumets (quite similar to problems that we ve discussed, also from the HMMT, is the followig See if you you ca solve it! Problem 6 (HMMT 008, Combiatorics, Problem 0 Determie the umber of 8-tuples of oegative itegers (a, a, a 3, a 4, b, b, b 3, b 4 satisfyig 0 a, for each =,, 3, 4, ad a + a + a 3 + a 4 + b + 3b + 4b 3 + 5b 4 = 9 Now, fially, we ed with a problem that does t immediately loo lie it ca be solved with geeratig fuctios, but turs out to fall immediately to a geeratig fuctio that we derived earlier i this lecture! Problem 63 (HMMT 008, Algebra, Problem 0 Evaluate the ifiite sum Solutio: + ( ( 5 Recall that we ow the geeratig fuctio for the Catala umbers, which has the form x ad 4x If we multiply the Catala umber s equatio by x ad tae a derivative, we get the geeratig fuctio G(x = ( x, which is what we are looig for (we simply wat to plug 5 ito this geeratig fuctio Doig the same to our other ow explicit form for the Catala geeratig fuctio, we differetiate x = ( 4x, which gives G(x = 4x Pluggig ( 4x i 5, this gives a aswer to the origial problem of 4 5 = 5, which is ideed correct!

8 -8 Lecture : Geeratig Fuctios 7 Practice ad Challege Problems 7 Basic Problems Problem 7 Fid the geeratig fuctio for the sequeces,,,, 0, 0, 0, 0, ad, 7,, 35, 35,, 7,, 0, 0, Simplify your aswers as much as possible Problem 7 I how may ways ca we mae $ from peies, icels, dimes, ad quarters? Problem 73 Prove that the geeratig fuctio ( x µ(/ = e x, for µ( the Mobius fuctio defied as µ( =, µ( = 0 if is divisible by the square of a iteger greater tha oe, ad µ( = ( r if is the product of r distict primes Hit: tae logs! This is a beautiful, surprisig result, which does require some calculus Problem 74 Solve the liear recurrece a 4a + 4a = 0,, a 0 =, a = 4, usig geeratig fuctios Problem 75 Usig domioes that we ca place horizotally or vertically, i how may ways ca we tile a strip? These umbers may loo familiar! As a ote, the followig theorem is true i the geeral case: Theorem 9 (Kasteley, 96 Let Q m, be a rectagular grid with m eve The the umber of 05m ( ( π jπ domio tiligs of Q m, is cos + cos m + + = j= Is t that a astoishig result! We oly as you to prove the case, but it s still a fasciatig problem ad oe very approachable usig geeratig fuctios (i fact, the proof of the above relies o costructig such a geeratig fuctio 7 Competitio Problems Problem 76 (Romaia 003 How may -digit umbers, whose digits are i the set {, 3, 7, 9}, are divisible by 3? Problem 77 (IMO 995 Let p be a odd prime How may p-elemet subsets A of {,,, p} are there, the sum of whose elemets is divisible by p? Problem 78 (IMO Shortlist 998 The sequece 0 a 0 < a < a < is such that every oegative iteger ca be uiquely expressed as a i + a j + 4a, where i, j, are ot ecessarily distict Fid a Research Problems Geeratig fuctios are ubiquitious i research, especially i eumerative combiatorics I give a example below of a problem that is actually related to a famous NP-complete problem that baffled researchers for decades, for which the smaller cases ca be solved usig techiques of geeratig fuctios See if you ca figure out how! 5 Problem 79 (Subset sum problem Give a list of itegers, is there a oempty subset of these itegers whose sum is a particular iteger? If so, fid it 5 Note that this is t supposed to be especially elegat, but is a way that you could do this problem for small cases Pretty cool that somethig you ca lear i high school is still used i moder algorithms problems!

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

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

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

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

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

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

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

Lecture 3: Catalan Numbers

Lecture 3: Catalan Numbers CCS Discrete Math I Professor: Padraic Bartlett Lecture 3: Catala Numbers Week 3 UCSB 2014 I this week, we start studyig specific examples of commoly-occurrig sequeces of umbers (as opposed to the more

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

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

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

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

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

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

(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

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

MAT 271 Project: Partial Fractions for certain rational functions

MAT 271 Project: Partial Fractions for certain rational functions MAT 7 Project: Partial Fractios for certai ratioal fuctios Prerequisite kowledge: partial fractios from MAT 7, a very good commad of factorig ad complex umbers from Precalculus. To complete this project,

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

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example:

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example: 74 The Method of Partial Fractios I algebra oe speds much time fidig commo deomiators ad thus simplifyig ratioal epressios For eample: + + + 6 5 + = + = = + + + + + ( )( ) 5 It may the seem odd to be watig

More information

Seunghee Ye Ma 8: Week 5 Oct 28

Seunghee Ye Ma 8: Week 5 Oct 28 Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value

More information

1 Approximating Integrals using Taylor Polynomials

1 Approximating Integrals using Taylor Polynomials Seughee Ye Ma 8: Week 7 Nov Week 7 Summary This week, we will lear how we ca approximate itegrals usig Taylor series ad umerical methods. Topics Page Approximatig Itegrals usig Taylor Polyomials. Defiitios................................................

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

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

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

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

GENERATING FUNCTIONS AND RANDOM WALKS

GENERATING FUNCTIONS AND RANDOM WALKS GENERATING FUNCTIONS AND RANDOM WALKS SIMON RUBINSTEIN-SALZEDO 1 A illustrative example Before we start studyig geeratig fuctios properly, let us look a example of their use Cosider the umbers a, defied

More information

Solutions to Problem Set 8

Solutions to Problem Set 8 8.78 Solutios to Problem Set 8. We ow that ( ) ( + x) x. Now we plug i x, ω, ω ad add the three equatios. If 3 the we ll get a cotributio of + ω + ω + ω + ω 0, whereas if 3 we ll get a cotributio of +

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

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

Enumerative & Asymptotic Combinatorics

Enumerative & Asymptotic Combinatorics C50 Eumerative & Asymptotic Combiatorics Notes 4 Sprig 2003 Much of the eumerative combiatorics of sets ad fuctios ca be geeralised i a maer which, at first sight, seems a bit umotivated I this chapter,

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

APPENDIX F Complex Numbers

APPENDIX F Complex Numbers APPENDIX F Complex Numbers Operatios with Complex Numbers Complex Solutios of Quadratic Equatios Polar Form of a Complex Number Powers ad Roots of Complex Numbers Operatios with Complex Numbers Some equatios

More information

TEACHER CERTIFICATION STUDY GUIDE

TEACHER CERTIFICATION STUDY GUIDE COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra

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

Math 4400/6400 Homework #7 solutions

Math 4400/6400 Homework #7 solutions MATH 4400 problems. Math 4400/6400 Homewor #7 solutios 1. Let p be a prime umber. Show that the order of 1 + p modulo p 2 is exactly p. Hit: Expad (1 + p) p by the biomial theorem, ad recall from MATH

More information

Mathematics review for CSCI 303 Spring Department of Computer Science College of William & Mary Robert Michael Lewis

Mathematics review for CSCI 303 Spring Department of Computer Science College of William & Mary Robert Michael Lewis Mathematics review for CSCI 303 Sprig 019 Departmet of Computer Sciece College of William & Mary Robert Michael Lewis Copyright 018 019 Robert Michael Lewis Versio geerated: 13 : 00 Jauary 17, 019 Cotets

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

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

P.3 Polynomials and Special products

P.3 Polynomials and Special products Precalc Fall 2016 Sectios P.3, 1.2, 1.3, P.4, 1.4, P.2 (radicals/ratioal expoets), 1.5, 1.6, 1.7, 1.8, 1.1, 2.1, 2.2 I Polyomial defiitio (p. 28) a x + a x +... + a x + a x 1 1 0 1 1 0 a x + a x +... +

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

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify Example 1 Simplify 1.2A Radical Operatios a) 4 2 b) 16 1 2 c) 16 d) 2 e) 8 1 f) 8 What is the relatioship betwee a, b, c? What is the relatioship betwee d, e, f? If x = a, the x = = th root theorems: RADICAL

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

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

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

Course : Algebraic Combinatorics

Course : Algebraic Combinatorics Course 18.312: Algebraic Combiatorics Lecture Notes # 18-19 Addedum by Gregg Musier March 18th - 20th, 2009 The followig material ca be foud i a umber of sources, icludig Sectios 7.3 7.5, 7.7, 7.10 7.11,

More information

FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS. H. W. Gould Department of Mathematics, West Virginia University, Morgantown, WV 26506, USA

FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS. H. W. Gould Department of Mathematics, West Virginia University, Morgantown, WV 26506, USA INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 7 (2007), #A58 FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS H. W. Gould Departmet of Mathematics, West Virgiia Uiversity, Morgatow, WV

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

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

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

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities Polyomials with Ratioal Roots that Differ by a No-zero Costat Philip Gibbs The problem of fidig two polyomials P(x) ad Q(x) of a give degree i a sigle variable x that have all ratioal roots ad differ by

More information

INTEGRATION BY PARTS (TABLE METHOD)

INTEGRATION BY PARTS (TABLE METHOD) INTEGRATION BY PARTS (TABLE METHOD) Suppose you wat to evaluate cos d usig itegratio by parts. Usig the u dv otatio, we get So, u dv d cos du d v si cos d si si d or si si d We see that it is ecessary

More information

The Growth of Functions. Theoretical Supplement

The Growth of Functions. Theoretical Supplement The Growth of Fuctios Theoretical Supplemet The Triagle Iequality The triagle iequality is a algebraic tool that is ofte useful i maipulatig absolute values of fuctios. The triagle iequality says that

More information

Sequences of Definite Integrals, Factorials and Double Factorials

Sequences of Definite Integrals, Factorials and Double Factorials 47 6 Joural of Iteger Sequeces, Vol. 8 (5), Article 5.4.6 Sequeces of Defiite Itegrals, Factorials ad Double Factorials Thierry Daa-Picard Departmet of Applied Mathematics Jerusalem College of Techology

More information

Series: Infinite Sums

Series: Infinite Sums Series: Ifiite Sums Series are a way to mae sese of certai types of ifiitely log sums. We will eed to be able to do this if we are to attai our goal of approximatig trascedetal fuctios by usig ifiite degree

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

Recurrence Relations

Recurrence Relations Recurrece Relatios Aalysis of recursive algorithms, such as: it factorial (it ) { if (==0) retur ; else retur ( * factorial(-)); } Let t be the umber of multiplicatios eeded to calculate factorial(). The

More information

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

September 2012 C1 Note. C1 Notes (Edexcel) Copyright   - For AS, A2 notes and IGCSE / GCSE worksheets 1 September 0 s (Edecel) Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright

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

6.003 Homework #3 Solutions

6.003 Homework #3 Solutions 6.00 Homework # Solutios Problems. Complex umbers a. Evaluate the real ad imagiary parts of j j. π/ Real part = Imagiary part = 0 e Euler s formula says that j = e jπ/, so jπ/ j π/ j j = e = e. Thus the

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

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

(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 50-004 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

More information

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations Differece Equatios to Differetial Equatios Sectio. Calculus: Areas Ad Tagets The study of calculus begis with questios about chage. What happes to the velocity of a swigig pedulum as its positio chages?

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

Lecture 6 April 10. We now give two identities which are useful for simplifying sums of binomial coefficients.

Lecture 6 April 10. We now give two identities which are useful for simplifying sums of binomial coefficients. Lecture 6 April 0 As aother applicatio of the biomial theorem we have the followig. For 0. 0 I other words startig with the secod row ad goig dow if we sum alog the rows alteratig sig as we go the result

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

Properties and Tests of Zeros of Polynomial Functions

Properties and Tests of Zeros of Polynomial Functions Properties ad Tests of Zeros of Polyomial Fuctios The Remaider ad Factor Theorems: Sythetic divisio ca be used to fid the values of polyomials i a sometimes easier way tha substitutio. This is show by

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

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

[ 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

Sequences, Series, and All That

Sequences, Series, and All That Chapter Te Sequeces, Series, ad All That. Itroductio Suppose we wat to compute a approximatio of the umber e by usig the Taylor polyomial p for f ( x) = e x at a =. This polyomial is easily see to be 3

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

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

AP Calculus Chapter 9: Infinite Series

AP Calculus Chapter 9: Infinite Series AP Calculus Chapter 9: Ifiite Series 9. Sequeces a, a 2, a 3, a 4, a 5,... Sequece: A fuctio whose domai is the set of positive itegers = 2 3 4 a = a a 2 a 3 a 4 terms of the sequece Begi with the patter

More information

Chapter 6: Numerical Series

Chapter 6: Numerical Series Chapter 6: Numerical Series 327 Chapter 6 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals

More information

The Riemann Zeta Function

The Riemann Zeta Function Physics 6A Witer 6 The Riema Zeta Fuctio I this ote, I will sketch some of the mai properties of the Riema zeta fuctio, ζ(x). For x >, we defie ζ(x) =, x >. () x = For x, this sum diverges. However, we

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

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

Chapter 6 Overview: Sequences and Numerical Series. For the purposes of AP, this topic is broken into four basic subtopics:

Chapter 6 Overview: Sequences and Numerical Series. For the purposes of AP, this topic is broken into four basic subtopics: Chapter 6 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals (which is what most studets

More information

Linear Regression Demystified

Linear Regression Demystified Liear Regressio Demystified Liear regressio is a importat subject i statistics. I elemetary statistics courses, formulae related to liear regressio are ofte stated without derivatio. This ote iteds to

More information

MA131 - Analysis 1. Workbook 2 Sequences I

MA131 - Analysis 1. Workbook 2 Sequences I MA3 - Aalysis Workbook 2 Sequeces I Autum 203 Cotets 2 Sequeces I 2. Itroductio.............................. 2.2 Icreasig ad Decreasig Sequeces................ 2 2.3 Bouded Sequeces..........................

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

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

CSI 2101 Discrete Structures Winter Homework Assignment #4 (100 points, weight 5%) Due: Thursday, April 5, at 1:00pm (in lecture)

CSI 2101 Discrete Structures Winter Homework Assignment #4 (100 points, weight 5%) Due: Thursday, April 5, at 1:00pm (in lecture) CSI 101 Discrete Structures Witer 01 Prof. Lucia Moura Uiversity of Ottawa Homework Assigmet #4 (100 poits, weight %) Due: Thursday, April, at 1:00pm (i lecture) Program verificatio, Recurrece Relatios

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

Practice Problems: Taylor and Maclaurin Series

Practice Problems: Taylor and Maclaurin Series Practice Problems: Taylor ad Maclauri Series Aswers. a) Start by takig derivatives util a patter develops that lets you to write a geeral formula for the -th derivative. Do t simplify as you go, because

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

Chapter 7: Numerical Series

Chapter 7: Numerical Series Chapter 7: Numerical Series Chapter 7 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals

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

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

18.440, March 9, Stirling s formula

18.440, March 9, Stirling s formula Stirlig s formula 8.44, March 9, 9 The factorial fuctio! is importat i evaluatig biomial, hypergeometric, ad other probabilities. If is ot too large,! ca be computed directly, by calculators or computers.

More information

Sequences I. Chapter Introduction

Sequences I. Chapter Introduction Chapter 2 Sequeces I 2. Itroductio A sequece is a list of umbers i a defiite order so that we kow which umber is i the first place, which umber is i the secod place ad, for ay atural umber, we kow which

More information

Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients.

Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients. Defiitios ad Theorems Remember the scalar form of the liear programmig problem, Miimize, Subject to, f(x) = c i x i a 1i x i = b 1 a mi x i = b m x i 0 i = 1,2,, where x are the decisio variables. c, b,

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

Appendix F: Complex Numbers

Appendix F: Complex Numbers Appedix F Complex Numbers F1 Appedix F: Complex Numbers Use the imagiary uit i to write complex umbers, ad to add, subtract, ad multiply complex umbers. Fid complex solutios of quadratic equatios. Write

More information

Most text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t

Most text will write ordinary derivatives using either Leibniz notation 2 3. y + 5y= e and y y. xx tt t Itroductio to Differetial Equatios Defiitios ad Termiolog Differetial Equatio: A equatio cotaiig the derivatives of oe or more depedet variables, with respect to oe or more idepedet variables, is said

More information

ECE-S352 Introduction to Digital Signal Processing Lecture 3A Direct Solution of Difference Equations

ECE-S352 Introduction to Digital Signal Processing Lecture 3A Direct Solution of Difference Equations ECE-S352 Itroductio to Digital Sigal Processig Lecture 3A Direct Solutio of Differece Equatios Discrete Time Systems Described by Differece Equatios Uit impulse (sample) respose h() of a DT system allows

More information

Beurling Integers: Part 2

Beurling Integers: Part 2 Beurlig Itegers: Part 2 Isomorphisms Devi Platt July 11, 2015 1 Prime Factorizatio Sequeces I the last article we itroduced the Beurlig geeralized itegers, which ca be represeted as a sequece of real umbers

More information

Sect 5.3 Proportions

Sect 5.3 Proportions Sect 5. Proportios Objective a: Defiitio of a Proportio. A proportio is a statemet that two ratios or two rates are equal. A proportio takes a form that is similar to a aalogy i Eglish class. For example,

More information