in the wost cse. (All logithms in this ppe e se logithms.) The est known soting metho, clle mege insetion y Knuth [9], is ue to Leste Fo J. n Selme Jo

Size: px
Start display at page:

Download "in the wost cse. (All logithms in this ppe e se logithms.) The est known soting metho, clle mege insetion y Knuth [9], is ue to Leste Fo J. n Selme Jo"

Transcription

1 On lowe ouns fo selecting the mein Doit Do John H st y Stn Ulfeg y Ui Zwick June 4, 997 Astct We pesent efomultion of the n+o(n) lowe oun of Bent n John fo the nume of compisons neee fo selecting the mein of n elements. Ou efomultion uses weight function. Apt fom giving moe intuitive poof fo the lowe oun, the new fomultion opens up possiilities fo impoving it. We use the new fomultion to show tht ny pi-foming mein ning lgoithm, i.e., mein ning lgoithm tht stts y comping n=c isjoint pis of elements, must pefom, in the wost cse, t lest :0n + o(n) compisons. This povies stong evience tht selecting the mein equies t lest cn + o(n) compisons, fo some c >. Intouction Soting n selection polems hve eceive extensive ttention y compute scientists n mthemticins fo long time. Compison se lgoithms fo solving these polems wok y pefoming piwise compisons etween the elements until the eltive oe of ll elements is known, in the cse of soting, o until the i-th lgest element mong the n input elements is foun, in the cse of selection. Soting in compison se computtionl moel is quite well unestoo. Any eteministic lgoithm cn e moele y ecision tee in which ll intenl noes epesent compison etween two elements; evey lef epesents esult of the computtion. Since thee must e t lest s mny leves in the ecision tee s thee e possile e-oeings of n elements, ll lgoithms tht sot n elements use t lest log n!e n log n? n log e + o(n) n log n? :44n + o(n) compisons Deptment of Compute Science, School of Mthemticl Sciences, Rymon n Bevely Sckle Fculty of Exct Sciences, Tel Aviv Univesity, Tel Aviv 69978, Isel. E-mil: {oit,zwick}@mth.tu.c.il. y Deptment of Numeicl Anlysis n Computing Science, Royl Institute of Technology, Stockholm, Sween. E-mil: {johnh,stffnu}@n.kth.se.

2 in the wost cse. (All logithms in this ppe e se logithms.) The est known soting metho, clle mege insetion y Knuth [9], is ue to Leste Fo J. n Selme Johnson [7]. It sots n elements using t most n log n? :33n + o(n) compisons. Thus, the gp etween the uppe n lowe ouns is vey now in tht the eo in the secon oe tem is oune y 0:n. The polem of ning the mein is the specil cse of selecting the i-th lgest in n oee set of n elements, when i = n=e. Although much eot hs een put into ning the exct nume of equie compisons, thee is still n nnoying gp etween the est uppe n lowe ouns cuently known. Knowing how to sot, we coul select the mein y st soting, n then selecting the mile-most element; it is quite evient tht we coul o ette, ut how much ette? This question eceive somewht supising nswe when Blum et l. [3] showe, in 973, how to etemine the mein in line time using t most 5:43n compisons. This esult ws impove upon in 976 when Sch nhge, Pteson, n Pippinge [3] pesente n lgoithm tht uses only 3n + o(n) compisons. Thei min invention ws the use of fctoies which mss-pouce cetin ptil oes tht cn e esily mege with ech othe. This emine the est lgoithm fo lmost 0 yes, until Do n Zwick [5] pushe own the nume of compisons little it futhe to :95n+o(n) y ing geen fctoies tht ecycle eis fom the meging pocess use in the lgoithm of [3]. The st non-tivil lowe oun fo the polem ws lso pesente, in 973, y Blum et l. [3] using n vesy gument. Thei :5n lowe oun ws susequently impove to :75n + o(n) y Ptt n Yo [] in 973. Then Yp [4], n lte Muno n Polete [0], impove it to n+o() n n+o(), espectively. 43 The poofs of these lst two ouns e long n complicte. In 979, Fussenegge n Gow [8] pove :5n + o(n) lowe oun fo the mein using new poof technique. Bent n John [] use the sme sic ies when they gve, in 985, shot poof tht impove the lowe oun to n + o(n), which is cuently the est ville. Thus, the uncetinty in the coecient of n is lge fo ning the mein thn it is fo soting, even though the line tem is the secon oe tem in the cse of soting. Since ou methos e se on the poof y Bent n John, let us escie it in some etil. Given the ecision tee of compison se lgoithm, they invente metho to pune it tht yiels collection of pune tees. Then, lowe ouns fo the nume of pune tees n fo thei nume of leves e otine. A nl gument sying tht the leves of the pune tees e lmost isjoint then gives lowe oun fo the size of the ecision tee. In Section we efomulte the poof y Bent n John y ssigning weights to ech noe in the ecision tee. The weight of noe v coespons to the totl

3 nume of leves in sutees with oot v in ll pune tees whee v occus in the poof y Bent n John. The weight of the oot is ppoximtely n ; we show tht evey noe v in the ecision tee hs chil whose weight is t lest hlf the weight of v, n tht the weights of ll the leves e smll. When the poof is fomulte in this wy, it ecomes moe tnspent, n one cn moe esily stuy iniviul compisons, to ule out some s eing fom the lgoithm's point of view. Fo mny polems, such s ning the mximl o the miniml element of n oee set, n ning the mximl n miniml element of n oee set, thee e optiml lgoithms tht stt y mking n=c piwise compisons etween singleton elements. We efe to lgoithms tht stt in this wy s eing pifoming. It hs een iscusse whethe thee e optiml pi-foming lgoithms fo ll ptil oes, n in pticul this question ws pose s n open polem y Aigne []. Some exmples wee then foun y Chen [4], showing tht pi-foming lgoithms e not lwys optiml. It is inteesting to note tht the lgoithms in [5] n [3] e oth pi-foming. It is still n open polem whethe thee e optiml pi-foming lgoithms fo ning the mein. In Section 3 we use ou new ppoch to pove tht ny pi-foming lgoithm uses t lest :07n + o(n) compisons to n the mein. Do n Zwick [6] hve ecently een le to exten the ies escie hee n otin (+)n lowe oun, fo some tiny > 0, on the nume of compisons pefome, in the wost cse, y ny mein selection lgoithm. Bent n John evisite Bent n John [] pove tht n + o(n) compisons e equie fo selecting the mein. Thei esult, in fct, is moe genel n povies lowe oun fo the nume of compisons equie fo selecting the i-th lgest element, fo ny i n. We concentte hee on mein selection lthough ou esults, like those of Bent n John, cn e extene to genel i. Although the poof given y Bent n John is eltively shot n simple, we hee pesent efomultion. Thee e two esons fo this: the st is tht the poof gets moe tnspent; the secon is tht this fomultion mkes it esie to stuy the eect of iniviul compisons. Theoem (Bent n John []). Fining the mein equies n+o(n) compisons. Poof. Any eteministic lgoithm fo ning the mein cn e epesente y ecision tee T, in which ech intenl noe v is lele y compison :. The 3

4 two chilen of such noe, v < n v >, epesent the outcomes < n >, espectively. We ssume tht ecision tees o not contin eunnt compisions etween elements whose eltive oe hs ley een estlishe. We consie univese U contining n elements. Fo evey noe v in T n suset C of U we mke the following enitions: mx v (C) = min v (C) = C C evey compison : ove v with C h outcome > evey compison : ove v with C h outcome < Befoe we pocee with the poof tht selecting the mein equies n+o(n) compisons, we pesent poof of somewht weke esult. We ssume tht U contins n = m elements n show tht selecting the two milemost elements equies n + o(n) compisons. The poof in this cse is slightly simple, yet it emonsttes the min ies use in the poof of the theoem. We ene weight function on the noes of T. This weight function stises the following thee popeties: (i) the weight of the oot is n+o(n). (ii) ech intenl noe v hs chil whose weight is t lest hlf the weight of v. (iii) the weight of ech lef is smll. Fo evey noe v in the ecision tee, we keep tck of susets A which my contin the m lgest elements with espect to the compisons ley me. Let A(v) contin ll such sets which e clle uppe hlf comptile with v. The As e ssigne weights which inicte how f fom solution the lgoithm is, ssuming tht the elements in A e the m lgest. The weight of evey A A(v) is ene s n the weight of noe v is ene s w v (A) = jminv(a)j+jmxv( A)j ; w(v) = AA(v) w v (A): The supescipt in wv (A) is use s we shll shotly hve to ene secon weight function wv (B). In the oot of T, ll susets of size m of U e uppe hlf comptile with so? m tht ja()j = m. Also, ech A A() hs weight m, n we n, s pomise, tht w() = m m m = n+o(n) : ; : 4

5 cse w v < (A) w v > (A) o o A A A A 0 A A 0 A A o o Tle : The weight of set A A(v) in the chilen of noe v, eltive to its weight in v. Consie the weight wv (A) of set A A(v) t noe v lele y the compison :. Wht e the weights of A in v's chilen? This epens on which of the elements n elongs to A (n on which of them is miniml in A o mximl in A). The fou possile cses e consiee in Tle. The weights given thee e eltive to the weight wv (A) of A t v. A zeo inictes tht A is no longe comptile with this chil n thus oes not contiute to its weight. The weight wv < (A), when ; A, fo exmple, is w v (A), if min v(a), n is wv (A), othewise. As cn e seen, v lwys hs t lest one chil in which the weight of A is t lest hlf its weight t v. Futhemoe, in ech one of the fou cses, wv < (A) + wv > (A) wv (A). Ech lef v of the ecision tee coespons to stte of the lgoithm in which the two milemost elements wee foun. Thee is theefoe only one set A left in A(v). Since we hve ientie the minimum element in A n the mximum element in A, we get tht wv (A) = 4. So, if we follow pth fom the oot of the tee n epetely escen to the chil with the lgest weight, we will, when we eventully ech lef, hve pefome t lest n + o(n) compisons. We now pove tht selecting the mein lso equies t lest n + o(n) compisons. To mke the mein well ene we ssume tht n = m?. The polem tht ises in the ove gument is tht the weights of the leves in T, when the selection of the mein, n not the two milemost elements, is consiee, e not necessily smll enough: it is possile to know the mein without knowing ny eltions etween elements in A (which now contins m? elements); this is emeie s follows. In noe v whee the lgoithm is close to etemining the minimum element in A, we essentilly foce it to etemine the lgest element in A inste. This is one y moving n element 0 out of A n ceting set B = A [ f 0 g. This set is lowe hlf comptile with v n the mein is the mximum element in B. By suitle choice of 0, most of mx v ( A) is in mx v (B). A set B is lowe hlf comptile with 5

6 v if jbj = m n it my contin the m smllest elements in U. We keep tck of Bs in the multiset B(v). Fo the oot of T, we let A() contin ll susets of size m of U s efoe, n let B() e empty. We exchnge some As fo Bs s the lgoithm pocees. The weight of set B is ene s w v (B) = jmxv(b)j : The weight of B inictes how f the lgoithm is fom solution, ssuming tht the elements in B e the m smllest elements. The weight of noe v is now ene to e w(v) = AA(v) w v (A) + 4p n BB(v) w v (B): In the eginning of n lgoithm (in the uppe pt of the ecision tee), the weight of noe is still the sum of the weights of ll As, n theefoe w() = n+o(n). We now ene A(v) n B(v) fo the est of T moe exctly. Fo ny noe v in T, except the oot, simply copy A(v) n B(v) fom the pent noe n emove ll sets tht e not uppe o lowe hlf comptile with v, espectively. We ensue tht the weight of evey lef is smll y oing the following: If, fo some A A(v) we hve jmin v (A)j = p ne, we select n element 0 min v (A) which hs een compe to the fewest nume of elements in A; we then emove the set A fom A(v) n the set B = A [ f 0 g to B(v). Note tht t the oot, jmin (A)j = m fo ll A A(), n tht this quntity eceses y t most one fo ech compison until lef is eche. In lef v the mein is known; thus, ja(v)j is empty. Lemm. Let A(v) n B(v) e ene y the ules escie ove. Then, evey intenl noe v (lele : ) in T hs chil with t lest hlf the weight of v, i.e., w(v < ) w(v)= o w(v > ) w(v)=. Poof. Tle gives the weights of set A A(v) t v's chilen, eltive to the weight wv (A) of A t v. Similly, Tle gives the weights of of set B B(v) in v's chilen, eltive the weight wv (v) of B t v. As w v < (A) + wv > (A) wv (A) n wv < (B) + wv > (B) wv (B), fo evey A A(v) n B B(v), ll tht emins to e checke is tht the weight oes not ecese when lowe hlf comptile set B eplces n uppe hlf comptile set A. This is covee y Lemm 3. 6

7 B cse w v < (B) w v > (B) B o o B B 0 B B 0 B B Tle : The weight of set B B(v) in the chilen of noe v, eltive to its weight in v. Lemm 3. If A is emove fom A(v) n B is e in its plce to B(v), n if less thn 4n compisons hve een pefome on the pth fom the oot to v, then 4pn w v (B) > w v (A). Poof. A set A A(v) is eplce y set B = A [ f 0 g B(v) only when jmin v (A)j = p ne. The element 0, in such cse, is n element of min v (A) tht hs een compe to the fewest nume of elements in A. If 0 ws compe to t lest p n elements in A, we get tht ech element of min v (A) ws compe to t lest p n elements in A, n t lest 4n compsions hve een pefome on the pth fom the oot to v, contiction. We get theefoe tht 0 ws compe to less thn p n elements of A n thus jmx v (B)j > jmx v ( A)j? p n. As consequence, we get tht 4 p n + jmx v (B)j > jmin v (A)j + jmx v ( A)j n thus 4pn wv (B) > w v (A), s equie. We now know tht the weight of the oot is lge, n tht the weight oes not ecese too fst; wht emins to e shown is tht the weights of the leves e eltively smll. This is estlishe in the following lemm. Lemm 4. Fo lef v (in which the mein is known), w(v) m 4pn. Poof. Clely, the only sets comptile with lef of T e the set A contining the m lgest elements, n the set B contining the m smllest elements. Since jmin v (A)j = jmx v (B)j =, we get tht wv (B) = n A 6 A(v). Since thee e exctly m elements tht cn e emove fom B to otin coesponing A, thee cn e t most m copies of B in B(v). Let T e compison tee tht coespons to mein ning lgoithm. If the height of T is t lest 4n, we e one. Othewise, y stting t the oot n epetely escening to chil whose weight is t lest hlf the weight of its pent, we tce pth whose length is t lest n + o(n) n Theoem follows. 7

8 Let us see how the cuent fomlism gives oom fo impovement tht i not exits in the oiginl poof. The n + o(n) lowe oun is otine y showing tht ech noe v in ecision tee T tht coespons to mein ning lgoithm hs chil whose weight is t lest hlf the weight of v. Consie the noes v 0 ; v ; : : : ; v` long the pth otine y stting t the oot of T n epetely escening to the chil with the lge weight, until lef is eche. If we coul show tht the weights of suciently mny noes on this pth e stictly lge thn the weights of thei pent, we woul otin n impove lowe oun fo mein selection. If w(v i ) ( + i)w(v i? ), fo evey i `, then the length of this pth, n theefoe the epth of T, is t lest n + P` i= log ( + i) + o(n). 3 An impove lowe oun fo pi-foming lgoithms Let v e noe of compison tee. An element x is singleton t v if it ws not compe ove v with ny othe element. Two elements x n y fom pi t v if the elements x n y wee compe to ech othe ove v, ut none of them ws compe to ny othe element. A pi-foming lgoithm is n lgoithm tht stts y constucting n=c = m? pis. By concentting on compisons tht involve elements tht e pt of pis, we otin ette lowe oun fo pi-foming lgoithms. Theoem 5. A pi-foming lgoithm fo ning the mein must pefom, in the wost cse, t lest :0069n + o(n) compisons. Poof. It is esy to see tht compison involving two singletons cn e elye until just efoe one of them is to e compe fo the secon time. We cn theefoe estict ou ttention to compison tees in which the ptil oe coesponing to ech noe contins t most two pis. Allowing only one pi is not enough s lgoithms shoul e llowe to constuct two pis f; g n f 0 ; 0 g, n then compe n element fom f; g with n element fom f 0 ; 0 g. We focus ou ttention on noes in the ecision tee in which n element of pi is compe fo the secon time n in which the nume of non-singletons is t most m, fo some <. If v is noe in which the nume of non-singletons is t most m, fo some <, then B(v) is empty n thus w(v) = P AA(v) w v (A) n we o not hve to consie Tle fo the est of the section. Recll tht A(v) enotes the collection of susets of U size m tht e uppe hlf comptile with v. If H; L U e susets of U, of ity size, we let A H=L (v) = fa A(v) j H A n L Ag: 8

9 A A c c c c c c Figue : The six possile wys tht,, n c my e ivie etween A n A. Note tht c is not necessily singleton element; it my e pt of lge ptil oe. We let w H=L (v) e the contiution of the sets of A H=L (v) to the weight of v, i.e., w H=L (v) = AA H=L (v) w v (A): Fo evity, we wite A h :::h =l :::l s (v) fo A fh ;:::;h g=fl ;:::;l sg(v) n w h :::h =l :::l s (v) fo w fh ;:::;h g=fl ;:::;l sg(v). Befoe poceeing, we escie the intuition tht lies ehin the est of the poof. Consie Tle fom the lst section. If, in noe v of the ecision tee, the two cses A; A n A; A e not eqully likely, o moe pecicely, if the contiutions w = (v) n w = (v) of these two cses to the totl weight of v e not equl, thee must e t lest one chil of v whose weight is gete thn hlf the weight of v. The iculty in impoving the lowe oun of Bent n John lies theefoe t noes in which the the contiutions of the two cses A; A n A; A e lmost equl. This fct is not so esily seen when looking t the oiginl poof given in []. Suppose now tht v is noe in which n element of pi f; g is compe with n ity element c n tht the nume of non-singletons in v is t most m. We ssume, without loss of genelity, tht >. The weights of set A A(v) in v's chilen epen on which of the elements,, n c elongs to A, n on whethe c is miniml in A o mximl in A. The six possile wys of iviing the elements,, n c etween A n A e shown in Figue. The weights of the set A in v's chilen, eltive to the weight wv (A) of A t v, in ech one of these six cses e given in Tle 3. Tle 3 is simil to Tle of the pevious section, with c plying the ole of. Thee is one impotnt ieence, howeve. If ; ; c A, s in the st ow of Tle 3, then the weight of A in v >c is equl to the weight of A in v. The weight is not hlve, s my e the cse in the st ow of Tle. If the contiution w c= (v) of the cse ; ; c A to the weight of v is not negligile, thee must gin e t lest one chil of v whose weight is gete thn hlf the weight of v. The impove lowe oun is otine y showing tht if the contiutions of the cses A, A n A, A e oughly equl, n if most elements 9

10 cse w v <c (A) w v >c (A) A A c A A A c A o o A A c A 0 A A c A 0 A A c A 0 A A c A o Tle 3: The weight of set A A(v) in the chilen of noe v, eltive to its weight in v, when the element of pi > is compe with n ity element c. in the ptil oe e singletons, then the contiution of the cse ; ; c A is non-negligile. The lge the nume of singletons in the ptil oe, the lge is the eltive contiution of the weight w c= (v) to the weight w(v) of v. Thus, wheneve n element of pi is compe fo the secon time, we mke smll gin. The ove intuition is me pecise in the following lemm: Lemm 6. If v is noe in which n element of pi > is compe with n element c, n if the nume of singletons in v is t lest m + p n, then w(v <c ) w(v) + (w c=(v)? w =c (v)) ; w(v >c ) w(v) + (w =c(v)? w c= (v) + w c= (v)) : Poof. Both inequlities follow esily y consieing the enties in Tle 3. To otin the secon inequlity, fo exmple, note tht w(v >c ) (w(v) + w c=(v)? w c= (v) + w =c (v) + w =c (v)). As w c= (v) = w c= (v) n w =c (v) + w =c (v) = w =c (v), the secon inequlity follows. It is woth pointing out tht in Tle 3 n in Lemm 6, we only nee to ssume tht > ; we o not use the stonge conition tht > is pi. This stonge conition is cucil howeve in the sequel, especilly in Lemm 8. To mke use of Lemm 6 we nee ouns on the eltive contiutions of the ieent cses. The following lemm is useful tool fo etemining such ouns. 0

11 Lemm 7. Let G = (V ; V ; E) e iptite gph. Let n e the miniml egee of the vetices of V n V, espectively. Let n e the mximl egee of the vetices of V n V, espectively. Assume tht positive weight function w is ene on the vetices of G such tht w(v ) = w(v ), wheneve v V, v V n (v ; v ) E. Let w(v ) = P v V w(v ) n w(v ) = P v V w(v ). Then, w(v ) w(v ) w(v ): Poof. Let v (e) V n v (e) V enote the two vetices connecte y the ege e. We then hve v V w(v ) ee w(v (e)) = ee w(v (e)) The othe inequlity follows y exchnging the oles of V n V. Using Lemm 7 we otin the following sic inequlities. v V w(v ): Lemm 8. If v is noe in which > is pi n the nume of non-singletons in v is t most m, then (? )w c=(v) w c= (v) (? )w c= (v) w c= (v) (? )w =c(v) w =c (v) (? )w =c (v) w =c (v) (?) w c=(v) ;? w c=(v) ; (?) w =c(v) ;? w =c (v) : Ech one of these inequlities eltes weight, such s w c= (v), to weight, such s w c= (v), otine y moving one of the elements of the pi > fom A to A. In ech inequlity we `loose' fcto of?. When the elements n e joine togethe fcto of is intouce. When the elements n e septe, fcto of is intouce. Poof. We pesent poof of the inequlity w c= (v) (?) w c= (v). The poof of ll the othe inequlities is lmost ienticl. Constuct iptite gph G = (V ; V ; E) whose vetex sets e V = A c= (v) n V = A c= (v). Dene n ege (A ; A ) E etween A A c= (v) n A A c= (v) if n only if thee is singleton A such tht A = A n fg [ fg. Suppose tht (A ; A ) is such n ege. As 6 min v (A ) ut min v (A ), while ll othe elements e exteml with espect to A if n only if they e exteml with espect to A (note tht min v (A ) n mx v ( A )), we get tht wv (A ) = w v (A ).

12 Fo evey set A of size m, the nume of singletons in A is t lest (? )m n t most m. We get theefoe tht the miniml egees of the vetices of V n V e ; (? )m n the mximl egees of V n V e ; m. The inequlity w c= (v) (?) w c=(v) theefoe follows fom Lemm 7. Using these sic inequlities we otin: Lemm 9. If v is noe in which > is pi n the nume of non-singletons is t most m, fo some <, then w c= (v) (?) (?) w c= (v) ; w =c (v) (?)(3?) (?) w =c (v) ; w c= (v) (?) w c= (v) : Poof. We pesent the poof of the st inequlity. The poof of the othe two inequlities is simil. Using inequlities fom Lemm 8 we get tht w c= (v) = w c= (v) + w c= (v) + w c= (v) n the st inequlity follows. w c= (v) +? w c=(v) + (?) w c= (v) = (?) (?) w c= (v) We e now ey to show tht if v is noe in which n element of pi is compe fo the secon time, then v hs chil whose weight is gete thn hlf the weight of v. Comining Lemm 6 n Lemm 9, we get tht (w(v <c) + w(v >c )) (?) w(v) + 4(?) w c= (v) ; w(v >c ) w(v)? (?) w c=(v) + (?)(3?) (?) w =c (v) : Let = w c= (v)=w(v) n? = w =c (v)=w(v). We get tht (w(v <c) + w(v >c )) + (?) 4(?) w(v) ; w(v >c ) =? (?) + (?)(3?) (?) (? ) w(v)? 3? (?) + w(v) (?)(3?) (?) :

13 As consequence, we get tht mxfw(v <c ); w(v >c )g mx n o + (?) 4(?) ;? 3? (?) + (?)(3?) (?) w(v) : The coecient of w(v), on the ight hn sie, is minimize when the two expessions whose mximum is tken e equl. This hppens when = (3?4+ ). Plugging 7?6+ this vlue of into the two expessions, we get tht whee mxfw(v <c ); w(v >c )g ( + f ())w(v) ; f () = (3? )(? ) 3 (? ) (7? 6 + ) : It is esy to check tht f () > 0 fo <. A pi-foming compison is compison in which two singletons e compe to fom pi. A pi-touching compison is compison in which n element of pi is compe fo the secon time. In pi-foming lgoithm, the nume of singletons is ecese only y pi-foming compisons. Ech pi-foming compison eceses the nume of singletons y exctly two. As expline ove, pi-foming compisons cn lwys e elye so tht pi-foming compison : is immeitely followe y compison tht touches the pi f; g, o y pi-foming compison 0 : 0 n then y compison tht touches oth pis f; g n f 0 ; 0 g. Consie gin the pth tce fom the oot y epetely escening to the chil with the lge weight. As consequence of the ove iscussion, we get tht when the i-th pi-touching compison long this pth is pefome, the nume of non-singletons in the ptil oe is t most 4i. It follows theefoe fom the emk me t the en of the pevious section tht the epth of the compison tee coesponing to ny pi-foming lgoithm is t lest n + m=4 i= log ( + f ( 4i )) + o(n) m Z = n + n 8 log ( + f (t))t + o(n) :0069n + o(n) : 0 This completes the poof of Theoem 5. The wost cse in the poof ove is otine when the lgoithm convets ll the elements into qutets. A qutet is ptil oe otine y comping elements contine in two isjoint pis. In the poof ove, we nlyze cses in which n 3

14 A A c c c c c c c c c Figue : The nine possile wys tht,, c, n my e ivie etween A n A. element of pi > is compe with n ity element c. If the element c is lso pt of pi, tighte nlysis is possile. By pefoming this nylsis we cn impove Theoem 5. Theoem 0. A pi-foming lgoithm fo ning the mein must pefom, in the wost cse, t lest :07n + o(n) compisons. Poof. Consie compisons in which the element fom pi > is compe with n element of pi c >. The nine possile wys of iviing the elements,, c, n mong A n A e epicte in Figue. We my ssume, without loss of genelity, tht the element is compe with eithe c o with. Let v e noe of the compison tee in which > n c > e pis n which one of the compions : c o : is pefome. Let A A(v). The weights of set A in v's chilen, eltive to the weight wv (A) of A t v, in ech one of these nine cses e given in Tle 4. The two possile compisons : c n : e consiee septely. The following equlities e esily veie. Lemm. If > n c > e pis in v then w c= (v) = w c= (v) ; w c= (v) = w =c (v) ; w c= (v) = w =c (v) ; w c= (v) = 4w =c (v) : The following inequlities e nlogous to the inequlities of Lemm 8. Lemm. If > n c > e pis in v n if the nume of non-singletons in v is t most m, fo some <, then (? )w c= (v) w c= (v) (?) w c= (v) ; (? )w =c (v) w c= (v)? w =c (v) ; (? )w =c(v) w =c (v) (?) w =c(v) ; (? )w =c (v) w =c (v)? w =c(v) : 4

15 cse w v <c (A) w v >c (A) w v < (A) w v > (A) A A c= A A c= A A c= 0 0 A A c= A A c= A A c= A A =c 0 0 A A =c 0 0 A A =c Tle 4: The weight of set A A(v) in the chilen of noe v, eltive to its weight in v, when the element of pi > is compe with n element of pi c >. Consie st the compison : c. By exmining Tle 4 n using the equlities of Lemm, we get tht w(v <c)+w(v >c) = w c= (v) w c=(v) + w c=(v) w c=(v) + w c=(v) + w c=(v) + w =c(v) + w =c(v) + w =c(v) = w c= (v) + 3 w c=(v) + 3w =c (v) + w =c (v) + w =c(v): Minimizing this expession, suject to the equlities of Lemm, the inequlities of Lemm, n the fct tht the weights of the nine cses sum up to w(v), mounts to solving line pogm. By solving this line pogm we get tht w(v <c ) + w(v >c ) w(v) ( + f ()) w(v) ; whee f () = (3? )(? )3 (? ) 4 : It seems intuitively cle tht the compison : is compison fom the lgoithm's point of view. The vesy will most likely nswe with >. 5

16 Inee, y solving the coesponing line pogm, we get tht w(v > ) = w c= (v) + w c=(v) + w c= (v) + w c= (v) + w c= (v) + w =c (v) + w =c (v) + w =c (v) = w c= (v) + 3 w c= (v) + 5w =c (v) + 3 w =c (v) + w =c (v) 3 4 : As ( + f ()) 3, fo evey 0, we my iseg the compison : 4 fom ny futhe consietion. It is esy to veify tht ( + f ()) + f (). As esult, we get lowe oun of Z n + n 8 log ( + f (t))t + o(n) :07n + o(n) : 0 This completes the poof of Theoem 0. 4 Concluing emks We pesente efomultion of the n + o(n) lowe oun of Bent n John fo the nume of compisons neee fo selecting the mein of n elements. Using this new fomultion we otine n impove lowe oun fo pi-foming mein ning lgoithms. As mentione, Do n Zwick [6] hve ecently extene the ies escie hee n otine (+)n lowe oun fo genel mein ning lgoithms, fo some tiny > 0. We elieve tht the lowe oun fo pi-foming lgoithms otine hee cn e sustntilly impove. Such n impovement seems to equie, howeve, some new ies. Otining n impove lowe oun fo pi-foming lgoithms my e n impotnt step tows otining lowe oun fo genel lgoithms which is signicntly ette thn the lowe oun of Bent n John []. Pteson [] conjectues tht the nume of compisons equie fo selecting the mein is out (log 4=3 )n :4n. Refeences [] Mtin Aigne. Poucing posets. Discete Mthemtics, 35:5, 98. [] Smuel W. Bent n John W. John. Fining the mein equies n compisons. In Poceeings of the Seventeenth Annul ACM Symposium on Theoy of Computing, pges 36,

17 [3] Mnuel Blum, Roet W. Floy, Vughn Ptt, Ronl L. Rivest, n Roet E. Tjn. Time ouns fo selection. Jounl of Compute n System Sciences, 7:44846, 973. [4] Jingsen Chen. Ptil Oe Pouctions. PhD thesis, Lun Univesity, Box 8, S- 00 Lun, Sween, 993. [5] Doit Do n Ui Zwick. Selecting the mein. In Poceeings of 6th SODA, pges 8897, 995. [6] Doit Do n Ui Zwick. Mein selection equies (+)n compisons. In Poceeings of 37th FOCS, 996. [7] Leste R. Fo n Selme M. Johnson. A tounment polem. Ameicn Mthemticl Monthly, 66:387389, 959. [8] Fnk Fussenegge n Hol N. Gow. A counting ppoch to lowe ouns fo selection polems. Jounl of the Assocition fo Computing Mchiney, 6():738, Apil 979. [9] Donl Evin Knuth. The At of Compute Pogmming, vol. 3, Seching n Soting. Aison-Wesley Pulishing Compny, Inc., 973. [0] I. Muno n P.V. Polete. A lowe oun fo etemining the mein. Technicl Repot Resech Repot CS-8-, Univesity of Wteloo, 98. [] Michel S. Pteson. Pogess in selection. In 5th Scninvin Wokshop on Algoithm Theoy, Reykjv k, Iceln, pges , 996. [] Vughn R. Ptt n Foong Fnces Yo. On lowe ouns fo computing the i-th lgest element. In 4th Annul Symposium on Switching n Automt Theoy, pges 708, 973. [3] A. Sch nhge, M. Pteson, n N. Pippenge. Fining the mein. Jounl of Compute n System Sciences, 3:8499, 976. [4] C.K. Yp. New lowe ouns fo meins n elte polems. Compute Science Repot 79, Yle Univesity, 976. Astct in Symposium on Algoithms n Complexity: New Results n Diections, (J. F. Tu, e.) Cnegie-Mellon Univesity,

D. DOR AND J. HνASTAD AND S. ULFBERG AND U. ZWICK min invention ws the use of fctoies which mss-poduce cetin ptil odes tht cn e esily meged with ech o

D. DOR AND J. HνASTAD AND S. ULFBERG AND U. ZWICK min invention ws the use of fctoies which mss-poduce cetin ptil odes tht cn e esily meged with ech o ON LOWER BOUNDS FOR SELECTING THE MEDIAN DORIT DOR Λ, JOHAN HSTAD y, STAFFAN ULFBERG y, AND URI ZWICK Λ Astct. We pesent efomultion of the n + o(n) lowe ound of Bent nd John fo the nume of compisons needed

More information

Chapter 7. Kleene s Theorem. 7.1 Kleene s Theorem. The following theorem is the most important and fundamental result in the theory of FA s:

Chapter 7. Kleene s Theorem. 7.1 Kleene s Theorem. The following theorem is the most important and fundamental result in the theory of FA s: Chpte 7 Kleene s Theoem 7.1 Kleene s Theoem The following theoem is the most impotnt nd fundmentl esult in the theoy of FA s: Theoem 6 Any lnguge tht cn e defined y eithe egul expession, o finite utomt,

More information

10 Statistical Distributions Solutions

10 Statistical Distributions Solutions Communictions Engineeing MSc - Peliminy Reding 1 Sttisticl Distiutions Solutions 1) Pove tht the vince of unifom distiution with minimum vlue nd mximum vlue ( is ) 1. The vince is the men of the sques

More information

Fourier-Bessel Expansions with Arbitrary Radial Boundaries

Fourier-Bessel Expansions with Arbitrary Radial Boundaries Applied Mthemtics,,, - doi:./m.. Pulished Online My (http://www.scirp.og/jounl/m) Astct Fouie-Bessel Expnsions with Aity Rdil Boundies Muhmmd A. Mushef P. O. Box, Jeddh, Sudi Ai E-mil: mmushef@yhoo.co.uk

More information

Michael Rotkowitz 1,2

Michael Rotkowitz 1,2 Novembe 23, 2006 edited Line Contolles e Unifomly Optiml fo the Witsenhusen Counteexmple Michel Rotkowitz 1,2 IEEE Confeence on Decision nd Contol, 2006 Abstct In 1968, Witsenhusen intoduced his celebted

More information

Previously. Extensions to backstepping controller designs. Tracking using backstepping Suppose we consider the general system

Previously. Extensions to backstepping controller designs. Tracking using backstepping Suppose we consider the general system 436-459 Advnced contol nd utomtion Extensions to bckstepping contolle designs Tcking Obseves (nonline dmping) Peviously Lst lectue we looked t designing nonline contolles using the bckstepping technique

More information

Week 8. Topic 2 Properties of Logarithms

Week 8. Topic 2 Properties of Logarithms Week 8 Topic 2 Popeties of Logithms 1 Week 8 Topic 2 Popeties of Logithms Intoduction Since the esult of ithm is n eponent, we hve mny popeties of ithms tht e elted to the popeties of eponents. They e

More information

Math 4318 : Real Analysis II Mid-Term Exam 1 14 February 2013

Math 4318 : Real Analysis II Mid-Term Exam 1 14 February 2013 Mth 4318 : Rel Anlysis II Mid-Tem Exm 1 14 Febuy 2013 Nme: Definitions: Tue/Flse: Poofs: 1. 2. 3. 4. 5. 6. Totl: Definitions nd Sttements of Theoems 1. (2 points) Fo function f(x) defined on (, b) nd fo

More information

The Area of a Triangle

The Area of a Triangle The e of Tingle tkhlid June 1, 015 1 Intodution In this tile we will e disussing the vious methods used fo detemining the e of tingle. Let [X] denote the e of X. Using se nd Height To stt off, the simplest

More information

2-Way Finite Automata Radboud University, Nijmegen. Writer: Serena Rietbergen, s Supervisor: Herman Geuvers

2-Way Finite Automata Radboud University, Nijmegen. Writer: Serena Rietbergen, s Supervisor: Herman Geuvers 2-Wy Finite Automt Rdoud Univesity, Nijmegen Wite: Seen Rietegen, s4182804 Supeviso: Hemn Geuves Acdemic Ye 2017-2018 Contents 1 Intoduction 3 2 One wy utomt, deteministic nd non-deteministic 5 3 Ovehed

More information

FI 2201 Electromagnetism

FI 2201 Electromagnetism FI 1 Electomgnetism Alexnde A. Isknd, Ph.D. Physics of Mgnetism nd Photonics Resech Goup Electosttics ELECTRIC PTENTIALS 1 Recll tht we e inteested to clculte the electic field of some chge distiution.

More information

Ch 26 - Capacitance! What s Next! Review! Lab this week!

Ch 26 - Capacitance! What s Next! Review! Lab this week! Ch 26 - Cpcitnce! Wht s Next! Cpcitnce" One week unit tht hs oth theoeticl n pcticl pplictions! Cuent & Resistnce" Moving chges, finlly!! Diect Cuent Cicuits! Pcticl pplictions of ll the stuff tht we ve

More information

Discrete Model Parametrization

Discrete Model Parametrization Poceedings of Intentionl cientific Confeence of FME ession 4: Automtion Contol nd Applied Infomtics Ppe 9 Discete Model Pmetition NOKIEVIČ, Pet Doc,Ing,Cc Deptment of Contol ystems nd Instumenttion, Fculty

More information

Data Structures. Element Uniqueness Problem. Hash Tables. Example. Hash Tables. Dana Shapira. 19 x 1. ) h(x 4. ) h(x 2. ) h(x 3. h(x 1. x 4. x 2.

Data Structures. Element Uniqueness Problem. Hash Tables. Example. Hash Tables. Dana Shapira. 19 x 1. ) h(x 4. ) h(x 2. ) h(x 3. h(x 1. x 4. x 2. Element Uniqueness Poblem Dt Stuctues Let x,..., xn < m Detemine whethe thee exist i j such tht x i =x j Sot Algoithm Bucket Sot Dn Shpi Hsh Tbles fo (i=;i

More information

Homework 3 MAE 118C Problems 2, 5, 7, 10, 14, 15, 18, 23, 30, 31 from Chapter 5, Lamarsh & Baratta. The flux for a point source is:

Homework 3 MAE 118C Problems 2, 5, 7, 10, 14, 15, 18, 23, 30, 31 from Chapter 5, Lamarsh & Baratta. The flux for a point source is: . Homewok 3 MAE 8C Poblems, 5, 7, 0, 4, 5, 8, 3, 30, 3 fom Chpte 5, msh & Btt Point souces emit nuetons/sec t points,,, n 3 fin the flux cuent hlf wy between one sie of the tingle (blck ot). The flux fo

More information

Language Processors F29LP2, Lecture 5

Language Processors F29LP2, Lecture 5 Lnguge Pocessos F29LP2, Lectue 5 Jmie Gy Feuy 2, 2014 1 / 1 Nondeteministic Finite Automt (NFA) NFA genelise deteministic finite utomt (DFA). They llow sevel (0, 1, o moe thn 1) outgoing tnsitions with

More information

Class Summary. be functions and f( D) , we define the composition of f with g, denoted g f by

Class Summary. be functions and f( D) , we define the composition of f with g, denoted g f by Clss Summy.5 Eponentil Functions.6 Invese Functions nd Logithms A function f is ule tht ssigns to ech element D ectly one element, clled f( ), in. Fo emple : function not function Given functions f, g:

More information

A Crash Course in (2 2) Matrices

A Crash Course in (2 2) Matrices A Cash Couse in ( ) Matices Seveal weeks woth of matix algeba in an hou (Relax, we will only stuy the simplest case, that of matices) Review topics: What is a matix (pl matices)? A matix is a ectangula

More information

π,π is the angle FROM a! TO b

π,π is the angle FROM a! TO b Mth 151: 1.2 The Dot Poduct We hve scled vectos (o, multiplied vectos y el nume clled scl) nd dded vectos (in ectngul component fom). Cn we multiply vectos togethe? The nswe is YES! In fct, thee e two

More information

About Some Inequalities for Isotonic Linear Functionals and Applications

About Some Inequalities for Isotonic Linear Functionals and Applications Applied Mthemticl Sciences Vol. 8 04 no. 79 8909-899 HIKARI Ltd www.m-hiki.com http://dx.doi.og/0.988/ms.04.40858 Aout Some Inequlities fo Isotonic Line Functionls nd Applictions Loedn Ciudiu Deptment

More information

Optimization. x = 22 corresponds to local maximum by second derivative test

Optimization. x = 22 corresponds to local maximum by second derivative test Optimiztion Lectue 17 discussed the exteme vlues of functions. This lectue will pply the lesson fom Lectue 17 to wod poblems. In this section, it is impotnt to emembe we e in Clculus I nd e deling one-vible

More information

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions

More information

U>, and is negative. Electric Potential Energy

U>, and is negative. Electric Potential Energy Electic Potentil Enegy Think of gvittionl potentil enegy. When the lock is moved veticlly up ginst gvity, the gvittionl foce does negtive wok (you do positive wok), nd the potentil enegy (U) inceses. When

More information

General Physics II. number of field lines/area. for whole surface: for continuous surface is a whole surface

General Physics II. number of field lines/area. for whole surface: for continuous surface is a whole surface Genel Physics II Chpte 3: Guss w We now wnt to quickly discuss one of the moe useful tools fo clculting the electic field, nmely Guss lw. In ode to undestnd Guss s lw, it seems we need to know the concept

More information

Answers to test yourself questions

Answers to test yourself questions Answes to test youself questions opic Descibing fields Gm Gm Gm Gm he net field t is: g ( d / ) ( 4d / ) d d Gm Gm Gm Gm Gm Gm b he net potentil t is: V d / 4d / d 4d d d V e 4 7 9 49 J kg 7 7 Gm d b E

More information

Physics 505 Fall 2005 Midterm Solutions. This midterm is a two hour open book, open notes exam. Do all three problems.

Physics 505 Fall 2005 Midterm Solutions. This midterm is a two hour open book, open notes exam. Do all three problems. Physics 55 Fll 5 Midtem Solutions This midtem is two hou open ook, open notes exm. Do ll thee polems. [35 pts] 1. A ectngul ox hs sides of lengths, nd c z x c [1] ) Fo the Diichlet polem in the inteio

More information

DEPARTMENT OF CIVIL AND ENVIRONMENTAL ENGINEERING FLUID MECHANICS III Solutions to Problem Sheet 3

DEPARTMENT OF CIVIL AND ENVIRONMENTAL ENGINEERING FLUID MECHANICS III Solutions to Problem Sheet 3 DEPATMENT OF CIVIL AND ENVIONMENTAL ENGINEEING FLID MECHANICS III Solutions to Poblem Sheet 3 1. An tmospheic vote is moelle s combintion of viscous coe otting s soli boy with ngul velocity Ω n n iottionl

More information

3.1 Magnetic Fields. Oersted and Ampere

3.1 Magnetic Fields. Oersted and Ampere 3.1 Mgnetic Fields Oested nd Ampee The definition of mgnetic induction, B Fields of smll loop (dipole) Mgnetic fields in mtte: ) feomgnetism ) mgnetiztion, (M ) c) mgnetic susceptiility, m d) mgnetic field,

More information

Summary: Binomial Expansion...! r. where

Summary: Binomial Expansion...! r. where Summy: Biomil Epsio 009 M Teo www.techmejcmth-sg.wes.com ) Re-cp of Additiol Mthemtics Biomil Theoem... whee )!!(! () The fomul is ville i MF so studets do ot eed to memoise it. () The fomul pplies oly

More information

9.4 The response of equilibrium to temperature (continued)

9.4 The response of equilibrium to temperature (continued) 9.4 The esponse of equilibium to tempetue (continued) In the lst lectue, we studied how the chemicl equilibium esponds to the vition of pessue nd tempetue. At the end, we deived the vn t off eqution: d

More information

Mathematical Reflections, Issue 5, INEQUALITIES ON RATIOS OF RADII OF TANGENT CIRCLES. Y.N. Aliyev

Mathematical Reflections, Issue 5, INEQUALITIES ON RATIOS OF RADII OF TANGENT CIRCLES. Y.N. Aliyev themtil efletions, Issue 5, 015 INEQULITIES ON TIOS OF DII OF TNGENT ILES YN liev stt Some inequlities involving tios of dii of intenll tngent iles whih inteset the given line in fied points e studied

More information

A Bijective Approach to the Permutational Power of a Priority Queue

A Bijective Approach to the Permutational Power of a Priority Queue A Bijective Appoach to the Pemutational Powe of a Pioity Queue Ia M. Gessel Kuang-Yeh Wang Depatment of Mathematics Bandeis Univesity Waltham, MA 02254-9110 Abstact A pioity queue tansfoms an input pemutation

More information

On the Eötvös effect

On the Eötvös effect On the Eötvös effect Mugu B. Răuţ The im of this ppe is to popose new theoy bout the Eötvös effect. We develop mthemticl model which loud us bette undestnding of this effect. Fom the eqution of motion

More information

Electric Potential. and Equipotentials

Electric Potential. and Equipotentials Electic Potentil nd Euipotentils U Electicl Potentil Review: W wok done y foce in going fom to long pth. l d E dl F W dl F θ Δ l d E W U U U Δ Δ l d E W U U U U potentil enegy electic potentil Potentil

More information

On Natural Partial Orders of IC-Abundant Semigroups

On Natural Partial Orders of IC-Abundant Semigroups Intentionl Jounl of Mthemtics nd Computtionl Science Vol. No. 05 pp. 5-9 http://www.publicsciencefmewok.og/jounl/ijmcs On Ntul Ptil Odes of IC-Abundnt Semigoups Chunhu Li Bogen Xu School of Science Est

More information

Radial geodesics in Schwarzschild spacetime

Radial geodesics in Schwarzschild spacetime Rdil geodesics in Schwzschild spcetime Spheiclly symmetic solutions to the Einstein eqution tke the fom ds dt d dθ sin θdϕ whee is constnt. We lso hve the connection components, which now tke the fom using

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

Convert the NFA into DFA

Convert the NFA into DFA Convert the NF into F For ech NF we cn find F ccepting the sme lnguge. The numer of sttes of the F could e exponentil in the numer of sttes of the NF, ut in prctice this worst cse occurs rrely. lgorithm:

More information

Available online at ScienceDirect. Procedia Engineering 91 (2014 ) 32 36

Available online at   ScienceDirect. Procedia Engineering 91 (2014 ) 32 36 Aville online t wwwsciencediectcom ScienceDiect Pocedi Engineeing 91 (014 ) 3 36 XXIII R-S-P semin Theoeticl Foundtion of Civil Engineeing (3RSP) (TFoCE 014) Stess Stte of Rdil Inhomogeneous Semi Sphee

More information

Review of Mathematical Concepts

Review of Mathematical Concepts ENEE 322: Signls nd Systems view of Mthemticl Concepts This hndout contins ief eview of mthemticl concepts which e vitlly impotnt to ENEE 322: Signls nd Systems. Since this mteil is coveed in vious couses

More information

RELATIVE KINEMATICS. q 2 R 12. u 1 O 2 S 2 S 1. r 1 O 1. Figure 1

RELATIVE KINEMATICS. q 2 R 12. u 1 O 2 S 2 S 1. r 1 O 1. Figure 1 RELAIVE KINEMAICS he equtions of motion fo point P will be nlyzed in two diffeent efeence systems. One efeence system is inetil, fixed to the gound, the second system is moving in the physicl spce nd the

More information

( ) D x ( s) if r s (3) ( ) (6) ( r) = d dr D x

( ) D x ( s) if r s (3) ( ) (6) ( r) = d dr D x SIO 22B, Rudnick dpted fom Dvis III. Single vile sttistics The next few lectues e intended s eview of fundmentl sttistics. The gol is to hve us ll speking the sme lnguge s we move to moe dvnced topics.

More information

Deterministic simulation of a NFA with k symbol lookahead

Deterministic simulation of a NFA with k symbol lookahead Deteministic simultion of NFA with k symbol lookhed SOFSEM 7 Bl Rvikum, Clifoni Stte Univesity (joint wok with Nic Snten, Univesity of Wteloo) Oveview Definitions: DFA, NFA nd lookhed DFA Motivtion: utomted

More information

Physics 604 Problem Set 1 Due Sept 16, 2010

Physics 604 Problem Set 1 Due Sept 16, 2010 Physics 64 Polem et 1 Due ept 16 1 1) ) Inside good conducto the electic field is eo (electons in the conducto ecuse they e fee to move move in wy to cncel ny electic field impessed on the conducto inside

More information

EECE 260 Electrical Circuits Prof. Mark Fowler

EECE 260 Electrical Circuits Prof. Mark Fowler EECE 60 Electicl Cicuits Pof. Mk Fowle Complex Numbe Review /6 Complex Numbes Complex numbes ise s oots of polynomils. Definition of imginy # nd some esulting popeties: ( ( )( ) )( ) Recll tht the solution

More information

Mark Scheme (Results) January 2008

Mark Scheme (Results) January 2008 Mk Scheme (Results) Jnuy 00 GCE GCE Mthemtics (6679/0) Edecel Limited. Registeed in Englnd nd Wles No. 4496750 Registeed Office: One90 High Holbon, London WCV 7BH Jnuy 00 6679 Mechnics M Mk Scheme Question

More information

CHAPTER 18: ELECTRIC CHARGE AND ELECTRIC FIELD

CHAPTER 18: ELECTRIC CHARGE AND ELECTRIC FIELD ollege Physics Student s Mnul hpte 8 HAPTR 8: LTRI HARG AD LTRI ILD 8. STATI LTRIITY AD HARG: OSRVATIO O HARG. ommon sttic electicity involves chges nging fom nnocoulombs to micocoulombs. () How mny electons

More information

This immediately suggests an inverse-square law for a "piece" of current along the line.

This immediately suggests an inverse-square law for a piece of current along the line. Electomgnetic Theoy (EMT) Pof Rui, UNC Asheville, doctophys on YouTube Chpte T Notes The iot-svt Lw T nvese-sque Lw fo Mgnetism Compe the mgnitude of the electic field t distnce wy fom n infinite line

More information

Electronic Supplementary Material

Electronic Supplementary Material Electonic Supplementy Mteil On the coevolution of socil esponsiveness nd behvioul consistency Mx Wolf, G Snde vn Doon & Fnz J Weissing Poc R Soc B 78, 440-448; 0 Bsic set-up of the model Conside the model

More information

Necessary and sufficient conditions for some two variable orthogonal designs in order 44

Necessary and sufficient conditions for some two variable orthogonal designs in order 44 University of Wollongong Reserch Online Fculty of Informtics - Ppers (Archive) Fculty of Engineering n Informtion Sciences 1998 Necessry n sufficient conitions for some two vrile orthogonl esigns in orer

More information

Section 35 SHM and Circular Motion

Section 35 SHM and Circular Motion Section 35 SHM nd Cicul Motion Phsics 204A Clss Notes Wht do objects do? nd Wh do the do it? Objects sometimes oscillte in simple hmonic motion. In the lst section we looed t mss ibting t the end of sping.

More information

Find this material useful? You can help our team to keep this site up and bring you even more content consider donating via the link on our site.

Find this material useful? You can help our team to keep this site up and bring you even more content consider donating via the link on our site. Find this mteil useful? You cn help ou tem to keep this site up nd bing you even moe content conside donting vi the link on ou site. Still hving touble undestnding the mteil? Check out ou Tutoing pge to

More information

Topics for Review for Final Exam in Calculus 16A

Topics for Review for Final Exam in Calculus 16A Topics fo Review fo Finl Em in Clculus 16A Instucto: Zvezdelin Stnkov Contents 1. Definitions 1. Theoems nd Poblem Solving Techniques 1 3. Eecises to Review 5 4. Chet Sheet 5 1. Definitions Undestnd the

More information

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4 Intermedite Mth Circles Wednesdy, Novemer 14, 2018 Finite Automt II Nickols Rollick nrollick@uwterloo.c Regulr Lnguges Lst time, we were introduced to the ide of DFA (deterministic finite utomton), one

More information

Energy Dissipation Gravitational Potential Energy Power

Energy Dissipation Gravitational Potential Energy Power Lectue 4 Chpte 8 Physics I 0.8.03 negy Dissiption Gvittionl Potentil negy Powe Couse wesite: http://fculty.uml.edu/andiy_dnylov/teching/physicsi Lectue Cptue: http://echo360.uml.edu/dnylov03/physicsfll.html

More information

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3 2 The Prllel Circuit Electric Circuits: Figure 2- elow show ttery nd multiple resistors rrnged in prllel. Ech resistor receives portion of the current from the ttery sed on its resistnce. The split is

More information

BINOMIAL THEOREM SOLUTION. 1. (D) n. = (C 0 + C 1 x +C 2 x C n x n ) (1+ x+ x 2 +.)

BINOMIAL THEOREM SOLUTION. 1. (D) n. = (C 0 + C 1 x +C 2 x C n x n ) (1+ x+ x 2 +.) BINOMIAL THEOREM SOLUTION. (D) ( + + +... + ) (+ + +.) The coefficiet of + + + +... + fo. Moeove coefficiet of is + + + +... + if >. So. (B)... e!!!! The equied coefficiet coefficiet of i e -.!...!. (A),

More information

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs

Math 301: The Erdős-Stone-Simonovitz Theorem and Extremal Numbers for Bipartite Graphs Math 30: The Edős-Stone-Simonovitz Theoem and Extemal Numbes fo Bipatite Gaphs May Radcliffe The Edős-Stone-Simonovitz Theoem Recall, in class we poved Tuán s Gaph Theoem, namely Theoem Tuán s Theoem Let

More information

(1) It increases the break down potential of the surrounding medium so that more potential can be applied and hence more charge can be stored.

(1) It increases the break down potential of the surrounding medium so that more potential can be applied and hence more charge can be stored. Cpcito Cpcito: Cpcito ( o conense ) is evice fo stoing chge. It essentilly consists of two conucting sufces such s two pltes o two spheicl shell o two cylines etc. kept exctly pllel to ech othe septe y

More information

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007 School of Electicl nd Compute Engineeing, Conell Univesity ECE 303: Electomgnetic Fields nd Wves Fll 007 Homewok 3 Due on Sep. 14, 007 by 5:00 PM Reding Assignments: i) Review the lectue notes. ii) Relevnt

More information

dx was area under f ( x ) if ( ) 0

dx was area under f ( x ) if ( ) 0 13. Line Integls Line integls e simil to single integl, f ( x) dx ws e unde f ( x ) if ( ) 0 Insted of integting ove n intevl [, ] (, ) f xy ds f x., we integte ove cuve, (in the xy-plne). **Figue - get

More information

Algebra Based Physics. Gravitational Force. PSI Honors universal gravitation presentation Update Fall 2016.notebookNovember 10, 2016

Algebra Based Physics. Gravitational Force. PSI Honors universal gravitation presentation Update Fall 2016.notebookNovember 10, 2016 Newton's Lw of Univesl Gvittion Gvittionl Foce lick on the topic to go to tht section Gvittionl Field lgeb sed Physics Newton's Lw of Univesl Gvittion Sufce Gvity Gvittionl Field in Spce Keple's Thid Lw

More information

Fluids & Bernoulli s Equation. Group Problems 9

Fluids & Bernoulli s Equation. Group Problems 9 Goup Poblems 9 Fluids & Benoulli s Eqution Nme This is moe tutoil-like thn poblem nd leds you though conceptul development of Benoulli s eqution using the ides of Newton s 2 nd lw nd enegy. You e going

More information

Integrals and Polygamma Representations for Binomial Sums

Integrals and Polygamma Representations for Binomial Sums 3 47 6 3 Jounl of Intege Sequences, Vol. 3 (, Aticle..8 Integls nd Polygmm Repesenttions fo Binomil Sums Anthony Sofo School of Engineeing nd Science Victoi Univesity PO Box 448 Melboune City, VIC 8 Austli

More information

Exploration of the three-person duel

Exploration of the three-person duel Exploation of the thee-peson duel Andy Paish 15 August 2006 1 The duel Pictue a duel: two shootes facing one anothe, taking tuns fiing at one anothe, each with a fixed pobability of hitting his opponent.

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

Mitosis vs meiosis: Lecture Outline 10/26/05. Independent Assortment

Mitosis vs meiosis: Lecture Outline 10/26/05. Independent Assortment Lectue Outline 10/26/05 Consequences of meiosis Gmetes e geneticlly vile Inepenent ssotment Cossing ove Lots of pctice polems Eos in meiosis Why epouce sexully? Mitosis vs meiosis: Mitosis ensues exct

More information

Minimal DFA. minimal DFA for L starting from any other

Minimal DFA. minimal DFA for L starting from any other Miniml DFA Among the mny DFAs ccepting the sme regulr lnguge L, there is exctly one (up to renming of sttes) which hs the smllest possile numer of sttes. Moreover, it is possile to otin tht miniml DFA

More information

Andersen s Algorithm. CS 701 Final Exam (Reminder) Friday, December 12, 4:00 6:00 P.M., 1289 Computer Science.

Andersen s Algorithm. CS 701 Final Exam (Reminder) Friday, December 12, 4:00 6:00 P.M., 1289 Computer Science. CS 701 Finl Exm (Reminde) Fidy, Deeme 12, 4:00 6:00 P.M., 1289 Comute Siene. Andesen s Algoithm An lgoithm to uild oints-to gh fo C ogm is esented in: Pogm Anlysis nd Seiliztion fo the C ogmming Lnguge,

More information

Newton s Shell Theorem via Archimedes s Hat Box and Single-Variable Calculus

Newton s Shell Theorem via Archimedes s Hat Box and Single-Variable Calculus Newton s Shell Theoem vi Achimees s Ht Box n Single-Vible Clculus Pete McGth Pete McGth (pjmcgt@upenn.eu, MRID955520) eceive his Ph.D. fom Bown Univesity n is cuently Hns Remche Instucto t the Univesity

More information

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

Physics 2A Chapter 10 - Moment of Inertia Fall 2018 Physics Chapte 0 - oment of netia Fall 08 The moment of inetia of a otating object is a measue of its otational inetia in the same way that the mass of an object is a measue of its inetia fo linea motion.

More information

1 Nondeterministic Finite Automata

1 Nondeterministic Finite Automata 1 Nondeterministic Finite Automt Suppose in life, whenever you hd choice, you could try oth possiilities nd live your life. At the end, you would go ck nd choose the one tht worked out the est. Then you

More information

Regular expressions, Finite Automata, transition graphs are all the same!!

Regular expressions, Finite Automata, transition graphs are all the same!! CSI 3104 /Winter 2011: Introduction to Forml Lnguges Chpter 7: Kleene s Theorem Chpter 7: Kleene s Theorem Regulr expressions, Finite Automt, trnsition grphs re ll the sme!! Dr. Neji Zgui CSI3104-W11 1

More information

Solutions to Problems : Chapter 19 Problems appeared on the end of chapter 19 of the Textbook

Solutions to Problems : Chapter 19 Problems appeared on the end of chapter 19 of the Textbook Solutions to Poblems Chapte 9 Poblems appeae on the en of chapte 9 of the Textbook 8. Pictue the Poblem Two point chages exet an electostatic foce on each othe. Stategy Solve Coulomb s law (equation 9-5)

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50

working pages for Paul Richards class notes; do not copy or circulate without permission from PGR 2004/11/3 10:50 woking pages fo Paul Richads class notes; do not copy o ciculate without pemission fom PGR 2004/11/3 10:50 CHAPTER7 Solid angle, 3D integals, Gauss s Theoem, and a Delta Function We define the solid angle,

More information

A Survey of Methods for Generating a Test Sequence for Conformance Testing of Finite State Machine

A Survey of Methods for Generating a Test Sequence for Conformance Testing of Finite State Machine ISSN:2229-693 Hnn Ndeem et l, Int.J.Compute Technology & Applictions,Vol 5 (2),435-446 A Suvey of Methods fo Geneting Test Sequence fo Confomnce Testing of Finite Stte Mchine Zin Eid King Adul Aziz Univesity

More information

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1

Chapter Five: Nondeterministic Finite Automata. Formal Language, chapter 5, slide 1 Chpter Five: Nondeterministic Finite Automt Forml Lnguge, chpter 5, slide 1 1 A DFA hs exctly one trnsition from every stte on every symol in the lphet. By relxing this requirement we get relted ut more

More information

Lecture 10. Solution of Nonlinear Equations - II

Lecture 10. Solution of Nonlinear Equations - II Fied point Poblems Lectue Solution o Nonline Equtions - II Given unction g : R R, vlue such tht gis clled ied point o the unction g, since is unchnged when g is pplied to it. Whees with nonline eqution

More information

PH126 Exam I Solutions

PH126 Exam I Solutions PH6 Exam I Solutions q Q Q q. Fou positively chage boies, two with chage Q an two with chage q, ae connecte by fou unstetchable stings of equal length. In the absence of extenal foces they assume the equilibium

More information

10.3 The Quadratic Formula

10.3 The Quadratic Formula . Te Qudti Fomul We mentioned in te lst setion tt ompleting te sque n e used to solve ny qudti eqution. So we n use it to solve 0. We poeed s follows 0 0 Te lst line of tis we ll te qudti fomul. Te Qudti

More information

A Study of Some Integral Problems Using Maple

A Study of Some Integral Problems Using Maple Mthemtis n Sttistis (): -, 0 DOI: 0.89/ms.0.000 http://www.hpub.og A Stuy of Some Integl Poblems Ug Mple Chii-Huei Yu Deptment of Mngement n Infomtion, Nn Jeon Univesity of Siene n Tehnology, Tinn City,

More information

Santucci s CME 305 Lecture Notes 1

Santucci s CME 305 Lecture Notes 1 Sntucci s CME 305 Lectue Notes Lectue : Glol Min Cut Into Gphs e simply wy to eson out things connecting othe things GV, E), E V V, n V, m E Cut A non-empty set of noes suset) S V Cut Size The sum of the

More information

ITI Introduction to Computing II

ITI Introduction to Computing II ITI 1121. Intoduction to Computing II Mcel Tucotte School of Electicl Engineeing nd Compute Science Abstct dt type: Stck Stck-bsed lgoithms Vesion of Febuy 2, 2013 Abstct These lectue notes e ment to be

More information

Solution to HW 3, Ma 1a Fall 2016

Solution to HW 3, Ma 1a Fall 2016 Solution to HW 3, Ma a Fall 206 Section 2. Execise 2: Let C be a subset of the eal numbes consisting of those eal numbes x having the popety that evey digit in the decimal expansion of x is, 3, 5, o 7.

More information

Lecture 14. Protocols. Key Distribution Center (KDC) or Trusted Third Party (TTP) KDC generates R1

Lecture 14. Protocols. Key Distribution Center (KDC) or Trusted Third Party (TTP) KDC generates R1 Lectue 14 Potocols 1 Key Distiution Cente (KDC) o Tusted Thid Pty (TTP) KDC genetes R1 lice otins R1 Msg1: K () Msg2: K (R1 K (R1) ) Msg3: K (R1) o otins R1 nd knows to use s key fo communicting with lice

More information

10 m, so the distance from the Sun to the Moon during a solar eclipse is. The mass of the Sun, Earth, and Moon are = =

10 m, so the distance from the Sun to the Moon during a solar eclipse is. The mass of the Sun, Earth, and Moon are = = Chpte 1 nivesl Gvittion 11 *P1. () The un-th distnce is 1.4 nd the th-moon 8 distnce is.84, so the distnce fom the un to the Moon duing sol eclipse is 11 8 11 1.4.84 = 1.4 The mss of the un, th, nd Moon

More information

Probabilistic Retrieval

Probabilistic Retrieval CS 630 Lectue 4: 02/07/2006 Lectue: Lillin Lee Scibes: Pete Bbinski, Dvid Lin Pobbilistic Retievl I. Nïve Beginnings. Motivtions b. Flse Stt : A Pobbilistic Model without Vition? II. Fomultion. Tems nd

More information

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true. York University CSE 2 Unit 3. DFA Clsses Converting etween DFA, NFA, Regulr Expressions, nd Extended Regulr Expressions Instructor: Jeff Edmonds Don t chet y looking t these nswers premturely.. For ech

More information

If we have a function f(x) which is well-defined for some a x b, its integral over those two values is defined as

If we have a function f(x) which is well-defined for some a x b, its integral over those two values is defined as Y. D. Chong (26) MH28: Complex Methos for the Sciences 2. Integrls If we hve function f(x) which is well-efine for some x, its integrl over those two vlues is efine s N ( ) f(x) = lim x f(x n ) where x

More information

Lecture 2: January 27

Lecture 2: January 27 CS 684: Algorithmic Gme Theory Spring 217 Lecturer: Év Trdos Lecture 2: Jnury 27 Scrie: Alert Julius Liu 2.1 Logistics Scrie notes must e sumitted within 24 hours of the corresponding lecture for full

More information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

Bridging the gap: GCSE AS Level

Bridging the gap: GCSE AS Level Bridging the gp: GCSE AS Level CONTENTS Chpter Removing rckets pge Chpter Liner equtions Chpter Simultneous equtions 8 Chpter Fctors 0 Chpter Chnge the suject of the formul Chpter 6 Solving qudrtic equtions

More information

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations. Lecture 3 3 Solving liner equtions In this lecture we will discuss lgorithms for solving systems of liner equtions Multiplictive identity Let us restrict ourselves to considering squre mtrices since one

More information

NS-IBTS indices calculation procedure

NS-IBTS indices calculation procedure ICES Dt Cente DATRAS 1.1 NS-IBTS indices 2013 DATRAS Pocedue Document NS-IBTS indices clcultion pocedue Contents Genel... 2 I Rw ge dt CA -> Age-length key by RFA fo defined ge nge ALK... 4 II Rw length

More information

Coalgebra, Lecture 15: Equations for Deterministic Automata

Coalgebra, Lecture 15: Equations for Deterministic Automata Colger, Lecture 15: Equtions for Deterministic Automt Julin Slmnc (nd Jurrin Rot) Decemer 19, 2016 In this lecture, we will study the concept of equtions for deterministic utomt. The notes re self contined

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

Multiplying and Dividing Rational Expressions

Multiplying and Dividing Rational Expressions Lesson Peview Pt - Wht You ll Len To multipl tionl epessions To divide tionl epessions nd Wh To find lon pments, s in Eecises 0 Multipling nd Dividing Rtionl Epessions Multipling Rtionl Epessions Check

More information

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014

12.1 Nondeterminism Nondeterministic Finite Automata. a a b ε. CS125 Lecture 12 Fall 2014 CS125 Lecture 12 Fll 2014 12.1 Nondeterminism The ide of nondeterministic computtions is to llow our lgorithms to mke guesses, nd only require tht they ccept when the guesses re correct. For exmple, simple

More information

SPA7010U/SPA7010P: THE GALAXY. Solutions for Coursework 1. Questions distributed on: 25 January 2018.

SPA7010U/SPA7010P: THE GALAXY. Solutions for Coursework 1. Questions distributed on: 25 January 2018. SPA7U/SPA7P: THE GALAXY Solutions fo Cousewok Questions distibuted on: 25 Jnuy 28. Solution. Assessed question] We e told tht this is fint glxy, so essentilly we hve to ty to clssify it bsed on its spectl

More information