Approximate Sorting. Institute for Theoretical Computer Science, ETH Zürich, CH-8092 Zürich
|
|
- Randell Norman
- 5 years ago
- Views:
Transcription
1 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 give rakig of items withi expected Spearma s footrule distace /ν() eeds at least (mi{log ν(), log } 6) comparisos. This boud is tight up to a costat factor sice there exists a determiistic algorithm that shows that 6(log ν() + 1) comparisos are always sufficiet. Keywords. Sortig, Rakig, Spearma s footrule metric, Kedall s tau metric 1 Itroductio Our motivatio to study approximate sortig comes from the followig market research applicatio. We wat to fid out how a respodet raks a set of products. I order to simulate real buyig situatios the respodet is preseted pairs of products out of which he has to choose oe that he prefers, i.e., he has to perform paired comparisos. The respodet s rakig is the recostructed from the sequece of his choices. That is, a procedure that presets a sequece of product pairs to the respodet i order to obtai the product rakig is othig else tha a compariso based sortig algorithm. We ca measure the efficiecy of such a algorithm i terms of the umber of comparisos eeded i order to obtai the rakig. The iformatio theoretic lower boud o sortig [7] states that there is o procedure that ca determie a rakig by posig less tha log e paired compariso questios to the respodet, i.e., i geeral Ω( log ) comparisos are eeded. Eve for oly moderately large that easily is too much sice respodets ofte get wor out after a certai umber of questios ad do ot aswer further questios faithfully aymore. O the other had, it might be eough to kow the respodet s rakig approximately. I this paper we pursue the questio of how may comparisos are ecessary ad sufficiet i order to approximately rak products. I order to give sese to the term approximately we eed some metric to compare rakigs. Assume that we are dealig with products. Sice a rakig is a permutatio of the products, this meas that we eed a metric o the permutatio group S. Not all of the metrics, e.g., the Hammig distace Partly supported by the Swiss Natioal Sciece Foudatio uder the grat Robust Algorithms for Cojoit Aalysis ad by the joit Berli/Zurich graduate program Combiatorics, Geometry ad Computatio, fiaced by ETH Zurich ad the Germa Sciece Foudatio (DFG).
2 that couts how may products are raked differetly, are meaigful for our applicatio. For example, if i the respodet s rakig oe exchages every secod product with its predecessor, the the resultig rakig has maximal Hammig distace to the origial oe. Nevertheless, this rakig still tells a lot about the respodet s prefereces. I marketig applicatios Kedall s tau metric [4] is frequetly used sice it seems to capture the ituitive otio of closeess of two rakigs ad also arises aturally i the statistics of certai radom rakigs [8]. Our results. Istead of workig with Kedall s metric we use Spearma s footrule metric [4] which essetially is equivalet to Kedall s metric, sice the two metrics are withi a costat factor of each other [4]. The maximal distace betwee ay two rakigs of products i Spearma s footrule metric is less tha. We show that i order to obtai a rakig at distace /ν() to the respodet s rakig with ay strategy, a respodet has i geeral to perform at least (mi{log ν(), log } 6) comparisos. Moreover, if we allow the strategy to be radomized such that the obtaied rakig is at expected distace /ν() to the respodet s rakig, we ca show that the same boud o the miimum umber of comparisos holds. O the other had, there is a determiistic strategy (algorithm), suggested i [], that shows that 6(log ν() + 1) comparisos are always sufficiet. Related work. At first glace our work seems related to work doe o pre-sortig. I pre-sortig the goal is to pre-process the data such that fewer comparisos are eeded afterwards to sort them. For example i [5] it is show that with O(1) pre-processig oe ca save Θ() comparisos for Quicksort o average. Pre-processig ca be see as computig a partial order o the data that helps for a give sortig algorithm to reduce the umber of ecessary comparisos. The structural quatity that determies how may comparisos are eeded i geeral to fid the rakig give a partial order is the umber of liear extesios of the partial order, i.e., the umber of rakigs cosistet with the partial order. Actually, the logarithm of this umber is a lower boud o the umber of comparisos eeded i geeral [6]. Here we study aother structural measure, amely, the maximum diameter i the Spearma s metric of the set of rakigs cosistet with a partial order. Our results shows that with o( log ) comparisos oe ca make this diameter asymptotically smaller tha the diameter of the set of all rakigs. That is ot the case for the umber of liear extesios which stays i Θ( log ). Notatio. The logarithm log i this paper is assumed to be biary, ad by id we deote the idetity (icreasig) permutatio of []. Algorithm The idea of the ASort algorithm is to partitio the products ito a sorted sequece of equal-sized bis such that the elemets i each bi have smaller
3 rak tha ay elemet i subsequet bis. This approach was suggested by Chazelle [] for ear-sortig. The output of the algorithm is the sequece of bis. Note that we do ot specify the orderig of elemets iside each bi, but cosider ay rakig cosistet with the orderig of the bis. We will show that ay such rakig approximates the actual rakig of the elemets i terms of Spearma s footrule metric D(π, id) = D(π) = i π(i), where π(i) is the rak of the elemet of rak i i a approximate rakig, i.e., i π(i) measures deviatio of the approximated rak from the actual rak. Note that for ay rakig the distace i the Spearma s footrule metric to id is at most. Sice for every i the value i π(i) is bouded by divided by the umber of bis, we see that the approximatio quality depeds o the umber of bis. The algorithm ASort iteratively performs a umber of media searches, each time placig the media ito the right positio i the rakig. Here the media of elemets is defied to be the elemet of rak +1. i=1 ASort (B : set, m : it) 1 B 01 := B // B ij is the j th bi i the i th roud for i := 1 to m do 3 for j := 1 to i 1 do 4 compute the media of B (i 1)j 5 B i(j 1) := {x B (i 1)j x media} 6 B i(j) := {x B (i 1)j x > media} 7 ed for 8 ed for 9 retur B m1,..., B m( m ) To compute the media i lie 4 ad to partitio the elemets i lie 5 ad 6 we use the determiistic algorithm by Blum et al. [1] that performs at most 5.73 comparisos i order to compute the media of elemets ad to partitio them accordig to the media. We ote that i puttig the algorithm ASort to practice oe may wat to use a differet media algorithm, like, e.g., RadomizedSelect [3]. I the followig we determie the umber of comparisos the algorithm ASort eeds o iput B with B = i order to guaratee a prescribed approximatio error of the actual rakig for ay rakig cosistet with the orderig of the bis B m1,..., B m( m ) computed by the algorithm. Lemma 1. For every x B ij, where 0 i m ad 1 j i, it holds j 1 B ik + 1 rak(x) j B ik.
4 Proof. The lemma ca be prove by iductio o the umber of rouds. By costructio, the elemets i B 11 have rak at least 1 ad at most +1 = B 11 ad the elemets i B 1 have rak at least = B ad at most = B 11 + B 1. Now assume that the statemet holds after the (i 1) th roud. The algorithm partitios every bi B (i 1)j ito two bis B i(j 1) ad B i(j). Agai by costructio the elemets i bi B i(j 1) have rak at least j 1 j 1 B (i 1)k + 1 = ( B i(k 1) + B i(k) ) + 1 = ad at most (j 1) 1 B ik + B i(j 1) = j 1 B ik. (j 1) 1 B ik + 1, Similarly, the elemets i bi B i(j) have rak at least j 1 B ik + 1 ad at most j B (i 1)k = j B ik. Lemma. i B ij i for 0 i m ad 1 j i Proof. We prove by iductio that i ay roud i the sizes of ay two bis differ by at most 1, i.e., Bij B ik 1 for 0 i m ad 1 j, k i. The statemet of the lemma the follows sice by a averagig argumet ad the itegrality of the bi sizes, the size of each bi must by of size either i or i. For i = 1 the elemets of B are partitioed either ito two equal sized bis if is eve, or ito two bis whose sizes differ by 1 if is odd. Now assume that the statemet holds for i 1. Take two bis B (i 1)j ad B (i 1)k. We distiguish two cases. Case 1. B (i 1)j ad B (i 1)k have the same size c. If c is eve, the both bis get split up ito two bis each ad the resultig four bis all have the same size. If c is odd, the each of the bis gets split up ito two bis of sizes c ad c, respectively, which differ by 1. Case. Without loss of geerality, B (i 1)j = c ad B (i 1)k = c + 1. If c is eve, the B (i 1)j gets split up ito two bis both of size c ad B (i 1)k gets split up ito two bis of size c ad c + 1, respectively. If c is odd, the B (i 1)j gets split up ito two subsets of size c+1 ad c+1 1, respectively, ad B (i 1)k gets split up ito two bis of size c+1. I ay case the bis differ i size by at most 1. Lemma 3. I m rouds the algorithm ASort performs less tha 6m comparisos.
5 Proof. The algorithm by Blum et al. [1] eeds at most 5.73 comparisos to fid the media of elemets ad to partitio the elemets with respect to the media. I the i th roud ASort partitios the elemets i every bi B ij, 1 j i with respect to their media. Thus the i th roud eeds at most 5.73 B ij = 5.73 B ij = i j=1 i j=1 comparisos. As the algorithm rus for m rouds the overall umber of comparisos is less tha 6m. Theorem 1. Let r = ν(). Ay rakig cosistet with the orderig of the bis computed by ASort i log ν() + 1 rouds, i.e., with less tha 6(log ν() + 1) comparisos, has a Spearma s footrule distace of at most r to the actual rakig of the elemets from B. Proof. Usig the defiitio of Spearma s footrule metric ad Lemmas 1 ad we ca coclude that the distace of the rakig of the elemets i B to ay rakig cosistet with the orderig of the bis computed by ASort i m rouds ca be bouded by m j=1 B mj m ( m ) m 1 ( m + 1 ) m 1 ( m = m 1. ), sice m Pluggig i log ν() + 1 for m gives a distace less tha r as claimed i the statemet of the theorem. The claim for the umber of comparisos follows from Lemma 3. 3 Lower Boud For r > 0, by B D (id, r) we deote the ball cetered at id of radius r with respect to the Spearma s footrule metric, so B D (id, r) := {π S : D(π, id) r}. Next we estimate the umber of permutatios i a ball of radius r.
6 Lemma 4. ( r ) BD (id, r) e ( ) e(r + ). Proof. Every permutatio π S is uiquely determied by the sequece {π(i) i} i. Hece, for ay sequece of o-egative itegers d i, i = 1,...,, there are at most permutatios π S satisfyig π(i) i = d i. If d D (π, id) r, the i π(i) i r. Sice the umber of sequeces of o-egative itegers whose sum is at most r is ( ) r+, we have ( ) ( ) r + e(r + ) B D (id, r). Next, we give a lower boud o the size of B D (id, r). Let s := r, ad let us first assume that is divisible by s. We divide the idex set [] ito s blocks of size /s, such that for every i {1,,..., s} the ith block cosists of elemets (i 1) s + 1, (i 1) s +,..., i s. For every s permutatios π 1, π,..., π s S /s we defie the permutatio ρ S to be the cocateatio of the permutatios applied to correspodig blocks, so ρ := π 1 (b 1 )π (b )... π s (b s ). Note that the distace of ρ to id with respect to Spearma s footrule metric is at most /s r, sice ρ(i) i /s, for every i []. Obviously, for every choice of π 1, π,..., π s we get a differet permutatio ρ, which meas that we have at least (( ) ) s ( r )! s e differet permutatios i B D (id, r). If is ot divisible by s, we divide [] ito s blocks of size either /s or /s, agai apply a arbitrary permutatio o each of them ad we ca obtai the same boud i a aalogous fashio. Theorem. Let A be a radomized approximate sortig algorithm, let ν = ν() be a fuctio, ad let r = r() = ν(). If for every iput permutatio π S the expected Spearma s footrule distace of the output to id is at most r, the the algorithm performs at least (mi{log ν, log } 6) comparisos. Proof. Let k be the smallest iteger such that A performs at most k comparisos for every iput. For a cotradictio, let us assume that k < (mi{log ν, log } 6). First, we are goig to prove 1! > k Sice log ν 6 > k/, we have ν 6 ( ) e(r + ). (1) > k/ ad sice ν = r we get e r > k/ e. ()
7 O the other had, from log 6 > k/ we get > k/ implyig 6 Puttig () ad (3) together, we obtai Hece e e > k/ e. (3) 1 ( )! > k e e(r + ) > k/. ( ) e(r + ), provig (1). By R we deote the source of radom bits for A. Oe ca see R as the set of all ifiite 0-1 sequeces, ad the the algorithm is give a radom elemet of R alog with the iput. For a permutatio π S ad α R, by A(π, α) we deote the output of the algorithm with iput π ad radom bits α. We fix α R ad ru the algorithm for every permutatio π S. Note that with the radom bits fixed the algorithm is determiistic. For every compariso made by the algorithm there are two possible outcomes. We partitio the set of all permutatios S ito classes such that all permutatios i a class have the same outcomes of all the comparisos the algorithm makes. Sice there is o radomess ivolved, we have that for every class C there exists a σ S such that for every π C we have A(π, α) = σ π. I particular, this implies that the set {A(π, α) : π C} is of size C. O the other had, sice the algorithm i this settig is determiistic ad the umber of comparisos of the algorithm is at most k, there ca be at most k classes. Hece, each permutatio i S is the output for at most k differet iput permutatios. From Lemma 4 we have B D (id, r) ( e(4r+) ), ad this together with (1) implies that at least ( ) e(r + )! k > 1! iput permutatios have output at distace to id more tha r. Now, if both the radom bits α R ad the iput permutatio π S are chose at radom, the expected distace of the output A(π, α) to id is more tha r. Therefore, there exists a permutatio π 0 such that for a radomly chose α R the expected distace d D (A(π 0, α), id) is more tha r. Cotradictio. 4 Coclusio Motivated by a applicatio i market research we studied the problem to approximate a rakig of items. The metric we use to compare rakigs is Spearma s footrule metric, which is withi a costat factor to Kedall s tau metric that is frequetly used i marketig research. We showed that ay radomized algorithm eeds at least (mi{log ν(), log } 6) comparisos to approximate
8 a give rakig of items withi expected distace /ν(). This result is complemeted by a algorithm that shows that 6(log ν() + 1) comparisos are always sufficiet. I particular, this meas that i some cases substatially less comparisos have to be performed tha for sortig exactly, provided that a sufficietly large error is allowed. That is, as log as the desired expected error is of order α for costat α oe eeds Ω( log ) comparisos, which asymptotically is ot better tha sortig exactly. But to achieve expected error of order o(1) oly o( log ) comparisos are eeded. Ackowldegmets. We are idebted to Jiří Matoušek for commets ad isights that made this paper possible. Refereces 1. M. Blum, R. W. Floyd, V. Pratt, R. L. Rivest, ad R. E. Tarja. Liear time bouds for media computatios. I STOC 7: Proceedigs of the fourth aual ACM symposium o Theory of computig, pages ACM Press, B. Chazelle. The soft heap: A approximate priority queue with optimal error rate. Joural of the ACM, 47(6): , T. H. Corme, C. E. Leiserso, ad R. L. Rivest. Itroductio to Algorithms. The MIT Press/McGraw-Hill, P. Diacois ad R. L. Graham. Spearma s footrule as a measure of disarray. Joural of the Royal Statistical Society, 39():6 68, H. K. Hwag, B. Y. Yag, ad Y. N. Yeh. Presortig algorithms: a average-case poit of view. Theoretical Computer Sciece, 4(1-):9 40, J. Kah ad J. H. Kim. Etropy ad sortig. I STOC 9: Proceedigs of the twety-fourth aual ACM symposium o Theory of computig, pages ACM Press, D. E. Kuth. The Art of Computer Programmig, volume 3. Addiso Wesley, C. L. Mallows. No-ull rakig models. Biometrica, 44: , 1957.
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 informationRecursive 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 informationPairs of disjoint q-element subsets far from each other
Pairs of disjoit q-elemet subsets far from each other Hikoe Eomoto Departmet of Mathematics, Keio Uiversity 3-14-1 Hiyoshi, Kohoku-Ku, Yokohama, 223 Japa, eomoto@math.keio.ac.jp Gyula O.H. Katoa Alfréd
More information6.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 informationInfinite 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 informationMA131 - Analysis 1. Workbook 2 Sequences I
MA3 - Aalysis Workbook 2 Sequeces I Autum 203 Cotets 2 Sequeces I 2. Itroductio.............................. 2.2 Icreasig ad Decreasig Sequeces................ 2 2.3 Bouded Sequeces..........................
More informationLecture 2. The Lovász Local Lemma
Staford Uiversity Sprig 208 Math 233A: No-costructive methods i combiatorics Istructor: Ja Vodrák Lecture date: Jauary 0, 208 Origial scribe: Apoorva Khare Lecture 2. The Lovász Local Lemma 2. Itroductio
More informationSeunghee Ye Ma 8: Week 5 Oct 28
Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value
More informationSequences I. Chapter Introduction
Chapter 2 Sequeces I 2. Itroductio A sequece is a list of umbers i a defiite order so that we kow which umber is i the first place, which umber is i the secod place ad, for ay atural umber, we kow which
More informationCS / 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 informationDiscrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22
CS 70 Discrete Mathematics for CS Sprig 2007 Luca Trevisa Lecture 22 Aother Importat Distributio The Geometric Distributio Questio: A biased coi with Heads probability p is tossed repeatedly util the first
More informationCS 332: Algorithms. Linear-Time Sorting. Order statistics. Slide credit: David Luebke (Virginia)
1 CS 332: Algorithms Liear-Time Sortig. Order statistics. Slide credit: David Luebke (Virgiia) Quicksort: Partitio I Words Partitio(A, p, r): Select a elemet to act as the pivot (which?) Grow two regios,
More informationSequences and Series of Functions
Chapter 6 Sequeces ad Series of Fuctios 6.1. Covergece of a Sequece of Fuctios Poitwise Covergece. Defiitio 6.1. Let, for each N, fuctio f : A R be defied. If, for each x A, the sequece (f (x)) coverges
More informationMAT1026 Calculus II Basic Convergence Tests for Series
MAT026 Calculus II Basic Covergece Tests for Series Egi MERMUT 202.03.08 Dokuz Eylül Uiversity Faculty of Sciece Departmet of Mathematics İzmir/TURKEY Cotets Mootoe Covergece Theorem 2 2 Series of Real
More informationOPTIMAL 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 informationThe Growth of Functions. Theoretical Supplement
The Growth of Fuctios Theoretical Supplemet The Triagle Iequality The triagle iequality is a algebraic tool that is ofte useful i maipulatig absolute values of fuctios. The triagle iequality says that
More informationMetric Space Properties
Metric Space Properties Math 40 Fial Project Preseted by: Michael Brow, Alex Cordova, ad Alyssa Sachez We have already poited out ad will recogize throughout this book the importace of compact sets. All
More informationProblem 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(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3
MATH 337 Sequeces Dr. Neal, WKU Let X be a metric space with distace fuctio d. We shall defie the geeral cocept of sequece ad limit i a metric space, the apply the results i particular to some special
More informationSequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence
Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece 1, 1, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet
More informationTHE 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 informationAnalysis 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 informationA sequence of numbers is a function whose domain is the positive integers. We can see that the sequence
Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece,, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet as
More information1. By using truth tables prove that, for all statements P and Q, the statement
Author: Satiago Salazar Problems I: Mathematical Statemets ad Proofs. By usig truth tables prove that, for all statemets P ad Q, the statemet P Q ad its cotrapositive ot Q (ot P) are equivalet. I example.2.3
More informationRandom 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 informationLecture 14: Randomized Computation (cont.)
CSE 200 Computability ad Complexity Wedesday, May 15, 2013 Lecture 14: Radomized Computatio (cot.) Istructor: Professor Shachar Lovett Scribe: Dogcai She 1 Radmized Algorithm Examples 1.1 The k-th Elemet
More informationSequences. Notation. Convergence of a Sequence
Sequeces A sequece is essetially just a list. Defiitio (Sequece of Real Numbers). A sequece of real umbers is a fuctio Z (, ) R for some real umber. Do t let the descriptio of the domai cofuse you; it
More informationLecture 2: April 3, 2013
TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 2: April 3, 203 Scribe: Shubhedu Trivedi Coi tosses cotiued We retur to the coi tossig example from the last lecture agai: Example. Give,
More informationMathematical Induction
Mathematical Iductio Itroductio Mathematical iductio, or just iductio, is a proof techique. Suppose that for every atural umber, P() is a statemet. We wish to show that all statemets P() are true. I a
More informationFrequentist 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 informationLecture 14: Graph Entropy
15-859: Iformatio Theory ad Applicatios i TCS Sprig 2013 Lecture 14: Graph Etropy March 19, 2013 Lecturer: Mahdi Cheraghchi Scribe: Euiwoog Lee 1 Recap Bergma s boud o the permaet Shearer s Lemma Number
More informationLecture 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 informationChapter 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 informationOptimally 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 informationACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory
1. Graph Theory Prove that there exist o simple plaar triagulatio T ad two distict adjacet vertices x, y V (T ) such that x ad y are the oly vertices of T of odd degree. Do ot use the Four-Color Theorem.
More informationMath 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 informationMath 2784 (or 2794W) University of Connecticut
ORDERS OF GROWTH PAT SMITH Math 2784 (or 2794W) Uiversity of Coecticut Date: Mar. 2, 22. ORDERS OF GROWTH. Itroductio Gaiig a ituitive feel for the relative growth of fuctios is importat if you really
More informationProduct measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.
Product measures, Toelli s ad Fubii s theorems For use i MAT3400/4400, autum 2014 Nadia S. Larse Versio of 13 October 2014. 1. Costructio of the product measure The purpose of these otes is to preset the
More informationDiscrete Mathematics for CS Spring 2005 Clancy/Wagner Notes 21. Some Important Distributions
CS 70 Discrete Mathematics for CS Sprig 2005 Clacy/Wager Notes 21 Some Importat Distributios Questio: A biased coi with Heads probability p is tossed repeatedly util the first Head appears. What is the
More informationAn 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 informationConvergence 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 informationFall 2013 MTH431/531 Real analysis Section Notes
Fall 013 MTH431/531 Real aalysis Sectio 8.1-8. Notes Yi Su 013.11.1 1. Defiitio of uiform covergece. We look at a sequece of fuctios f (x) ad study the coverget property. Notice we have two parameters
More informationCS 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 informationHomework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is
Homewor 3 Chapter 5 pp53: 3 40 45 Chapter 6 p85: 4 6 4 30 Use combiatorial reasoig to prove the idetity 3 3 Proof Let S be a set of elemets ad let a b c be distict elemets of S The umber of -subsets of
More informationIP 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 informationLecture 4: April 10, 2013
TTIC/CMSC 1150 Mathematical Toolkit Sprig 01 Madhur Tulsiai Lecture 4: April 10, 01 Scribe: Haris Agelidakis 1 Chebyshev s Iequality recap I the previous lecture, we used Chebyshev s iequality to get a
More informationDesign and Analysis of Algorithms
Desig ad Aalysis of Algorithms Probabilistic aalysis ad Radomized algorithms Referece: CLRS Chapter 5 Topics: Hirig problem Idicatio radom variables Radomized algorithms Huo Hogwei 1 The hirig problem
More informationEntropy Rates and Asymptotic Equipartition
Chapter 29 Etropy Rates ad Asymptotic Equipartitio Sectio 29. itroduces the etropy rate the asymptotic etropy per time-step of a stochastic process ad shows that it is well-defied; ad similarly for iformatio,
More informationThe 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 informationChapter 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 information4.1 Sigma Notation and Riemann Sums
0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas
More informationRandomized 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 informationPolynomial identity testing and global minimum cut
CHAPTER 6 Polyomial idetity testig ad global miimum cut I this lecture we will cosider two further problems that ca be solved usig probabilistic algorithms. I the first half, we will cosider the problem
More informationSequences, 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 informationMath 220A Fall 2007 Homework #2. Will Garner A
Math 0A Fall 007 Homewor # Will Garer Pg 3 #: Show that {cis : a o-egative iteger} is dese i T = {z œ : z = }. For which values of q is {cis(q): a o-egative iteger} dese i T? To show that {cis : a o-egative
More information4.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 informationLecture 7: Properties of Random Samples
Lecture 7: Properties of Radom Samples 1 Cotiued From Last Class Theorem 1.1. Let X 1, X,...X be a radom sample from a populatio with mea µ ad variace σ
More informationAnalytic Continuation
Aalytic Cotiuatio The stadard example of this is give by Example Let h (z) = 1 + z + z 2 + z 3 +... kow to coverge oly for z < 1. I fact h (z) = 1/ (1 z) for such z. Yet H (z) = 1/ (1 z) is defied for
More informationw (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.
2 5. Weighted umber of late jobs 5.1. Release dates ad due dates: maximimizig the weight of o-time jobs Oce we add release dates, miimizig the umber of late jobs becomes a sigificatly harder problem. For
More informationUC 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 informationMIDTERM 3 CALCULUS 2. Monday, December 3, :15 PM to 6:45 PM. Name PRACTICE EXAM SOLUTIONS
MIDTERM 3 CALCULUS MATH 300 FALL 08 Moday, December 3, 08 5:5 PM to 6:45 PM Name PRACTICE EXAM S Please aswer all of the questios, ad show your work. You must explai your aswers to get credit. You will
More informationSingular Continuous Measures by Michael Pejic 5/14/10
Sigular Cotiuous Measures by Michael Peic 5/4/0 Prelimiaries Give a set X, a σ-algebra o X is a collectio of subsets of X that cotais X ad ad is closed uder complemetatio ad coutable uios hece, coutable
More informationMA131 - Analysis 1. Workbook 3 Sequences II
MA3 - Aalysis Workbook 3 Sequeces II Autum 2004 Cotets 2.8 Coverget Sequeces........................ 2.9 Algebra of Limits......................... 2 2.0 Further Useful Results........................
More informationSection 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 information1 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 information62. 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 informationIf a subset E of R contains no open interval, is it of zero measure? For instance, is the set of irrationals in [0, 1] is of measure zero?
2 Lebesgue Measure I Chapter 1 we defied the cocept of a set of measure zero, ad we have observed that every coutable set is of measure zero. Here are some atural questios: If a subset E of R cotais a
More informationLecture 20. Brief Review of Gram-Schmidt and Gauss s Algorithm
8.409 A Algorithmist s Toolkit Nov. 9, 2009 Lecturer: Joatha Keler Lecture 20 Brief Review of Gram-Schmidt ad Gauss s Algorithm Our mai task of this lecture is to show a polyomial time algorithm which
More informationLarge holes in quasi-random graphs
Large holes i quasi-radom graphs Joaa Polcy Departmet of Discrete Mathematics Adam Mickiewicz Uiversity Pozań, Polad joaska@amuedupl Submitted: Nov 23, 2006; Accepted: Apr 10, 2008; Published: Apr 18,
More informationA Note on the Kolmogorov-Feller Weak Law of Large Numbers
Joural of Mathematical Research with Applicatios Mar., 015, Vol. 35, No., pp. 3 8 DOI:10.3770/j.iss:095-651.015.0.013 Http://jmre.dlut.edu.c A Note o the Kolmogorov-Feller Weak Law of Large Numbers Yachu
More information10.6 ALTERNATING SERIES
0.6 Alteratig Series Cotemporary Calculus 0.6 ALTERNATING SERIES I the last two sectios we cosidered tests for the covergece of series whose terms were all positive. I this sectio we examie series whose
More informationLecture 5: April 17, 2013
TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 5: April 7, 203 Scribe: Somaye Hashemifar Cheroff bouds recap We recall the Cheroff/Hoeffdig bouds we derived i the last lecture idepedet
More informationDiscrete Mathematics for CS Spring 2008 David Wagner Note 22
CS 70 Discrete Mathematics for CS Sprig 2008 David Wager Note 22 I.I.D. Radom Variables Estimatig the bias of a coi Questio: We wat to estimate the proportio p of Democrats i the US populatio, by takig
More informationLecture 10 October Minimaxity and least favorable prior sequences
STATS 300A: Theory of Statistics Fall 205 Lecture 0 October 22 Lecturer: Lester Mackey Scribe: Brya He, Rahul Makhijai Warig: These otes may cotai factual ad/or typographic errors. 0. Miimaxity ad least
More informationAdvanced Analysis. Min Yan Department of Mathematics Hong Kong University of Science and Technology
Advaced Aalysis Mi Ya Departmet of Mathematics Hog Kog Uiversity of Sciece ad Techology September 3, 009 Cotets Limit ad Cotiuity 7 Limit of Sequece 8 Defiitio 8 Property 3 3 Ifiity ad Ifiitesimal 8 4
More informationCommutativity 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 informationRead carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.
THE UNIVERSITY OF WARWICK FIRST YEAR EXAMINATION: Jauary 2009 Aalysis I Time Allowed:.5 hours Read carefully the istructios o the aswer book ad make sure that the particulars required are etered o each
More informationThe multiplicative structure of finite field and a construction of LRC
IERG6120 Codig for Distributed Storage Systems Lecture 8-06/10/2016 The multiplicative structure of fiite field ad a costructio of LRC Lecturer: Keeth Shum Scribe: Zhouyi Hu Notatios: We use the otatio
More informationSequences and Limits
Chapter Sequeces ad Limits Let { a } be a sequece of real or complex umbers A ecessary ad sufficiet coditio for the sequece to coverge is that for ay ɛ > 0 there exists a iteger N > 0 such that a p a q
More informationTEACHER 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 informationA Note on Matrix Rigidity
A Note o Matrix Rigidity Joel Friedma Departmet of Computer Sciece Priceto Uiversity Priceto, NJ 08544 Jue 25, 1990 Revised October 25, 1991 Abstract I this paper we give a explicit costructio of matrices
More informationChapter 4. Fourier Series
Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,
More informationMath 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 informationThe Local Harmonious Chromatic Problem
The 7th Workshop o Combiatorial Mathematics ad Computatio Theory The Local Harmoious Chromatic Problem Yue Li Wag 1,, Tsog Wuu Li ad Li Yua Wag 1 Departmet of Iformatio Maagemet, Natioal Taiwa Uiversity
More informationDifferent kinds of Mathematical Induction
Differet ids of Mathematical Iductio () Mathematical Iductio Give A N, [ A (a A a A)] A N () (First) Priciple of Mathematical Iductio Let P() be a propositio (ope setece), if we put A { : N p() is true}
More informationCS161: Algorithm Design and Analysis Handout #10 Stanford University Wednesday, 10 February 2016
CS161: Algorithm Desig ad Aalysis Hadout #10 Staford Uiversity Wedesday, 10 February 2016 Lecture #11: Wedesday, 10 February 2016 Topics: Example midterm problems ad solutios from a log time ago Sprig
More informationRiesz-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 informationMath 299 Supplement: Real Analysis Nov 2013
Math 299 Supplemet: Real Aalysis Nov 203 Algebra Axioms. I Real Aalysis, we work withi the axiomatic system of real umbers: the set R alog with the additio ad multiplicatio operatios +,, ad the iequality
More informationIntroduction to Machine Learning DIS10
CS 189 Fall 017 Itroductio to Machie Learig DIS10 1 Fu with Lagrage Multipliers (a) Miimize the fuctio such that f (x,y) = x + y x + y = 3. Solutio: The Lagragia is: L(x,y,λ) = x + y + λ(x + y 3) Takig
More informationHOMEWORK #10 SOLUTIONS
Math 33 - Aalysis I Sprig 29 HOMEWORK # SOLUTIONS () Prove that the fuctio f(x) = x 3 is (Riema) itegrable o [, ] ad show that x 3 dx = 4. (Without usig formulae for itegratio that you leart i previous
More information4 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 informationThe Borel hierarchy classifies subsets of the reals by their topological complexity. Another approach is to classify them by size.
Lecture 7: Measure ad Category The Borel hierarchy classifies subsets of the reals by their topological complexity. Aother approach is to classify them by size. Filters ad Ideals The most commo measure
More information6 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 information6.895 Essential Coding Theory October 20, Lecture 11. This lecture is focused in comparisons of the following properties/parameters of a code:
6.895 Essetial Codig Theory October 0, 004 Lecture 11 Lecturer: Madhu Suda Scribe: Aastasios Sidiropoulos 1 Overview This lecture is focused i comparisos of the followig properties/parameters of a code:
More informationSpectral Partitioning in the Planted Partition Model
Spectral Graph Theory Lecture 21 Spectral Partitioig i the Plated Partitio Model Daiel A. Spielma November 11, 2009 21.1 Itroductio I this lecture, we will perform a crude aalysis of the performace of
More informationFeedback in Iterative Algorithms
Feedback i Iterative Algorithms Charles Byre (Charles Byre@uml.edu), Departmet of Mathematical Scieces, Uiversity of Massachusetts Lowell, Lowell, MA 01854 October 17, 2005 Abstract Whe the oegative system
More informationLecture 4 February 16, 2016
MIT 6.854/18.415: Advaced Algorithms Sprig 16 Prof. Akur Moitra Lecture 4 February 16, 16 Scribe: Be Eysebach, Devi Neal 1 Last Time Cosistet Hashig - hash fuctios that evolve well Radom Trees - routig
More informationDesign and Analysis of Algorithms
Desig ad Aalysis of Algorithms CSE 53 Lecture 9 Media ad Order Statistics Juzhou Huag, Ph.D. Departmet of Computer Sciece ad Egieerig Dept. CSE, UT Arligto CSE53 Desig ad Aalysis of Algorithms Medias ad
More informationThis 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 informationMATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1
MATH 2: HOMEWORK 6 SOLUTIONS CA PRO JIRADILOK Problem. If s = 2, ad Problem : Rudi, Chapter 3, Problem 3. s + = 2 + s ( =, 2, 3,... ), prove that {s } coverges, ad that s < 2 for =, 2, 3,.... Proof. The
More information