3. RECURSIVE ALGORITHMS AND RECURRENCE RELATIONS

Size: px
Start display at page:

Download "3. RECURSIVE ALGORITHMS AND RECURRENCE RELATIONS"

Transcription

1 . RECURSIVE ALGORITHMS AND RECURRENCE RELATIONS I dscussg the example of fdg the determat of a matrx a algorthm was outled that defed det(m) for a x matrx terms of the determats of matrces of sze (-)x(-). If D() s the wor requred to evaluate the determat of a x matrx usg ths method the D()=. D(-) To solve ths -- the sese of edg up wth a expresso for D() that does ot have referece to other occurreces of the fucto D() o the rght had sde -- we ca use progressve substtutos as follows: D()=. D(-) =. (-). D(-2) =. (-). (-2). x x 2 x D() D() O(!)! a costat, the cost of returg a umber COMP004: Part

2 Now cosder ALGORITHM Factoral() // Recursvely calculates! for postve teger f = retur else retur *Factoral(-) The oly possble choce for the elemetary operato here s multplcato, so we choose as a cost fucto F() = umber of multplcatos to evaluate Factoral() The algorthm as defed the mples that F() = 0 F() = F(-) +, > The geeral- form ca be rewrtte as F()-F(-)= Lettg - the above, we also have F(-)-F(-2)= We ca cotue to do ths utl the row begg wth F(2), whch cotas the frst meto of the base case (- = 2- = ). F() - F(-) = + F(-) F(-2) = + F(-2) F(-) = - equatos.. + F(2) - F() = F() - F() = - ('Method of dffereces or ladder method'.) COMP004: Part

3 Addg up the rugs of the ladder there are cacellatos o the left had sde for every term except F() ad F(), ad for the rght had sde the sum s just -. F() = F() + - F() = -, sce F()=0 F() O(). Asde: Is ths reasoable, s evaluatg! really oly O()? The aalyss gored the fact that large values wll buld up qucly ad so t was ot ths case deal to cout teger multplcatos as elemetary. However t was a smple example that showed the techques that ca also be used much more complex cases. * * * Expressos le D() = D(-) F() = F(-) + are ow as recurrece relatos. A recurrece relato s a formula that allows us to compute the members of a sequece oe after the other, gve oe or more startg values. These examples are frst order recurrece relatos because a referece s made to oly oe smaller szed stace. A frst order recurrece requres oly oe startg value -- the frst of these cases D(), the secod F() -- order to obta a uque soluto for geeral. Recurrece relatos arse aturally the aalyss of recursve algorthms, where the startg values are the wor requred to compute base cases of the algorthm. COMP004: Part

4 Cosder as aother example of a frst order recurrece relato f(0) = (the base case s for =0) f() = c. f(-) > 0 (It does't matter here what hypothetcal algorthm may have geerated the defto of f(). Most of the examples ths secto wll be startg drectly from a recurrece relato ad wll be focused prmarly o developg the mathematcal tools for solvg such relatos.) By specto, f() = c. f(-) = c 2. f(-2) = c. f(0) = c f()=c s the soluto of ths recurrece relato. It s purely a fucto of the put sze varable, t does ot mae referece o the rght had sde to the orgal cost fucto appled to ay other put szes. The expresso D()=. D(-) s clearly also a frst order recurrece of the same d, but here the multplyg coeffcet depeds o. Ths s the ext step up complcato, where for a geeral -depedet multpler b() f() = b()xf(-) () (defed for > a wth base case value f(a) gve) Aga by specto f() = b()xf(-) = b()xb(-)xf(-2) = b()xb(-)x...xb(a+)xf(a) COMP004: Part 2.2 0

5 (ote t was ot possble to go ay further because there would the be a referece to f(a-), whch s ot defed) gvg as a geeral soluto to () " $ f() = # %$! =a+ & $ b() ' ($ xf(a) the determat example a=, f()=, b()=, gvg f() =! b() = 2xx...x =! =a+ () s the most geeral case of a frst order (t maes referece to oly oe smaller szed stace), homogeeous (there s othg o the r.h.s. that does't multply a smaller szed stace, such as a polyomal ) recurrece relato. What about the factoral fucto recurrece F() = F(-) +? Ths s a smple example of a frst order, homogeeous recurrece relato, for whch the geeral form (wth o-costat coeffcets b(), c()) s f() = b()xf(-) + c() ( > a, f(a) gve) (2) If we try to do ths oe by progressve substtuto as for the determat case we qucly get to dffcultes: f() = b()xb(-)x f(-2) + b()xc(-) + c() = b()xb(-)xb(-2)xf(-) + b()xb(-)xc(-2) + b()xc(-)+ c() =... COMP004: Part 2.2

6 I cases le ths we eed to defe stead a ew fucto g() by f() = b(a+)xb(a+2)x xb()x g(), >a f(a) g(a) (the two fuctos agree o the base case) Substtutg ths way for f() (2): f() = b()xf(-) + c() b(a+)xb(a+2)x xb()x g() = b()xb(a+)xb(a+2)x xb(-)x g(-) + c() same coeffcet The dvdg by the product b(a+)xb(a+2)x xb(), the commo multpler of both staces of the fucto g(), gves g() = g(-) + d() () where d() = c() b(a +)xb(a + 2)x...xb(). () s ow a much smpler form (the mportat thg s that the multpler of the smaller-put stace of the fucto o the r.h.s. s ow ) ad ca be solved by the ladder method we used the case of F() (where d() =, depedet of ) to gve the soluto " $ & $ f() = ) b() # f(a) +! d(j) ' =a+ %$ j=a+ ($ the factoral example a=, f()=0, b()=, d(j) =, gvg f() = - (as! d(j) =! = ") j=2 j=2 COMP004: Part 2.2 2

7 It's possble, ad ot correct, to memorse ad quote the above formula ad substtute to t order to solve a gve recurrece relato, as the formula ca be appled to homogeeous frst order recurreces of ay degree of complexty. However t s more structve, ad ofte easer, to cosder homogeeous recurreces o a case-by-case bass, otg that the examples you would be gve the base case put a wll ormally be 0 or, ad the d-summato above -- whch could prcple be hard ad requre a approxmato techque -- wll use just the seres summato formulae you have already see. Example: f(0)=0 (base case a=0) f()= f(-) +, > 0 Chage varable: f() = g() (b() = for all, so! b() = ) Ths gves g() =. - g(-) + = g() = g(-) +/ Now use the method of dffereces (ladder method) to obta g () = = COMP004: Part 2.2

8 I detal: g() g(-) = / g(-) g(-2) = / g() g(0) = / g() g(0) = = (Whe you are famlar wth these techques you do t eed to show all the detals.) Multplyg both sdes of the soluto for g() by gves the soluto for f() f () = = We evaluate the sum usg the formula for a geometrc seres: Hece = = = a( a = a a ) = 2 a= a= " f() = 2! % $ ' = # & 2! ( ) ( O( ) COMP004: Part 2.2 4

9 SOLVING HIGHER ORDER RECURRENCES USING THE CHARACTERISTIC EQUATION Ths s a techque whch ca be appled to lear recurreces of arbtrary order but s less geeral tha some of the techques llustrated for frst order recurreces that we wll heceforth assume that aythg multplyg a stace(for some put sze) of the fucto s a costat the recurrece relatos are homogeeous -- they do t cota ay term that s t a multple of a stace of the fucto we are tryg to obta a 'closed' soluto for Hece, we are here tryg to solve th order recurreces of the geeral form a f() + a - f(-) + + a 0 f(-) = 0 where the {a } are costats. (Puttg everythg o the l.h.s. ad equatg t to zero rather tha wrtg 'f() =...' s a coveece, as wll be see later.) Try the soluto f() = α (see Brassard ad Bratley p.65 for a justfcato of ths choce): a α + a - α a 0 α - = 0 α - ca be see to be a commo factor: α - (a α + a - α a 0 ) = 0 characterstc equato We assume that we are ot terested the trval soluto α=0, as ths would mply f()=0 -- a algorthmc cotext that the wor eeded for a put of ay sze was zero -- oly the o-trval solutos of the characterstc equato above. COMP004: Part 2.2 5

10 The characterstc equato s a polyomal of degree ad would geeral be expected to have dstct roots (the case that some of these may ot be dstct wll be cosdered later). Assumg that the roots ρ, ρ 2,... ρ of the characterstc equato are all dstct, ay lear combato of {ρ } f() c = = ρ (Brassard ad Bratley p.65) solves the homogeeous recurrece, where the {c } are costats determed by the tal codtos that defe the base cases of the recurrece. Example (=2): f(0) = 0 f() = f() = f(-) 2f(-2), > Try a soluto of the form f() = α : α - α - + 2α -2 = 0 Dvde by α -2 to get the characterstc equato α 2 α + 2 = 0 (α - )(α - 2) = 0 The roots ρ =, ρ 2 = 2 gve a geeral soluto of the form f() = c. + c 2.2 Usg the tal codtos: c + c 2 = 0 (=0) c = -, c 2 = c + 2c 2 = (=) f() = 2 COMP004: Part 2.2 6

11 Example (=): f(0) = f() = 5 f(2) = 9 f() = 7f(-) 4f(-2) + 8f(-), > 2 The characterstc equato s α 7α 2 + 4α - 8 = 0 (α - ) (α - 2) (α - 4) = 0 Roots ρ =, ρ 2 = 2, ρ = 4 gve a geeral soluto of the form f() = c. + c c.4 Usg the tal codtos: c + c 2 + c = (=0) c = -, c 2 =, c = c + 2c 2 + 4c = 5 (=) c + 4c 2 + 6c = 9 (=2) f() = O( 4 ) (Note that uder exam codtos you would ot be expected to solve > 2 examples. Ths s because t s oly for =2 that there s a smple formula for fdg the roots of the (the quadratc) characterstc equato; for > 2 the roots mght be cosderably more dffcult to fd.) COMP004: Part 2.2 7

12 If the characterstc equato has a root ρ wth multplcty m, the (Brassard ad Bratley p.67) x = ρ, x = ρ,, x = m- ρ are all possble solutos of the recurrece. I ths case the geeral soluto s a lear combato (wth costat coeffcets to be determed by the tal codtos) of these terms together wth those cotrbuted by the other roots of the characterstc equato. Example (=2): f(0) = f() = 5 f() = 2f(-) f(-2), > The characterstc equato s α 2 2α + = 0 (α - ) 2 = 0 The repeated root ρ = gves a geeral soluto of the form f() = c. + c 2.. Usg the tal codtos: c = (=0) c =, c 2 = 4 c + c 2 = 5 (=) f() = 4 + COMP004: Part 2.2 8

13 Example (=): f(0) = 2 f() = 9 f(2) = 29 f() = 5f(-) 8f(-2) + 4f(-), > 2 The characterstc equato s α 5α 2 + 8α - 4 = 0 (α - ) (α - 2) 2 = 0 Roots ρ = ad ρ 2 = 2 (m=2) gve a geeral soluto of the form f() = c. + c c..2 Usg the tal codtos: c + c 2 = 2 (=0) c =, c 2 =, c = c + 2c 2 + 2c = 9 (=) c + 4c 2 + 8c = 29 (=2) f() = O( 2 ) COMP004: Part 2.2 9

14 Example: Fboacc umbers The Fboacc umbers are a famous sequece 0,,, 2,, 5, 8,, 2,... defed by the recurrece Fb() = Fb(-) + Fb(-2) wth Fb(0) = 0 Fb() = Patters corporatg ths sequece appear to be wdespread ature, for example the florets the head of a suflower or the growth of pe coes. The sequece was frst troduced to Europe a treatse o the growth of rabbt populatos by Leoardo Fboacc 202 (though t may have bee ow Ida for much loger). 2 The sze of the Fboacc umbers grows expoetally -- the 49th umber s 7,778,742,049, more tha the total umber of people the world. Helathus flower, L Shyamal 2006 Youg coes of a Colorado spruce, COMP004: Part

15 We ca show the expoetal growth of the Fboacc umbers by solvg the recurrece relato for the seres values Fb() usg the characterstc equato method. The geeral- case s Fb() Fb(-) Fb(-2) = 0 wth assocated characterstc equato α 2 α = 0 Ufortuately ths does't factorse eatly wth teger solutos le prevous examples ad t's ecessary to use the formula for the roots of a quadratc equato to gve the solutos!,2 = ± 5 2 ad hece a geeral soluto for the Fboacc seres values of the form Fb() = c ρ + c 2 ρ 2 Usg the base case values Fb(0)=0, Fb()=: c + c 2 = 0 (=0) c = c ρ + c 2 ρ 2 = (=) ad hece Fb() =! + 5 # 5 " 2 $ & % '! ' 5 # 5 " 2 $ & % 5, c 2 =! 5 = ( 5 ( ' (! ) whch! = (+ 5) / 2 ".680,! = "/! # "0.680 COMP004: Part 2.2 4

16 It ca easly be see that Fb()! O(" ) sce as!! < the cotrbuto from the oscllatg secod part of the soluto falls to zero very rapdly as creases. Rabbts really do breed le rabbts! (Though Fboacc assumed, amog other thgs, that they were also mmortal ad hece hs model of rabbt populato growth would ot owadays be thought very realstc.) But does ths ecessarly mea that computg the Fboacc umbers wll tae a expoetally growg amout of tme? Cosder frst a aïve procedure based drectly o the defto: ALGORITHM Fb() // Calculates the th Fboacc umber for teger 0 f retur else retur Fb(-)+Fb(-2) Tag addto here as the elemetary operato the cost F() terms of the umber of addtos ca be see to be F(0) = 0 F() = 0 F() = F(-) + F(-2) + Ufortuately ths s a homogeeous secod order recurrece, ad the characterstc equato method preseted here does't exted to these cases. (I fact t does fall wth the slghtly expaded rage of fuctoal forms cosdered Brassard ad Bratley (p.68) but we wll ot cover these more geeral methods of soluto.) COMP004: Part

17 But there's a trc: otce that f we defe G() = F()+ the the recurrece relato for the umber of addtos becomes G(0) = G() = G() = G(-) + G(-2) whch s homogeeous ad so soluble usg our usual methods. Eve better, t's ot actually ecessary to solve ths recurrece as t ca also be observed that G() = Fb(+) ad hece that F() = G()! = Fb(+)! = ( 5 "+! "! + )! So t s the case that F()! O(" ) -- the amout of wor requred by the defto-derved algorthm grows expoetally the same way as the sequece values Fb() themselves. However t's possble to do better. It mght have bee predcted that Fb was ot a effcet algorthm from specto of ts structure. Worg through some examples for small (such as the =5 case o p.82 of Levt) wll covce you there s massve effcecy the recomputato of already-ow values -- for example the case of =5 Fb(4) s computed four tmes over. There s a smple teratve alteratve that taes oly lear tme as measured by the umber of teger addtos, storg alreadyow values a array A[0..]: ALGORITHM Fb2() // Calculates the th Fboacc umber for teger 0 A[0] < 0 A[] < for < 2 to do A[] < A[-]+A[-2] retur A[] COMP004: Part 2.2 4

18 Ths clearly does oly - addtos, so s O(). BUT -- be careful -- though the secod algorthm wll certaly be preferable, cosderg addtos ether case as havg ut cost may ot be realstc because the the sze of the umbers the Fboacc sequece geerates. It's the same stuato as for the factoral fucto recurrece, foud to be O() terms of teger multplcatos but where the tegers questo would qucly become very large. Realstcally oe would eed to th about sgle bt operatos, the sze of a stace the beg gve as +! " log 2 # $. CHANGE OF VARIABLE Cosder the problem of rasg a umber, a, to some power. The aïve algorthm for dog ths s ALGORITHM Exp(a,) // Computes a for postve teger f = retur a else retur a*exp(a,-) Exp has the same geeral structure as the factoral fucto we looed at earler ad by a smlar argumet ca be demostrated also to be O() (coutg multplcatos at ut cost). Ca we mprove o ths smple expoetato algorthm? Cosder the followg sequece for computg a 2 : a a 2 a 4 a 8 a 6 a 2 Each term s obtaed by squarg the prevous oe, so oly 5 multplcatos are requred, ot. COMP004: Part

19 It's possble to base a alterate algorthm o ths successve squarg dea: ALGORITHM Exp2(a,) // Computes a for postve teger f = retur a else f eve() retur [Exp2(a,/2)] 2 else retur a*[exp2(a,(-)/2)] 2 (dvsos each case gve teger result) Exp2(a,) gets broe to smaller (Exp2) staces ad the squared to gve the requred result. Let E() be the wor requred to compute Exp2(a,) ad use multplcato as the ut-cost elemetary operato: E() = 0 squarg of smaller-put stace E() = E(/2) + f eve E((-)/2) + 2 f odd squarg of smaller-put stace ad multplcato of result by a Suppose for the momet that s ot oly eve but s a power of 2. Mae the chage of varable 2 COMP004: Part

20 The the eve- recurrece taes the form E(2 ) = E(2 /2) + = E(2 - ) + or more compactly, wrtg E(2 ) E E E - = Ths ca ow easly be solved by the ladder method: E E - = + E - E -2 = equatos + + E - E 0 = E - E 0 = So E = E 0 + where E 0 E(2 0 ) = E() = 0 E(2 ) = Sce = 2 = log 2 E() = log 2 Thus E() O(log s a power of 2) (remember that bases of logs ca be dropped uder O ) codtoal asymptotc otato COMP004: Part

21 It ca be show (Brassard ad Bratley, p.46) that f() O( g() s a power of 2 ) f() O(g()) f (a) g s evetually o-decreasg (b) g(2) O( g() ) -- 'smoothess property' log s a creasg fucto for all, ad sce log(2) = log 2 + log O(log ) we ca say fally that for all E() O(log ) Exp2 s thus sgfcatly more effcet, as grows, tha the aïve algorthm Exp -- though t s always advsable to chec that the computatoal overheads mplemetg a more sophstcated algorthm do t outwegh the beefts for the sze of put staces you are lely to ecouter. Example : f() = f() = 4 f(/2) + 2, > Chage varables 2 to obta the recurrece f = 4f Mae the further substtuto (because of the multpler 4 frot of f - ): f = 4 g, f 0 = g 0 4 g = g COMP004: Part

22 Dvdg by 4 ad costructg the ladder g - g - = + g - g -2 = + + g - g 0 = g - g 0 = g = g 0 + (where ad are related by = 2, = log 2 ) Multplyg the soluto for g by 4 : f = 4 f f() = 2 f() + 2 log 2 (f 0 = f(2 0 ) = f(); 4 = (2 ) 2 = 2 ) f() O( 2 log s a power of 2) Sce 2 log s a o-decreasg fucto for all > (t has a turg pot betwee 0 ad ), ad (2) 2 log(2) = 4 2 (log2) (log ) O( 2 log ) t ca be cocluded that for all f() O( 2 log ) COMP004: Part

23 Example: f()= f(2)=2 f()=4f(/2) 4f(/4), >2 Chage varables 2 (otg that as /2 2 -, /4 2-2 ) to obta the recurrece for the ew varable f = 4 f - 4 f -2 Ths s a homogeeous 2 d order recurrece, ad should be solved usg the characterstc equato method. The characterstc equato for the above recurrece (varable ) s α 2 4α + 4 = 0 (α - 2) 2 = 0 Repeated root ρ=2, so the geeral soluto for s f = c 2 + c 2 2 log 2 I terms of the orgal varable, ths geeral soluto s f() = c + c 2 log 2 Is ths O( log )? It depeds o the base cases, whch determe c ad c 2. f() = c + c 2 log 2 = c = 0 f(2) = 2c + 2 c 2 log 2 2 = 2(c + c 2 ) = 2 c =, c 2 = 0 f()= O() ot O( log ) COMP004: Part

24 Strasse s algorthm for multplcato We ow loo for ways to mprove the effcecy of multplcato of two -bt umbers -- the methods we have see so far are O( 2 ). We ca wrte the two -bt umbers whch are to be multpled le ths: a b c d /2-bts /2-bts /2-bts /2-bts ( a. 2 /2 + b ) ( c. 2 /2 + d ) = a. c. 2 + (a. d + b. c). 2 /2 + b. d ths s just puttg zeros after the value a.c, so s O() ths s puttg /2 zeros after (a.d + b.c), so s O() Base 0 (decmal) example for =6 dgts: = = a b Let M() be the cost of multplyg two -bt umbers usg Strasse s algorthm. M() = a 0 M() = 4 M(/2) + a + a 2 (the cost of multplyg 2 bts) all other arthmetc operatos apart from the 4 /2-bt multplcatos -- ote that addto of two -bt umbers s O() 4 pars of /2-bt multplcatos ( a.c, b.d, a.d ad b.c ) COMP004: Part

25 Ths recurrece s smlar to the oe o p.47 ad we proceed smlarly: Frst, set = 2, M(2 ) = M to get M = 4 M - + a 2 + a 2 Now set M = 4 N, M 0 = N 0 (ths s just dog both ecessary substtutos oe step, a shorteed form of the method the prevous example): 4 N = N - + a 2 + a 2 Dvde by 4 ad costruct ladder: N - N - = a /2 + a 2 /4 + N - - N -2 = a /2 - + a 2 / N - N 0 = a /2 + a 2 /4 N - N 0 = ( a / 2 + a / 4 ) 2 = Multplyg by 4 (wth M 0 = M() = a 0 ): M = 4 a + a + a 0 2 = 2 = 4 COMP004: Part 2.2 5

26 From the earler lecture o geometrc seres, = 2 ( ( / 2) ) / 2 = / 2 = 4 = < 2 ( ( / 4) ) / 4 = / 4 4 = < / Hece M(2 ) < 4 (a 0 + a + a 2 /) M() < 2 (a 0 + a + a 2 /) Sce 2 s o-decreasg, ad (2) 2 O( 2 ), we ca say that M() O( 2 ). But ths s the same tme-complexty as shft-ad-add multplcato ad the à la Russe method), so at frst sght Strasse s algorthm loos o better tha our prevous oes. COMP004: Part

27 COMP004: Part However f we use the followg observato, due to Strasse (a - b). (d - c) = (a. d + b. c) a. c b. d we ca compute a.c, b.d ad (a.d + b.c) just three multplcatos: a.c, b.d ad (a-b).(d-c) (we assume subtractos are of eglgble (O()) cost compared to multplcatos). Repeatg the above aalyss wth M() = M(/2) + a + a 2 we ed up wth + + = = = 2 0 a 2 a a ) (2 M where = = < 2 = = 2 < ½ ad hece + + < 2 a 2a a ) (2 M < 2 a 2a a () M 2 0 log 2 usg log log log ) (2 log log 2 2 ) (2 = log 2 =

28 log 2 Therefore M() O( s a power of 2 ) log 2 So, sce s o-decreasg, ad ( 2) log 2 O( result ca be geeralsed to all, ad hece log 2 M() O( ) = O(.59 ) log 2 ), ths Ths s a tme-complexty termedate betwee the O( 2 ) of the elemetary algorthms ad the O() of the lower boud o the sgle-bt-operato cost of multplyg two -bt umbers. How much further could a Strasse-le method be pushed toward a O() performace? Dvdg to parts of / bts, ad usg a smlar -- but more complcated -- trc to reduce the umber of multplcatos ths case to get just 5 (as opposed to the 9 that would be ävely requred) leads by smlar techques to log 5 M() O( )=O(.46 ) But relatvely speag ths s a much smaller mprovemet tha was gaed by gog from the elemetary algorthms to breag the umbers to two /2-bt parts, ad the assocated O() costs (from the 'trc') are greater. If we try to brea the umbers to /4-bt, /5-bt...parts ad use a Strasse-le method the the relatve mprovemets each tme get lesseed stll further, ad the O() overheads become stll greater, so that such elaborate algorthms would be foud better practce oly for such large- cases that they would ot really be of use eve to cryptographers. The moral s that the sglemded pursut of a algorthm wth the best possble asymptotc ( ) behavour may ot always practce be a sesble thg. COMP004: Part

CHAPTER 4 RADICAL EXPRESSIONS

CHAPTER 4 RADICAL EXPRESSIONS 6 CHAPTER RADICAL EXPRESSIONS. The th Root of a Real Number A real umber a s called the th root of a real umber b f Thus, for example: s a square root of sce. s also a square root of sce ( ). s a cube

More information

1 Onto functions and bijections Applications to Counting

1 Onto functions and bijections Applications to Counting 1 Oto fuctos ad bectos Applcatos to Coutg Now we move o to a ew topc. Defto 1.1 (Surecto. A fucto f : A B s sad to be surectve or oto f for each b B there s some a A so that f(a B. What are examples of

More information

Mu Sequences/Series Solutions National Convention 2014

Mu Sequences/Series Solutions National Convention 2014 Mu Sequeces/Seres Solutos Natoal Coveto 04 C 6 E A 6C A 6 B B 7 A D 7 D C 7 A B 8 A B 8 A C 8 E 4 B 9 B 4 E 9 B 4 C 9 E C 0 A A 0 D B 0 C C Usg basc propertes of arthmetc sequeces, we fd a ad bm m We eed

More information

Chapter 9 Jordan Block Matrices

Chapter 9 Jordan Block Matrices Chapter 9 Jorda Block atrces I ths chapter we wll solve the followg problem. Gve a lear operator T fd a bass R of F such that the matrx R (T) s as smple as possble. f course smple s a matter of taste.

More information

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution: Chapter 4 Exercses Samplg Theory Exercse (Smple radom samplg: Let there be two correlated radom varables X ad A sample of sze s draw from a populato by smple radom samplg wthout replacemet The observed

More information

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever.

means the first term, a2 means the term, etc. Infinite Sequences: follow the same pattern forever. 9.4 Sequeces ad Seres Pre Calculus 9.4 SEQUENCES AND SERIES Learg Targets:. Wrte the terms of a explctly defed sequece.. Wrte the terms of a recursvely defed sequece. 3. Determe whether a sequece s arthmetc,

More information

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010 Summato Operator A Prmer o Summato otato George H Olso Ph D Doctoral Program Educatoal Leadershp Appalacha State Uversty Sprg 00 The summato operator ( ) {Greek letter captal sgma} s a structo to sum over

More information

MA/CSSE 473 Day 27. Dynamic programming

MA/CSSE 473 Day 27. Dynamic programming MA/CSSE 473 Day 7 Dyamc Programmg Bomal Coeffcets Warshall's algorthm (Optmal BSTs) Studet questos? Dyamc programmg Used for problems wth recursve solutos ad overlappg subproblems Typcally, we save (memoze)

More information

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers.

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers. PROBLEMS A real umber s represeted appromately by 63, ad we are told that the relatve error s % What s? Note: There are two aswers Ht : Recall that % relatve error s What s the relatve error volved roudg

More information

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix Assgmet 7/MATH 47/Wter, 00 Due: Frday, March 9 Powers o a square matrx Gve a square matrx A, ts powers A or large, or eve arbtrary, teger expoets ca be calculated by dagoalzg A -- that s possble (!) Namely,

More information

For combinatorial problems we might need to generate all permutations, combinations, or subsets of a set.

For combinatorial problems we might need to generate all permutations, combinations, or subsets of a set. Addtoal Decrease ad Coquer Algorthms For combatoral problems we mght eed to geerate all permutatos, combatos, or subsets of a set. Geeratg Permutatos If we have a set f elemets: { a 1, a 2, a 3, a } the

More information

Homework 1: Solutions Sid Banerjee Problem 1: (Practice with Asymptotic Notation) ORIE 4520: Stochastics at Scale Fall 2015

Homework 1: Solutions Sid Banerjee Problem 1: (Practice with Asymptotic Notation) ORIE 4520: Stochastics at Scale Fall 2015 Fall 05 Homework : Solutos Problem : (Practce wth Asymptotc Notato) A essetal requremet for uderstadg scalg behavor s comfort wth asymptotc (or bg-o ) otato. I ths problem, you wll prove some basc facts

More information

A tighter lower bound on the circuit size of the hardest Boolean functions

A tighter lower bound on the circuit size of the hardest Boolean functions Electroc Colloquum o Computatoal Complexty, Report No. 86 2011) A tghter lower boud o the crcut sze of the hardest Boolea fuctos Masak Yamamoto Abstract I [IPL2005], Fradse ad Mlterse mproved bouds o the

More information

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties 進佳數學團隊 Dr. Herbert Lam 林康榮博士 HKAL Pure Mathematcs F. Ieualtes. Basc propertes Theorem Let a, b, c be real umbers. () If a b ad b c, the a c. () If a b ad c 0, the ac bc, but f a b ad c 0, the ac bc. Theorem

More information

The internal structure of natural numbers, one method for the definition of large prime numbers, and a factorization test

The internal structure of natural numbers, one method for the definition of large prime numbers, and a factorization test Fal verso The teral structure of atural umbers oe method for the defto of large prme umbers ad a factorzato test Emmaul Maousos APM Isttute for the Advacemet of Physcs ad Mathematcs 3 Poulou str. 53 Athes

More information

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Numercal Computg -I UNIT SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Structure Page Nos..0 Itroducto 6. Objectves 7. Ital Approxmato to a Root 7. Bsecto Method 8.. Error Aalyss 9.4 Regula Fals Method

More information

2006 Jamie Trahan, Autar Kaw, Kevin Martin University of South Florida United States of America

2006 Jamie Trahan, Autar Kaw, Kevin Martin University of South Florida United States of America SOLUTION OF SYSTEMS OF SIMULTANEOUS LINEAR EQUATIONS Gauss-Sedel Method 006 Jame Traha, Autar Kaw, Kev Mart Uversty of South Florda Uted States of Amerca kaw@eg.usf.edu Itroducto Ths worksheet demostrates

More information

The Selection Problem - Variable Size Decrease/Conquer (Practice with algorithm analysis)

The Selection Problem - Variable Size Decrease/Conquer (Practice with algorithm analysis) We have covered: Selecto, Iserto, Mergesort, Bubblesort, Heapsort Next: Selecto the Qucksort The Selecto Problem - Varable Sze Decrease/Coquer (Practce wth algorthm aalyss) Cosder the problem of fdg the

More information

h-analogue of Fibonacci Numbers

h-analogue of Fibonacci Numbers h-aalogue of Fboacc Numbers arxv:090.0038v [math-ph 30 Sep 009 H.B. Beaoum Prce Mohammad Uversty, Al-Khobar 395, Saud Araba Abstract I ths paper, we troduce the h-aalogue of Fboacc umbers for o-commutatve

More information

Econometric Methods. Review of Estimation

Econometric Methods. Review of Estimation Ecoometrc Methods Revew of Estmato Estmatg the populato mea Radom samplg Pot ad terval estmators Lear estmators Ubased estmators Lear Ubased Estmators (LUEs) Effcecy (mmum varace) ad Best Lear Ubased Estmators

More information

Summary of the lecture in Biostatistics

Summary of the lecture in Biostatistics Summary of the lecture Bostatstcs Probablty Desty Fucto For a cotuos radom varable, a probablty desty fucto s a fucto such that: 0 dx a b) b a dx A probablty desty fucto provdes a smple descrpto of the

More information

We have already referred to a certain reaction, which takes place at high temperature after rich combustion.

We have already referred to a certain reaction, which takes place at high temperature after rich combustion. ME 41 Day 13 Topcs Chemcal Equlbrum - Theory Chemcal Equlbrum Example #1 Equlbrum Costats Chemcal Equlbrum Example #2 Chemcal Equlbrum of Hot Bured Gas 1. Chemcal Equlbrum We have already referred to a

More information

PTAS for Bin-Packing

PTAS for Bin-Packing CS 663: Patter Matchg Algorthms Scrbe: Che Jag /9/00. Itroducto PTAS for B-Packg The B-Packg problem s NP-hard. If we use approxmato algorthms, the B-Packg problem could be solved polyomal tme. For example,

More information

AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET

AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET AN UPPER BOUND FOR THE PERMANENT VERSUS DETERMINANT PROBLEM BRUNO GRENET Abstract. The Permaet versus Determat problem s the followg: Gve a matrx X of determates over a feld of characterstc dfferet from

More information

Chapter 11 Systematic Sampling

Chapter 11 Systematic Sampling Chapter stematc amplg The sstematc samplg techue s operatoall more coveet tha the smple radom samplg. It also esures at the same tme that each ut has eual probablt of cluso the sample. I ths method of

More information

TESTS BASED ON MAXIMUM LIKELIHOOD

TESTS BASED ON MAXIMUM LIKELIHOOD ESE 5 Toy E. Smth. The Basc Example. TESTS BASED ON MAXIMUM LIKELIHOOD To llustrate the propertes of maxmum lkelhood estmates ad tests, we cosder the smplest possble case of estmatg the mea of the ormal

More information

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then Secto 5 Vectors of Radom Varables Whe workg wth several radom varables,,..., to arrage them vector form x, t s ofte coveet We ca the make use of matrx algebra to help us orgaze ad mapulate large umbers

More information

Complex Numbers Primer

Complex Numbers Primer Complex Numbers Prmer Before I get started o ths let me frst make t clear that ths documet s ot teded to teach you everythg there s to kow about complex umbers. That s a subject that ca (ad does) take

More information

Lecture 9: Tolerant Testing

Lecture 9: Tolerant Testing Lecture 9: Tolerat Testg Dael Kae Scrbe: Sakeerth Rao Aprl 4, 07 Abstract I ths lecture we prove a quas lear lower boud o the umber of samples eeded to do tolerat testg for L dstace. Tolerat Testg We have

More information

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model Lecture 7. Cofdece Itervals ad Hypothess Tests the Smple CLR Model I lecture 6 we troduced the Classcal Lear Regresso (CLR) model that s the radom expermet of whch the data Y,,, K, are the outcomes. The

More information

d dt d d dt dt Also recall that by Taylor series, / 2 (enables use of sin instead of cos-see p.27 of A&F) dsin

d dt d d dt dt Also recall that by Taylor series, / 2 (enables use of sin instead of cos-see p.27 of A&F) dsin Learzato of the Swg Equato We wll cover sectos.5.-.6 ad begg of Secto 3.3 these otes. 1. Sgle mache-fte bus case Cosder a sgle mache coected to a fte bus, as show Fg. 1 below. E y1 V=1./_ Fg. 1 The admttace

More information

Lecture 07: Poles and Zeros

Lecture 07: Poles and Zeros Lecture 07: Poles ad Zeros Defto of poles ad zeros The trasfer fucto provdes a bass for determg mportat system respose characterstcs wthout solvg the complete dfferetal equato. As defed, the trasfer fucto

More information

Investigating Cellular Automata

Investigating Cellular Automata Researcher: Taylor Dupuy Advsor: Aaro Wootto Semester: Fall 4 Ivestgatg Cellular Automata A Overvew of Cellular Automata: Cellular Automata are smple computer programs that geerate rows of black ad whte

More information

CIS 800/002 The Algorithmic Foundations of Data Privacy October 13, Lecture 9. Database Update Algorithms: Multiplicative Weights

CIS 800/002 The Algorithmic Foundations of Data Privacy October 13, Lecture 9. Database Update Algorithms: Multiplicative Weights CIS 800/002 The Algorthmc Foudatos of Data Prvacy October 13, 2011 Lecturer: Aaro Roth Lecture 9 Scrbe: Aaro Roth Database Update Algorthms: Multplcatve Weghts We ll recall aga) some deftos from last tme:

More information

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations Dervato of -Pot Block Method Formula for Solvg Frst Order Stff Ordary Dfferetal Equatos Kharul Hamd Kharul Auar, Kharl Iskadar Othma, Zara Bb Ibrahm Abstract Dervato of pot block method formula wth costat

More information

Functions of Random Variables

Functions of Random Variables Fuctos of Radom Varables Chapter Fve Fuctos of Radom Varables 5. Itroducto A geeral egeerg aalyss model s show Fg. 5.. The model output (respose) cotas the performaces of a system or product, such as weght,

More information

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy Bouds o the expected etropy ad KL-dvergece of sampled multomal dstrbutos Brado C. Roy bcroy@meda.mt.edu Orgal: May 18, 2011 Revsed: Jue 6, 2011 Abstract Iformato theoretc quattes calculated from a sampled

More information

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class)

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class) Assgmet 5/MATH 7/Wter 00 Due: Frday, February 9 class (!) (aswers wll be posted rght after class) As usual, there are peces of text, before the questos [], [], themselves. Recall: For the quadratc form

More information

Evaluating Polynomials

Evaluating Polynomials Uverst of Nebraska - Lcol DgtalCommos@Uverst of Nebraska - Lcol MAT Exam Expostor Papers Math the Mddle Isttute Partershp 7-7 Evaluatg Polomals Thomas J. Harrgto Uverst of Nebraska-Lcol Follow ths ad addtoal

More information

Ideal multigrades with trigonometric coefficients

Ideal multigrades with trigonometric coefficients Ideal multgrades wth trgoometrc coeffcets Zarathustra Brady December 13, 010 1 The problem A (, k) multgrade s defed as a par of dstct sets of tegers such that (a 1,..., a ; b 1,..., b ) a j = =1 for all

More information

Lecture 5: Interpolation. Polynomial interpolation Rational approximation

Lecture 5: Interpolation. Polynomial interpolation Rational approximation Lecture 5: Iterpolato olyomal terpolato Ratoal appromato Coeffcets of the polyomal Iterpolato: Sometme we kow the values of a fucto f for a fte set of pots. Yet we wat to evaluate f for other values perhaps

More information

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971))

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971)) art 4b Asymptotc Results for MRR usg RESS Recall that the RESS statstc s a specal type of cross valdato procedure (see Alle (97)) partcular to the regresso problem ad volves fdg Y $,, the estmate at the

More information

LINEAR RECURRENT SEQUENCES AND POWERS OF A SQUARE MATRIX

LINEAR RECURRENT SEQUENCES AND POWERS OF A SQUARE MATRIX INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 6 2006, #A12 LINEAR RECURRENT SEQUENCES AND POWERS OF A SQUARE MATRIX Hacèe Belbachr 1 USTHB, Departmet of Mathematcs, POBox 32 El Ala, 16111,

More information

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions. Ordary Least Squares egresso. Smple egresso. Algebra ad Assumptos. I ths part of the course we are gog to study a techque for aalysg the lear relatoshp betwee two varables Y ad X. We have pars of observatos

More information

The Mathematical Appendix

The Mathematical Appendix The Mathematcal Appedx Defto A: If ( Λ, Ω, where ( λ λ λ whch the probablty dstrbutos,,..., Defto A. uppose that ( Λ,,..., s a expermet type, the σ-algebra o λ λ λ are defed s deoted by ( (,,...,, σ Ω.

More information

Non-uniform Turán-type problems

Non-uniform Turán-type problems Joural of Combatoral Theory, Seres A 111 2005 106 110 wwwelsevercomlocatecta No-uform Turá-type problems DhruvMubay 1, Y Zhao 2 Departmet of Mathematcs, Statstcs, ad Computer Scece, Uversty of Illos at

More information

MA 524 Homework 6 Solutions

MA 524 Homework 6 Solutions MA 524 Homework 6 Solutos. Sce S(, s the umber of ways to partto [] to k oempty blocks, ad c(, s the umber of ways to partto to k oempty blocks ad also the arrage each block to a cycle, we must have S(,

More information

5 Short Proofs of Simplified Stirling s Approximation

5 Short Proofs of Simplified Stirling s Approximation 5 Short Proofs of Smplfed Strlg s Approxmato Ofr Gorodetsky, drtymaths.wordpress.com Jue, 20 0 Itroducto Strlg s approxmato s the followg (somewhat surprsg) approxmato of the factoral,, usg elemetary fuctos:

More information

Laboratory I.10 It All Adds Up

Laboratory I.10 It All Adds Up Laboratory I. It All Adds Up Goals The studet wll work wth Rema sums ad evaluate them usg Derve. The studet wll see applcatos of tegrals as accumulatos of chages. The studet wll revew curve fttg sklls.

More information

Can we take the Mysticism Out of the Pearson Coefficient of Linear Correlation?

Can we take the Mysticism Out of the Pearson Coefficient of Linear Correlation? Ca we tae the Mstcsm Out of the Pearso Coeffcet of Lear Correlato? Itroducto As the ttle of ths tutoral dcates, our purpose s to egeder a clear uderstadg of the Pearso coeffcet of lear correlato studets

More information

MATH 247/Winter Notes on the adjoint and on normal operators.

MATH 247/Winter Notes on the adjoint and on normal operators. MATH 47/Wter 00 Notes o the adjot ad o ormal operators I these otes, V s a fte dmesoal er product space over, wth gve er * product uv, T, S, T, are lear operators o V U, W are subspaces of V Whe we say

More information

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ " 1

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. x, where. = y - ˆ  1 STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS Recall Assumpto E(Y x) η 0 + η x (lear codtoal mea fucto) Data (x, y ), (x 2, y 2 ),, (x, y ) Least squares estmator ˆ E (Y x) ˆ " 0 + ˆ " x, where ˆ

More information

Arithmetic Mean and Geometric Mean

Arithmetic Mean and Geometric Mean Acta Mathematca Ntresa Vol, No, p 43 48 ISSN 453-6083 Arthmetc Mea ad Geometrc Mea Mare Varga a * Peter Mchalča b a Departmet of Mathematcs, Faculty of Natural Sceces, Costate the Phlosopher Uversty Ntra,

More information

Third handout: On the Gini Index

Third handout: On the Gini Index Thrd hadout: O the dex Corrado, a tala statstca, proposed (, 9, 96) to measure absolute equalt va the mea dfferece whch s defed as ( / ) where refers to the total umber of dvduals socet. Assume that. The

More information

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b CS 70 Dscrete Mathematcs ad Probablty Theory Fall 206 Sesha ad Walrad DIS 0b. Wll I Get My Package? Seaky delvery guy of some compay s out delverg packages to customers. Not oly does he had a radom package

More information

Algorithms Design & Analysis. Hash Tables

Algorithms Design & Analysis. Hash Tables Algorthms Desg & Aalyss Hash Tables Recap Lower boud Order statstcs 2 Today s topcs Drect-accessble table Hash tables Hash fuctos Uversal hashg Perfect Hashg Ope addressg 3 Symbol-table problem Symbol

More information

Lecture Note to Rice Chapter 8

Lecture Note to Rice Chapter 8 ECON 430 HG revsed Nov 06 Lecture Note to Rce Chapter 8 Radom matrces Let Y, =,,, m, =,,, be radom varables (r.v. s). The matrx Y Y Y Y Y Y Y Y Y Y = m m m s called a radom matrx ( wth a ot m-dmesoal dstrbuto,

More information

EECE 301 Signals & Systems

EECE 301 Signals & Systems EECE 01 Sgals & Systems Prof. Mark Fowler Note Set #9 Computg D-T Covoluto Readg Assgmet: Secto. of Kame ad Heck 1/ Course Flow Dagram The arrows here show coceptual flow betwee deas. Note the parallel

More information

8.1 Hashing Algorithms

8.1 Hashing Algorithms CS787: Advaced Algorthms Scrbe: Mayak Maheshwar, Chrs Hrchs Lecturer: Shuch Chawla Topc: Hashg ad NP-Completeess Date: September 21 2007 Prevously we looked at applcatos of radomzed algorthms, ad bega

More information

MOLECULAR VIBRATIONS

MOLECULAR VIBRATIONS MOLECULAR VIBRATIONS Here we wsh to vestgate molecular vbratos ad draw a smlarty betwee the theory of molecular vbratos ad Hückel theory. 1. Smple Harmoc Oscllator Recall that the eergy of a oe-dmesoal

More information

Lecture Notes 2. The ability to manipulate matrices is critical in economics.

Lecture Notes 2. The ability to manipulate matrices is critical in economics. Lecture Notes. Revew of Matrces he ablt to mapulate matrces s crtcal ecoomcs.. Matr a rectagular arra of umbers, parameters, or varables placed rows ad colums. Matrces are assocated wth lear equatos. lemets

More information

Application of Legendre Bernstein basis transformations to degree elevation and degree reduction

Application of Legendre Bernstein basis transformations to degree elevation and degree reduction Computer Aded Geometrc Desg 9 79 78 www.elsever.com/locate/cagd Applcato of Legedre Berste bass trasformatos to degree elevato ad degree reducto Byug-Gook Lee a Yubeom Park b Jaechl Yoo c a Dvso of Iteret

More information

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II CEE49b Chapter - Free Vbrato of Mult-Degree-of-Freedom Systems - II We ca obta a approxmate soluto to the fudametal atural frequecy through a approxmate formula developed usg eergy prcples by Lord Raylegh

More information

CS286.2 Lecture 4: Dinur s Proof of the PCP Theorem

CS286.2 Lecture 4: Dinur s Proof of the PCP Theorem CS86. Lecture 4: Dur s Proof of the PCP Theorem Scrbe: Thom Bohdaowcz Prevously, we have prove a weak verso of the PCP theorem: NP PCP 1,1/ (r = poly, q = O(1)). Wth ths result we have the desred costat

More information

Chapter 3 Sampling For Proportions and Percentages

Chapter 3 Sampling For Proportions and Percentages Chapter 3 Samplg For Proportos ad Percetages I may stuatos, the characterstc uder study o whch the observatos are collected are qualtatve ature For example, the resposes of customers may marketg surveys

More information

Ahmed Elgamal. MDOF Systems & Modal Analysis

Ahmed Elgamal. MDOF Systems & Modal Analysis DOF Systems & odal Aalyss odal Aalyss (hese otes cover sectos from Ch. 0, Dyamcs of Structures, Al Chopra, Pretce Hall, 995). Refereces Dyamcs of Structures, Al K. Chopra, Pretce Hall, New Jersey, ISBN

More information

ANALYSIS ON THE NATURE OF THE BASIC EQUATIONS IN SYNERGETIC INTER-REPRESENTATION NETWORK

ANALYSIS ON THE NATURE OF THE BASIC EQUATIONS IN SYNERGETIC INTER-REPRESENTATION NETWORK Far East Joural of Appled Mathematcs Volume, Number, 2008, Pages Ths paper s avalable ole at http://www.pphm.com 2008 Pushpa Publshg House ANALYSIS ON THE NATURE OF THE ASI EQUATIONS IN SYNERGETI INTER-REPRESENTATION

More information

Computations with large numbers

Computations with large numbers Comutatos wth large umbers Wehu Hog, Det. of Math, Clayto State Uversty, 2 Clayto State lvd, Morrow, G 326, Mgshe Wu, Det. of Mathematcs, Statstcs, ad Comuter Scece, Uversty of Wscos-Stout, Meomoe, WI

More information

Introduction to local (nonparametric) density estimation. methods

Introduction to local (nonparametric) density estimation. methods Itroducto to local (oparametrc) desty estmato methods A slecture by Yu Lu for ECE 66 Sprg 014 1. Itroducto Ths slecture troduces two local desty estmato methods whch are Parze desty estmato ad k-earest

More information

This lecture and the next. Why Sorting? Sorting Algorithms so far. Why Sorting? (2) Selection Sort. Heap Sort. Heapsort

This lecture and the next. Why Sorting? Sorting Algorithms so far. Why Sorting? (2) Selection Sort. Heap Sort. Heapsort Ths lecture ad the ext Heapsort Heap data structure ad prorty queue ADT Qucksort a popular algorthm, very fast o average Why Sortg? Whe doubt, sort oe of the prcples of algorthm desg. Sortg used as a subroute

More information

4 Inner Product Spaces

4 Inner Product Spaces 11.MH1 LINEAR ALGEBRA Summary Notes 4 Ier Product Spaces Ier product s the abstracto to geeral vector spaces of the famlar dea of the scalar product of two vectors or 3. I what follows, keep these key

More information

ECONOMETRIC THEORY. MODULE VIII Lecture - 26 Heteroskedasticity

ECONOMETRIC THEORY. MODULE VIII Lecture - 26 Heteroskedasticity ECONOMETRIC THEORY MODULE VIII Lecture - 6 Heteroskedastcty Dr. Shalabh Departmet of Mathematcs ad Statstcs Ida Isttute of Techology Kapur . Breusch Paga test Ths test ca be appled whe the replcated data

More information

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek Partally Codtoal Radom Permutato Model 7- vestgato of Partally Codtoal RP Model wth Respose Error TRODUCTO Ed Staek We explore the predctor that wll result a smple radom sample wth respose error whe a

More information

A Markov Chain Competition Model

A Markov Chain Competition Model Academc Forum 3 5-6 A Marov Cha Competto Model Mchael Lloyd, Ph.D. Mathematcs ad Computer Scece Abstract A brth ad death cha for two or more speces s examed aalytcally ad umercally. Descrpto of the Model

More information

ESS Line Fitting

ESS Line Fitting ESS 5 014 17. Le Fttg A very commo problem data aalyss s lookg for relatoshpetwee dfferet parameters ad fttg les or surfaces to data. The smplest example s fttg a straght le ad we wll dscuss that here

More information

2. Independence and Bernoulli Trials

2. Independence and Bernoulli Trials . Ideedece ad Beroull Trals Ideedece: Evets ad B are deedet f B B. - It s easy to show that, B deedet mles, B;, B are all deedet ars. For examle, ad so that B or B B B B B φ,.e., ad B are deedet evets.,

More information

hp calculators HP 30S Statistics Averages and Standard Deviations Average and Standard Deviation Practice Finding Averages and Standard Deviations

hp calculators HP 30S Statistics Averages and Standard Deviations Average and Standard Deviation Practice Finding Averages and Standard Deviations HP 30S Statstcs Averages ad Stadard Devatos Average ad Stadard Devato Practce Fdg Averages ad Stadard Devatos HP 30S Statstcs Averages ad Stadard Devatos Average ad stadard devato The HP 30S provdes several

More information

Algorithms Theory, Solution for Assignment 2

Algorithms Theory, Solution for Assignment 2 Juor-Prof. Dr. Robert Elsässer, Marco Muñz, Phllp Hedegger WS 2009/200 Algorthms Theory, Soluto for Assgmet 2 http://lak.formatk.u-freburg.de/lak_teachg/ws09_0/algo090.php Exercse 2. - Fast Fourer Trasform

More information

( q Modal Analysis. Eigenvectors = Mode Shapes? Eigenproblem (cont) = x x 2 u 2. u 1. x 1 (4.55) vector and M and K are matrices.

( q Modal Analysis. Eigenvectors = Mode Shapes? Eigenproblem (cont) = x x 2 u 2. u 1. x 1 (4.55) vector and M and K are matrices. 4.3 - Modal Aalyss Physcal coordates are ot always the easest to work Egevectors provde a coveet trasformato to modal coordates Modal coordates are lear combato of physcal coordates Say we have physcal

More information

Lecture 3. Sampling, sampling distributions, and parameter estimation

Lecture 3. Sampling, sampling distributions, and parameter estimation Lecture 3 Samplg, samplg dstrbutos, ad parameter estmato Samplg Defto Populato s defed as the collecto of all the possble observatos of terest. The collecto of observatos we take from the populato s called

More information

Some results and conjectures about recurrence relations for certain sequences of binomial sums.

Some results and conjectures about recurrence relations for certain sequences of binomial sums. Soe results ad coectures about recurrece relatos for certa sequeces of boal sus Joha Cgler Faultät für Matheat Uverstät We A-9 We Nordbergstraße 5 Joha Cgler@uveacat Abstract I a prevous paper [] I have

More information

2SLS Estimates ECON In this case, begin with the assumption that E[ i

2SLS Estimates ECON In this case, begin with the assumption that E[ i SLS Estmates ECON 3033 Bll Evas Fall 05 Two-Stage Least Squares (SLS Cosder a stadard lear bvarate regresso model y 0 x. I ths case, beg wth the assumto that E[ x] 0 whch meas that OLS estmates of wll

More information

Median as a Weighted Arithmetic Mean of All Sample Observations

Median as a Weighted Arithmetic Mean of All Sample Observations Meda as a Weghted Arthmetc Mea of All Sample Observatos SK Mshra Dept. of Ecoomcs NEHU, Shllog (Ida). Itroducto: Iumerably may textbooks Statstcs explctly meto that oe of the weakesses (or propertes) of

More information

To use adaptive cluster sampling we must first make some definitions of the sampling universe:

To use adaptive cluster sampling we must first make some definitions of the sampling universe: 8.3 ADAPTIVE SAMPLING Most of the methods dscussed samplg theory are lmted to samplg desgs hch the selecto of the samples ca be doe before the survey, so that oe of the decsos about samplg deped ay ay

More information

7.0 Equality Contraints: Lagrange Multipliers

7.0 Equality Contraints: Lagrange Multipliers Systes Optzato 7.0 Equalty Cotrats: Lagrage Multplers Cosder the zato of a o-lear fucto subject to equalty costrats: g f() R ( ) 0 ( ) (7.) where the g ( ) are possbly also olear fuctos, ad < otherwse

More information

Chapter 5 Properties of a Random Sample

Chapter 5 Properties of a Random Sample Lecture 6 o BST 63: Statstcal Theory I Ku Zhag, /0/008 Revew for the prevous lecture Cocepts: t-dstrbuto, F-dstrbuto Theorems: Dstrbutos of sample mea ad sample varace, relatoshp betwee sample mea ad sample

More information

Beam Warming Second-Order Upwind Method

Beam Warming Second-Order Upwind Method Beam Warmg Secod-Order Upwd Method Petr Valeta Jauary 6, 015 Ths documet s a part of the assessmet work for the subject 1DRP Dfferetal Equatos o Computer lectured o FNSPE CTU Prague. Abstract Ths documet

More information

Generalized Linear Regression with Regularization

Generalized Linear Regression with Regularization Geeralze Lear Regresso wth Regularzato Zoya Bylsk March 3, 05 BASIC REGRESSION PROBLEM Note: I the followg otes I wll make explct what s a vector a what s a scalar usg vec t or otato, to avo cofuso betwee

More information

18.413: Error Correcting Codes Lab March 2, Lecture 8

18.413: Error Correcting Codes Lab March 2, Lecture 8 18.413: Error Correctg Codes Lab March 2, 2004 Lecturer: Dael A. Spelma Lecture 8 8.1 Vector Spaces A set C {0, 1} s a vector space f for x all C ad y C, x + y C, where we take addto to be compoet wse

More information

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES FDM: Appromato of Frst Order Dervatves Lecture APPROXIMATION OF FIRST ORDER DERIVATIVES. INTRODUCTION Covectve term coservato equatos volve frst order dervatves. The smplest possble approach for dscretzato

More information

1 Lyapunov Stability Theory

1 Lyapunov Stability Theory Lyapuov Stablty heory I ths secto we cosder proofs of stablty of equlbra of autoomous systems. hs s stadard theory for olear systems, ad oe of the most mportat tools the aalyss of olear systems. It may

More information

A study of the sum three or more consecutive natural numbers

A study of the sum three or more consecutive natural numbers Fal verso of the artcle A study of the sum three or more cosecutve atural umbers Emmaul Maousos APM Isttute for the Advacemet of Physcs ad Mathematcs 3 Poulou str. 53 Athes Greece Abstract It holds that

More information

A study of the sum of three or more consecutive natural numbers

A study of the sum of three or more consecutive natural numbers A study of the sum of three or more cosecutve atural umbers Emmaul Maousos APM Isttute for the Advacemet of Physcs ad Mathematcs 3 Poulou str. 53 Athes Greece Abstract It holds that every product of atural

More information

Lecture 02: Bounding tail distributions of a random variable

Lecture 02: Bounding tail distributions of a random variable CSCI-B609: A Theorst s Toolkt, Fall 206 Aug 25 Lecture 02: Boudg tal dstrbutos of a radom varable Lecturer: Yua Zhou Scrbe: Yua Xe & Yua Zhou Let us cosder the ubased co flps aga. I.e. let the outcome

More information

MEASURES OF DISPERSION

MEASURES OF DISPERSION MEASURES OF DISPERSION Measure of Cetral Tedecy: Measures of Cetral Tedecy ad Dsperso ) Mathematcal Average: a) Arthmetc mea (A.M.) b) Geometrc mea (G.M.) c) Harmoc mea (H.M.) ) Averages of Posto: a) Meda

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Exam: ECON430 Statstcs Date of exam: Frday, December 8, 07 Grades are gve: Jauary 4, 08 Tme for exam: 0900 am 00 oo The problem set covers 5 pages Resources allowed:

More information

BERNSTEIN COLLOCATION METHOD FOR SOLVING NONLINEAR DIFFERENTIAL EQUATIONS. Aysegul Akyuz Dascioglu and Nese Isler

BERNSTEIN COLLOCATION METHOD FOR SOLVING NONLINEAR DIFFERENTIAL EQUATIONS. Aysegul Akyuz Dascioglu and Nese Isler Mathematcal ad Computatoal Applcatos, Vol. 8, No. 3, pp. 293-300, 203 BERNSTEIN COLLOCATION METHOD FOR SOLVING NONLINEAR DIFFERENTIAL EQUATIONS Aysegul Ayuz Dascoglu ad Nese Isler Departmet of Mathematcs,

More information

Descriptive Statistics

Descriptive Statistics Page Techcal Math II Descrptve Statstcs Descrptve Statstcs Descrptve statstcs s the body of methods used to represet ad summarze sets of data. A descrpto of how a set of measuremets (for eample, people

More information

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

Mean is only appropriate for interval or ratio scales, not ordinal or nominal. Mea Same as ordary average Sum all the data values ad dvde by the sample sze. x = ( x + x +... + x Usg summato otato, we wrte ths as x = x = x = = ) x Mea s oly approprate for terval or rato scales, ot

More information

MATH 371 Homework assignment 1 August 29, 2013

MATH 371 Homework assignment 1 August 29, 2013 MATH 371 Homework assgmet 1 August 29, 2013 1. Prove that f a subset S Z has a smallest elemet the t s uque ( other words, f x s a smallest elemet of S ad y s also a smallest elemet of S the x y). We kow

More information