5. Recurrences. The recursive denition of the Fibonacci numbers is well-known: if F n is the n th Fibonacci number, then

Size: px
Start display at page:

Download "5. Recurrences. The recursive denition of the Fibonacci numbers is well-known: if F n is the n th Fibonacci number, then"

Transcription

1 5. Recurreces The recursive deitio of the Fiboacci umbers is well-kow: if F is the th Fiboacci umber, the F 0 = 0, F 1 = 1, F + = F +1 + F, if 0. We are iterested i a explicit form of the umbers F for all atural umbers. Actually, the problem is to solve a equatio where the ukow is give recursively, i which case the equatio is called a recurrece equatio. The solutio ca be cosidered as a fuctio over atural umbers, because F is deed for all. Such recurrece equatios are also kow as differece equatios, but could be amed as discrete differetial equatios for their similarities to differetial equatios. Deitio 5.1 A k th th order recurrece equatio, (k 1) is a equatio of the form where x must be give i a explicit form. f (x, x +1,...,, x +k ) = 0, 0, (5.1) For a uique determiatio of x, k iitial values must be give. Usually these values are x 0, x 1,..., x k 1. These ca be cosidered as iitial coditios. I the case of the equatio for Fiboacci-umbers, which is of secod order, two iitial values must be give. The sequece x = g() satisfyig equatio (5.1) ad the correspodig iitial coditios is called a particular solutio. If all particular solutios of equatio (5.1) ca be obtaied from the sequece x = h(, C 1, C,..., C k ), by adequately choosig of the costats C 1, C,..., C k, the this sequece x is a geeral solutio. Solvig recurrece equatios is ot a easy task. I the chapter we will discuss methods which ca be used i special cases. For simplicity of writig we will use the otatio x istead of x() as it appears i several books (sequeces ca be cosidered as fuctios over atural umbers). The chapter is divided ito three sectios. I sectio 5.1 we deal with solvig liear recurrece equatios, i sectio 5. with geeratig fuctios ad their use i solvig recurrece equatios ad i sectio 5.3 we focus our attetio o umerical solutio of recurrece equatios.

2 5.1. Liear recurrece equatios 07 If the recurrece equatio is of the form 5.1. Liear recurrece equatios f 0 ()x + f 1 ()x f k ()x +k = f (), 0, where f, f 0, f 1,..., f k are fuctios deed over atural umbers, f 0, f k 0, ad x must be give explicitly, the the recurrece equatio is liear. If f is the zero fuctio, the the equatio is homogeeous, otherwise ohomogeeous. If all the fuctios f 0, f 1,..., f k are costat, the equatio is called a liear recurrece equatio with costat coefficiets Liear homogeeous equatios with costat coefficiets Let the equatio be a 0 x + a 1 x a k x +k = 0, k, (5.) where a 0, a 1,..., a k are real costats, a 0, a k 0, k 1. If k iitial coditios are give (usually x 0, x 1,..., x k 1 ), the the geeral solutio of this equatio ca be uiquely give. To solve the equatio let us cosider its characteristic equatio a 0 + a 1 r + + a k 1 r k 1 + a k r k = 0, (5.3) a polyomial equatio with real coefficiets. This equatio has k roots i the eld of complex umbers. It ca easily be see after a simple substitutio that if r 0 is a real solutio of the characteristic equatio, the C 0 r 0 is a solutio of (5.), for arbitrary C 0. The geeral solutio of equatio (5.) is x = C 1 x (1) + C x () + + C k x (k), where x (i) (i = 1,,..., k) are the liearly idepedet solutios of equatio (5.). The costats C 1, C,..., C k ca be determied from the iitial coditios by solvig a system of k equatios. The liearly idepedet solutios are supplied by the roots of the characteristic equatio by the followig way. A fudametal solutio of equatio (5.) ca be associated with each root of the characteristic equatio. Let us cosider the followig cases. Distict real roots Let r 1, r,..., r p be distict real roots of the characteristic equatio. The are solutios of equatio (5.), ad r 1, r,..., r p C 1 r 1 + C r + + C pr p (5.4) is also a solutio, for arbitrary costats C 1, C,..., C p. If p = k, the (5.4) is the geeral solutio of the recurrece equatio.

3 08 5. Recurreces Example 5.1 Solve the recurrece equatio The correspodig characteristic equatio is with the solutios x + = x +1 + x, x 0 = 0, x 1 = 1. r r 1 = 0, r 1 = 1 + 5, r = 1 5. These are distict real solutios, so the geeral solutio of the equatio is x = C C 1 5. The costats C 1 ad C ca be determied usig the iitial coditios. From x 0 = 0, x 1 = 1 the followig system of equatios ca be obtaied. C C 1 + C = 0, C = 1. The solutio of this system of equatios is C 1 = 1/ 5, C = 1/ 5. Therefore the geeral solutio is x = , 5 5 which is the th Fiboacci umber F. Multiple real roots Let r be a real root of the characteristic equatio with multiplicity p. The r, r, r,..., p 1 r are solutios of equatio (5.) (fudametal solutios correspodig to r), ad ( C0 + C 1 + C + + C p 1 p 1) r (5.5) is also a solutio, for ay costats C 0, C 1,..., C p 1. If the characteristic equatio has o other solutios, the (5.5) is a geeral solutio of the recurrece equatio. Example 5. Solve the recurrece equatio The characteristic equatio is with r = a solutio with multiplicity. The is a geeral solutio of the recurrece equatio. x + = 4x +1 4x, x 0 = 1, x 1 = 3. r 4r + 4 = 0, x = (C 0 + C 1 )

4 5.1. Liear recurrece equatios 09 From the iitial coditios we have C 0 = 1, C 0 + C 1 = 3. From this system of equatios C 0 = 1, C 1 = 1/, so the geeral solutio is x = (1 + 1 ) or x = ( + ) 1. Distict complex roots If the complex umber a(cos b + i si b), writte i trigoometric form, is a root of the characteristic equatio, the its cojugate a(cos b i si b) is also a root, because the coefficiets of the characteristic equatio are real umbers. The are solutios of equatio (5.) ad a cos b ad a si b C 1 a cos b + C a si b (5.6) is also a solutio, for ay costats C 1 ad C. If these are the oly solutios of the characteristic equatio, the (5.6) is a geeral solutio. Example 5.3 Solve the recurrece equatio The correspodig characteristic equatio is x + = x +1 x, x 0 = 0, x 1 = 1. r r + = 0, with roots 1 + i ad 1 i. These ca be writte i trigoometric form as (cos(π/4) + i si(π/4)) ad (cos(π/4) i si(π/4)). Therefore x = C 1 ( ) cos π 4 + C ( ) si π 4 is a geeral solutio of the recurrece equatio. From the iitial coditios C 1 = 0, π C 1 cos 4 + C π si = 1. 4 Therefore C 1 = 0, C = 1. Hece the geeral solutio is x = ( ) si π 4.

5 10 5. Recurreces Multiple complex roots If the complex umber writte i trigoometric form as a(cos b + i si b) is a root of the characteristic equatio with multiplicity p, the its cojugate a(cos b i si b) is also a root with multiplicity p. The a cos b, a cos b,..., p 1 a cos b ad a si b, a si b,..., p 1 a si b are solutios of the recurrece equatio (5.). The (C 0 + C C p 1 p 1 )a cos b + (D 0 + D D p 1 p 1 )a si b is also a solutio, where C 0, C 1,..., C p 1, D 0, D 1,..., D p 1 are arbitrary costats, which ca be determied from the iitial coditios. This solutio is geeral if the characteristic equatio has o other roots. Example 5.4 Solve the recurrece equatio The characteristic equatio is x +4 + x + + x = 0, x 0 = 0, x 1 = 1, x =, x 3 = 3. r 4 + r + 1 = 0, which ca be writte as (r + 1) = 0. The complex umbers i ad i are double roots. The trigoometric form of these are i = cos π + i si π, ad i = cos π i si π respectively. Therefore the geeral solutio is x = (C 0 + C 1 ) cos π + (D 0 + D 1 ) si π. From the iitial coditios we obtai C 0 = 0, (C 0 + C 1 ) cos π + (D 0 + D 1 ) si π = 1, (C 0 + C 1 ) cos π + (D 0 + D 1 ) si π =, (C 0 + 3C 1 ) cos 3π + (D 0 + 3D 1 ) si 3π = 3, that is C 0 = 0, D 0 + D 1 = 1, C 1 =, D 0 3D 1 = 3. Solvig this system of equatios C 0 = 0, C 1 = 1, D 0 = 3 ad D 1 =. Thus the geeral solutio is x = (3 ) si π cos π.

6 5.1. Liear recurrece equatios 11 Usig these four cases all liear homogeeous equatios with costat coefficiets ca be solved, if we ca solve their characteristic equatios. Example 5.5 Solve the recurrece equatio The characteristic equatio is x +3 = 4x + 6x x, x 0 = 0, x 1 = 1, x = 1. r 3 4r + 6r 4 = 0, with roots, 1 + i ad 1 i. Therefore the geeral solutio is After determiig the costats we obtai ( ) x = 1 + x = C 1 + C ( ) cos π 4 + C 3( ) si π 4. ( cos π si π ). 4 The geeral solutio The characteristic equatio of the kth order liear homogeeous equatio (5.) has k roots i th eld of complex umbers, which are ot ecessarily distict. Let these roots be the followig: r 1 real, with multiplicity p 1 (p 1 1), r real, with multiplicity p (p 1),... r t real, with multiplicity p t (p t 1), s 1 = a 1 (cos b 1 + i si b 1 ) complex, with multiplicity q 1 (q 1 1), s = a (cos b + i si b ) complex, with multiplicity q (q 1),... s m = a m (cos b m + i si b m ) complex, with multiplicity q m (q m 1). Sice the equatio has k roots, p 1 + p + + p t + (q 1 + q + + q m ) = k. I this case the geeral solutio of equatio (5.) is where C ( j) 0 D (l) j), C( 1 x = + +,..., C( j) p j 1 t ( C ( j) 0 + C ( j) ) j) C( p j 1 p j 1 r j j=1 m j=1 ( D ( j) 0 j) + D( ) j) D( q j 1 q j 1 a j cos b j m ( E ( j) 0 + E ( j) ) j) E( q j 1 q j 1 a j si b j, (5.7) j=1, j = 1,,..., t,, l = 1,,..., m are costats, which ca be 0, E(l) 0, D(l) 1, E(l) 1,..., D(l) p l 1, E(l) p l 1 determied from the iitial coditios. The above statemets ca be summarised i the followig theorem.

7 1 5. Recurreces Theorem 5.1 Let k 1 be a iteger ad a 0, a 1,..., a k real umbers with a 0, a k 0. The geeral solutio of the liear recurrece equatio (5.) ca be obtaied as a liear combiatio of the terms j r i, where r i are the roots of the characteristic equatio (5.3) with multiplicity p i (0 j < p i ) ad the coefficiets of the liear combiatio deped o the iitial coditios. The proof of the theorem is left to the reader (see exercise ). The algorithm for the geeral solutio is the followig. LINEAR-HOMOGENEOUS 1 determie the characteristic equatio of the recurrece equatio d all roots of the characteristic equatio with their multiplicities 3 d the geeral solutio (5.7) based o the roots 4 determie the costats of (5.7) usig the iitial coditios, if these exists Liear ohomogeeous recurrece equatios with costat coefficiets Cosider the liear ohomogeeous recurrece equatio with costat coefficiets a 0 x + a 1 x a k x +k = f (), (5.8) where a 0, a 1,..., a k are real costats, a 0, a k 0, k 1, ad f is ot the zero fuctio. The correspodig liear homogeeous equatio (5.) ca be solved usig Theorem 5.1. If a particular solutio of equatio (5.8) is kow, the equatio (5.8) ca be solved. Theorem 5. Let k 1 be a iteger, a 0, a 1,..., a k real umbers, a 0, a k 0. If x (1) is a particular solutio of the liear ohomogeeous equatio (5.8) ad x (0) is a geeral solutio of the liear homogeeous equatio (5.), the is a geeral solutio of the equatio (5.8). x = x (0) + x (1) The proof of the theorem is left to the reader (see exercise ). Example 5.6 Solve the recurrece equatio First we solve the homogeeous equatio ad obtai the geeral solutio x + + x +1 x =, x 0 = 0, x 1 = 1. x + + x +1 x = 0, x (0) = C 1 ( ) + C, sice the roots of the characteristic equatio are ad 1. It is easy to see that x = C 1 ( ) + C +

8 5.1. Liear recurrece equatios 13 f () x (1) p a (C 0 + C C p p )a a p si b (C 0 + C C p p )a si b + (D 0 + D D p p )a cos b a p cos b (C 0 + C C p p )a si b + (D 0 + D D p p )a cos b Figure 5.1. The form of particular solutios. is a solutio of the ohomogeeous equatio. Therefore the geeral solutio is x = 1 4 ( ) + or x = ( ), 4 The costats C 1 ad C ca be determied usig the iitial coditios. Thus, that is { 0, if is eve, x = 1, if is odd. A particular solutio ca be obtaied usig the method of variatio of costats. However, there are cases whe there is a easier way of dig a particular solutio. I gure 5.1 we ca see types of fuctios f (), for which a particular solutio x (1) ca be obtaied i the give form i the table. The costats ca be obtaied by substitutios. I the previous example f () =, so the rst case ca be used with a = ad p = 0. Therefore we try to d a particular solutio of the form C 0. After substitutio we obtai C 0 = 1/4, thus the particular solutio is x (1) =. Exercises Solve the recurrece equatio H = H 1 + 1, ha 1, és H 0 = 0. (Here H is the optimal umber of moves i the problem of Towers of Haoi.) 5.1- Aalyse the problem of Towers of Haoi if discs have to be moved from stick A to stick C i such a way that o disc ca be moved directly from A to C ad vice versa. Hit. Show that if the optimal umber of moves is deoted by M, ad 1, the M = 3M 1 +.

9 14 5. Recurreces Solve the recurrece equatio ( + 1)R = ( 1)R 1, ha 1, és R 0 = Solve the liear ohomogeeous recurrece equatio x = + x 1, ha, és x 1 = 0. Hit. Try to d a particular solutio of the form C 1 + C Prove Theorem Prove Theorem Geeratig fuctios ad recurrece equatios Geeratig fuctios ca be used, amog others, to solve recurrece equatios, cout objects (e.g. biary trees), prove idetities ad solve partitio problems. Coutig the umber of objects ca be doe by statig ad solvig recurrece equatios. These equatios are usually ot liear, ad geeratig fuctios ca help us i solvig them Defiitio ad operatios Associate a series with the iite sequece (a ) = a 0, a 1, a,..., a,... the followig way A(z) = a 0 + a 1 z + a z + + a z + = a z. This is called the geeratig fuctio of the sequece (a ). For example, i the case of the Fiboacci umbers this geeratig fuctio is F(z) = F z = z + z + z 3 + 3z 4 + 5z 5 + 8z z 7 +. Multiplyig both sides of the equatio by z, the by z, we obtai F(z) = F 0 + F 1 z + F z + F 3 z F z +, zf(z) = F 0 z + F 1 z + F z F 1 z +, z F(z) = F 0 z + F 1 z F z +. If we subtract the secod ad the third equatio from the rst oe term by term, the use the deig formula of the Fiboacci umbers, we get F(z)(1 z z ) = z, that is F(z) = z 1 z z. (5.9)

10 5.. Geeratig fuctios ad recurrece equatios 15 The correctess of these operatios ca be proved mathematically, but here we do ot wat to go ito details. The formulae obtaied usig geeratig fuctios ca usually also be proved usig other methods. Let us cosider the followig geeratig fuctios A(z) = a z ad B(z) = b z. The geeratig fuctios A(z) ad B(z) are equal, if ad oly if a = b for all atural umbers. Now we dee the followig operatios with the geeratig fuctios: additio, multiplicatio by real umber, shift, multiplicatio, derivatio ad itegratio. Additio ad multiplicatio by real umber αa(z) + βb(z) = (αa + βb )z. Shift The geeratig fuctio z k A(z) = a z +k = a k z represets the sequece < 0, 0,..., 0, a } {{ } 0, a 1,... >, while the geeratig fuctio k 1 z (A(z) a k 0 a 1 z a z a k 1 z k 1 ) = a z k = a k+ z represets the sequece < a k, a k+1, a k+,... >. Example 5.7 Let A(z) = 1 + z + z +. The 1 ( ) 1 A(z) 1 = A(z) ad A(z) = z 1 z. k k Multiplicatio If A(z) ad B(z) are geeratig fuctios, the where s = A(z)B(z) = (a 0 + a 1 z + + a z + )(b 0 + b 1 z + + b z + ) a k b k. k=0 = a 0 b 0 + (a 0 b 1 + a 1 b 0 )z + (a 0 b + a 1 b 1 + a b 0 )z + = s z, Special case. If b = 1 for all atural umbers, the 1 A(z) 1 z = a k z. (5.10) k=0

11 16 5. Recurreces If, i additio, a = 1 for all, the 1 (1 z) = ( + 1)z. (5.11) Derivatio A (z) = a 1 + a z + 3a 3 z + = ( + 1)a +1 z. Example 5.8 After differetiatig the both sides of the geeratig fuctio we obtai A(z) = z = 1 1 z, 1 A (z) = z 1 1 = (1 z). Itegratio z 0 A(t)dt = a 0 z + 1 a 1z a z = a 1z. 1 Example 5.9 Let After itegratig both sides we get l 1 1 z = 1 + z + z + z z = z + 1 z z3 + = z. 1 Multiplyig the above geeratig fuctios we obtai 1 1 z l 1 1 z = H z, 1 where H = (H 0 = 0, H 1 = 1) are the so-called harmoic umbers. Chagig the argumets Let A(z) = a z represet the sequece < a 0, a 1, a,... >, the A(cz) = c a z represets the sequece < a 0, ca 1, c a,... c a,... >. The followig statemets holds 1( ) A(z) + A( z) = a0 + a z + + a z +, 1( ) A(z) A( z) = a1 z + a 3 z a 1 z 1 +.

12 5.. Geeratig fuctios ad recurrece equatios 17 Example 5.10 Let A(z) = 1 + z + z + z 3 + = 1 1 z. The 1 + z + z 4 + = 1 ( ) 1 A(z) + A( z) = ( 1 1 z z ) = 1 1 z, which ca also be obtaied by substitutig z with z i A(z). We ca obtai the sum of the odd power terms the same way, z + z 3 + z 5 + = 1 ( ( ) 1 1 A(z) A( z) = 1 z 1 ) z = 1 + z 1 z. Usig geeratig fuctios we ca obtai iterestig formulae. For example, let A(z) = 1/(1 z) = 1 + z + z + z 3 +. The za ( z(1 + z) ) = F(z), which is the geeratig fuctio of the Fiboacci umbers. From this za ( z(1 + z) ) = z + z (1 + z) + z 3 (1 + z) + z 4 (1 + z) 3 +. The coefficiet of z +1 o the left-had side is F +1, that is the ( + 1)th Fiboacci umber, while the coefficiet of z +1 o the right-had side is ( ) k, k k 0 after usig the biomial formula i each term. Hece ( ) k +1 ( ) k F +1 = =. (5.1) k k k 0 Remember that the biomial formula ca be geeralised for all real r, amely ( ) r (1 + z) r = z, ( ) r which is the geeratig fuctio of the biomial coefficiets. Here is a geeralisatio of the combiatios for ay real umber r, that is ( ) r(r 1)(r )... (r + 1), if > 0, r ( 1)... 1 = 1, = 0, 0, if < 0. We ca obtai useful formulae usig this geeralisatio for egative r. Let 1 ( ) m (1 z) m = (1 z) m = ( z) k. k Sice, by a simple computatio, we get ( ) ( ) m m + k 1 = ( 1) k, k k k=0 k 0

13 18 5. Recurreces the followig formula ca be obtaied The ad z m (1 z) = m+1 where m is a atural umber. k 0 1 (1 z) = m+1 ( m + k k k 0 k 0 ) z m+k = ( m + k k ) z k. ( m + k m k 0 ) z m+k = k 0 ( ) k z k, m ( ) k z k z m =, (5.13) m (1 z) m Solvig recurrece equatios with geeratig fuctios If the geeratig fuctio of the geeral solutio of a recurrece equatio to be solved ca be expaded i such a way that the coefficiets are i closed form, the this method is successful. Let the recurrece equatio be To solve it, let us cosider the geeratig fuctio X(z) = x z. F(x, x 1,..., x k ) = 0. (5.14) If (5.14) ca be writte as G ( X(z) ) = 0 ad ca be solved for X(z), the X(z) ca be expaded ito series i such a way that x ca be writte i closed form, equatio (5.14) ca be solved. Now we give a geeral method for solvig liear ohomogeeous recurrece equatios. After this we give three examples for the oliear case. I the rst two examples the umber of elemets i some sets of biary trees, while i the third example the umber of leaves of biary trees is computed. The correspodig recurrece equatios (5.15), (5.17) ad (5.18) will be solved usig geeratig fuctios. Liear ohomogeeous recurrece equatios with costat coefficiets Multiply both sides of equatio (5.8) by z. The a 0 x z + a 1 x +1 z + + a k x +k z = f ()z. Summig up both sides of the equatio term by term we get a 0 x z + a 1 x +1 z + + a k x +k z = f ()z. The a 0 x z + a 1 z x +1 z a k x z k +k z +k = f ()z.

14 5.. Geeratig fuctios ad recurrece equatios 19 Let The equatio ca be writte as a 0 X(z) + a 1 z X(z) = x z ad F(z) = f ()z. ( X(z) x0 ) + + a k z k ( X(z) x0 x 1 z x k 1 z k 1) = F(z). This ca be solved for X(z). If X(z) is a ratioal fractio, the it ca be decomposed ito partial (elemetary) fractios which, after expadig them ito series, will give us the geeral solutio x of the origial recurrece equatio. We ca also try to use the expasio ito series i the case whe the fuctio is ot a ratioal fractio. Example 5.11 Solve the followig equatio usig the above method x +1 x = +1, ha 0 és x 0 = 0. After multiplyig ad summig we have 1 x +1 z +1 x z = z z, z ad 1 ( ) X(z) x0 X(z) = z 1 z 1 z. Sice x 0 = 0, after decomposig the right-had side ito partial fractios 1 ), the solutio of the equatio is z X(z) = (1 z) + 1 z 1 z. After differetiatig the geeratig fuctio 1 1 z = z term by term we get Thus therefore (1 z) = z 1. ( X(z) = z + z z = ( ) + ) z, 1 x = ( ) +. The umber of biary trees Let us deote by b the umber of biary trees with vertices. The b 1 = 1, b =, b 3 = 5 (see gure 5.). Let b 0 = 1. (We will see later that this is a good choice.) I a biary tree with vertices, with the exceptio of the root, there are altogether 1 vertices i the left ad right subtrees. If the left subtree has k vertices ad the right subtree has 1 k vertices, the there exists b k b 1 k such biary trees. Summig over 1 For decomposig the fractio ito partial fractios we ca use the Udetermied Coefficiets Method.

15 0 5. Recurreces = = 3 Figure 5.. Biary trees with two ad three vertices. k = 0, 1,..., 1, we obtai exactly the umber of biary trees, b. Thus for ay atural umber 1 the recurrece equatio i b is b = b 0 b 1 + b 1 b + + b 1 b 0. (5.15) This ca also be writte as 1 b = b k b 1 k. k=0 Multiplyig both sides by z, the summig over all, we obtai Let B(z) = 1 b z = b k b 1 k z. (5.16) 1 1 k=0 b z be the geeratig fuctio of the umbers b. The left-had side of (5.16) is exactly B(z) 1 (because b 0 = 1). The right-had side looks like a product of two geeratig fuctios. To see which fuctios are i cosideratio, let us use the otatio A(z) = zb(z) = b z +1 = b 1 z. The the right-had side of (5.16) is exactly A(z)B(z), which is zb (z). Therefore 1 B(z) 1 = zb (z), B(0) = 1. Solvig this equatio for B(z) gives B(z) = 1 ± 1 4z z.

16 5.. Geeratig fuctios ad recurrece equatios 1 We have to choose the egative sig because B(0) = 1. Thus B(z) = = = = = 1 ( ) 1 ( ) 1 1 4z = 1 (1 4z) 1/ z z 1 ( ) 1/ z 1 ( 4z) = 1 ( ) 1/ z 1 ( 1) z ( ) 1 1/ 0 z z 0 ( ) 1/ ( 0 z + z 1/ )( 1) 1 z z + z ( ) ( ) ( ) 1/ 1/ 1/ 3 z + ( 1) 1 z ( ) 1/ ( ) ( 1) +1 z 1 = z Therefore b = 1 ( ). The umbers b are also called the Catala umbers. + 1 Remark. I the previous computatio we used the followig formula that ca be proved easily ( ) 1/ ( 1) ( ) = ( + 1) The umber of leaves of all biary trees of vertices Let us cout the umber of leaves (vertices with degree 1) i the set of all biary trees of vertices. Deote this umber by f. We remark that the root is ot cosidered leaf eve if it is of degree 1. It is easy to see that f =, f 3 = 6. Let f 0 = 0 ad f 1 = 1, covetioally. Later we will see that these values are good. As i the case of umberig the biary trees, cosider the biary trees of vertices havig k vertices i the left subtree ad k 1 vertices i the right subtree. There are b k such left subtrees ad b 1 k right subtrees. If we cosider such a left subtree ad all such right subtrees, the together there are f 1 k leaves i the right subtrees. So for a give k there are b 1 k f k + b k f 1 k leaves. After summig we have By a easy computatio we get 1 f = ( f k b 1 k + b k f 1 k ). k=0 f = ( f 0 b 1 + f 1 b + + f 1 b 0 ),. (5.17) This is a recurrece equatio, the solutio of which is f. Let F(z) = f z ad B(z) = b z. Multiplyig both sides of (5.17) by z ad summig gives 1 f z = f k b 1 k z. k=0

17 5. Recurreces Sice f 0 = 0 ad f 1 = 1, Thus ad sice F(z) z = zf(z)b(z). F(z) = B(z) = 1 z z 1 zb(z), ( 1 1 4z ), we have F(z) = After the computatios z = z(1 4z) 1/ = z 1 4z ( ) F(z) = z +1 = 1 ( 1/ ( ) z, 1 ) ( 4z). ad f = ( ) 1 or f +1 = ( ) = ( + 1)b. The umber of biary trees with vertices ad k leaves A bit harder problem: how may biary trees are there with vertices ad k leaves? Let us deote this umber by b (k). It is easy to see that b (k) = 0, if k > ( + 1)/. By a simple reasoig the case k = 1 ca be solved. The result is b (1) = 1 for ay atural umber 1. Let b (0) 0 = 1, covetioally. We will see later that this is a good choice. Let us cosider, as i the case of previous problems, the left ad right subtrees. If the left subtree has i vertices ad j leaves, the the right subtree has i 1 vertices ad k j leaves. The umber of these trees is b ( j) (k j). Summig over k ad j gives i b i 1 b (k) = b (k) 1 + k 1 b ( j) (k j) i b i=1 j=1 For solvig this recurrece equatio the geeratig fuctio B (k) (z) = b (k) z, where k 1 i 1. (5.18) will be used. Multiplyig both sides of equatio (5.18) by z ad summig over = 0, 1,,..., we get k 1 b (k) z = b (k) 1 z + b ( j) (k j) i b i 1 z. 1 1 Chagig the order of summatio gives 1 b (k) z = 1 i=1 k 1 b (k) 1 z + 1 j=1 1 j=1 b ( j) (k j) i b i 1 i=1 z.

18 5.. Geeratig fuctios ad recurrece equatios 3 Thus or k 1 B (k) (z) = zb (k) (z) + z B ( j) (z)b (k j) (z) B (k) (z) = z 1 z Step by step, we ca write the followig: B () (z) = B (3) (z) = B (4) (z) = Let us try to d the solutio i the form B (k) (z) = j=1 k 1 B ( j) (z)b (k j) (z). (5.19) j=1 z ( B (1) (z) ), 1 z z (1 z) ( B (1) (z) ) 3, 5z 3 (1 z) 3 ( B (1) (z) ) 4. c k z k 1 (1 z) k 1 ( B (1) (z) ) k, where c = 1, c 3 =, c 4 = 5. Substitutig i (5.19) gives a recursio for the umbers c k k 1 c k = c i c k i. i=1 We solve this equatio usig the geeratig fuctio method. If k =, the c = c 1 c 1, ad so c 1 = 1. Let c 0 = 1. If C(z) = c z is the geeratig fuctio of the umbers c, the, usig the formula of multiplicatio of the geeratig fuctios we obtai thus C(z) 1 z = (C(z) 1) or C (z) 3C(z) + z + = 0, C(z) = 3 1 4z. Sice C(0) = 1, oly the egative sig ca be chose. After expadig the geeratig fuctio we get ( ) z C(z) = 3 1 (1 4z)1/ = = 3 ( ) + 1 z = 1 + ( 1) 1 1 ( 1) ( ) z. From this c = ( ) 1, 1. ( 1)

19 4 5. Recurreces Sice b (1) = 1 for 1, it ca be proved easily that B (1) = z/(1 z). Thus ( ) B (k) 1 k z k 1 (z) = (k 1) k (1 z). k 1 Usig the formula therefore Thus or B (k) (z) = = 1 (1 z) m = ( + m 1 ) z, ( ) 1 k ( ) k + z k+ 1 (k 1) k ( ) 1 k ( ) 1 k+1 z. (k 1) k k + 1 b (k) = b (k) The Z-trasform method k 1 ( )( ) 1 k 1 k 1 k k = 1 ( )( ) k k. k k 1 k Whe solvig liear ohomogeeous equatios usig geeratig fuctios, the solutio is usually doe by the expasio of a ratioal fractio. The Z-trasform method ca help us i expadig such a fuctio. Let P(z)/Q(z) be a ratioal fractio, where the degree of P(z) is less tha the degree of Q(z). If the roots of the deomiator are kow, the ratioal fractio ca be expaded ito partial fractios usig the Udetermied Coefficiet Method. Let us rst cosider the case whe the deomiator has distict roots α 1, α,..., α k. The It is easy to see that But P(z) Q(z) = A 1 z α A i z α i + + A k z α k. A i = lim(z α i ) P(z), i = 1,,..., k. z αi Q(z) A i z α i = A i α i (1 1 ) = A iβ i 1 β i z, z α i where β i = 1/α i. Now, by expadig this partial fractio, we get A i β i 1 β i z = A iβ i ( 1 + βi z + + β i z + ). Deote the coefficiet of z by C i (), the C i () = A i β +1 i, so C i () = A i β +1 i = β +1 i lim(z α i ) P(z) z αi Q(z),

20 5.. Geeratig fuctios ad recurrece equatios 5 or C i () = β +1 i (z α i )P(z) lim. z αi Q(z) After the trasformatio z 1/z ad usig β i = 1/α i we obtai ( ) 1 p(z) C i () = lim (z β i )z, z βi q(z) where p(z) q(z) = P(1/z) Q(1/z). Thus i the expasio of X(z) = P(z) Q(z) the coefficiet of z is C 1 () + C () + + C k (). If α is a root of the polyomial Q(z), the β = 1/α is a root of q(z). E.g. if P(z) Q(z) = z z (1 z)(1 z), the p(z) q(z) = (z 1)(z ). If the root is multiple, e.g. if β i has multiplicity p, the its correspodig i the solutio is 1 C i () = (p 1)! lim d p 1 ( ) (z β z β i dz p 1 i ) p 1 p(z) z. q(z) Here dp f (z) is the derivative of order p of the fuctio f (z). dzp All these ca be summarised i the followig algorithm. Let us cosider that the coefficiets of the equatio are i array A, ad the costats of the solutio are i array C. LINEAR-NONHOMOGENEOUS(A, k, f ) 1 let a 0 x + a 1 x a k x +k = f () be the equatio, where f () is a ratioal fractio; multiply both sides by z, ad sum over all trasform the equatio ito the form X(z) = P(z)/Q(z), where X(z) = x z, P(z) ad Q(z) are polyomials 3 use the trasformatio z 1/z, ad let the result be p(z)/q(z), where p(z) are q(z) are polyomials 4 deote the roots of q(z) by β 1, with multiplicity p 1, p 1 1, β, with multiplicity p, p 1,... β k, with multiplicity p k, p k 1; the the geeral solutio of the origial equatio is x = C 1 () + C () + + C k (), ( where d C i () = 1/((p i 1)!) lim p i 1 z βi dz p i (z βi ) p i z 1 (p(z)/q(z)) ), i = 1,,..., k. 1 5 retur C

21 6 5. Recurreces If we substitute z by 1/z i the geeratig fuctio, the result is the so-called Z- trasform, for which similar operatios ca be deed as for the geeratig fuctios. The residue theorem for the Z-trasform gives the same result. The ame of the method is derived from this observatio. Example 5.1 Solve the recurrece equatio or Thus x +1 x = +1, ha 0, x 0 = 0. Multiplyig both sides by z ad summig we obtai x +1 z x z = +1 z z, 1 z X(z) X(z) = 1 z 1 z, where X(z) = x z. After the trasformatio z 1/z we get X(z) = z (1 z)(1 z). p(z) q(z) = z (z 1)(z ), where the roots of the deomiator are 1 with multiplicity 1 ad with multiplicity. Thus C 1 = lim z 1 ( d z C = lim z dz z 1 Therefore the geeral solutio is z (z ) = ad ) = lim z z 1 (z 1) z (z 1) = ( ). x = ( ) +, 0. Example 5.13 Solve the recurrece equatio so that is The x + = x +1 x, if 0, x 0 = 0, x 1 = 1. Multiplyig by z ad summig gives 1 x z + z + = x +1 z +1 x z, z 1 ( ) F(z) z = F(z) F(z), z z ( 1 F(z) z ) z + = 1 z. F(1/z) = z z z +.

22 5.3. Numerical solutio 7 The roots of the deomiator are 1 + i ad 1 i. Let us compute C 1 () ad C (): Sice z +1 i(1 + i) C 1 () = lim = z 1+i z (1 i) C () = lim z 1 i 1 + i = ( cos π 4 + i si π 4 z +1 ad i(1 i) =. z (1 + i) ), 1 i = ( cos π 4 i si π 4 raisig to the th power gives (1 + i) = ( ) ( cos π 4 + i si π ), (1 i) = ( ) ( cos π 4 4 i si π ), 4 x = C 1 () + C () = ( ) si π 4. ), Exercises 5.-1 How may biary trees are there with vertices ad o empty left ad right subtrees? 5.- How may biary trees are there with vertices, i which each vertex which is ot a leaf, has exactly two descedats? 5.-3 Solve the followig recurret equatio usig geeratig fuctios. H = H 1 + 1, H 0 = 0. (H is the umber of moves i the problem of the Towers of Haoi.) 5.-4 Solve the followig recurret equatio usig the Z-trasform method. F + = F +1 + F + 1, ha 0, és F 0 = 0, F 1 = Solve the followig system of recurrece equatios: u = v 1 + u, v = u + u 1, where u 0 = 1, u 1 =, v 0 = Numerical solutio Usig the followig fuctio we ca solve the liear recurret equatios umerically. The equatio is give i the form a 0 x + a 1 x a k x +k = f (),

23 8 5. Recurreces where a 0, a k 0, k 1. The coefficiets a 0, a 1,..., a k are kept i array A, the iitial values x 0, x 1,..., x k 1 i array X. To d x we will compute step by step the values x k, x k+1,..., x, keepig i the previous k values of the sequece i the rst k positios of X (i.e. i the positios with idices 0, 1,..., k 1). RECURRENCE(A, X, k,, f ) 1 for j k to do v A[0] X[0] 3 for i 1 to k 1 4 do v v + A[i] X[i] 5 v ( f ( j k) v ) /A[k] 6 if j 7 the for i 0 to k 8 do X[i] X[i + 1] 9 X[k 1] v 10 retur v Lies 5 compute the values x j ( j = k, k + 1,..., ) (usig the previous k values), deoted by v i the algorithm. I lies 7 9, if is ot yet reached, we copy the last k values i the rst k positios of X. I lie 10 x is obtaied. It is easy to see that the computatio time is Θ(k), if we do ot cout the time to compute the value of the fuctio. Exercises How may additios, subtractios, multiplicatios ad divisios are required usig the algorithm RECURRENCE, while it computes x 1000 usig the data give i Example 5.4? Problems 5-1. Existece of a solutio of homogeeous equatio usig geeratig fuctio Prove that a liear homogeeous equatio caot be solved usig geeratig fuctios (because X(z) = 0 is obtaied) if ad oly if x = 0 for all. 5-. Complex roots i the case of Z-trasform What happes if the roots of the deomiator are complex whe applyig the Z-trasform method? The solutio of the recurrece equatio must be real. Does the method esure this? Chapter otes The recurrece equatios are discussed i detail by Elaydi [1], Flajolet ad Sedgewick [8], Greee ad Kuth [3], Mickes [7]. Kuth [4] ad Graham, Kuth ad Patashik [] deal with geeratig fuctios. I the book of Vileki [9] there are a lot of simple ad iterestig problems about recurreces ad geeratig fuctios.

24 5. Megjegyzések a fejezethez 9 I [6] Lovász also presets problems o geeratig fuctio. Coutig the biary trees is from Kuth [4], coutig the leaves i the set of all biary trees ad coutig the biary trees with vertices ad k leaves are from Z. Kása [5].

25 Bibliography [1] S. N. Elaydi. A Itroductio to Differece Equatios. Spriger-Verlag, 1999 (. editio). 8 [] R. L. Graham, D. E. Kuth, O. Patashik. Cocrete Mathematics. Addiso-Wesley, 1994 (. editio). 8 [3] D. H. Greee, D. E. Kuth. Mathematics for the Aalysis of Algorithms. Birkhäuser, 1990 (3. editio). 8 [4] D. E. Kuth. Fudametal Algorithms, The Art of Computer Programmig 1. kötete. Addiso-Wesley, 1968 (3. updated editio). 8, 9 [5] Z. Kása. Combiatorica cu aplicaţii (Combiatorics with Applicatios). Presa Uiversitara Clujeaa, [6] L. Lovász. Combiatorial Problems ad Exercises. Akadémiai Kiadó, [7] R. E. Mickes. Differece Equatios. Theory ad Applicatios. Va Nostrad Reihold, [8] R. Sedgewick, P. Flajolet. A Itroductio to the Aalysis of Algorithms. Addiso-Wesley, [9] N. J. Vileki. Combiatorial Mathematics for Recreatio. Mir,

26 Subject Idex B biary trees coutig, 19 biomial formula geeralisatio of the, 17 C characteristic equatio, 07 F Fiboacci umber, 14 fudametal solutio, 07 G geeral solutio, 06 geeratig fuctio, 14 geeratig fuctios coutig biary trees, 19 operatios, 15 H harmoic umbers, 16 I, Í iitial coditio, 06 L LINEAR-HOMOGENEOUS, 1 LINEAR-NONHOMOGENEOUS, 5 M method of variatio of costats, 13 P particular solutio, 06 R RECURRENCE, 8 recurrece equatio, 06 liear, 07, 1, 18, 4 liear homogeeous, 07, 1 liear ohomogeeous, 1, 4, 5 solvig with geeratig fuctios, 18 residue theorem, 6 T Towers of Haoi, 13gy Z Z-trasform method, 4

27 Name idex E, É Elaydi, Saber N., 8, 30 L Lovász, László, 9, 30 F Fiboacci, Leoardo Pisao ( ), 06, 08, 14, 17 Flajolet, Philippe, 8, 30 G Graham, Roald Lewis, 8, 30 Greee, Daiel H., 8, 30 K Kása, Zoltá, 9, 30 Kuth, Doald Ervi, 8, 30 M Mickes, Roald Elbert, 8, 30 P Patashik, Ore, 8, 30 S Sedgewick, Robert, 8, 30 V Vileki, Naum Yakovlevich ( ), 8, 30

28 Cotets 5. Recurreces (Zoltá Kása) Liear recurrece equatios Liear homogeeous equatios with costat coefficiets Liear ohomogeeous recurrece equatios with costat coefficiets Geeratig fuctios ad recurrece equatios Deitio ad operatios Solvig recurrece equatios with geeratig fuctios Liear ohomogeeous recurrece equatios with costat coefficiets The umber of biary trees The umber of leaves of all biary trees of vertices The umber of biary trees with vertices ad k leaves The Z-trasform method Numerical solutio Bibliography Subject Idex Name idex

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

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

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

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

Counting Well-Formed Parenthesizations Easily

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

More information

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

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

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

Linear Differential Equations of Higher Order Basic Theory: Initial-Value Problems d y d y dy

Linear Differential Equations of Higher Order Basic Theory: Initial-Value Problems d y d y dy Liear Differetial Equatios of Higher Order Basic Theory: Iitial-Value Problems d y d y dy Solve: a( ) + a ( )... a ( ) a0( ) y g( ) + + + = d d d ( ) Subject to: y( 0) = y0, y ( 0) = y,..., y ( 0) = y

More information

Series with Central Binomial Coefficients, Catalan Numbers, and Harmonic Numbers

Series with Central Binomial Coefficients, Catalan Numbers, and Harmonic Numbers 3 47 6 3 Joural of Iteger Sequeces, Vol. 5 (0), Article..7 Series with Cetral Biomial Coefficiets, Catala Numbers, ad Harmoic Numbers Khristo N. Boyadzhiev Departmet of Mathematics ad Statistics Ohio Norther

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

APPENDIX F Complex Numbers

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

More information

Zeros of Polynomials

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

More information

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

Chapter 4. Fourier Series

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

More information

1 Generating functions for balls in boxes

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

More information

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

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

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

More information

Appendix F: Complex Numbers

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

More information

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

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

Sequences of Definite Integrals, Factorials and Double Factorials

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

More information

Chapter 4 : Laplace Transform

Chapter 4 : Laplace Transform 4. Itroductio Laplace trasform is a alterative to solve the differetial equatio by the complex frequecy domai ( s = σ + jω), istead of the usual time domai. The DE ca be easily trasformed ito a algebraic

More information

TEACHER CERTIFICATION STUDY GUIDE

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

More information

arxiv: v1 [math.co] 23 Mar 2016

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

More information

Books Recommended for Further Reading

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

More information

8. Applications To Linear Differential Equations

8. Applications To Linear Differential Equations 8. Applicatios To Liear Differetial Equatios 8.. Itroductio 8.. Review Of Results Cocerig Liear Differetial Equatios Of First Ad Secod Orders 8.3. Eercises 8.4. Liear Differetial Equatios Of Order N 8.5.

More information

( ) ( ) ( ) ( ) ( + ) ( )

( ) ( ) ( ) ( ) ( + ) ( ) LSM Nov. 00 Cotet List Mathematics (AH). Algebra... kow ad use the otatio!, C r ad r.. kow the results = r r + + = r r r..3 kow Pascal's triagle. Pascal's triagle should be eteded up to = 7...4 kow ad

More information

Interesting Series Associated with Central Binomial Coefficients, Catalan Numbers and Harmonic Numbers

Interesting Series Associated with Central Binomial Coefficients, Catalan Numbers and Harmonic Numbers 3 47 6 3 Joural of Iteger Sequeces Vol. 9 06 Article 6.. Iterestig Series Associated with Cetral Biomial Coefficiets Catala Numbers ad Harmoic Numbers Hogwei Che Departmet of Mathematics Christopher Newport

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

Application of Jordan Canonical Form

Application of Jordan Canonical Form CHAPTER 6 Applicatio of Jorda Caoical Form Notatios R is the set of real umbers C is the set of complex umbers Q is the set of ratioal umbers Z is the set of itegers N is the set of o-egative itegers Z

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

A Note on the Symmetric Powers of the Standard Representation of S n

A Note on the Symmetric Powers of the Standard Representation of S n A Note o the Symmetric Powers of the Stadard Represetatio of S David Savitt 1 Departmet of Mathematics, Harvard Uiversity Cambridge, MA 0138, USA dsavitt@mathharvardedu Richard P Staley Departmet of Mathematics,

More information

1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS

1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS 1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS We cosider a ite well-ordered system of observers, where each observer sees the real umbers as the set of all iite decimal fractios. The observers are

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

1 Last time: similar and diagonalizable matrices

1 Last time: similar and diagonalizable matrices Last time: similar ad diagoalizable matrices Let be a positive iteger Suppose A is a matrix, v R, ad λ R Recall that v a eigevector for A with eigevalue λ if v ad Av λv, or equivaletly if v is a ozero

More information

Infinite Series and Improper Integrals

Infinite Series and Improper Integrals 8 Special Fuctios Ifiite Series ad Improper Itegrals Ifiite series are importat i almost all areas of mathematics ad egieerig I additio to umerous other uses, they are used to defie certai fuctios ad to

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

CHAPTER 5. Theory and Solution Using Matrix Techniques

CHAPTER 5. Theory and Solution Using Matrix Techniques A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 3 A COLLECTION OF HANDOUTS ON SYSTEMS OF ORDINARY DIFFERENTIAL

More information

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

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

More information

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

1 1 2 = show that: over variables x and y. [2 marks] Write down necessary conditions involving first and second-order partial derivatives for ( x0, y

1 1 2 = show that: over variables x and y. [2 marks] Write down necessary conditions involving first and second-order partial derivatives for ( x0, y Questio (a) A square matrix A= A is called positive defiite if the quadratic form waw > 0 for every o-zero vector w [Note: Here (.) deotes the traspose of a matrix or a vector]. Let 0 A = 0 = show that:

More information

V. Adamchik 1. Recursions. Victor Adamchik Fall of x n1. x n 2. Here are a few first values of the above sequence (coded in Mathematica)

V. Adamchik 1. Recursions. Victor Adamchik Fall of x n1. x n 2. Here are a few first values of the above sequence (coded in Mathematica) V. Adamchik Recursios Victor Adamchik Fall of 2005 Pla. Covergece of sequeces 2. Fractals 3. Coutig biary trees Covergece of Sequeces I the previous lecture we cosidered a cotiued fractio for 2 : 2 This

More information

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals. Z - Trasform The -trasform is a very importat tool i describig ad aalyig digital systems. It offers the techiques for digital filter desig ad frequecy aalysis of digital sigals. Defiitio of -trasform:

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

Properties and Tests of Zeros of Polynomial Functions

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

More information

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

2.4 - Sequences and Series

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

More information

MATH 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

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

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

COMPUTING THE EULER S CONSTANT: A HISTORICAL OVERVIEW OF ALGORITHMS AND RESULTS

COMPUTING THE EULER S CONSTANT: A HISTORICAL OVERVIEW OF ALGORITHMS AND RESULTS COMPUTING THE EULER S CONSTANT: A HISTORICAL OVERVIEW OF ALGORITHMS AND RESULTS GONÇALO MORAIS Abstract. We preted to give a broad overview of the algorithms used to compute the Euler s costat. Four type

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

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j

The z-transform. 7.1 Introduction. 7.2 The z-transform Derivation of the z-transform: x[n] = z n LTI system, h[n] z = re j The -Trasform 7. Itroductio Geeralie the complex siusoidal represetatio offered by DTFT to a represetatio of complex expoetial sigals. Obtai more geeral characteristics for discrete-time LTI systems. 7.

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

AN ALMOST LINEAR RECURRENCE. Donald E. Knuth Calif. Institute of Technology, Pasadena, Calif.

AN ALMOST LINEAR RECURRENCE. Donald E. Knuth Calif. Institute of Technology, Pasadena, Calif. AN ALMOST LINEAR RECURRENCE Doald E. Kuth Calif. Istitute of Techology, Pasadea, Calif. form A geeral liear recurrece with costat coefficiets has the U 0 = a l* U l = a 2 " ' " U r - l = a r ; u = b, u,

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

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

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

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

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

More information

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

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

Theorem: Let A n n. In this case that A does reduce to I, we search for A 1 as the solution matrix X to the matrix equation A X = I i.e.

Theorem: Let A n n. In this case that A does reduce to I, we search for A 1 as the solution matrix X to the matrix equation A X = I i.e. Theorem: Let A be a square matrix The A has a iverse matrix if ad oly if its reduced row echelo form is the idetity I this case the algorithm illustrated o the previous page will always yield the iverse

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

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

Section 5.1 The Basics of Counting

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

More information

Complex Numbers Solutions

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

More information

#A51 INTEGERS 14 (2014) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES

#A51 INTEGERS 14 (2014) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES #A5 INTEGERS 4 (24) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES Kohtaro Imatomi Graduate School of Mathematics, Kyushu Uiversity, Nishi-ku, Fukuoka, Japa k-imatomi@math.kyushu-u.ac.p

More information

The Rand and block distances of pairs of set partitions

The Rand and block distances of pairs of set partitions The Rad ad block distaces of pairs of set partitios Frak Ruskey 1 ad Jeifer Woodcock 1 Dept. of Computer Sciece, Uiversity of Victoria, CANADA Abstract. The Rad distaces of two set partitios is the umber

More information

Benaissa Bernoussi Université Abdelmalek Essaadi, ENSAT de Tanger, B.P. 416, Tanger, Morocco

Benaissa Bernoussi Université Abdelmalek Essaadi, ENSAT de Tanger, B.P. 416, Tanger, Morocco EXTENDING THE BERNOULLI-EULER METHOD FOR FINDING ZEROS OF HOLOMORPHIC FUNCTIONS Beaissa Beroussi Uiversité Abdelmalek Essaadi, ENSAT de Tager, B.P. 416, Tager, Morocco e-mail: Beaissa@fstt.ac.ma Mustapha

More information

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary Recursive Algorithm for Geeratig Partitios of a Iteger Sug-Hyuk Cha Computer Sciece Departmet, Pace Uiversity 1 Pace Plaza, New York, NY 10038 USA scha@pace.edu Abstract. This article first reviews the

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

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

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

PAPER : IIT-JAM 2010

PAPER : IIT-JAM 2010 MATHEMATICS-MA (CODE A) Q.-Q.5: Oly oe optio is correct for each questio. Each questio carries (+6) marks for correct aswer ad ( ) marks for icorrect aswer.. Which of the followig coditios does NOT esure

More information

Hand Out: Analysis of Algorithms. September 8, Bud Mishra. In general, there can be several algorithms to solve a problem; and one is faced

Hand Out: Analysis of Algorithms. September 8, Bud Mishra. In general, there can be several algorithms to solve a problem; and one is faced Had Out Aalysis of Algorithms September 8, 998 Bud Mishra c Mishra, February 9, 986 Itroductio I geeral, there ca be several algorithms to solve a problem; ad oe is faced with the problem of choosig a

More information

Subject: Differential Equations & Mathematical Modeling -III. Lesson: Power series solutions of Differential Equations. about ordinary points

Subject: Differential Equations & Mathematical Modeling -III. Lesson: Power series solutions of Differential Equations. about ordinary points Power series solutio of Differetial equatios about ordiary poits Subject: Differetial Equatios & Mathematical Modelig -III Lesso: Power series solutios of Differetial Equatios about ordiary poits Lesso

More information

CALCULATING FIBONACCI VECTORS

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

More information

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

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

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

SOLVING LINEAR RECURSIONS OVER ALL FIELDS

SOLVING LINEAR RECURSIONS OVER ALL FIELDS SOLVING LINEAR RECURSIONS OVER ALL FIELDS KEITH CONRAD 1. Itroductio A sequece {a } = a 0, a 1, a,... i a field K satisfies a liear recursio if there are c 1,..., c d K such that 1.1 a = c 1 a 1 + c a

More information

Problem Set 2 Solutions

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

More information

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

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

More information

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

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

More information

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

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 113 Exam 3 Practice

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

More information

Chapter 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

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

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

More information

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

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains.

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains. The mai ideas are: Idetities REVISION SHEET FP (MEI) ALGEBRA Before the exam you should kow: If a expressio is a idetity the it is true for all values of the variable it cotais The relatioships betwee

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

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

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

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

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

More information

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

LESSON 2: SIMPLIFYING RADICALS

LESSON 2: SIMPLIFYING RADICALS High School: Workig with Epressios LESSON : SIMPLIFYING RADICALS N.RN.. C N.RN.. B 5 5 C t t t t t E a b a a b N.RN.. 4 6 N.RN. 4. N.RN. 5. N.RN. 6. 7 8 N.RN. 7. A 7 N.RN. 8. 6 80 448 4 5 6 48 00 6 6 6

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

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

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

More information