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

Size: px
Start display at page:

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

Transcription

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

2 Cotets 1 Sums of powers of itegers 3 Solvig recurreces via backwards iteratio 4 1 Itroductio 4 Example: T (/) + c 4 3 Example: T ( 1) Example: /( + )T ( 1) 8 5 Exercises 9 3 Oe theorem to rule them all: the Master Theorem Itroductio 11 3 Derivatio Some techicalities 13 4 Liear homogeeous recurrece relatios Itroductio 15 4 Solvig liear homogeeous recurrece relatios 15 5 Solvig recurreces via geeratig fuctios Itroductio 17 5 Example: T (/) + c Example: the Fiboacci umbers Example: the Catala umbers 0 6 The harmoic series 61 The harmoic series 6 Asymptotic behavior of the harmoic series 7 Solvig recurreces via forwards iteratio 4 71 Itroductio 4 7 Example: T (/) + c 4 73 Example: 7T (/8)

3 1 Sums of powers of itegers Let S k () deote the sum of the k-th powers of the first itegers: S k () = i=1 i k It is clear from the fact that S k ( + 1) = S k () + ( + 1) k that S k () is a polyomial of fiite degree Moreover, sice S k () = O( k+1 ) we ca see that S k () is a polyomial of degree of at most k + 1 This suggests oe approach to derivig formulae for S k () 1 Cosider S 1 () = i=1 i We surmise that this is a polyomial of degree : S 1 () = a + b + c We must have so or S 1 ( + 1) = a( + 1) + b( + 1) + c = S 1 () + ( + 1) = a + b + c + ( + 1), a( + + 1) + b( + 1) + c = a + b + c + ( + 1) a( + 1) + b = + 1, (a 1) + (a + b 1) = 0 For this equatio to hold for all we must have a = 1, b = 1, which yields the familiar formula S 1 () = i=1 i = ( + 1) = 1 Oe of may there is a extesive literature o exact formulae for S k ()

4 Solvig recurreces via backwards iteratio 1 Itroductio A recursive fuctio is a fuctio that is defied i terms of itself via a recurrece relatio I order for the recursio to have a well-defied solutio, a iitial coditio ( base case ) eeds to be specified, as well I this chapter we review a techique for solvig recurrece relatios that we will call backwards iteratio 1 The idea of backwards iteratio is to apply the recurrece repeatedly util the expressio is reduced to explicitly kow quatities ad there is o loger ay recursive defiitio ivolved Here are some tips i coectio with this techique Typically, simplifyig expressios i backwards iteratio is ot a good idea sice it teds to obscure how thigs deped o the level of iteratio For istace, seeig a term such as appear after four steps is more illumiatig that the simplified expressio 400 I recursios that arise i divide-ad-coquer strategies, eg, T ( ) + c, a commo mistake whe applyig backwards iteratio is to write T ( ) = T ( ) + c whe it should be T ( ) = T ( ) + c I a proof by iductio, you should make clear the iductive basis, the iductive hypothesis, ad what you eed to prove i the iductive step Example: T (/) + c Cosider 1 if = 1 iitial coditio, T (/) + c if recurrece relatio, where we assume is a power of : = k 1 Iteratio of the recurrece Start with the geeral recurrece as Iteratio 1: Iteratio : T ( ) + c Iteratio 3: Iteratio 4: ( ) + c ) + c = T ( ) + c ( 3 ) + c ) + c = T ( 3 ) + 3c ( 4 ) + c ) + 3c = T ( 4 ) + 4c At this poit the patter is clear: 1 There does ot seem to be a settled ame for this method

5 3 Example: T ( 1) + 5 Cojecture 1 At the ed of the m-th iteratio, T ( m ) + cm Proof of the cojecture Iductive basis Whe m = 1, T ( ) + c = T ( 0 ) + c 0 = T ( m ) + cm Iductive hypothesis Now suppose that for some m 1, T ( m ) + cm Iductive step We wish to show that T ( ) + c(m + 1) m+1 From the geeral recurrece we kow that T ( m+1 ) = T ( m ) + c Thus, from the iductive hypothesis we have ( ) T ( m+1 ) + c + cm = T ( + c(m + 1), m+1 which is what we wished to show 3 Reducig the recursive expressio Choosig m = k, the, sice = k (ad k = log ) we obtai T ( k ) + ck = T (1) + ck = 1 + clog 4 Coclusio Thus, the solutio of for = k is clog if = 1 iitial coditio, T (/) + c if recurrece relatio, 3 Example: T ( 1) + Cosider the followig recurrece relatio: 1 if = 1 iitial coditio, T ( 1) + if recurrece relatio

6 6 Chapter Solvig recurreces via backwards iteratio 31 Iteratio of the recurrece If we call the geeral recurrece Iteratio 1 (it does t matter how you umber your iteratios as log as you are cosistet), T ( 1) +, the applyig the recurrece repeatedly yields the followig Iteratio : Iteratio 3: Iteratio 4: [T ( ) + ( 1)] + = T ( ) + ( 1) + [T ( 3) + ( )] + ( 1) + = T ( 3) + ( ) + ( 1) + [T ( 4) + ( 3)] + ( ) + ( 1) + = T ( 4) + ( 3) + ( ) + ( 1) + By ow, the patter should be apparet: Cojecture 31 After the m-th iteratio, m 1 T ( m) + 3 Proof of the cojecture ( i) We prove the cojecture usig iductio o m Proof Iductive basis Whe m = 1 (ie, Iteratio 1), m 1 T ( 1) + = T ( m) ( i) Iductive hypothesis Now suppose that for some m 1, m 1 T ( m) + ( i) = T ( i) + m 1 ( i) Iductive step You should state what it is you eed to prove, so you will kow what you eed to prove, ad whe you ve proved it I this case we wish to show that T ( (m + 1)) + m ( i) By the iductive hypothesis, after m iteratios, m 1 T ( m) + ( i)

7 3 Example: T ( 1) + 7 Applyig the recurrece T ( 1) + yields T ( m) = T (( m) 1) + ( m) = T ( (m + 1)) + ( m) Applyig the iductive hypothesis yields m 1 [T ( (m + 1)) + ( m)] + which is what we wished to show ( i) = T ( (m + 1)) + m ( i), We ow kow that after m iteratios, m 1 T ( m) + ( i) However, we re ot doe yet we still have a recursive expressio 33 Reducig the recursive expressio For this recurrece, the iitial coditio is T (1) = 1 Whe we reach this case, we ca elimiate the recurrece etirely ad replace T (1) with the value 1 This occurs whe (( 1) i) = 1, or i = Thus, after 1 iteratios, T (1) + ( i) = 1 + ( i) = All that is left is to reduce this summatio 34 Reducig the summatio Observe that 1 ( i) 1 ( i) = ( 0) + ( 1) + + ( ( )) + ( ( 1)) = + ( 1) + ( ) = The formula for the sum of the first itegers the tells us that ( + 1) 35 Coclusio For > 1, the solutio of the recurrece 1 if = 1 T ( 1) + if, i=1 i is ( + 1)

8 8 Chapter Solvig recurreces via backwards iteratio 4 Example: /( + )T ( 1) Cosider 1 if = 1, T ( 1) if + 41 Iteratio of the recurrece Start with the geeral recurrece as Iteratio 1: Iteratio : Iteratio 3: T ( 1) + 1 T ( ) Iteratio 4: T ( 3) Now the patter has emerged: 3 T ( 4) 1 Cojecture 41 After the m-th iteratio, ( 1)( ) ( m + 1) ( + )( + 1) ( m + 3) m 1 ( i) T ( m) = m 1 ( i + ) T ( m) We could have simplified the product at each step, but that would have made the patter more difficult to discer 4 Proof of the cojecture We prove the cojecture usig iductio o m Proof Iductive basis Whe m = 1, + T ( 1) = 0 ( i) T ( 1)) ( k + ) = T ( 1) = m ( i) m 1 ( k + ) T ( m)) Iductive hypothesis Now suppose that for some m 1, m 1 ( i) m 1 ( i + ) T ( m) Iductive step We wish to show that m ( i) T ( (m + 1)) ( i + ) m

9 5 Exercises 9 From the recurrece we kow that T ( m) = m) m + T ( m 1) Applyig the iductive hypothesis yields m 1 ( i) m 1 = m 1 m 1 ( i + ) T ( m) ( i) m+ ( i + ) T ( m 1) m + ( i) T ( (m + 1)), ( i + ) = m m k=0 which is what we wished to show 43 Reducig the recursive expressio If we choose m = 1, the m = 1 ad ( i) ( i + ) T (1) = Now it makes sese to simplify the quotiet: ( i) = ( 1) ( i) ( i + ) ( i + ) = ( + ) ( + 1) ( 1) 5 4 All but the first two ad last two terms i each product cacel, so ( i) ( i + ) = 3 ( + )( + 1) 44 Coclusio For > 1, the solutio of the recurrece relatio 1 if = 1 iitial coditio, T ( 1) if recurrece relatio + is 5 Exercises 6 ( + )( + 1) Exercise 51 Solve the recurrece 1 if = 1, T ( 1) + ( 1) if > 1

10 10 Chapter Solvig recurreces via backwards iteratio Exercise 5 Solve the recurrece 1 if = 1, 9T ( ) + c for > 1 ad a power of Check your result agaist Theorem 311 Exercise 53 Solve the recurrece 1 if = 1, 3T ( ) + for > 1 ad a power of Check your result agaist Theorem 311 Exercise 54 Solve the recurrece 1 if = 1, T ( ) + log for > 1 a power of

11 3 Oe theorem to rule them all: the Master Theorem 31 Itroductio There is a geeral result, sometimes called the Master Theorem for recursios of the form ( at + f () b) Recursios of this form appear i the aalysis of divide-ad-coquer algorithms Here is a statemet of the theorem Theorem 311 Master Theorem Let T () be a odecreasig, oegative fuctio that satisfies ( at + f () for = b b) k, k = 1,, T (1) = 1, where a 1, b, ad c > 0 If f () = Θ( d ), the Θ( d ) if a < b d, Θ( d lg) if a = b d, Θ( log b a ) if a > b d This result is true whether oe chooses /b or /b as the meaig of /b If we apply the precedig solutio to the particular case of a recursio like that i mergesort, T ( ) + c, the a =, b =, ad f () = c The d = 1 sice f () = Θ() Sice a = b d, the theorem tells us that Θ(log ) 3 Derivatio The Master Theorem ca be derived by applyig backwards iteratio to the recurrece: ( at + f () for = b b) k, k = 1,, T (1) = 1, Assume for ow that = b k Start with the geeral recurrece as Iteratio 1: Iteratio : at ( b ) + f () a Iteratio 3: (at ( b ) + f ( b ) ) + f () = a T ( b ) + a f ( b ) + f () a ( at ( b 3 ) + f ( b ) ) + a f ( b ) + f () = a 3 T ( b 3 ) + a f ( b ) + a f ( b ) + f ()

12 1 Chapter 3 Oe theorem to rule them all: the Master Theorem Iteratio 4: a 3 ( T ( b 4 ) + f ( b 3 ) ) + a f ( b ) + a f ( b ) + f () = a 4 T ( b 4 ) + a3 f ( b 3 ) + a f ( b ) + a f ( b ) + f () We ca ow guess the patter: Cojecture 31 At iteratio m of this process, ( ) a m m 1 T b m + a i f ( b i ) 31 Proof of the cojecture Iductive basis Whe m = 0 (ie, o iteratios), at ( ( ) m 1 b ) + f () = am T b m + a i f ( b i ) Iductive hypothesis Now suppose that for some m 0, ( ) a m m 1 T b m + a i f ( b i ) Iductive step We wish to show that ( ) a m+1 T b m+1 + m a i f ( b i ) From the geeral recurrece we kow that ( ) ( ) T b m = at ( b m+1 ) + f b m The iductive hypothesis the yields ( a m ( )) at ( b m+1 + f b m as threateed m=1 + = a m+1 ( ) T ( b m+1 ) + am + f b m = a m+1 m T ( b m+1 ) + a i f ( b i ), ( ) a i f b i m=1 + ( ) a i f b i 3 Reducig the recursive expressio For simplicity we will oly solve the case f () = d The more geeral case f () = Θ( d ) follows from a very similar argumet usig upper ad lower bouds o f () i terms of d Recall we are assumig = b k If we choose m = k, the a k T ( b k ) + k 1 a i ( b i ) d = a k T ( b k ) + d k 1 ( a b d ) i

13 33 Some techicalities 13 For the first term we have a k T (1) = a log b = b log b a log b = b log b log b a = log b a If a b d = 1, the d k 1 We the have ( a b d ) i = d k = d log b log b a + d log b Sice a = b d, we have so log b a = log b b d = d, d + d log b = Θ( d log b a) This is case () i Theorem 311 Meawhile, if a b d 1, the the formula for a geometric sum yields d k 1 ( a b d ) i = d 1 ( a b d ) k 1 a b d Reasoig as above, we see that = d ( ) k a b 1 d a 1 b d ( a ) k a log b = b d b d log b = blogb a logb b d log b = logb a d Thus, if a b d 1, log b a + d logb a d 1 a b d 1 = log b a + logb a d a 1 b d If a < b d, the log b a < d, so log b a < d ad Θ( d ) This is case (1) i Theorem 311 O the other had, if a > b d, the log b a > d, so log b a > d ad Θ( log b a ) This is case (3) i Theorem Some techicalities We proved the Master Theorem uder the assumptio that was a power of b What if it is t? Let T () be a odecreasig, oegative fuctio I this cotext we say T () grows saely if T () = Θ(T ())

14 14 Chapter 3 Oe theorem to rule them all: the Master Theorem That is, there exist m,m ad N such that mt () T () MT () for all N Fuctios like k ad lg satisfy this coditio O the other had, rapidly growig fuctios like ad! do ot We ow preset a series of propositios that assure us that it is OK to assume is a power of b i our complexity aalysis Propositio 331 Let T () be a saely growig fuctio, with mt () T () MT () The for ay iteger k 1, m k T () T () M k T () Proof Use iductio o k Propositio 33 Let T () be a saely growig fuctio The for ay iteger b, T (b) = Θ(T ()) Proof Let k be such that k 1 b k Because T is odecreasig, T (b) T ( k ) M k T () Similarly, m k 1 T () T ( k 1 ) T (b) Propositio 333 Let T () be a saely growig fuctio If Θ( f ()) for values of that are powers of b, where b, the Θ( f ()) for all Proof There exists M such that for all k sufficietly large we have T (b k ) M f (b k ) Give, choose k so that b k b k+1 Sice T is odecreasig, T (b k ) T () T (b k+1 ) M f (b k+1 ) Sice T is saely growig, there exists B such that The f (b k+1 ) = f (b b k ) B f (b k ) T () T (b k+1 ) MB f (b k ) MB f () The lower boud o T () i terms of f () ca be derived i a similar maer

15 4 Liear homogeeous recurrece relatios 41 Itroductio A liear homogeeous recurrece relatio of order k ivolvig a 1,a, is oe that ca be put i the form β k a +k + β k 1 a +k β 1 a +1 + β 0 a = 0, where the β i are costats i depedet of For istace, cosider the Fiboacci umbers 0,1,1,,3,5,: 0 if = 0, F = 1 if = 1, F 1 + F if We ca write the geeral recurrece as F + F +1 F = 0, a liear homogeeous differece recurrece of order Liear refers to the fact that there are o oliear fuctios of ay of the a i appearig, ad homogeeous refers to the fact that the right-had side is zero 4 Solvig liear homogeeous recurrece relatios Liear homogeeous recurrece relatios ca be solved usig a trick that goes back to Lagrage i 1775 We try to fid solutios of the form a = cr for some r For istace, for the Fiboacci recurrece, if we try F = cr, we have F + F +1 F = cr + cr +1 cr = cr (r r 1) = 0 Thus, either r = 0 (which is ot iterestig) or r r 1 = 0, whece r = 1 ± 5 If r 1,r are the two roots of r r 1 = 0, r 1 = 1 + 5, r = 1 5, the we see that the geeral solutio to F + F +1 F = 0 is F = c 1 r 1 + c r We determie c 1,c by applyig the iitial coditios: F 0 = c 1 + c = 0 F 1 = c 1 r 1 + c r = 1

16 16 Chapter 4 Liear homogeeous recurrece relatios From the first relatio we see that c = c 1 Substitutio i the secod relatio yields c 1 r 1 c 1 r = 1 c 1 = 1 r 1 r = 1 5 Thus we arrive at the followig formula for the -th Fiboacci umber: [( ) ( ) ] F = If you have see the solutio of liear homogeeous differetial equatios, the precedig solutio will look familiar If you have t see the solutio of liear homogeeous differetial equatios, there is still time

17 5 Solvig recurreces via geeratig fuctios 51 Itroductio Give a sequece a 0,a 1,a,, the associated (ordiary) geeratig fuctio is G(z) = k=0 a k z k (511) For ow, this is purely a formal power series at this poit we are ot worried about whether or ot the series coverges 1 Here is the strategery for solvig recurreces via geeratig fuctios: 1 Start with a recurrece relatio ivolvig the a k Tur this ito a relatio ivolvig the geeratig fuctio G(z) 3 Use the ew relatio to idetify G(z) 4 Fid the series expasio (511) for G(z) 5 The coefficiets of the series expasio of G(z) are the a k we seek 5 Example: T (/) + c Cosider Let a k = T ( k ) The a 0 = T (1) = c 0 a k = a k 1 + c 1 c0 if = 1 base case f ( ) + c1 if geeral case Multiply a k = a k 1 + c 1 by z k ad sum over k: so a 1 z = a 0 z + c 1 z a z = a 1 z + c 1 z a 3 z 3 = a z 3 + c 1 z 3 = a 1 z + a z + = (a 0 z + a 1 z + ) + c 1 (z + z + ) (a 0 + a 1 z + a z + ) a 0 = z(a 0 + a 1 z + a z + ) + c 1 z(1 + z + z + ) ad, fially, (1 z)g(z) = c 0 + c 1 z G(z) a 0 = zg(z) + c 1 z k=0 z k k=0 1 I more mathematical termiology, we are workig i the rig of formal power series over the reals z k,

18 18 Chapter 5 Solvig recurreces via geeratig fuctios Now we use the covergece of the series: if z < 1, so k=0 z k = 1 1 z, 1 (1 z)g(z) = c 0 + c 1 z 1 z, 1 G(z) = c 0 1 z + c 1 1z (1 z) However, 1 (1 z) = d 1 dz (1 z) = d dz so k=0 k=0 G(z) = 0 z k=0c k + c 1 c 1 kz k k=1 a k z k = c 0 + k=1 (c 0 + c 1 k)z k Equatig coefficiets, we see that c a k = 0 if k = 0, c 0 + c 1 k if k > 0 Sice a k = T ( k ), we have or, if = k T ( k ) = c 0 + c 1 k, c 0 + c 1 lg z k = k=1 kz k 1, 53 Example: the Fiboacci umbers We ca apply the method of geeratig fuctios to the Fiboacci umbers: 0,1,1,,3,5,8,13,, where the -th Fiboacci umber F is give by 0 if = 0, F = 1 if = 1, F 1 + F if Multiply a = a 1 + a by z ad sum over : a z = a 1 z + a 0 z a 3 z 3 = a z 3 + a 1 z 3 a 4 z 4 = a 3 z 4 + a z 4 = Techically, we eed to justify the iterchage of differetiatio ad ifiite summatio This iterchage is valid because of the uiform covergece of the series that is the putative derivative for a < 1 The uiform covergece of this series ca be cofirmed usig the Weierstrass M-test

19 53 Example: the Fiboacci umbers 19 so a z + a 3 z 3 + = z(a 1 z + a z + ) + z (a 0 + a 1 z + a z + ) (a 0 + a 1 z + a z + ) (a 1 z + a 0 ) = z(a 0 + a 1 z + a z + ) a 0 z + z G(z) Sice a 0 = 0 ad a 1, this reduces to whece G(z) z = zg(z) + z G(z), G(z) = z 1 z z G(z) (a 1 z + a 0 ) = zg(z) a 0 z + z G(z) We ca simplify the quotiet o the right usig partial fractios Before doig so, cosider the factorizatio of z + z 1 If the roots of this polyomial are r 1,r, the z + z 1 = (z r 1 )(z r ) = z (r 1 + r )z + r 1 r From this we see that r 1 r = 1, so z + z 1 = (z r 1 )(z r ) = r 1 r ( z r 1 1)( z r 1) = ( z r 1 1)( z r 1) = (r z 1)(r 1 z 1) Now we apply the method of partial fractios: we wat to fid c 1,c such that Sice we wat z 1 z z = z z + z 1 = c 1 r 1 z 1 + c r z 1 c 1 r 1 z 1 + c r z 1 = c 1(r 1) + c (r 1 1) z, + z 1 c 1 r + c r 1 = 1 c 1 + c = 0 Thus, c = c 1, ad c 1 r c 1 r 1 = 1 c 1 = 1 r 1 r It follows that ( z 1 G(z) = 1 z z = c 1 r 1 z 1 1 ) r z 1 Sice G(z) = =0 a z, = c 1 ( =0r 1 z =0 r z )

20 0 Chapter 5 Solvig recurreces via geeratig fuctios equatig like terms yields a = c 1 (r 1 r ) The roots of z + z 1 are Sice r 1 = r = 1 5 c 1 = 1 r 1 r = 1 5, we obtai the formula [( F = ) ( for the -th Fiboacci umber 1 ) ] 5 54 Example: the Catala umbers The Catala umbers C satisfy the recurrece C +1 = k=0 C 0 = 1 C k C k, 0, We will ecouter the Catala umbers i coectio with coutig biary trees ad groupigs of associative biary operatios Cosider the geeratig fuctio G(z) = =0 C z It is ot difficult to verify that G (z) = =0( k=0 C k C k )z, so from the recurrece we see that The G (z) = =0 C +1 z zg (z) = =0 1 + zg (z) = G(z) zg (z) G(z) + 1 = 0 C +1 z +1,

21 54 Example: the Catala umbers 1 Solvig for G(z) yields two possible solutios: G(z) = 1 ± 1 4z z Sice C 0 = 1, we must have G(0) = 1, so we choose the solutio that does ot blow up as z 0: G(z) = 1 1 4z z You ca verify that lim z 0 + G(z) = 1 usig L Hôpital s rule Recall the Taylor s series expasio for 1 + x: ( 1) 1 + x = ( ) =0 4 x (1 ) From this we obtai ( G(z) = 1 ( 1) 1 z =0 4 (1 ) = 1 ( ) 1 z z =1 ( 1) = 1 ( ) 1 z 1 ( 1) = 1 = 1 =1 =0 =0 =0 =0 =0 = 1 = = 1 ( + 1) 1 ( ) )( 4z) ( ) ( + 1) z ( + 1) 1 ( + )( + 1) + 1 ( + 1)( + 1) ( ) + z ( + 1)( + 1) ( ) + 1 z ( + 1)( + 1) ( ) z ( ) z From this we coclude that the -th Catala umber is C = 1 ( ) + 1 Asymptotic growth of the Catala umbers Applyig Stirlig s approximatio, we obtai ( ) π e () π e ( 4 = π e ) ( = 4, π) e π so for large we have 4 C = π From this we see that the Catala umbers grow very quickly

22 6 The harmoic series 61 The harmoic series The harmoic series is k=1 1 k = Deote by H the partial sum H = k=1 1 k H is called the -th harmoic umber You doubtless proved i a calculus course that H as 6 Asymptotic behavior of the harmoic series I fact, H l for large More precisely, Theorem 61 lim (H l) = γ = The quatity γ is kow as Euler s costat or the Euler-Mascheroi costat Euler s costat remais a somewhat mysterious etity; for istace, it is ot kow if γ is ratioal or irratioal, much less trascedetal 61 The zeta fuctio For itegers m defie ζ (m) = j=1 1 j m Sice m, this is a absolutely coverget series, ad ζ (m) is fiite Observe that ζ is a decreasig fuctio of m: if m < m, the ζ (m) > ζ (m ) For istace, ζ () = 1 j=1 j > 1 j=1 j 7 = ζ (7) Aside More geerally, for s C with Re s > 1 the Riema zeta fuctio is defied to be ζ (s) = 1 j=1 j s There is a very famous usolved problem i mathematics kow as the Riema Hypothesis that cocers the zeta fuctio 1 1 Solve it ad you will wi $1,000,000

23 6 Asymptotic behavior of the harmoic series 3 6 Proof of the theorem The proof we give here follows Euler s origial argumet (1731) Defie H,m = Note that so j=1 lim H,m = 1 j m, m j=1 1 j m = ζ (m) The Newto-Mercator series says that for 1 < x 1, l(1 + x) = k+1 xk ( 1) k=1 k, ( ) ( ) 1 1 ( ) l = ( ) ( ) 1 1 ( ) l 3 = l 4 3 = ( ) ( ) 1 1 ( ) l 5 4 = ( ) ( ) 1 1 ( ) = If we sum the first equatios, o the left-had side we obtai l + l 3 + l l l + 1 = l Meawhile, o the right-had side we obtai H 1 H, H,3 1 4 H,4 +, where we have summed terms by colums Thus, Sice l( + 1) = H 1 H, H,3 1 4 H,4 + H l( + 1) = 1 H, 1 3 H, H,4 H l (l( + 1) l) = 1 H, 1 3 H, H,4 lim (l( + 1) l) = 0, takig the limit as we obtai ( ) = l( + 1) lim (H l) = 1 ζ () 1 3 ζ (3) + 1 ζ (4) 4 Sice the sum o the right is a alteratig series of strictly decreasig terms, the sum exists The limit is defied to be Euler s costat γ

24 7 Solvig recurreces via forwards iteratio 71 Itroductio A recursive fuctio is a fuctio that is defied i terms of itself via a recurrece relatio I order for the recursio to have a well-defied solutio, a iitial coditio ( base case ) eeds to be specified, as well Forwards iteratio ivolves 1 computig successive values of the recursively defied quatity startig from the iitial coditio, power-readig the resultig sequece to guess the geeral form of the solutio, ad 3 provig our guess is correct This approach is based o a large elemet of hope, it is ot systematic, ad is frequetly usuccessful For this reaso we do ot recommed it 7 Example: T (/) + c Cosider We have T (1) = 1 1 if = 1, T ( ) + c if T () = T (1) + c = c + T (4) = T () + c 4 = (c + ) + 4c = 8c + 4 T (8) = T (4) + c 8 = (8c + 4) + 8c = 4c + 8 T (16) = T (8) + c 16 = (4c + 8) + 16c = 64c + 16 If we re really observat, we will otice that the patter is or T ( m ) = cm m + m, clog + We ca cofirm this guess by iductio Whe = 1 we have c1log = 1 = T (1) Now suppose that the result holds for some = m 1: T ( m ) = cm m + m We wish to show that T ( m+1 ) = c(m + 1) m+1 + m+1 By the recurrece ad the iductive hypothesis we have as desired T ( m+1 ) = T ( m ) + c m+1 = (cm m + m ) + c m+1 = cm m+1 + m+1 + c m+1 = c(m + 1) m+1 + m+1,

25 73 Example: 7T (/8) Example: 7T (/8) + 14 Next we look at a example that illustrates the limitatios of this approach Cosider 1 if = 1, 7T ( 8 ) + 14 if We have T (1) = 1 T (8) = 7T (1) = 903 T (64) = 7T (8) = This time it is ot at all clear what the geeral patter is (it turs out to ivolve log 7

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

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

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

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

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

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

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

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

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

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

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

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

Roger Apéry's proof that zeta(3) is irrational

Roger Apéry's proof that zeta(3) is irrational Cliff Bott cliffbott@hotmail.com 11 October 2011 Roger Apéry's proof that zeta(3) is irratioal Roger Apéry developed a method for searchig for cotiued fractio represetatios of umbers that have a form such

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

(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

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

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

Sequences, Sums, and Products

Sequences, Sums, and Products CSCE 222 Discrete Structures for Computig Sequeces, Sums, ad Products Dr. Philip C. Ritchey Sequeces A sequece is a fuctio from a subset of the itegers to a set S. A discrete structure used to represet

More information

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book. THE UNIVERSITY OF WARWICK FIRST YEAR EXAMINATION: Jauary 2009 Aalysis I Time Allowed:.5 hours Read carefully the istructios o the aswer book ad make sure that the particulars required are etered o each

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

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

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

The Ratio Test. THEOREM 9.17 Ratio Test Let a n be a series with nonzero terms. 1. a. n converges absolutely if lim. n 1

The Ratio Test. THEOREM 9.17 Ratio Test Let a n be a series with nonzero terms. 1. a. n converges absolutely if lim. n 1 460_0906.qxd //04 :8 PM Page 69 SECTION 9.6 The Ratio ad Root Tests 69 Sectio 9.6 EXPLORATION Writig a Series Oe of the followig coditios guaratees that a series will diverge, two coditios guaratee that

More information

COMP26120: More on the Complexity of Recursive Programs (2018/19) Lucas Cordeiro

COMP26120: More on the Complexity of Recursive Programs (2018/19) Lucas Cordeiro COMP26120: More o the Complexity of Recursive Programs (2018/19) Lucas Cordeiro lucas.cordeiro@machester.ac.uk Divide-ad-Coquer (Recurrece) Textbook: Algorithm Desig ad Applicatios, Goodrich, Michael T.

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

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

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

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

Fundamental Algorithms

Fundamental Algorithms Fudametal Algorithms Chapter 2b: Recurreces Michael Bader Witer 2014/15 Chapter 2b: Recurreces, Witer 2014/15 1 Recurreces Defiitio A recurrece is a (i-equality that defies (or characterizes a fuctio i

More information

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

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

More information

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

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

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

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 19 11/17/2008 LAWS OF LARGE NUMBERS II THE STRONG LAW OF LARGE NUMBERS

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 19 11/17/2008 LAWS OF LARGE NUMBERS II THE STRONG LAW OF LARGE NUMBERS MASSACHUSTTS INSTITUT OF TCHNOLOGY 6.436J/5.085J Fall 2008 Lecture 9 /7/2008 LAWS OF LARG NUMBRS II Cotets. The strog law of large umbers 2. The Cheroff boud TH STRONG LAW OF LARG NUMBRS While the weak

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

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

CHAPTER 1 SEQUENCES AND INFINITE SERIES

CHAPTER 1 SEQUENCES AND INFINITE SERIES CHAPTER SEQUENCES AND INFINITE SERIES SEQUENCES AND INFINITE SERIES (0 meetigs) Sequeces ad limit of a sequece Mootoic ad bouded sequece Ifiite series of costat terms Ifiite series of positive terms Alteratig

More information

Additional Notes on Power Series

Additional Notes on Power Series Additioal Notes o Power Series Mauela Girotti MATH 37-0 Advaced Calculus of oe variable Cotets Quick recall 2 Abel s Theorem 2 3 Differetiatio ad Itegratio of Power series 4 Quick recall We recall here

More information

a 3, a 4, ... are the terms of the sequence. The number a n is the nth term of the sequence, and the entire sequence is denoted by a n

a 3, a 4, ... are the terms of the sequence. The number a n is the nth term of the sequence, and the entire sequence is denoted by a n 60_090.qxd //0 : PM Page 59 59 CHAPTER 9 Ifiite Series Sectio 9. EXPLORATION Fidig Patters Describe a patter for each of the followig sequeces. The use your descriptio to write a formula for the th term

More information

11.6 Absolute Convergence and the Ratio and Root Tests

11.6 Absolute Convergence and the Ratio and Root Tests .6 Absolute Covergece ad the Ratio ad Root Tests The most commo way to test for covergece is to igore ay positive or egative sigs i a series, ad simply test the correspodig series of positive terms. Does

More information

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE UPB Sci Bull, Series A, Vol 79, Iss, 207 ISSN 22-7027 NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE Gabriel Bercu We itroduce two ew sequeces of Euler-Mascheroi type which have fast covergece

More information

... and realizing that as n goes to infinity the two integrals should be equal. This yields the Wallis result-

... and realizing that as n goes to infinity the two integrals should be equal. This yields the Wallis result- INFINITE PRODUTS Oe defies a ifiite product as- F F F... F x [ F ] Takig the atural logarithm of each side oe has- l[ F x] l F l F l F l F... So that the iitial ifiite product will coverge oly if the sum

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

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

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

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences.

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences. MATH 301 Itroductio to Aalysis Chapter Four Sequeces Topics 1. Defiitio of covergece of sequeces. 2. Fidig ad provig the limit of sequeces. 3. Bouded covergece theorem: Theorem 4.1.8. 4. Theorems 4.1.13

More information

Assignment 5: Solutions

Assignment 5: Solutions McGill Uiversity Departmet of Mathematics ad Statistics MATH 54 Aalysis, Fall 05 Assigmet 5: Solutios. Let y be a ubouded sequece of positive umbers satisfyig y + > y for all N. Let x be aother sequece

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

10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term.

10.1 Sequences. n term. We will deal a. a n or a n n. ( 1) n ( 1) n 1 2 ( 1) a =, 0 0,,,,, ln n. n an 2. n term. 0. Sequeces A sequece is a list of umbers writte i a defiite order: a, a,, a, a is called the first term, a is the secod term, ad i geeral eclusively with ifiite sequeces ad so each term Notatio: the sequece

More information

2.4 - Sequences and Series

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

More information

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

+ 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

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

Calculus 2 - D. Yuen Final Exam Review (Version 11/22/2017. Please report any possible typos.)

Calculus 2 - D. Yuen Final Exam Review (Version 11/22/2017. Please report any possible typos.) Calculus - D Yue Fial Eam Review (Versio //7 Please report ay possible typos) NOTE: The review otes are oly o topics ot covered o previous eams See previous review sheets for summary of previous topics

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

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

Advanced Analysis. Min Yan Department of Mathematics Hong Kong University of Science and Technology

Advanced Analysis. Min Yan Department of Mathematics Hong Kong University of Science and Technology Advaced Aalysis Mi Ya Departmet of Mathematics Hog Kog Uiversity of Sciece ad Techology September 3, 009 Cotets Limit ad Cotiuity 7 Limit of Sequece 8 Defiitio 8 Property 3 3 Ifiity ad Ifiitesimal 8 4

More information

Math 25 Solutions to practice problems

Math 25 Solutions to practice problems Math 5: Advaced Calculus UC Davis, Sprig 0 Math 5 Solutios to practice problems Questio For = 0,,, 3,... ad 0 k defie umbers C k C k =! k!( k)! (for k = 0 ad k = we defie C 0 = C = ). by = ( )... ( k +

More information

Math 299 Supplement: Real Analysis Nov 2013

Math 299 Supplement: Real Analysis Nov 2013 Math 299 Supplemet: Real Aalysis Nov 203 Algebra Axioms. I Real Aalysis, we work withi the axiomatic system of real umbers: the set R alog with the additio ad multiplicatio operatios +,, ad the iequality

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

Continued Fractions and Pell s Equation

Continued Fractions and Pell s Equation Max Lah Joatha Spiegel May, 06 Abstract Cotiued fractios provide a useful, ad arguably more atural, way to uderstad ad represet real umbers as a alterative to decimal expasios I this paper, we eumerate

More information

ENGI Series Page 6-01

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

More information

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Convergence of random variables. (telegram style notes) P.J.C. Spreij Covergece of radom variables (telegram style otes).j.c. Spreij this versio: September 6, 2005 Itroductio As we kow, radom variables are by defiitio measurable fuctios o some uderlyig measurable space

More information

A PROOF OF THE TWIN PRIME CONJECTURE AND OTHER POSSIBLE APPLICATIONS

A PROOF OF THE TWIN PRIME CONJECTURE AND OTHER POSSIBLE APPLICATIONS A PROOF OF THE TWI PRIME COJECTURE AD OTHER POSSIBLE APPLICATIOS by PAUL S. BRUCKMA 38 Frot Street, #3 aaimo, BC V9R B8 (Caada) e-mail : pbruckma@hotmail.com ABSTRACT : A elemetary proof of the Twi Prime

More information

Carleton College, Winter 2017 Math 121, Practice Final Prof. Jones. Note: the exam will have a section of true-false questions, like the one below.

Carleton College, Winter 2017 Math 121, Practice Final Prof. Jones. Note: the exam will have a section of true-false questions, like the one below. Carleto College, Witer 207 Math 2, Practice Fial Prof. Joes Note: the exam will have a sectio of true-false questios, like the oe below.. True or False. Briefly explai your aswer. A icorrectly justified

More information

Sums, products and sequences

Sums, products and sequences Sums, products ad sequeces How to write log sums, e.g., 1+2+ (-1)+ cocisely? i=1 Sum otatio ( sum from 1 to ): i 3 = 1 + 2 + + If =3, i=1 i = 1+2+3=6. The ame ii does ot matter. Could use aother letter

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

Section 11.6 Absolute and Conditional Convergence, Root and Ratio Tests

Section 11.6 Absolute and Conditional Convergence, Root and Ratio Tests Sectio.6 Absolute ad Coditioal Covergece, Root ad Ratio Tests I this chapter we have see several examples of covergece tests that oly apply to series whose terms are oegative. I this sectio, we will lear

More information

Test One (Answer Key)

Test One (Answer Key) CS395/Ma395 (Sprig 2005) Test Oe Name: Page 1 Test Oe (Aswer Key) CS395/Ma395: Aalysis of Algorithms This is a closed book, closed otes, 70 miute examiatio. It is worth 100 poits. There are twelve (12)

More information

THE ZETA FUNCTION AND THE RIEMANN HYPOTHESIS. Contents 1. History 1

THE ZETA FUNCTION AND THE RIEMANN HYPOTHESIS. Contents 1. History 1 THE ZETA FUNCTION AND THE RIEMANN HYPOTHESIS VIKTOR MOROS Abstract. The zeta fuctio has bee studied for ceturies but mathematicias are still learig about it. I this paper, I will discuss some of the zeta

More information

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 3. (a) (b) (c) (d) (e) 5. (a) (b) (c) (d) (e) 7. (a) (b) (c) (d) (e)

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 3. (a) (b) (c) (d) (e) 5. (a) (b) (c) (d) (e) 7. (a) (b) (c) (d) (e) Math 0560, Exam 3 November 6, 07 The Hoor Code is i effect for this examiatio. All work is to be your ow. No calculators. The exam lasts for hour ad 5 mi. Be sure that your ame is o every page i case pages

More information

Chapter 6 Infinite Series

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

More information

CS583 Lecture 02. Jana Kosecka. some materials here are based on E. Demaine, D. Luebke slides

CS583 Lecture 02. Jana Kosecka. some materials here are based on E. Demaine, D. Luebke slides CS583 Lecture 02 Jaa Kosecka some materials here are based o E. Demaie, D. Luebke slides Previously Sample algorithms Exact ruig time, pseudo-code Approximate ruig time Worst case aalysis Best case aalysis

More information

This Lecture. Divide and Conquer. Merge Sort: Algorithm. Merge Sort Algorithm. MergeSort (Example) - 1. MergeSort (Example) - 2

This Lecture. Divide and Conquer. Merge Sort: Algorithm. Merge Sort Algorithm. MergeSort (Example) - 1. MergeSort (Example) - 2 This Lecture Divide-ad-coquer techique for algorithm desig. Example the merge sort. Writig ad solvig recurreces Divide ad Coquer Divide-ad-coquer method for algorithm desig: Divide: If the iput size is

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

Chapter 8. Uniform Convergence and Differentiation.

Chapter 8. Uniform Convergence and Differentiation. Chapter 8 Uiform Covergece ad Differetiatio This chapter cotiues the study of the cosequece of uiform covergece of a series of fuctio I Chapter 7 we have observed that the uiform limit of a sequece of

More information

Math 113, Calculus II Winter 2007 Final Exam Solutions

Math 113, Calculus II Winter 2007 Final Exam Solutions Math, Calculus II Witer 7 Fial Exam Solutios (5 poits) Use the limit defiitio of the defiite itegral ad the sum formulas to compute x x + dx The check your aswer usig the Evaluatio Theorem Solutio: I this

More information

IRRATIONALITY MEASURES, IRRATIONALITY BASES, AND A THEOREM OF JARNÍK 1. INTRODUCTION

IRRATIONALITY MEASURES, IRRATIONALITY BASES, AND A THEOREM OF JARNÍK 1. INTRODUCTION IRRATIONALITY MEASURES IRRATIONALITY BASES AND A THEOREM OF JARNÍK JONATHAN SONDOW ABSTRACT. We recall that the irratioality expoet µα ( ) of a irratioal umber α is defied usig the irratioality measure

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

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

lim za n n = z lim a n n.

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

More information

n n 2 n n + 1 +

n n 2 n n + 1 + Istructor: Marius Ioescu 1. Let a =. (5pts) (a) Prove that for every ε > 0 there is N 1 such that a +1 a < ε if N. Solutio: Let ε > 0. The a +1 a < ε is equivalet with + 1 < ε. Simplifyig, this iequality

More information

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n = 60. Ratio ad root tests 60.1. Absolutely coverget series. Defiitio 13. (Absolute covergece) A series a is called absolutely coverget if the series of absolute values a is coverget. The absolute covergece

More information

Math 210A Homework 1

Math 210A Homework 1 Math 0A Homework Edward Burkard Exercise. a) State the defiitio of a aalytic fuctio. b) What are the relatioships betwee aalytic fuctios ad the Cauchy-Riema equatios? Solutio. a) A fuctio f : G C is called

More information

5 Sequences and Series

5 Sequences and Series Bria E. Veitch 5 Sequeces ad Series 5. Sequeces A sequece is a list of umbers i a defiite order. a is the first term a 2 is the secod term a is the -th term The sequece {a, a 2, a 3,..., a,..., } is a

More information

Mathematical Induction

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

More information

SOME TRIBONACCI IDENTITIES

SOME TRIBONACCI IDENTITIES Mathematics Today Vol.7(Dec-011) 1-9 ISSN 0976-38 Abstract: SOME TRIBONACCI IDENTITIES Shah Devbhadra V. Sir P.T.Sarvajaik College of Sciece, Athwalies, Surat 395001. e-mail : drdvshah@yahoo.com The sequece

More information

INFINITE SEQUENCES AND SERIES

INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES I geeral, it is difficult to fid the exact sum of a series. We were able to accomplish this for geometric series ad the series /[(+)]. This is

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

Exponential Functions and Taylor Series

Exponential Functions and Taylor Series MATH 4530: Aalysis Oe Expoetial Fuctios ad Taylor Series James K. Peterso Departmet of Biological Scieces ad Departmet of Mathematical Scieces Clemso Uiversity March 29, 2017 MATH 4530: Aalysis Oe Outlie

More information

Chapter 9: Numerical Differentiation

Chapter 9: Numerical Differentiation 178 Chapter 9: Numerical Differetiatio Numerical Differetiatio Formulatio of equatios for physical problems ofte ivolve derivatives (rate-of-chage quatities, such as velocity ad acceleratio). Numerical

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

Regent College Maths Department. Further Pure 1. Proof by Induction

Regent College Maths Department. Further Pure 1. Proof by Induction Reget College Maths Departmet Further Pure Proof by Iductio Further Pure Proof by Mathematical Iductio Page Further Pure Proof by iductio The Edexcel syllabus says that cadidates should be able to: (a)

More information

Harmonic Number Identities Via Euler s Transform

Harmonic Number Identities Via Euler s Transform 1 2 3 47 6 23 11 Joural of Iteger Sequeces, Vol. 12 2009), Article 09.6.1 Harmoic Number Idetities Via Euler s Trasform Khristo N. Boyadzhiev Departmet of Mathematics Ohio Norther Uiversity Ada, Ohio 45810

More information

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n Series. Defiitios ad first properties A series is a ifiite sum a + a + a +..., deoted i short by a. The sequece of partial sums of the series a is the sequece s ) defied by s = a k = a +... + a,. k= Defiitio

More information

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

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

More information

Section A assesses the Units Numerical Analysis 1 and 2 Section B assesses the Unit Mathematics for Applied Mathematics

Section A assesses the Units Numerical Analysis 1 and 2 Section B assesses the Unit Mathematics for Applied Mathematics X0/70 NATIONAL QUALIFICATIONS 005 MONDAY, MAY.00 PM 4.00 PM APPLIED MATHEMATICS ADVANCED HIGHER Numerical Aalysis Read carefully. Calculators may be used i this paper.. Cadidates should aswer all questios.

More information

Enumerative & Asymptotic Combinatorics

Enumerative & Asymptotic Combinatorics C50 Eumerative & Asymptotic Combiatorics Stirlig ad Lagrage Sprig 2003 This sectio of the otes cotais proofs of Stirlig s formula ad the Lagrage Iversio Formula. Stirlig s formula Theorem 1 (Stirlig s

More information