Extremal Weighted Path Lengths in Random Binary Search Trees

Size: px
Start display at page:

Download "Extremal Weighted Path Lengths in Random Binary Search Trees"

Transcription

1 Extremal Weighted Path Legths i Radom Biary Search Trees Rafik Aguech 1 Nabil Lasmar 2 Hosam Mahmoud 3 December 18, 2008 Abstract. We cosider weighted path legths to the extremal leaves i a radom biary search tree. Whe liearly scaled, the weighted path legth to the miimal label has Dickma s ifiitely divisible distributio as a limit. By cotrast, the weighted path legth to the maximal label eeds to be cetered ad scaled to coverge to a stadard ormal variate i distributio. The exercise shows that path legths associated with differet raks exhibit differet behaviors depedig o the rak. However, the majority of the raks have a weighted path legth with average behavior similar to that of the weighted path to the maximal ode. AMS subject classificatios. Primary: 05C05, 60C05; secodary: 60F05, 68P05, 68P10, 68P20. Key words. Radom trees, path legth, recurrece, ifiitely divisible distributio, reflectio priciple. 1 Itroductio Various sorts of extremal path legths i biary search trees have bee studied, owig to their importace as iterpretatios of some aalyses of algorithm (mostly i the areas of searchig ad sortig. For example, the height 1 Faculté des Scieces de Moastir, Départemet de mathématiques, 5019 Moastir, Tuisia. rafikaguech@ipeit.ru.t 2 Istitut préparatoire aux études d igéieurs de Tuis, Départemet de mathématiques, IPEIT, Rue lelahrou-motfleury, Tuis, Tuisia. abillasmar@yahoo.fr 3 Departmet of Statistics, The George Washigto Uiversity, Washigto, D.C , U.S.A. hosam@gwu.edu 1

2 of the biary search tree is cosidered i various sources for its role as a global measure of worst case search i a radom tree (see Robso, 1979, Mahmoud ad Pittel, 1984, Pittel 1984, Devroye, , Drmota , ad Reed, At the other ed of the spectrum, the legth of the shortest root-toleaf path is cosidered as a measure of optimism for the best search time (see Pittel (1984. May of these results are surveyed i sortig textbooks such as Kuth (1998 ad Mahmoud (2000. The above-metioed extremal path legths have a commo thread: They all are the raw depth of some extremal leaf i the tree. We are cocered i this ivestigatio with weighted extremal path legths, where odes o the path have types of cotributio to the path legth other tha a mere cout of their icomig edge, such as, for example, cotributig their ow value. The path legths ivolved have other iterpretatios as quatities uderlyig certai algorithms. Some algorithm may go dow a path from the root of a biary search tree of size to the ode raked j, collectig the sum of the values ecoutered. We ivestigate i this paper the distributio of such paths i some extreme cases. Let W j ( be the value of the path legth associated with traversig the tree from its root to the ode labeled j, while aggregatig the values o the path. We shall see that W 1 (, whe appropriately scaled, has Dickma s ifiitely divisible distributio (a result that parallels i some way the Dickma distributio associated with fidig the smallest item via th oe-sided Quicksort (the so-called Quickselect algorithm; see Mahmoud, Modarres, ad Smythe (1995, ad Hwag ad Tsai (2002. By cotrast, W (, whe appropriately cetered ad scaled, coverges i distributio to a ormal variate. The exercise demostrates that there is a variety of differet distributios associated with W j ( for differet values of j. 2 Scope A biary tree is a hierarchical structure of odes each havig o childre, oe left child, oe right child, or two childre (oe left ad oe right. The odes of such a tree ca be labeled from some ordered set, say the atural umbers. The tree ca further be edowed with a search property (to support fast searchig of the items (also called keys stored i it, which imposes the restrictio o the labelig scheme that the label of ay ode is larger tha the labels i its left subtree ad o greater tha ay label i its right subtree. 2

3 For defiitios ad combiatorial properties see Mahmoud (1992, ad for applicatios i sortig see Kuth (1998 or Mahmoud (2000. A biary search tree is costructed from the permutatio (π 1,..., π of {1, 2,..., } by the followig algorithm. The first elemet of the permutatio is iserted i a empty tree, a root ode is allocated for it. A subsequet elemet π j (with j 2 is directed to the left subtree if π j < π 1, otherwise it is directed to the right subtree. I whichever subtree π j goes, it is subjected to the same isertio algorithm recursively, util it is iserted i a empty subtree, i which case a ode is allocated for it ad liked appropriately as a left (right child if its rak is less tha (at least as much as the value of the last ode o the path. Figure 1 illustrates the tree costructed from the radom permutatio (5, 8, 7, 3, 9, 1, 6, 2, 4. Several models of radomess are i commo use o biary trees. The uiform model i which all trees are equally likely has bee proposed for applicatios i formal laguages, compilers, computer algebra, etc. (see Kemp (1984. However, for the searchig ad sortig algorithms alluded to the radom permutatio model is cosidered to be more appropriate. I this model of radomess we assume that the tree is built from permutatios of {1,..., }, where a uiform probability model is imposed o the permutatios istead of the trees. Whe all! permutatios are equally likely or radom, biary search trees are ot equally likely. Several permutatios give rise to the same tree, favorig shorter ad well balaced trees rather tha scrawy ad tall shapes, which is a desirable property i searchig ad sortig algorithms (see Mahmoud (1992. The term radom tree (ad occasioally just the tree will refer to a biary search tree built from a radom permutatio. The radom permutatio model is ot really restrictive, as it covers a rather wide variety of istaces, such as whe the iput is a sample draw from ay cotiuous probability distributio, ad the costructio algorithm is cocered oly with the raks of the keys, ot their actual values. We study the weighted path legth leadig to the rightmost ad leftmost odes. For istace, i the tree of Figure 1, W 1 (9 = = 9, W 2 (9 = = 11,..., W 9 (9 = = 22. The paper is orgaized as follows. I Sectio 3 we study the weighted path legth leadig from the root to the miimal label i the tree ad show that it has Dickma s distributio (after suitable scalig. The weighted path legth leadig to the maximal label is ivestigated separately i Sectio 4 where we explore a useful reflectio priciple. It is show i Sectio 4 that the weighted path legth to the maximal label coverges i distributio to the 3

4 Figure 1: A biary search tree. ormal radom variate (after appropriate ceterig ad scalig. Sectio 5 gives some cocludig remarks where a brief derivatio of the average is give for the rest of the cases 1 < i <. 3 Weighted path to the miimal label Let L be the umber of items that appear i the left subtree, ad thus L + 1 is the value of the root. For 1, the stochastic recurrece W 1 ( = L W 1 (L represets the weighted path legth from the root to the ode labeled 1 (that is, the sum of the collectio of values o the leftmost path i the tree. Let φ (t be the characteristic fuctio of W 1 (. By coditioig the stochastic recurrece, we obtai φ (t = E[e (L+1+W 1(L it ] 1 = E[e (l+1+w1(lit ] P(L = l l=0 4

5 = 1 e kt φ k 1 (t, k=1 valid for all 1. This telescopig sum is ameable to the differecig scheme subtract a versio of the last recurrece with 1 from oe with to obtai φ (t = 1 + eit φ 1 (t, which ca be uwoud by direct iteratio to give φ (t = k 1 + e ikt. k k=1 By differetiatig this latter form oce ad twice (the evaluatig at t = 0 we obtai the mea ad the secod momet. Propositio 1 Let W 1 ( be the weighted path legth from the root to the least raked label i a biary search tree built from a radom permutatio. We the have E[W 1 (] = ; Var[W 1 (] = ( Guided by the rate of growth of the variace, we ext proceed to argue the ifiite divisibility of 1 W 1 (. We take the atural logarithm of the characteristic fuctio, ad write it i asymptotic form (as t 0 ( l(φ (t = l 1 + eikt 1 k k=1 [ e ikt 1 (( e ikt 1 2 ] = + O k k k=1 = O(t 2 e ikt 1 +. k Sice the rate of growth of the stadard deviatio is, oe expects that W 1 (/ coverges to a limit i distributio. At the level of characteristic 5 k=1

6 fuctio, this meas chagig the scale from t to t/. Let v = t/. This etails (for fixed v ( ( v l φ ( 1 = O + k=1 e ikv/ 1. k The O term coverges to 0, ad the remaiig sum approaches We thus have the covergece φ ( v The characteristic fuctio 1 0 e iuv 1 u du. ( 1 e iuv 1 exp du, as. 0 u ( 1 e iuv 1 iuv ψ X (v = exp dv 0 u is that of Dickma s ifiitely divisible radom variable X i Kolmogorov s caoical form (see Billigsley (1995; P That is, φ ( v e R ( (iv iv du exp 0 e iuv 1 u ( 1 = e iv e iuv 1 iuv exp 0 u = E[e i(1+xv ]. We have arrived at the mai result of this sectio. du du Theorem 1 Let W 1 ( be the weighted path legth from the root to the least raked label i a biary search tree built from a radom permutatio. The, W 1 ( where X is Dickma s radom variable. D 1 + X, 6

7 Remark: The limitig radom variable for 1 W 1 ( bears some similarity to the limitig radom variable for 1 C [1], the ormalized umber of comparisos required by Quickselect to fid the least item i a radom iput (of size with raks followig the radom permutatio model. It is show i Mahmoud, Modarres ad Smythe (1995 that 1 C [1] coverges i distributio to 2 + X. Thus, asymptotically, the distributio of 1 C [1] behaves like that of W 1 (. 4 Weighted path to the maximal label Let us itroduce a reflectio operatio, which may geerally be useful i this type of problems. I a biary search tree T of size, exchage the right ad left childre of every ode, startig at the root ad progressig recursively toward the leaves to obtai the reflected tree T. This reflectio cocers oly the shape of the tree, ad ot the labels. Oe ca thik of this operatio as if a two-sided mirror has bee placed o a vertical axis passig through the root, the oe sees the right subtree of T as the reflectio i the left side of the mirror of the left subtree of T, ad the left subtree of T as the reflectio i the right side of the mirror of the right subtree of T. To maitai the biary search property i T, we reisert the umbers 1,..., i a maer cosistet with the search property. For example, the reflected tree of that i Figure 1, is show i Figure 2. Note that, by the symmetry of biary search trees, T has the same probability as T. That is, there are as may permutatios of {1, 2,..., } producig T as those producig T. Observe that a key K i T correspods to the value + 1 K i the reflectio. Let the legth of the rightmost path i T be Q, ad suppose the chai of values appearig o it from the root to the rightmost ode (cotaiig is Y 1, Y 2,..., Y Q+1. Observe that the rightmost path i T becomes a leftmost oe (of the same legth i T, ad suppose that the correspodig labels i the reflectio are Y 1, Y 2,..., Y Q. +1 This coectio suggests that we ca use the distributio of the path to the miimal value, which was established i Sectio 3, for the rightmost path as follows. We have W ( = Q +1 j=1 Y j L = Q +1 j=1 ( + 1 Y j = (Q + 1( + 1 W 1 (. (1 7

8 Figure 2: The reflectio of the tree of Figure 1 We ca ow quickly develop a Gaussia law for W (, from kow results about Q. The latter variable is kow to be asymptotically ormal, satisfyig Q l l D N (0, 1; see Devroye (1988. This idicates that ceterig ad scalig the relatio (1 with asymptotic mea ad stadard deviatio of Q will yield a limit distributio. Let W := W ( l l Accordig to Theorem 1, we have L = Q l + Q l l l W 1( l. W 1 ( l a.s. 0, idicatig that the mai cotributio i W ( comes from the legth of the rightmost path. Also, accordig to the limit law of Q, Q /( l a.s. 0, ad of course ( + 1/( l a.s. 0. Hece, W D N (0, 1. 8

9 5 Coclusio The useful otatio j k will stad for the evet that the label j is ecoutered o the path to k, thus cotributig its value to the weighted path legth W k (. I view of this otatio, the weighted path legth of the ode k is W k ( = j1 {j k}. (2 j=1 The idicators ivolved are depedet, ad it is ot easy to determie limit distributios from this represetatio. Eve computatios such as the variace are dautig. But of course, the represetatio beig a sum, the average is o major obstacle. We develop this average, to use as a bechmark for what falls betwee the two extremes. Lemma 1 P (j k = 1 k j + 1. Proof. Suppose j < k. A property of biary search trees is that whe j k, all the umbers i A kj = {j, j + 1,..., k} appear after j (See Devroye ad Neiiger (2004 for a discussio via the theory of records. It suffices to cout B, the umber of permutatios favorable to the evet j k. If j appears at positio p i a favorable permutatio, there must be at least k j positios past p to receive the umbers i A kj {j}. Thus, p k j. To complete the costructio of a favorable permutatio, choose ay of these j k positios for the elemets of A kj {j}, ad permute its j k umbers over these positios i (k j! ways. Now permute the remaiig (k j+1 elemets i a urestricted way over the remaiig (k j + 1 positios. Therfore, ( p B = (k j! ( k + j 1! k j p=1 ( = (k j! ( k + j 1! k j + 1! = k j

10 The argumet for j > k is symmetrical, with j ad k exchagig roles. It follows from Lemma 1 ad the represetatio (2 that E[W k (] = k 1 j=1 j k j k + j=k+1 j j k + 1. The substitutio m = k j + 1 i the first sum together with a symmetrical oe i the secod sum gives the result i a simple form: E[W k (] = (k 1H k+1 + 3k (k + 1H k, For low- where H r is the rth harmoic umber r s=1 1/s. The form for E[W k (] is for the etire spectrum of odes. idexed odes k = o(, we have E[W k (], whereas for odes with high idex k = o(, E[W k (] l, but if k α, for 0 < α < 1, the asymptotic approximatio is E[W k (] 2α l, which idicates that the majority of the medium rage idexes lea toward the behavior of the weight of the path legth to the maximal ode, rather tha the liear order of magitude associated with the miimal ode. This may ultimately be reflected i the average distributio across all the odes. For istace, if we select a ode radomly i the tree, its idex K will be uiformly distributed o the set {1,..., }, ad cosequetly its weighted path legth has the average E[W K (] = j=1 E[W j (] l 1 0 2α dα = l. with a order of magitude just like that of the weight of the path legth to the maximal ode 10

11 Refereces [1] Billigsley, P. (1995. Probability ad Measure. Wiley, New York. [2] Devroye, L. (1986. A ote o the height of biary search trees. Joural of the ACM, 33, [3] Devroye, L. (1987. Brachig processes i the aalysis of the height of trees. Acta Iformatica, 24, [4] Devroye, L. (1988. Applicatios of the theory of records i the study of radom trees. Acta Iformatica, 26, [5] Devroye, L. ad Neiiger, R. (2004. Distaces ad figer search i radom biary search trees. SIAM Joural o Computig, 33, [6] Drmota. M. (2001. A aalytic approach to the height of biary search trees. Algorithmica 29, [7] Drmota. M. (2002. The variace of the height of biary search trees. Theoretical Computer Sciece, 270, [8] Hwag, H. ad Tsai, T. (2002. Quickselect ad Dickma fuctio. Combiatorics, Probability ad Computig, 11, [9] Kemp, R. (1984. Fudametals of the Average Case Aalysis of Particular Algorithms. Wiley-Teuber Series i Computer Sciece, Joh Wiley & Sos, New York. [10] Kuth, D. (1998. The Art of Computer Programmig, Vol. 3: Sortig ad Searchig, 2d ed. Addiso-Wesley, Readig, Massachusetts. [11] Mahmoud, H. (1992. Evolutio of Radom Search Trees. Wiley, New York. [12] Mahmoud, H. (2000. Sortig: A Distributio Theory. Wiley, New York. [13] Mahmoud, H., Modarres, R. ad Smythe, R. (1995. Aalysis of quickselect: A algorithm for order statistics. RAIRO: Theoretical Iformatics ad Its Applicatios, 29,

12 [14] Mahmoud, H. ad Pittel, B. (1984. O the most probable shape of a search tree grow from a radom permutatio. SIAM Joural o Algebraic ad Discrete Methods, 5, [15] Pittel, B. (1984. O growig radom biary trees. Joural of Mathematical Aalysis ad its Applicatios, 103, [16] Reed, B. (2003. The height of a radom biary search tree. Joural of the Associatio for Computig Machiery, 50, [17] Robso, J. (1979. The height of biary search trees. The Australia Computer Joural, 11,

Analysis of the Expected Number of Bit Comparisons Required by Quickselect

Analysis of the Expected Number of Bit Comparisons Required by Quickselect Aalysis of the Expected Number of Bit Comparisos Required by Quickselect James Alle Fill Takéhiko Nakama Abstract Whe algorithms for sortig ad searchig are applied to keys that are represeted as bit strigs,

More information

Average-Case Analysis of QuickSort

Average-Case Analysis of QuickSort Average-Case Aalysis of QuickSort Comp 363 Fall Semester 003 October 3, 003 The purpose of this documet is to itroduce the idea of usig recurrece relatios to do average-case aalysis. The average-case ruig

More information

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

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

More information

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

arxiv: v1 [math.pr] 31 Jan 2012

arxiv: v1 [math.pr] 31 Jan 2012 EXACT L 2 -DISTANCE FROM THE LIMIT FOR QUICKSORT KEY COMPARISONS EXTENDED ABSTRACT) arxiv:20.6445v [math.pr] 3 Ja 202 PATRICK BINDJEME JAMES ALLEN FILL Abstract Usigarecursiveapproach, weobtaiasimpleexactexpressioforthel

More information

Analysis of Algorithms. Introduction. Contents

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

More information

Riesz-Fischer Sequences and Lower Frame Bounds

Riesz-Fischer Sequences and Lower Frame Bounds Zeitschrift für Aalysis ud ihre Aweduge Joural for Aalysis ad its Applicatios Volume 1 (00), No., 305 314 Riesz-Fischer Sequeces ad Lower Frame Bouds P. Casazza, O. Christese, S. Li ad A. Lider Abstract.

More information

Sequences of Definite Integrals, Factorials and Double Factorials

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

More information

On edge-weighted recursive trees and inversions in random permutations.

On edge-weighted recursive trees and inversions in random permutations. O edge-weighted recursive trees ad iversios i radom permutatios. M. Kuba ad A. Paholzer Istitut für Diskrete Mathematik ud Geometrie Techische Uiversität Wie Wieder Hauptstr. 8-0/04 040 Wie, Austria, Markus.Kuba@tuwie.ac.at,

More information

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

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

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

Lecture 19: Convergence

Lecture 19: Convergence Lecture 19: Covergece Asymptotic approach I statistical aalysis or iferece, a key to the success of fidig a good procedure is beig able to fid some momets ad/or distributios of various statistics. I may

More information

Rates of Convergence for Quicksort

Rates of Convergence for Quicksort Rates of Covergece for Quicksort Ralph Neiiger School of Computer Sciece McGill Uiversity 480 Uiversity Street Motreal, HA 2K6 Caada Ludger Rüschedorf Istitut für Mathematische Stochastik Uiversität Freiburg

More information

Counting Well-Formed Parenthesizations Easily

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

More information

Math 155 (Lecture 3)

Math 155 (Lecture 3) Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

Basics of Probability Theory (for Theory of Computation courses)

Basics of Probability Theory (for Theory of Computation courses) Basics of Probability Theory (for Theory of Computatio courses) Oded Goldreich Departmet of Computer Sciece Weizma Istitute of Sciece Rehovot, Israel. oded.goldreich@weizma.ac.il November 24, 2008 Preface.

More information

Commutativity in Permutation Groups

Commutativity in Permutation Groups Commutativity i Permutatio Groups Richard Wito, PhD Abstract I the group Sym(S) of permutatios o a oempty set S, fixed poits ad trasiet poits are defied Prelimiary results o fixed ad trasiet poits are

More information

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary

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

More information

An Introduction to Randomized Algorithms

An Introduction to Randomized Algorithms A Itroductio to Radomized Algorithms The focus of this lecture is to study a radomized algorithm for quick sort, aalyze it usig probabilistic recurrece relatios, ad also provide more geeral tools for aalysis

More information

CSE 4095/5095 Topics in Big Data Analytics Spring 2017; Homework 1 Solutions

CSE 4095/5095 Topics in Big Data Analytics Spring 2017; Homework 1 Solutions CSE 09/09 Topics i ig Data Aalytics Sprig 2017; Homework 1 Solutios Note: Solutios to problems,, ad 6 are due to Marius Nicolae. 1. Cosider the followig algorithm: for i := 1 to α log e do Pick a radom

More information

4 The Sperner property.

4 The Sperner property. 4 The Sperer property. I this sectio we cosider a surprisig applicatio of certai adjacecy matrices to some problems i extremal set theory. A importat role will also be played by fiite groups. I geeral,

More information

The Random Walk For Dummies

The Random Walk For Dummies The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli

More information

4. Partial Sums and the Central Limit Theorem

4. Partial Sums and the Central Limit Theorem 1 of 10 7/16/2009 6:05 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 4. Partial Sums ad the Cetral Limit Theorem The cetral limit theorem ad the law of large umbers are the two fudametal theorems

More information

Approximate Sorting. Institute for Theoretical Computer Science, ETH Zürich, CH-8092 Zürich

Approximate Sorting. Institute for Theoretical Computer Science, ETH Zürich, CH-8092 Zürich Approximate Sortig Joachim Giese, Eva Schuberth, ad Miloš Stojaković Istitute for Theoretical Computer Sciece, ETH Zürich, CH-809 Zürich Abstract. We show that ay radomized algorithm to approximate ay

More information

LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES

LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES J Lodo Math Soc (2 50, (1994, 465 476 LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES Jerzy Wojciechowski Abstract I [5] Abbott ad Katchalski ask if there exists a costat c >

More information

On Binary Search Tree Recursions with Monomials as Toll Functions

On Binary Search Tree Recursions with Monomials as Toll Functions O Biary Search Tree Recursios with Moomials as Toll Fuctios Ralph Neiiger Istitut für Mathematische Stochastik Albert-Ludwigs-Uiversität Freiburg Eckerstr. 1 79104 Freiburg Germay April 4, 2001 Abstract

More information

Journal of Multivariate Analysis. Superefficient estimation of the marginals by exploiting knowledge on the copula

Journal of Multivariate Analysis. Superefficient estimation of the marginals by exploiting knowledge on the copula Joural of Multivariate Aalysis 102 (2011) 1315 1319 Cotets lists available at ScieceDirect Joural of Multivariate Aalysis joural homepage: www.elsevier.com/locate/jmva Superefficiet estimatio of the margials

More information

A CAT Algorithm for Generating Permutations with a Fixed Number of Inversions

A CAT Algorithm for Generating Permutations with a Fixed Number of Inversions A CAT Algorithm for Geeratig Permutatios with a Fixed Number of Iversios Scott Effler Frak Ruskey Departmet of Computer Sciece, Uiversity of Victoria, Caada Abstract We develop a costat amortized time

More information

The Height of q-binary Search Trees

The Height of q-binary Search Trees Author mauscript, published i "Discrete Mathematics ad Theoretical Computer Sciece 5, 2002 97-08" Discrete Mathematics ad Theoretical Computer Sciece 5, 2002, 97 08 The Height of q-biary Search Trees Michael

More information

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

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

More information

Harmonic Number Identities Via Euler s Transform

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

More information

Section 11.8: Power Series

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

More information

A Probabilistic Analysis of Quicksort

A Probabilistic Analysis of Quicksort A Probabilistic Aalysis of Quicsort You are assumed to be familiar with Quicsort. I each iteratio this sortig algorithm chooses a pivot ad the, by performig comparisios with the pivot, splits the remaider

More information

Partial match queries: a limit process

Partial match queries: a limit process Partial match queries: a limit process Nicolas Brouti Ralph Neiiger Heig Sulzbach Partial match queries: a limit process 1 / 17 Searchig geometric data ad quadtrees 1 Partial match queries: a limit process

More information

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

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

More information

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES Peter M. Maurer Why Hashig is θ(). As i biary search, hashig assumes that keys are stored i a array which is idexed by a iteger. However, hashig attempts to bypass

More information

Fundamenta Informaticae XXI (2001) IOS Press

Fundamenta Informaticae XXI (2001) IOS Press Fudameta Iformaticae XXI (2001) 1001 1006 1001 IOS Press Approximate Sortig Joachim Giese Max Plak Istitute for Computer Sciece Saarbrücke, Germay Eva Schuberth Istitute for Theoretical Computer Sciece

More information

Ma 530 Infinite Series I

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

More information

Math F215: Induction April 7, 2013

Math F215: Induction April 7, 2013 Math F25: Iductio April 7, 203 Iductio is used to prove that a collectio of statemets P(k) depedig o k N are all true. A statemet is simply a mathematical phrase that must be either true or false. Here

More information

7.1 Convergence of sequences of random variables

7.1 Convergence of sequences of random variables Chapter 7 Limit Theorems Throughout this sectio we will assume a probability space (, F, P), i which is defied a ifiite sequece of radom variables (X ) ad a radom variable X. The fact that for every ifiite

More information

Department of Mathematics

Department of Mathematics Departmet of Mathematics Ma 3/103 KC Border Itroductio to Probability ad Statistics Witer 2017 Lecture 19: Estimatio II Relevat textbook passages: Larse Marx [1]: Sectios 5.2 5.7 19.1 The method of momets

More information

Lecture 11: Pseudorandom functions

Lecture 11: Pseudorandom functions COM S 6830 Cryptography Oct 1, 2009 Istructor: Rafael Pass 1 Recap Lecture 11: Pseudoradom fuctios Scribe: Stefao Ermo Defiitio 1 (Ge, Ec, Dec) is a sigle message secure ecryptio scheme if for all uppt

More information

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

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

More information

CS 270 Algorithms. Oliver Kullmann. Growth of Functions. Divide-and- Conquer Min-Max- Problem. Tutorial. Reading from CLRS for week 2

CS 270 Algorithms. Oliver Kullmann. Growth of Functions. Divide-and- Conquer Min-Max- Problem. Tutorial. Reading from CLRS for week 2 Geeral remarks Week 2 1 Divide ad First we cosider a importat tool for the aalysis of algorithms: Big-Oh. The we itroduce a importat algorithmic paradigm:. We coclude by presetig ad aalysig two examples.

More information

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018 CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical

More information

Weakly Connected Closed Geodetic Numbers of Graphs

Weakly Connected Closed Geodetic Numbers of Graphs Iteratioal Joural of Mathematical Aalysis Vol 10, 016, o 6, 57-70 HIKARI Ltd, wwwm-hikaricom http://dxdoiorg/101988/ijma01651193 Weakly Coected Closed Geodetic Numbers of Graphs Rachel M Pataga 1, Imelda

More information

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering CEE 5 Autum 005 Ucertaity Cocepts for Geotechical Egieerig Basic Termiology Set A set is a collectio of (mutually exclusive) objects or evets. The sample space is the (collectively exhaustive) collectio

More information

Fortgeschrittene Datenstrukturen Vorlesung 11

Fortgeschrittene Datenstrukturen Vorlesung 11 Fortgeschrittee Datestruture Vorlesug 11 Schriftführer: Marti Weider 19.01.2012 1 Succict Data Structures (ctd.) 1.1 Select-Queries A slightly differet approach, compared to ra, is used for select. B represets

More information

Advanced Stochastic Processes.

Advanced Stochastic Processes. Advaced Stochastic Processes. David Gamarik LECTURE 2 Radom variables ad measurable fuctios. Strog Law of Large Numbers (SLLN). Scary stuff cotiued... Outlie of Lecture Radom variables ad measurable fuctios.

More information

Chapter 6 Sampling Distributions

Chapter 6 Sampling Distributions Chapter 6 Samplig Distributios 1 I most experimets, we have more tha oe measuremet for ay give variable, each measuremet beig associated with oe radomly selected a member of a populatio. Hece we eed to

More information

ANALYSIS OF INSERTION COSTS IN PRIORITY TREES

ANALYSIS OF INSERTION COSTS IN PRIORITY TREES ANALYSIS OF INSERTION COSTS IN PRIORITY TREES MARKUS KUBA AND ALOIS PANHOLZER Abstract. Priority trees are a data structure used for priority queue admiistratio. Uder the model that all permutatios of

More information

Random Walks on Discrete and Continuous Circles. by Jeffrey S. Rosenthal School of Mathematics, University of Minnesota, Minneapolis, MN, U.S.A.

Random Walks on Discrete and Continuous Circles. by Jeffrey S. Rosenthal School of Mathematics, University of Minnesota, Minneapolis, MN, U.S.A. Radom Walks o Discrete ad Cotiuous Circles by Jeffrey S. Rosethal School of Mathematics, Uiversity of Miesota, Mieapolis, MN, U.S.A. 55455 (Appeared i Joural of Applied Probability 30 (1993), 780 789.)

More information

A recurrence equation is just a recursive function definition. It defines a function at one input in terms of its value on smaller inputs.

A recurrence equation is just a recursive function definition. It defines a function at one input in terms of its value on smaller inputs. CS23 Algorithms Hadout #6 Prof Ly Turbak September 8, 200 Wellesley College RECURRENCES This hadout summarizes highlights of CLRS Chapter 4 ad Appedix A (CLR Chapters 3 & 4) Two-Step Strategy for Aalyzig

More information

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

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

More information

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

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

More information

Frequentist Inference

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

More information

arxiv: v1 [math.pr] 1 Jul 2017

arxiv: v1 [math.pr] 1 Jul 2017 ON WEIGHTED DEPTHS IN RANDOM BINARY SEARCH TREES RAFIK AGUECH, ANIS AMRI, AND HENNING SULZBACH arxiv:1707.00165v1 [math.pr] 1 Jul 2017 Abstract. Followig the model itroduced by Aguech, Lasmar ad Mahmoud

More information

On the Linear Complexity of Feedback Registers

On the Linear Complexity of Feedback Registers O the Liear Complexity of Feedback Registers A. H. Cha M. Goresky A. Klapper Northeaster Uiversity Abstract I this paper, we study sequeces geerated by arbitrary feedback registers (ot ecessarily feedback

More information

A Lecture on Cartesian Trees

A Lecture on Cartesian Trees A Lecture o Cartesia Trees Kaylee Kutschera, Pavel Kodratyev, Ralph Sarkis February 28, 207 This is the augmeted trascript of a lecture give by Luc Devroye o the 23rd of February 207 for a Data Structures

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 018/019 DR. ANTHONY BROWN 8. Statistics 8.1. Measures of Cetre: Mea, Media ad Mode. If we have a series of umbers the

More information

A stochastic model for phylogenetic trees

A stochastic model for phylogenetic trees A stochastic model for phylogeetic trees by Thomas M. Liggett ad Rialdo B. Schiazi Uiversity of Califoria at Los Ageles, ad Uiversity of Colorado at Colorado Sprigs October 10, 2008 Abstract We propose

More information

Math 216A Notes, Week 5

Math 216A Notes, Week 5 Math 6A Notes, Week 5 Scribe: Ayastassia Sebolt Disclaimer: These otes are ot early as polished (ad quite possibly ot early as correct) as a published paper. Please use them at your ow risk.. Thresholds

More information

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

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

More information

Chapter 6 Infinite Series

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

More information

This section is optional.

This section is optional. 4 Momet Geeratig Fuctios* This sectio is optioal. The momet geeratig fuctio g : R R of a radom variable X is defied as g(t) = E[e tx ]. Propositio 1. We have g () (0) = E[X ] for = 1, 2,... Proof. Therefore

More information

2 A bijective proof of Theorem 1 I order to give a bijective proof of Theorem 1, we eed to itroduce the local biary search (LBS) trees, used by Postio

2 A bijective proof of Theorem 1 I order to give a bijective proof of Theorem 1, we eed to itroduce the local biary search (LBS) trees, used by Postio Eumeratig alteratig trees Cedric Chauve 1, Serge Dulucq 2 ad Adrew Rechitzer 2? 1 LaBRI, Uiversit Bordeaux I 31 Cours de la Lib ratio, 3340 Talece, Frace 2 Departmet of Mathematics, The Uiversity of Melboure

More information

Comparison Study of Series Approximation. and Convergence between Chebyshev. and Legendre Series

Comparison Study of Series Approximation. and Convergence between Chebyshev. and Legendre Series Applied Mathematical Scieces, Vol. 7, 03, o. 6, 3-337 HIKARI Ltd, www.m-hikari.com http://d.doi.org/0.988/ams.03.3430 Compariso Study of Series Approimatio ad Covergece betwee Chebyshev ad Legedre Series

More information

Optimally Sparse SVMs

Optimally Sparse SVMs A. Proof of Lemma 3. We here prove a lower boud o the umber of support vectors to achieve geeralizatio bouds of the form which we cosider. Importatly, this result holds ot oly for liear classifiers, but

More information

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

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

More information

Precise Rates in Complete Moment Convergence for Negatively Associated Sequences

Precise Rates in Complete Moment Convergence for Negatively Associated Sequences Commuicatios of the Korea Statistical Society 29, Vol. 16, No. 5, 841 849 Precise Rates i Complete Momet Covergece for Negatively Associated Sequeces Dae-Hee Ryu 1,a a Departmet of Computer Sciece, ChugWoo

More information

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution EEL5: Discrete-Time Sigals ad Systems. Itroductio I this set of otes, we begi our mathematical treatmet of discrete-time s. As show i Figure, a discrete-time operates or trasforms some iput sequece x [

More information

Random Variables, Sampling and Estimation

Random Variables, Sampling and Estimation Chapter 1 Radom Variables, Samplig ad Estimatio 1.1 Itroductio This chapter will cover the most importat basic statistical theory you eed i order to uderstad the ecoometric material that will be comig

More information

The log-behavior of n p(n) and n p(n)/n

The log-behavior of n p(n) and n p(n)/n Ramauja J. 44 017, 81-99 The log-behavior of p ad p/ William Y.C. Che 1 ad Ke Y. Zheg 1 Ceter for Applied Mathematics Tiaji Uiversity Tiaji 0007, P. R. Chia Ceter for Combiatorics, LPMC Nakai Uivercity

More information

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

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

More information

CS / MCS 401 Homework 3 grader solutions

CS / MCS 401 Homework 3 grader solutions CS / MCS 401 Homework 3 grader solutios assigmet due July 6, 016 writte by Jāis Lazovskis maximum poits: 33 Some questios from CLRS. Questios marked with a asterisk were ot graded. 1 Use the defiitio of

More information

Legendre-Stirling Permutations

Legendre-Stirling Permutations Legedre-Stirlig Permutatios Eric S. Egge Departmet of Mathematics Carleto College Northfield, MN 07 USA eegge@carleto.edu Abstract We first give a combiatorial iterpretatio of Everitt, Littlejoh, ad Wellma

More information

IP Reference guide for integer programming formulations.

IP Reference guide for integer programming formulations. IP Referece guide for iteger programmig formulatios. by James B. Orli for 15.053 ad 15.058 This documet is iteded as a compact (or relatively compact) guide to the formulatio of iteger programs. For more

More information

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 17 Lecturer: David Wagner April 3, Notes 17 for CS 170

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 17 Lecturer: David Wagner April 3, Notes 17 for CS 170 UC Berkeley CS 170: Efficiet Algorithms ad Itractable Problems Hadout 17 Lecturer: David Wager April 3, 2003 Notes 17 for CS 170 1 The Lempel-Ziv algorithm There is a sese i which the Huffma codig was

More information

Problem Set 2 Solutions

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

More information

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance Hypothesis Testig Empirically evaluatig accuracy of hypotheses: importat activity i ML. Three questios: Give observed accuracy over a sample set, how well does this estimate apply over additioal samples?

More information

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

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

More information

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

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

More information

On forward improvement iteration for stopping problems

On forward improvement iteration for stopping problems O forward improvemet iteratio for stoppig problems Mathematical Istitute, Uiversity of Kiel, Ludewig-Mey-Str. 4, D-24098 Kiel, Germay irle@math.ui-iel.de Albrecht Irle Abstract. We cosider the optimal

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

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

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

More information

ROLL CUTTING PROBLEMS UNDER STOCHASTIC DEMAND

ROLL CUTTING PROBLEMS UNDER STOCHASTIC DEMAND Pacific-Asia Joural of Mathematics, Volume 5, No., Jauary-Jue 20 ROLL CUTTING PROBLEMS UNDER STOCHASTIC DEMAND SHAKEEL JAVAID, Z. H. BAKHSHI & M. M. KHALID ABSTRACT: I this paper, the roll cuttig problem

More information

CHAPTER 10 INFINITE SEQUENCES AND SERIES

CHAPTER 10 INFINITE SEQUENCES AND SERIES CHAPTER 10 INFINITE SEQUENCES AND SERIES 10.1 Sequeces 10.2 Ifiite Series 10.3 The Itegral Tests 10.4 Compariso Tests 10.5 The Ratio ad Root Tests 10.6 Alteratig Series: Absolute ad Coditioal Covergece

More information

Resolution Proofs of Generalized Pigeonhole Principles

Resolution Proofs of Generalized Pigeonhole Principles Resolutio Proofs of Geeralized Pigeohole Priciples Samuel R. Buss Departmet of Mathematics Uiversity of Califoria, Berkeley Győrgy Turá Departmet of Mathematics, Statistics, ad Computer Sciece Uiversity

More information

1 of 7 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 6. Order Statistics Defiitios Suppose agai that we have a basic radom experimet, ad that X is a real-valued radom variable

More information

TEACHER CERTIFICATION STUDY GUIDE

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

More information

MATH 1910 Workshop Solution

MATH 1910 Workshop Solution MATH 90 Workshop Solutio Fractals Itroductio: Fractals are atural pheomea or mathematical sets which exhibit (amog other properties) self similarity: o matter how much we zoom i, the structure remais the

More information

Entropy and Ergodic Theory Lecture 5: Joint typicality and conditional AEP

Entropy and Ergodic Theory Lecture 5: Joint typicality and conditional AEP Etropy ad Ergodic Theory Lecture 5: Joit typicality ad coditioal AEP 1 Notatio: from RVs back to distributios Let (Ω, F, P) be a probability space, ad let X ad Y be A- ad B-valued discrete RVs, respectively.

More information

Random assignment with integer costs

Random assignment with integer costs Radom assigmet with iteger costs Robert Parviaie Departmet of Mathematics, Uppsala Uiversity P.O. Box 480, SE-7506 Uppsala, Swede robert.parviaie@math.uu.se Jue 4, 200 Abstract The radom assigmet problem

More information

Math 113 Exam 3 Practice

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

More information

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

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

More information

This is an introductory course in Analysis of Variance and Design of Experiments.

This is an introductory course in Analysis of Variance and Design of Experiments. 1 Notes for M 384E, Wedesday, Jauary 21, 2009 (Please ote: I will ot pass out hard-copy class otes i future classes. If there are writte class otes, they will be posted o the web by the ight before class

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 21 11/27/2013

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 21 11/27/2013 MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 21 11/27/2013 Fuctioal Law of Large Numbers. Costructio of the Wieer Measure Cotet. 1. Additioal techical results o weak covergece

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 6 9/23/2013. Brownian motion. Introduction

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 6 9/23/2013. Brownian motion. Introduction MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/5.070J Fall 203 Lecture 6 9/23/203 Browia motio. Itroductio Cotet.. A heuristic costructio of a Browia motio from a radom walk. 2. Defiitio ad basic properties

More information

Analysis of Algorithms -Quicksort-

Analysis of Algorithms -Quicksort- Aalysis of Algorithms -- Adreas Ermedahl MRTC (Mälardales Real-Time Research Ceter) adreas.ermedahl@mdh.se Autum 2004 Proposed by C.A.R. Hoare i 962 Worst- case ruig time: Θ( 2 ) Expected ruig time: Θ(

More information