GENERATING FUNCTIONS AND RANDOM WALKS

Size: px
Start display at page:

Download "GENERATING FUNCTIONS AND RANDOM WALKS"

Transcription

1 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 by the recurrece relatio a +1 = 2a + 1, a 0 = 0 We would like a geeral formula for a We might try workig out a few terms to see if we ca detect a patter: a 0 = 0, a 1 = 1, a 2 = 3, a 3 = 7, a 4 = 15, a 5 = 31 If we re lucky, we otice that it looks like a = 2 1 The, we ca try to prove this formula with iductio But that oly worked because we got lucky ad happeed to otice ad guess the patter How could we figure out a geeral formula without ay guesswork? Let s solve the above example, without ay guesswork What we will do is to set up a object that carries all the iformatio about the recurrece, i a easy-to-use format To do this, let us defie a object A(x) = a x = a 0 + a 1 x + a 2 x 2 + a 3 x 3 + We wat to use the recurrece relatio i order to lear more about A(x) So, let us take the relatio a +1 = 2a + 1, multiply by x to get a +1 x = 2a x + x, ad the sum from = 0 to : a +1 x = 2 a x + x Some of the terms i this sum are familiar objects: the first term o the right side is 2A(x), ad the secod term is a geometric series, which sums to 1 1 x 1 But what about the left side? Date: I case you re worried about covergece, do t be Whe we use geeratig fuctios, we like to trouble ourselves as little as possible with issues of covergece This will oly be a issue if we ever try to plug somethig i for x Sometimes we will do that, ad the we will eed to be careful, but for ow it will ot be ecessary 1

2 2 SIMON RUBINSTEIN-SALZEDO We ca express that i terms of A(x) as well, as A(x) a 0 Sice a x 0 = 0, this meas that the left side is A(x) Thus, we have x A(x) = 2A(x) + 1 x 1 x We ca ow solve for A(x) to get A(x) = x (1 x)(1 2x) Now, we ve figured out what A(x) is How do we recover the a s i a useful form? The usual thig to do at this poit is to use partial fractios, ie, to try to write A(x) = c 1 x + d 1 2x, for some costats c ad d There are may ways to fid c ad d, but oe of the easiest is to take the above equatio ad clear deomiators, to get (1) x = c(1 2x) + d(1 x) ad plug i ice values for x like 1 ad 1, so that we get c = 1 ad d = 1, so that 2 A(x) = 1 1 2x 1 1 x 2 Fially, we have expressed A(x) as a sum of two terms, each of which is the sum of a geometric series So, we usum them to get A(x) = 2 x x = (2 1)x = a x Equatig coefficiets of the x terms, 3 we fid that a = Geeratig fuctios The power series A(x) = a x that we used above is called the geeratig fuctio for the sequece (a ) As we saw above, they are really useful for solvig problems ivolvig recurreces For example, by slightly modifyig the above approach, we ca prove Biet s formula for Fiboacci umbers: (2) F = 1 5 (( 1 + ) ( ) ) 5 2 (It s a little bit aoyig, sice we have to do partial fractios with terms that have 5 s i them, but a slightly uglier computatio is the mai extra difficulty we ecouter I would t wat to do it o the board with people watchig me) 2 I hear you complaiig that I promised ot to plug thigs i for x sice we cavalierly disregarded covergece issues earlier, ad the I did so ayway If this bothers you, feel free to solve for c ad d by equatig costat ad liear terms i equatio (1) 3 We ca do this, sice two such power series are equal if ad oly if all their coefficiets are equal

3 GENERATING FUNCTIONS AND RANDOM WALKS 3 However, some recurreces have a more complicated form tha the liear recurreces defiig a above or the Fiboacci umbers May of these come from sequeces of combiatorial iterest Example The th Catala umber C is the umber of paths from (0, 0) to (2, 0) cosistig of steps of the form (1, 1) ad steps of the form (1, 1) that ever pass below the x-axis 4 Such paths are called Dyck paths Here are all the Dyck paths with = 3: The first few Catala umbers are C 0 = 1, C 1 = 1, C 2 = 2, C 3 = 5, C 4 = 14, C 5 = 42 The Catala umbers have a ice recurrece relatio: Theorem 1 The Catala umbers satisfy the recurrece relatio C +1 = C 0 C + C 1 C C 1 C 1 + C C 0 = C i C i Based o this recurrece, we ca compute the geeratig fuctio C(x) = C x for the Catala umbers But before we do that, we should ivestigate what happes whe we add ad multiply geeratig fuctios: Theorem 2 Let A(x) = a x ad B(x) = b x be two geeratig fuctios The A(x) + B(x) = (a + b )x, A(x)B(x) = ( ) a k b k x Let us ow work out the geeratig fuctio for the Catala umbers, based o the recurrece relatio: doig the usual trick of multiplyig by x ad summig over gives ( ) C +1 x = C k C k x 4 This is very far from the oly way of defiig the Catala umbers Richard Staley, i his book Eumerative Combiatorics, Volume 2, gives 66 iterpretatios of the Catala umbers i his (i)famous Exercise 619 He ow lists several hudreds more o his website, at ec/cataddpdf, ad also i his ew book, simply titled Catala Numbers k=0 k=0 i=0

4 4 SIMON RUBINSTEIN-SALZEDO The left side is C(x) 1, ad the right side is C(x) 2 Hece we have x C(x) 1 = C(x) 2 x Solvig for C(x) usig the quadratic formula gives C(x) = 1 ± 1 4x 2x Ah, but we re ot quite doe, because we do t kow whether it s the positive or egative root But we ca figure this out, i oe of two ways: (1) The hoest way: We ca do this by computig some terms ad seeig which oe is right Usig the positive root ad applyig the biomial theorem, we would get C(x) = 1 1 x x 2x2 +, so we would have C 1 = 1, C 0 = 1, ad so forth But this is wrog If we istead try the egative root, we would get C(x) = 1 + x + 2x 2 + 5x 3 +, which is right Hece we have C(x) = 1 1 4x 2x (2) Cheatig: If we plug x = 0 ito C(x), we should get C(0) = C 0 = C 0 = 1 So, let s try it If we try it with the positive root, we get C(0) = 2, which is disastrous 0 O the other had, if we try it with the egative root, we get C(0) = 0 Much better! 0 Geeratig fuctios are very powerful whe tacklig combiatorial problems Ideed, there is a eormous amout to be said about geeratig fuctios ad combiatorics, but I wo t say it here, because I d like to move o to radom walks ad probability (See the list of refereces at the ed) 3 Radom walks George Pólya was the first perso to study radom walks He became iterested i them whe he repeatedly ra ito the same couple while takig his afteroo walks, despite choosig differet routes Embarrassed that this coicidece might be costrued as soopig, he wodered whether this would happe by chace, ad the subject of radom walks was bor Let us set up the problem A radom walker starts at the origi i R d At every secod, the walker moves oe uit i a directio parallel to oe of the coordiate axes (So, the walker takes a step of the form (0, 0,, 0, ±1, 0,, 0), each with equal probability) Sice there are 2d possible steps, each oe occurs with probability 1 2d The problem is to determie the probability that the walker evetually returs to the origi It will ot be easy to treat all dimesios at oce, so we shall begi with a 1-dimesioal radom walk Here, the walker moves oe step to the right with probability 1/2, ad oe step to the left with probability 1/2 Let us defie p as the probability that the walker is

5 GENERATING FUNCTIONS AND RANDOM WALKS 5 at the origi after time, ad let f be the probability that the walker has retured to the origi for the first time at time Note that, if is odd, the p = f = 0 There are two ways of proceedig First method: Let s work out what f 2 is I order for the walker to have retured to the origi for the first time at time 2, the walker must have stayed etirely positive or etirely egative before that Let us assume that the walker stayed etirely i the positives I order for this to happe, the walker must have made oe positive step at the begiig, the doe a Dyck path of legth 2 2, the take oe egative step at the ed The umber of ways for this to happe is C 1, ad there are 2 2 possible paths i total Hece, the probability that this happes is C But sice the walker could have stayed etirely egative as well, we have to multiply this umber by 2 So, the probability that the walker returs for the first time at time 2 is f 2 = C What is the probability that the walker ever returs to the origi? Well, i ay walk that evetually returs to the origi, there must be some first retur, so the probability of a retur is simply the sum of the f s: f 2 I terms of the Catala umbers, this is C 1 2 = 2 1 C From the geeratig fuctio for the Catala umbers, we ca work this out as a umber, sice it s almost what we get whe we plug i x = 1 i C(x): 4 C C(1/4) = 4 Hece the desired probability is 1 C(1/4) = 1 Thus we have proved: 2 Theorem 3 I a oe-dimesioal radom walk, the walker returs to the origi with probability 1 Secod method: This method ivolves meshig the f s ad the p s better To do this, we fid a recurrece relatio ivolvig the f s ad p s: if we re at the origi after 2 steps, the we must have had a first retur to the origi at 2k steps, for some k, ad the made a path that goes back to the origi i 2 2k steps Hece, we have p 2 = f 0 p 2 + f 2 p f 2 2 p 2 + f 2 p 0, whe 1 (Whe = 0, this relatio does t work, because there is o first retur) Let us set F (x) = f 2x ad P (x) = p 2x We ca fid a relatio betwee F ad P by usig the recurrece: multiply by x ad sum over 1 to get ( ) p 2 x = f 2k p 2 2k x The left side is P (x) p 0 = P (x) 1, ad the right side is F (x)p (x) f 0 p 0 = F (x)p (x) (sice f 0 = 0) Thus we have P (x) 1 = F (x)p (x), k=0

6 6 SIMON RUBINSTEIN-SALZEDO or F (x) = 1 1 P (x) Now, we compute P (x) To compute p 2, we ote that, i order to be back at the origi after 2 steps, we must have take positive steps ad egative steps, ad these ca be arraged i ay order Each possible sequece of positive ad egative steps occurs with probability 1/4, so p 2 = 1 ( ) 2 4 Hece P (x) = ( ) 2 (x ) 4 By the biomial theorem ad some maipulatios, we fid that this is equal to 1 1 x Hece F (x) = 1 1 x, so F (1) = 1, oce agai So, we have ow show that with probability 1, the walker returs home But how log does it take, o average? Let us determie how to work out the average value of a radom variable It is easiest to uderstad what this meas by first doig a example: the average value of a die roll The average value of a die roll is 7 = 1 ( ) There is a probability of 1/6 of 2 6 each result, so we multiply the result by the probability ad sum over all the possibilities Hece, i this case, the average time it takes to get back to the origi for the first time is 2f 2 There is a stadard trick to evaluate such sums: take a derivative! If A(x) = a x, the A (x) = a x 1 I particular, if we have a radom variable that takes o oly oegative iteger values, with a beig the probability of gettig (so that i particular a = 1), the the expected or mea value of the radom variable is A (1) I our case, F (x) = f 2 x 1 Hece, the average time to the first retur home is 2F (1), with the 2 comig because we multiplied f 2 by x rather tha x 2 We ca compute this directly, sice F (x) = 1 1 x; we get F (x) = 1 2, so it looks like 2F (1) is ifiite This meas that, eve though the 1 x walker returs i fiite time with probability 1, the average amout of time it takes is ifiite!

7 GENERATING FUNCTIONS AND RANDOM WALKS 7 4 Higher-dimesioal radom walks Now that we ve take care of the oe-dimesioal radom walk, let s move o to higher dimesios There are surprises waitig for us here! Let s do the 2-dimesioal case Here, there are four possible steps: (1, 0), ( 1, 0), (0, 1), ad (0, 1) We defie f (2) 2 ad p (2) 2 to be the probability of a first retur or retur (respectively) to the origi at time 2 We will compute f (2) 2 ad p (2) 2 by followig Method 2 i the oe-dimesioal case We start by computig p (2) 2 I order to retur to the origi after 2 steps, we must take k steps right, k steps left, k steps up, ad k steps dow, for some k with 0 k The probability of takig k steps right, k steps left, k steps up, ad k steps dow is 1 (2)! 4 2 k! 2 ( k)! = 1 (2)!! ! 2 k! 2 ( k)! = 1 ( )( ) k Thus p (2) 2 = k= ( 2 )( k ) 2 = ( ) 2 2, where the last equality follows from problem 9 Now, the recurrece relatig the f s ad the p s still holds, so if we let F (2) be the geeratig fuctio for the f s, ad P (2) the geeratig fuctio for the p s, we have oce agai F (2) (x) = 1 1 P (2) (x) This time it wo t be so easy to evaluate P (2) (x) exactly, so we ll have to resort to a approximatio But what we care about is whether we will ecessarily retur That is, is F (2) (1) = 1? This will happe if ad oly if P (2) (1) is ifiite So, let us try to work that out We do that by applyig Stirlig s formula (problem 11), which says that! 2π e We ca use this to approximate ( ) 2 = (2)! as well: we get! ( 2 ) 2 22 π Hece, Now, p (2) (2 2 ) 2 π = 1 π P (2) 2 (1) = p (2) 2 which diverges Hece P (2) 2 (1) also diverges, so F (2) (2) (1) = 1, so agai, the walker always returs to home 1 π,

8 8 SIMON RUBINSTEIN-SALZEDO We might ow be ready to cojecture that the walker always returs home But there is a importat rule i cojecture-makig: wheever you re about to make a cojecture, try oe more case 5 So, let s do the 3-dimesioal case The setup i three dimesios is very similar We ow compute p (3) 2, ad we fid it to be p (3) 2 = j,k (2)! j! 2 k! 2 ( j k)! 2 = ( 2 ) j,k ( ) 2 1! 3 j!k!( j k)! This is hard to evaluate exactly, but we ca boud it: the term i paretheses is maximized whe j, k, j k are all aroud /3, so we ca replace all the terms with what we get whe we plug i /3 for j ad k (Ad it s o particular harm to assume that is divisible by 3, but we wo t be that careful, sice we re just goig to use Stirlig s formula ayway) Whe we do this, we fid that the largest value M of! j!k!( j k)! is roughly c We ow boud p (3) 2 : p (3) 2 1 ( = 1 ( ) 2 M 2 2 = ( 2 1 π M c π 3/2 ) j,k 3 3 ) M ( ) M! 3 j!k!( j k)!, for some costat c But the sum f (3) 2 c π 3/2 coverges, ad hece so does the smaller sum p(3) 2 Thus is strictly less tha 1, ie the walker does ot always retur home! So, surprisigly, we see differet behavior i three dimesios from oe or two dimesios I fact, the two-dimesioal case is critical: i two dimesios or fewer, the walker returs home, whereas i more tha two dimesios, the walker does ot ecessarily retur The reaso for puttig the cutoff at 2, rather tha at 3, is that if we were to come up with a sesible defiitio for a radom walk i d dimesios, where d is ot ecessarily a iteger, the walker would always retur if d 2, but ot if d > 2 (Ideed, oe ca come up with sesible defiitios of this) The reaso for this is that the sum i questio that we have to evaluate is quite close to 1 d/2 5 Okay, so I just made that up But I still thik it s a good rule!

9 GENERATING FUNCTIONS AND RANDOM WALKS 9 5 Refereces The best place to get started with geeratig fuctios is udoubtedly Herbert Wilf s geeratigfuctioology, which ca be dowloaded for free from his website 6 Lookig back at the book after may years (I read it whe I was i high school), I ca see that, without eve tryig, I came up with several of the same examples as he did, presumably because that book so strogly shaped how I thik about geeratig fuctios A good place to lear about the aalytic theory of geeratig fuctios (pluggig stuff ito them), especially its applicatios to umber theory, is the first chapter of Doald Newma s Aalytic Number Theory The material o radom walks ca be foud i may places, icludig Charles Gristead ad Laurie Sell s Itroductio to Probability 6 Problems (1) Prove Biet s formula (equatio (2)) for the Fiboacci umbers usig geeratig fuctios (2) Fid a closed formula for the Catala umbers (3) Prove Theorem 1 (4) Use geeratig fuctios to solve the recurrece a +1 = 2a + (5) Let p() deote the umber of partitios of, ie, the umber of ways of writig as the sum of positive itegers, discoutig the order of the terms (For example, p(5) = 7: the 7 ways are 5, 4+1, 3+2, 3+1+1, 2+2+1, , ) (a) Show that p x 1 = 1 x (b) Show that the umber of partitios of ito all odd parts is the same as the umber of partitios of ito distict parts, usig geeratig fuctios (For example, whe = 5, there are 3 of each The partitios ito odd parts are 5, 3+1+1, ; the partitios ito distict parts are 5, 4+1, 3+2) (c) Do part (b) by givig a bijectio Observe that this is substatially harder! (6) Is it possible to relabel the sides of two dice with positive iteger labels so that the probability of gettig ay sum from 2 to 12 is the same as that of ordiary dice? (7) Is it possible to put weights o the sides of two ordiary dice so that the probability of gettig each sum from 2 to 12 is 1? 11 (8) (Putam 2003) For a set S of oegative itegers, let r S () deote the umber of ordered pairs (s 1, s 2 ) such that s 1, s 2 S, s 1 s 2, ad s 1 + s 2 = Is it possible to partitio the oegative itegers ito two sets A ad B (ie, so that A B = N, ad A B = ) i such a way that r A () = r B () for all? (9) Show that k=0 ( ) 2 = k 6 ( ) 2

10 10 SIMON RUBINSTEIN-SALZEDO (10) Evaluate the sum 2 2 (11) (a) Show that e <! < +1 e (b) Harder: Show that! C e, for some costat C (c) Eve harder: Show that! 2π e This is Stirlig s approximatio (12) I a oe-dimesioal radom walk, what is the expected umber of visits to the origi by time 2? (13) Show that, i a oe- or two-dimesioal radom walk, we evetually lad o each lattice poit with probability 1 (14) Let d be a positive iteger Suppose we have two walkers o the iteger lattice Z d, both startig from the origi, both doig idepedet radom walks (a) For which values of d is it the case that two walkers will lad o the same vertex at the same time (after the iitial meetig) with probability 1? (b) For which values of d is it the case that the two walkers will both lad o the same poit other tha the origi, possibly at differet times, with probability 1? Euler Circle, Palo Alto, CA address: simo@eulercirclecom

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

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

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

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

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

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1 . Ifiite Series Oce we have a sequece of umbers, the ext thig to do is to sum them up. Give a sequece a be a sequece: ca we give a sesible meaig to the followig expressio? a = a a a a While summig ifiitely

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

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

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 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

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

Sequences. Notation. Convergence of a Sequence

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

More information

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

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

MA131 - Analysis 1. Workbook 7 Series I

MA131 - Analysis 1. Workbook 7 Series I MA3 - Aalysis Workbook 7 Series I Autum 008 Cotets 4 Series 4. Defiitios............................... 4. Geometric Series........................... 4 4.3 The Harmoic Series.........................

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

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

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

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

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

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

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

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 19 CS 70 Discrete Mathematics ad Probability Theory Sprig 2016 Rao ad Walrad Note 19 Some Importat Distributios Recall our basic probabilistic experimet of tossig a biased coi times. This is a very simple

More information

Sequences III. Chapter Roots

Sequences III. Chapter Roots Chapter 4 Sequeces III 4. Roots We ca use the results we ve established i the last workbook to fid some iterestig limits for sequeces ivolvig roots. We will eed more techical expertise ad low cuig tha

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

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

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

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

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

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

MAT1026 Calculus II Basic Convergence Tests for Series

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

More information

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

Ma 530 Introduction to Power Series

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

More information

Discrete Mathematics and Probability Theory Spring 2012 Alistair Sinclair Note 15

Discrete Mathematics and Probability Theory Spring 2012 Alistair Sinclair Note 15 CS 70 Discrete Mathematics ad Probability Theory Sprig 2012 Alistair Siclair Note 15 Some Importat Distributios The first importat distributio we leared about i the last Lecture Note is the biomial distributio

More information

+ au n+1 + bu n = 0.)

+ au n+1 + bu n = 0.) Lecture 6 Recurreces - kth order: u +k + a u +k +... a k u k 0 where a... a k are give costats, u 0... u k are startig coditios. (Simple case: u + au + + bu 0.) How to solve explicitly - first, write characteristic

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

Random Models. Tusheng Zhang. February 14, 2013

Random Models. Tusheng Zhang. February 14, 2013 Radom Models Tusheg Zhag February 14, 013 1 Radom Walks Let me describe the model. Radom walks are used to describe the motio of a movig particle (object). Suppose that a particle (object) moves alog the

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

(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

TR/46 OCTOBER THE ZEROS OF PARTIAL SUMS OF A MACLAURIN EXPANSION A. TALBOT

TR/46 OCTOBER THE ZEROS OF PARTIAL SUMS OF A MACLAURIN EXPANSION A. TALBOT TR/46 OCTOBER 974 THE ZEROS OF PARTIAL SUMS OF A MACLAURIN EXPANSION by A. TALBOT .. Itroductio. A problem i approximatio theory o which I have recetly worked [] required for its solutio a proof that 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

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

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

MATH 31B: MIDTERM 2 REVIEW

MATH 31B: MIDTERM 2 REVIEW MATH 3B: MIDTERM REVIEW JOE HUGHES. Evaluate x (x ) (x 3).. Partial Fractios Solutio: The umerator has degree less tha the deomiator, so we ca use partial fractios. Write x (x ) (x 3) = A x + A (x ) +

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

Series III. Chapter Alternating Series

Series III. Chapter Alternating Series Chapter 9 Series III With the exceptio of the Null Sequece Test, all the tests for series covergece ad divergece that we have cosidered so far have dealt oly with series of oegative terms. Series with

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

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

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman: Math 224 Fall 2017 Homework 4 Drew Armstrog Problems from 9th editio of Probability ad Statistical Iferece by Hogg, Tais ad Zimmerma: Sectio 2.3, Exercises 16(a,d),18. Sectio 2.4, Exercises 13, 14. Sectio

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

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

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

Z ß cos x + si x R du We start with the substitutio u = si(x), so du = cos(x). The itegral becomes but +u we should chage the limits to go with the ew

Z ß cos x + si x R du We start with the substitutio u = si(x), so du = cos(x). The itegral becomes but +u we should chage the limits to go with the ew Problem ( poits) Evaluate the itegrals Z p x 9 x We ca draw a right triagle labeled this way x p x 9 From this we ca read off x = sec, so = sec ta, ad p x 9 = R ta. Puttig those pieces ito the itegralrwe

More information

Machine Learning Theory Tübingen University, WS 2016/2017 Lecture 3

Machine Learning Theory Tübingen University, WS 2016/2017 Lecture 3 Machie Learig Theory Tübige Uiversity, WS 06/07 Lecture 3 Tolstikhi Ilya Abstract I this lecture we will prove the VC-boud, which provides a high-probability excess risk boud for the ERM algorithm whe

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

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions Math 451: Euclidea ad No-Euclidea Geometry MWF 3pm, Gasso 204 Homework 3 Solutios Exercises from 1.4 ad 1.5 of the otes: 4.3, 4.10, 4.12, 4.14, 4.15, 5.3, 5.4, 5.5 Exercise 4.3. Explai why Hp, q) = {x

More information

Math 61CM - Solutions to homework 3

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

More information

Ma 530 Infinite Series I

Ma 530 Infinite Series I Ma 50 Ifiite Series I Please ote that i additio to the material below this lecture icorporated material from the Visual Calculus web site. The material o sequeces is at Visual Sequeces. (To use this li

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

Lecture 6: Integration and the Mean Value Theorem. slope =

Lecture 6: Integration and the Mean Value Theorem. slope = Math 8 Istructor: Padraic Bartlett Lecture 6: Itegratio ad the Mea Value Theorem Week 6 Caltech 202 The Mea Value Theorem The Mea Value Theorem abbreviated MVT is the followig result: Theorem. Suppose

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

MA131 - Analysis 1. Workbook 9 Series III

MA131 - Analysis 1. Workbook 9 Series III MA3 - Aalysis Workbook 9 Series III Autum 004 Cotets 4.4 Series with Positive ad Negative Terms.............. 4.5 Alteratig Series.......................... 4.6 Geeral Series.............................

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

SEQUENCES AND SERIES

SEQUENCES AND SERIES Sequeces ad 6 Sequeces Ad SEQUENCES AND SERIES Successio of umbers of which oe umber is desigated as the first, other as the secod, aother as the third ad so o gives rise to what is called a sequece. Sequeces

More information

n outcome is (+1,+1, 1,..., 1). Let the r.v. X denote our position (relative to our starting point 0) after n moves. Thus X = X 1 + X 2 + +X n,

n outcome is (+1,+1, 1,..., 1). Let the r.v. X denote our position (relative to our starting point 0) after n moves. Thus X = X 1 + X 2 + +X n, CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 9 Variace Questio: At each time step, I flip a fair coi. If it comes up Heads, I walk oe step to the right; if it comes up Tails, I walk oe

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

MA131 - Analysis 1. Workbook 3 Sequences II

MA131 - Analysis 1. Workbook 3 Sequences II MA3 - Aalysis Workbook 3 Sequeces II Autum 2004 Cotets 2.8 Coverget Sequeces........................ 2.9 Algebra of Limits......................... 2 2.0 Further Useful Results........................

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

Math 2784 (or 2794W) University of Connecticut

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

More information

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m?

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m? MATH 529 The Boudary Problem The drukard s walk (or boudary problem) is oe of the most famous problems i the theory of radom walks. Oe versio of the problem is described as follows: Suppose a particle

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

Analysis of Algorithms. Introduction. Contents

Analysis of Algorithms. Introduction. Contents Itroductio The focus of this module is mathematical aspects of algorithms. Our mai focus is aalysis of algorithms, which meas evaluatig efficiecy of algorithms by aalytical ad mathematical methods. We

More information

CALCULUS II. Sequences and Series. Paul Dawkins

CALCULUS II. Sequences and Series. Paul Dawkins CALCULUS II Sequeces ad Series Paul Dawkis Table of Cotets Preface... ii Sequeces ad Series... 3 Itroductio... 3 Sequeces... 5 More o Sequeces...5 Series The Basics... Series Covergece/Divergece...7 Series

More information

MATH 21 SECTION NOTES

MATH 21 SECTION NOTES MATH SECTION NOTES EVAN WARNER. March 9.. Admiistrative miscellay. These weekly sectios will be for some review ad may example problems, i geeral. Attedace will be take as per class policy. We will be

More information

Alternating Series. 1 n 0 2 n n THEOREM 9.14 Alternating Series Test Let a n > 0. The alternating series. 1 n a n.

Alternating Series. 1 n 0 2 n n THEOREM 9.14 Alternating Series Test Let a n > 0. The alternating series. 1 n a n. 0_0905.qxd //0 :7 PM Page SECTION 9.5 Alteratig Series Sectio 9.5 Alteratig Series Use the Alteratig Series Test to determie whether a ifiite series coverges. Use the Alteratig Series Remaider to approximate

More information

NUMERICAL METHODS FOR SOLVING EQUATIONS

NUMERICAL METHODS FOR SOLVING EQUATIONS Mathematics Revisio Guides Numerical Methods for Solvig Equatios Page 1 of 11 M.K. HOME TUITION Mathematics Revisio Guides Level: GCSE Higher Tier NUMERICAL METHODS FOR SOLVING EQUATIONS Versio:. Date:

More information

Complex Numbers Primer

Complex Numbers Primer Complex Numbers Primer Complex Numbers Primer Before I get started o this let me first make it clear that this documet is ot iteded to teach you everythig there is to kow about complex umbers. That is

More information

Lecture 4. We also define the set of possible values for the random walk as the set of all x R d such that P(S n = x) > 0 for some n.

Lecture 4. We also define the set of possible values for the random walk as the set of all x R d such that P(S n = x) > 0 for some n. Radom Walks ad Browia Motio Tel Aviv Uiversity Sprig 20 Lecture date: Mar 2, 20 Lecture 4 Istructor: Ro Peled Scribe: Lira Rotem This lecture deals primarily with recurrece for geeral radom walks. We preset

More information

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

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

More information

The Discrete Fourier Transform

The Discrete Fourier Transform The Discrete Fourier Trasform Complex Fourier Series Represetatio Recall that a Fourier series has the form a 0 + a k cos(kt) + k=1 b k si(kt) This represetatio seems a bit awkward, sice it ivolves two

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 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

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

INFINITE SEQUENCES AND SERIES

INFINITE SEQUENCES AND SERIES 11 INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES 11.4 The Compariso Tests I this sectio, we will lear: How to fid the value of a series by comparig it with a kow series. COMPARISON TESTS

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

( ) = p and P( i = b) = q.

( ) = p and P( i = b) = q. MATH 540 Radom Walks Part 1 A radom walk X is special stochastic process that measures the height (or value) of a particle that radomly moves upward or dowward certai fixed amouts o each uit icremet of

More information

Complex Numbers Primer

Complex Numbers Primer Before I get started o this let me first make it clear that this documet is ot iteded to teach you everythig there is to kow about complex umbers. That is a subject that ca (ad does) take a whole course

More information

Recitation 4: Lagrange Multipliers and Integration

Recitation 4: Lagrange Multipliers and Integration Math 1c TA: Padraic Bartlett Recitatio 4: Lagrage Multipliers ad Itegratio Week 4 Caltech 211 1 Radom Questio Hey! So, this radom questio is pretty tightly tied to today s lecture ad the cocept of cotet

More information

Frequentist Inference

Frequentist Inference Frequetist Iferece The topics of the ext three sectios are useful applicatios of the Cetral Limit Theorem. Without kowig aythig about the uderlyig distributio of a sequece of radom variables {X i }, for

More information

Section 11.8: Power Series

Section 11.8: Power Series Sectio 11.8: Power Series 1. Power Series I this sectio, we cosider geeralizig the cocept of a series. Recall that a series is a ifiite sum of umbers a. We ca talk about whether or ot it coverges ad i

More information

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

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + 62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of

More information

Sequences and Series of Functions

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

More information

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

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

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

Lecture 6: Integration and the Mean Value Theorem

Lecture 6: Integration and the Mean Value Theorem Math 8 Istructor: Padraic Bartlett Lecture 6: Itegratio ad the Mea Value Theorem Week 6 Caltech - Fall, 2011 1 Radom Questios Questio 1.1. Show that ay positive ratioal umber ca be writte as the sum of

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

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

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

Problem Cosider the curve give parametrically as x = si t ad y = + cos t for» t» ß: (a) Describe the path this traverses: Where does it start (whe t =

Problem Cosider the curve give parametrically as x = si t ad y = + cos t for» t» ß: (a) Describe the path this traverses: Where does it start (whe t = Mathematics Summer Wilso Fial Exam August 8, ANSWERS Problem 1 (a) Fid the solutio to y +x y = e x x that satisfies y() = 5 : This is already i the form we used for a first order liear differetial equatio,

More information