6.5 Probability Calculations in Hashing

Size: px
Start display at page:

Download "6.5 Probability Calculations in Hashing"

Transcription

1 6.5. PROBABILITY CALCULATIONS IN HASHING Probability Calculatios i Hashig We ca use our kowledge of probability ad expected values to aalyze a umber of iterestig aspects of hashig icludig:. expected umber of items per locatio, 2. expected time for a search, 3. expected umber of collisios, 4. expected umber of empty locatios, 5. expected time util all locatios have at least oe item, 6. expected maximum umber of items per locatio. Expected Number of Items per Locatio Exercise 6.5- We are goig to compute the expected umber of items that hash to ay particular locatio i a hash table. Our model of hashig items ito a table of size k allows us to thik of the process as idepedet trials, each with k possible outcomes (the k locatios i the table). O each trial we hash aother key ito the table. If we hash items ito a table with k locatios, what is the probability that ay oe item hashes ito locatio? Let X i be the radom variable that couts the umber of items that hash to locatio i trial i (so that X i is either 0 or ). What is the expected value of X i? Let X be the radom variable X + X X. What is the expected value of X? What is the expected umber of items that hash to locatio? Was the fact that we were talkig about locatio special i ay way? That is, does the same expected value apply to every locatio? Exercise Agai we are hashig items ito k locatios. Our model of hashig is that of Exercise What is the probability that a locatio is empty? What is the expected umber of empty locatios? Suppose we ow hash items ito the same umber of locatios. What limit does the expected fractio of empty places approach as gets large? I Exercise 6.5-, the probability that ay oe item hashes ito locatio is /k, because all k locatios are equally likely. The expected value of X i is the /k. The expected value of X is the /k, the sum of terms each equal to /k. Of course the same expected value applies to ay locatio. Thus we have proved the followig theorem. Theorem 6.3 I hashig items ito a hash table of size k, the expected umber of items that hash to ay oe locatio is /k.

2 246 CHAPTER 6. PROBABILITY Expected Number of Empty Locatios I Exercise the probability that positio i will be empty after we hash item ito the table will be k. (Why?) I fact, we ca thik of our process as a idepedet trials process with two outcomes: the key hashes to slot i or it does t. From this poit of view, it is clear that the probability of othig hashig to slot i i trials is ( k ).Now cosider the origial sample space agai ad let X i be ifslot i is empty for a give sequece of hashes or 0 if it is ot. The the umber of empty slots for a give sequece of hashes is X + X X k evaluated at that sequece. Therefore, the expected umber of empty slots is, by Theorem 6.9, k( k ). Thus we have proved aother ice theorem about hashig. Theorem 6.4 I hashig items ito a hash table with k locatios, the expected umber of empty locatios is k( k ). Proof: Give above. If we have the same umber of slots as places, the expected umber of empty slots is ( ), so the expected fractio of empty slots is ( ). What does this fractio approach as grows? Youmay recall that lim ( + ) is e, the base for the atural logarithm. I the problems at the ed of the sectio, we show you how to derive from this that lim ( ) is e.thusfor a reasoably large hash table, if we hash i as may items as we have slots, we expect a fractio /e of those slots to remai empty. I other words, we expect /e empty slots. O the other had, we expect items per locatio, which suggests that we should expect each slot to have a item ad therefore expect to have o empty locatios. Is somethig wrog? No, but we simply have to accept that our expectatios about expectatio just do t always hold true. What wet wrog i that apparet cotradictio is that our defiitio of expected value does t imply that if we have a expectatio of oe key per locatio the every locatio must have a key, but oly that empty locatios have to be balaced out by locatios with more tha oe key. Whe we wat to make a statemet about expected values, we must use either our defiitios or theorems to back it up. This is aother example of why we have to back up ituitio about probability with careful aalysis. Expected Number of Collisios We say that we have a collisio whe we hash a item to a locatio that already cotais a item. How ca we compute the expected umber of collisios? The umber of collisios will be the umber of keys hashed mius the umber of occupied locatios because each occupied locatio will cotai oe key that will ot have collided i the process of beig hashed. Thus, by Theorems 6.9 ad 6.0, E(collisios) E(occupied locatios) k + E(empty locatios) (6.26) where the last equality follows because the expected umber of occupied locatios is k mius the expected umber of uoccupied locatios. This gives us yet aother theorem. Theorem 6.5 I hashig items ito a hash table with k locatios, the expected umber of collisios is k + k( k ).

3 6.5. PROBABILITY CALCULATIONS IN HASHING 247 Proof: We have already show i Theorem 2 that the expected umber of empty locatios is k( k ). Substitutig this ito Equatio 6.26 gives our formula. Exercise I real applicatios, it is ofte the case that the hash table size is ot fixed i advace, sice you do t kow, i advace, how may items you will isert. The most commo heuristic for dealig with this is to start k, the hash table size, at some reasoably small value, ad the whe, the umber of items gets to be greater tha 2k, you double the hash table size. I this exercise, we propose a differet idea. Suppose you waited util every sigle slot i the hash table had at least oe item i it, ad the you icreased the table size. What is the expected umber of items that will be i the table whe you icrease the size? I other words, how may items do you expect to isert ito a hash table i order to esure that every slot has at least oe item? (Hit: Let X i be the umber of items added betwee the time that there are i occupied slots for the first time ad the first time that there are i occupied slots.) For Exercise 6.5-3, the key is to let X i be the umber of items added betwee the time that there are i full slots for the first time ad i full slots for the first time. Let s thik about this radom variable. E(X ), sice after oe isertio there is oe full slot. I fact X itself is equal to. To compute the expected value of X 2,weote that X 2 ca take o ay value greater tha. I fact if we thik about it, what we have here (util we actually hash a item to a ew slot) is a idepedet trials process with two outcomes, with success meaig our item hashes to a uused slot. X 2 couts the umber of trials util the first success. The probability of success is (k )/k. I askig for the expected value of X 2,weare askig for expected umber of steps util the first success. Thus we ca apply Lemma 6.2 to get that it is k/(k ). Cotiuig, X 3 similarly couts the umber of steps i a idepedet trials process (with two outcomes) that stops at the first success ad has probability of success (k 2)/k. Thusthe expected umber of steps util the first success is k/(k 2). I geeral, we have that X i couts the umber of trials util success i a idepedet trials process with probability of success (k i +)/k ad thus the expected umber of steps util the first success is k/(k i + ), which is the expected value of X i. The total time util all slots are full is just X X + + X k. Takig expectatios ad usig Lemma 6.2 we get E(X) k E(X j ) j k k k j + j k k k j + j k k j + k k j + k k i, i

4 248 CHAPTER 6. PROBABILITY where the last lie follows just by switchig the variable of the summatio, that is, lettig k j +i ad summig over i. 6 Now the quatity k i i is kow as a harmoic umber, ad is sometimes deoted by H k.itiswell kow (ad you ca see why i the problems at the ed of the sectio) that k i i Θ(log k), ad more precisely 4 +lk H k +lk, (6.27) ad i fact, 2 +lk H k +lk, (6.28) whe k is large eough. As gets large, H l approaches a limit called Euler s costat; Euler s costat is about.58. Equatio 6.27 gives us that E(X) O(k log k). Theorem 6.6 The expected umber of items eeded to fill all slots of a hash table of size k is betwee k l k + 2k ad k l k + k. Proof: Give above.. So i order to fill every slot i a hash table of size k, weeed to hash roughly k l k items. This problem is sometimes called the coupo collectors problem. Expected maximum umber of elemets i a slot of a hash table I a hash table, the time to fid a item is related to the umber of items i the slot where you are lookig. Thus a iterestig quatity is the expected maximum legth of the list of items i a slot i a hash table. This quatity is more complicated tha may of the others we have bee computig, ad hece we will oly try to upper boud it, rather tha compute it exactly. I doig so, we will itroduce a few upper bouds ad techiques that appear frequetly ad are useful i may areas of mathematics ad computer sciece. We will be able to prove that if we hash items ito a hash table of size, the expected legth of the logest list is O(log / log log ). Oe ca also prove, although we wo t do it here, that with high probability, there will be some list with Ω(log / log log ) items i it, so our boud is, up to costat factors, the best possible. Before we start, we give some useful upper bouds. The first allows us to boud terms that look like ( + x )x, for ay positive x, bye. Lemma 6.7 For all x>0, ( + x )x e. Proof: lim x ( + x )x e, ad + ( x )x has positive first derivative. Secod, we will use a approximatio called Stirlig s formula, ( ) x x 2πx( x! + Θ(/)), e 6 ote that k j +rus from k to asj rus from to k, soweare describig exactly the same sum.

5 6.5. PROBABILITY CALCULATIONS IN HASHING 249 which tells us, roughly, that (x/e) x is a good approximatio for x!. Moreover the costat i the Θ(/) term is extremely small, so for our purposes we will just say that ( ) x x 2πx. x! e (We use this equality oly i our proof of Lemma 6.8. You will see i that Lemma that we make the statemet that 2π>. I fact, 2π>2, ad this is more tha eough to make up for ay lack of accuracy i our approximatio.) Usig Stirlig s formula, we ca get a boud o ( t), Lemma 6.8 For >t>0, ( ) t t t ( t) t. Proof: ( ) t! t!( t)! (6.29) (/e) 2π (t/e) t 2πt(( t)/e) t 2π( t) (6.30) t t ( t) t 2π t( t) (6.3) Now if <t<, we have t( t), sothat t( t).further 2π>. We ca use these to facts to upper boud the quatity marked 6.3 by t t ( t) t Whe t ort, the iequality i the statemet of the lemma is /( ) which is true sice <. We are ow ready to attack the problem at had, the expected value of the maximum list size. Let s start with a related quatity that we already kow how to compute. Let H it be the evet that t keys hash to slot i. P (H it )isjust the probability of t successes i a idepedet trials process with success probability /, so P (H it ) ( t ) ( ) t ( ) t. (6.32) Now we relate this kow quatity to the probability of the evet M t that the maximum list size is t. Lemma 6.9 Let M t be the evet that t is the maximum list size i hashig items ito a hash table of size. LetH t be the evet that t keys hash to positio. The P (M t ) P (H t )

6 250 CHAPTER 6. PROBABILITY Proof: We begi by lettig M it be the evet that the maximum list size is t ad this list appears i slot i. Observe that that sice M it is a subset of H it, We kow that, by defiitio, ad so P (M it ) P (H it ). (6.33) M t M t M t, P (M t )P (M t M t ). Therefore, sice the sum of the probabilities of the idividual evets must be at least as large as the probability of the uio, P (M t ) P (M t )+P (M 2t )+ + P (M t ). (6.34) (Recall that we itroduced the Priciple of Iclusio ad Exclusio because the right had side overestimated the probability of the uio. Note that the iequality i Equatio 6.34 holds for ay uio, ot just this oe: it is sometimes called Boole s iequality.) I this case, for ay i ad j, P (M it )P(M jt ), sice there is o reaso for slot i to be more likely tha slot j to be the maximum. We ca therefore write that P (M t )P (M t ) P (H t ). Now we ca use Equatio 6.32 for P (H t ) ad the apply Lemma 6.8 to get that P (H t ) ( t ) ( ) t ( ) t t t ( t) t ( ) t ( ) t. We cotiue, usig algebra, the fact that ( ) t ad Lemma 6.7 to get t t ( t) t t t t t ( t) t ( ) t t t t ( + t ) t t t t ( ( + t ) t ) t t t t t et t t. We have show the followig:

7 6.5. PROBABILITY CALCULATIONS IN HASHING 25 Lemma 6.20 P (M t ), the probability that the maximum list legth is t, isatmost e t /t t. Proof: Our sequece of equatios ad iequalities above showed that P (H t ) et t. Multiplyig by ad applyig Lemma 6.9 gives our t result. Now that we have a boud o P (M t )weca compute a boud o the expected legth of the logest list, amely P (M t )t. t0 However, if we thik carefully about the boud i Lemma 6.20, we see that we have a problem. For example whe t,the lemma tells us that P (M ) e. This is vacuous, as we kow that ay probability is at most, We could make a stroger statemet that P (M t ) max{e t /t t, }, but eve this would t be sufficiet, sice it would tell us thigs like P (M )+P (M 2 ) 2, which is also vacuous. All is ot lost however. Our lemma causes this problem oly whe t is small. We will split the sum defiig the expected value ito two parts ad boud the expectatio for each part separately. The ituitio is that whe we restrict t to be small, the P (M t )t is small because t is small (ad over all t, P (M t ) ). Whe t gets larger, Lemma 6.20 tells us that P (M t )isvery small ad so the sum does t get big i that case either. We will choose a way to split the sum so that this secod part of the sum is bouded by a costat. I particular we split the sum up by P (M t )t t0 5 log / log log t0 P (M t )t + t 5 log / log log P (M t )t (6.35) For the sum over the smaller values of t, wejust observe that i each term t 5 log / log log so that 5 log / log log t0 P (M t )t 5 log / log log t0 P (M t )5 log / log log (6.36) 5 log / log log 5log / log log P (M t ) (6.37) t0 5 log / log log (6.38) (Note that we are ot usig Lemma 6.20 here; oly the fact that the probabilities of disjoit evets caot add to more tha.) For the rightmost sum i Equatio 6.35, we wat to first compute a upper boud o P (M t ) for t (5log / log log ). Usig Lemma 6.20, ad doig a bit of calculatio we get that i this case P (M t ) / 2. Sice the boud o P (M t ) from Lemma 6.20 decreases as t grows, ad t, weca boud the right sum by t5 log / log log P (M t )t t5 log / log log 2 t5 log / log log Combiig Equatios 6.38 ad 6.39 with 6.35 we get the desired result.. (6.39) Theorem 6.2 If we hash items ito a hash table of size, the expected maximum list legth is O(log / log log ).

8 252 CHAPTER 6. PROBABILITY The choice to break the sum ito two pieces here ad especially the breakpoit we chose may have seemed like magic. What is so special about log / log log? Cosider the boud o P (M t ). If you asked what is the value of t for which the boud equals a certai value, say / 2, you get the equatio e t /t t 2.Ifwetry to solve the equatio e t /t t 2 for t, wequickly see that we get a form that we do ot kow how to solve. (Try typig this ito Mathematica or Maple, to see that it ca t solve this equatio either.) The equatio we eed to solve is somewhat similar to the simpler equatio t t. While this equatio does ot have a closed form solutio, oe ca show that the t that satisfies this equatio is roughly c log / log log, for some costat c. This is why some multiple of log / log log made sese to try as the the magic value. For values much less tha log / log log the boud provided o P (M t )isfairly large. Oce we get past log / log log, however, the boud o P (M t ) starts to get sigificatly smaller. The factor of 5 was chose by experimetatio to make the secod sum come out to be less tha. We could have chose ay umber betwee 4 ad 5 to get the same result; or we could have chose 4 ad the secod sum would have grow o faster tha the first. Importat Cocepts, Formulas, ad Theorems. Expected Number of Keys per Slot i Hash Table. I hashig items ito a hash table of size k, the expected umber of items that hash to ay oe locatio is /k. 2. Expected Number of Empty Slots i Hash Table. I hashig items ito a hash table with k locatios, the expected umber of empty locatios is k( k ). 3. Collisio i Hashig. We say that we have a collisio whe we hash a item to a locatio that already cotais a item. 4. The Expected Number of Collisios i Hashig. I hashig items ito a hash table with k locatios, the expected umber of collisios is k + k( k ). 5. Harmoic Number. The quatity k i i is kow as a harmoic umber, ad is sometimes deoted by H k.itisafact that that k i i Θ(log k), ad more precisely 2 +lk H k +lk. 6. Euler s Costat. As gets large, H l approaches a limit called Euler s costat; Euler s costat is about Expected Number of Hashes util all Slots of a Hash Table Are Occupied. The expected umber of items eeded to fill all slots of a hash table of size k is betwee k l k + 2 k ad k l k + k. 8. Expected Maximum Number of Keys per Slot. If we hash items ito a hash table of size, the expected maximum list legth is O(log / log log ).

9 6.5. PROBABILITY CALCULATIONS IN HASHING 253 Problems. A cady machie i a school has d differet kids of cady. Assume (for simplicity) that all these kids of cady are equally popular ad there is a large supply of each. Suppose that c childre come to the machie ad each purchases oe package of cady. Oe of the kids of cady is a Sackers bar. What is the probability that ay give child purchases a Sackers bar? Let Y i be the umber of Sackers bars that child i purchases, so that Y i is either 0 or. What is the expected value of Y i? Let Y be the radom variable Y + Y Y c. What is the expected value of Y? What is the expected umber of Sackers bars that is purchased? Does the same result apply to ay of the varieties of cady? 2. Agai as i the previous exercise, we have c childre choosig from amog ample supplies of d differet kids of cady, oe package for each child, ad all choices equally likely. What is the probability that a give variety of cady is chose by o child? What is the expected umber of kids of cady chose by o child? Suppose ow that c d. What happes to the expected umber of kids of cady chose by o child? 3. How may childre do we expect to have to observe buyig cady util someoe has bought a Sackers bar? 4. How may childre to we expect to have to observe buyig cady util each type of cady has bee selected at least oce? 5. If we have 20 kids of cady, how may childre have to buy cady i order for the probability to be at least oe half that (at least) two childre buy the same kid of cady? 6. What is the expected umber of duplicatios amog all the cady the childre have selected? 7. Compute the values o the left-had ad right-had side of the iequality i Lemma 6.8 for 2,t 0,, 2 ad for 3,t 0,, 2, Whe we hash items ito k locatios, what is the probability that all items hash to differet locatios? What is the probability that the ith item is the first collisio? What is the expected umber of items we must hash util the first collisio? Use a computer program or spreadsheet to compute the expected umber of items hashed ito a hash table util the first collisio with k 20ad with k We have see a umber of occasios whe our ituitio about expected values or probability i geeral fails us. Whe we wrote dow Equatio 6.26 we said that the expected umber of occupied locatios is k mius the expected umber of uoccupied locatios. While this seems obvious, there is a short proof. Give the proof. 0. Write a computer program that prits out a table of values of the expected umber of collisios with keys hashed ito a table with k locatios for iterestig values of ad k. Does this value vary much as ad k chage?. Suppose you hash items ito a hash table of size k. Itisatural to ask about the time it takes to fid a item i the hash table. We ca divide this ito two cases, oe whe the item is ot i the hash table (a usuccessful search), ad oe whe the item is i the hash table (a successful search). Cosider first the usuccessful search. Assume the keys hashig

10 254 CHAPTER 6. PROBABILITY to the same locatio are stored i a list with the most recet arrival at the begiig of the list. Use our expected list legth to boud the expected time for a usuccessful search. Next cosider the successful search. Recall that whe we isert items ito a hash table, we typically isert them at the begiig of a list, ad so the time for a successful search for item i should deped o how may etries were iserted after item i. Carefully compute the expected ruig time for a successful search. Assume that the item you are searchig for is radomly chose from amog the items already i the table. (Hit: The usuccessful search should take roughly twice as log as the successful oe. Be sure to explai why this is the case.) 2. Suppose I hash log items ito buckets. What is the expected maximum umber of items i a bucket? 3. The fact that lim ( + ) e (where varies over itegers) is a cosequece of the fact that lim h 0 ( + h) h e (where h varies over real umbers). Thus if h varies over egative real umbers, but approaches 0, the limit still exists ad equals e. What does this tell you about lim ( + )? Usig this ad rewritig ( ) as ( + ) show that 4. What is the expected umber of empty slots whe we hash 2k items ito a hash table with k slots? What is the expected fractio of empty slots close to whe k is reasoably large? 5. Usig whatever methods you like (had calculatios or computer), give upper ad/or lower bouds o the value of the x satisfyig x x. 6. Professor Max Weiberger decides that the method proposed for computig the maximum list size is much too complicated. He proposes the followig solutio. Let X i be the size of list i. The what we wat to compute is E(max i (X i )). Well E(max i What is the flaw i his solutio? (X i )) max(e(x i )) max(). i 7. Prove as tight upper ad lower bouds as you ca o k i i.for this purpose it is useful to remember the defiitio of the atural logarithm as a itegral ivolvig /x ad to draw rectagles ad other geometric figures above ad below the curve. 8. Notice that l! i l i. Sketch a careful graph of y lx, ad by drawig i geometric figures above ad below the graph, show that l i 2 l l xdx l i. i i Based o your drawig, which iequality do you thik is tighter? Use itegratio by parts to evaluate the itegral. What bouds o! ca you get from these iequalities? Which oe do you thik is tighter? How does it compare to Stirlig s approximatio? What big Oh boud ca you get o!? i

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008

In nite Sequences. Dr. Philippe B. Laval Kennesaw State University. October 9, 2008 I ite Sequeces Dr. Philippe B. Laval Keesaw State Uiversity October 9, 2008 Abstract This had out is a itroductio to i ite sequeces. mai de itios ad presets some elemetary results. It gives the I ite Sequeces

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 13 EECS 70 Discrete Mathematics ad Probability Theory Sprig 2014 Aat Sahai Note 13 Itroductio At this poit, we have see eough examples that it is worth just takig stock of our model of probability ad may

More information

Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem

Lecture 4: Cauchy sequences, Bolzano-Weierstrass, and the Squeeze theorem Lecture 4: Cauchy sequeces, Bolzao-Weierstrass, ad the Squeeze theorem The purpose of this lecture is more modest tha the previous oes. It is to state certai coditios uder which we are guarateed that limits

More information

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES Read Sectio 1.5 (pages 5 9) Overview I Sectio 1.5 we lear to work with summatio otatio ad formulas. We will also itroduce a brief overview of sequeces,

More information

Properties of MLE: consistency, asymptotic normality. Fisher information.

Properties of MLE: consistency, asymptotic normality. Fisher information. Lecture 3 Properties of MLE: cosistecy, asymptotic ormality. Fisher iformatio. I this sectio we will try to uderstad why MLEs are good. Let us recall two facts from probability that we be used ofte throughout

More information

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here).

Example 2 Find the square root of 0. The only square root of 0 is 0 (since 0 is not positive or negative, so those choices don t exist here). BEGINNING ALGEBRA Roots ad Radicals (revised summer, 00 Olso) Packet to Supplemet the Curret Textbook - Part Review of Square Roots & Irratioals (This portio ca be ay time before Part ad should mostly

More information

Sequences and Series

Sequences and Series CHAPTER 9 Sequeces ad Series 9.. Covergece: Defiitio ad Examples Sequeces The purpose of this chapter is to itroduce a particular way of geeratig algorithms for fidig the values of fuctios defied by their

More information

Asymptotic Growth of Functions

Asymptotic Growth of Functions CMPS Itroductio to Aalysis of Algorithms Fall 3 Asymptotic Growth of Fuctios We itroduce several types of asymptotic otatio which are used to compare the performace ad efficiecy of algorithms As we ll

More information

A probabilistic proof of a binomial identity

A probabilistic proof of a binomial identity A probabilistic proof of a biomial idetity Joatho Peterso Abstract We give a elemetary probabilistic proof of a biomial idetity. The proof is obtaied by computig the probability of a certai evet i two

More information

CS103X: Discrete Structures Homework 4 Solutions

CS103X: Discrete Structures Homework 4 Solutions CS103X: Discrete Structures Homewor 4 Solutios Due February 22, 2008 Exercise 1 10 poits. Silico Valley questios: a How may possible six-figure salaries i whole dollar amouts are there that cotai at least

More information

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations

CS103A Handout 23 Winter 2002 February 22, 2002 Solving Recurrence Relations CS3A Hadout 3 Witer 00 February, 00 Solvig Recurrece Relatios Itroductio A wide variety of recurrece problems occur i models. Some of these recurrece relatios ca be solved usig iteratio or some other ad

More information

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method

Chapter 6: Variance, the law of large numbers and the Monte-Carlo method Chapter 6: Variace, the law of large umbers ad the Mote-Carlo method Expected value, variace, ad Chebyshev iequality. If X is a radom variable recall that the expected value of X, E[X] is the average value

More information

Repeating Decimals are decimal numbers that have number(s) after the decimal point that repeat in a pattern.

Repeating Decimals are decimal numbers that have number(s) after the decimal point that repeat in a pattern. 5.5 Fractios ad Decimals Steps for Chagig a Fractio to a Decimal. Simplify the fractio, if possible. 2. Divide the umerator by the deomiator. d d Repeatig Decimals Repeatig Decimals are decimal umbers

More information

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx

SAMPLE QUESTIONS FOR FINAL EXAM. (1) (2) (3) (4) Find the following using the definition of the Riemann integral: (2x + 1)dx SAMPLE QUESTIONS FOR FINAL EXAM REAL ANALYSIS I FALL 006 3 4 Fid the followig usig the defiitio of the Riema itegral: a 0 x + dx 3 Cosider the partitio P x 0 3, x 3 +, x 3 +,......, x 3 3 + 3 of the iterval

More information

Section 11.3: The Integral Test

Section 11.3: The Integral Test Sectio.3: The Itegral Test Most of the series we have looked at have either diverged or have coverged ad we have bee able to fid what they coverge to. I geeral however, the problem is much more difficult

More information

Convexity, Inequalities, and Norms

Convexity, Inequalities, and Norms Covexity, Iequalities, ad Norms Covex Fuctios You are probably familiar with the otio of cocavity of fuctios. Give a twicedifferetiable fuctio ϕ: R R, We say that ϕ is covex (or cocave up) if ϕ (x) 0 for

More information

The Stable Marriage Problem

The Stable Marriage Problem The Stable Marriage Problem William Hut Lae Departmet of Computer Sciece ad Electrical Egieerig, West Virgiia Uiversity, Morgatow, WV William.Hut@mail.wvu.edu 1 Itroductio Imagie you are a matchmaker,

More information

Hypergeometric Distributions

Hypergeometric Distributions 7.4 Hypergeometric Distributios Whe choosig the startig lie-up for a game, a coach obviously has to choose a differet player for each positio. Similarly, whe a uio elects delegates for a covetio or you

More information

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. This documet was writte ad copyrighted by Paul Dawkis. Use of this documet ad its olie versio is govered by the Terms ad Coditios of Use located at http://tutorial.math.lamar.edu/terms.asp. The olie versio

More information

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find

Approximating Area under a curve with rectangles. To find the area under a curve we approximate the area using rectangles and then use limits to find 1.8 Approximatig Area uder a curve with rectagles 1.6 To fid the area uder a curve we approximate the area usig rectagles ad the use limits to fid 1.4 the area. Example 1 Suppose we wat to estimate 1.

More information

1. C. The formula for the confidence interval for a population mean is: x t, which was

1. C. The formula for the confidence interval for a population mean is: x t, which was s 1. C. The formula for the cofidece iterval for a populatio mea is: x t, which was based o the sample Mea. So, x is guarateed to be i the iterval you form.. D. Use the rule : p-value

More information

Overview of some probability distributions.

Overview of some probability distributions. Lecture Overview of some probability distributios. I this lecture we will review several commo distributios that will be used ofte throughtout the class. Each distributio is usually described by its probability

More information

I. Chi-squared Distributions

I. Chi-squared Distributions 1 M 358K Supplemet to Chapter 23: CHI-SQUARED DISTRIBUTIONS, T-DISTRIBUTIONS, AND DEGREES OF FREEDOM To uderstad t-distributios, we first eed to look at aother family of distributios, the chi-squared distributios.

More information

Math C067 Sampling Distributions

Math C067 Sampling Distributions Math C067 Samplig Distributios Sample Mea ad Sample Proportio Richard Beigel Some time betwee April 16, 2007 ad April 16, 2007 Examples of Samplig A pollster may try to estimate the proportio of voters

More information

1. MATHEMATICAL INDUCTION

1. MATHEMATICAL INDUCTION 1. MATHEMATICAL INDUCTION EXAMPLE 1: Prove that for ay iteger 1. Proof: 1 + 2 + 3 +... + ( + 1 2 (1.1 STEP 1: For 1 (1.1 is true, sice 1 1(1 + 1. 2 STEP 2: Suppose (1.1 is true for some k 1, that is 1

More information

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009)

Lecture 13. Lecturer: Jonathan Kelner Scribe: Jonathan Pines (2009) 18.409 A Algorithmist s Toolkit October 27, 2009 Lecture 13 Lecturer: Joatha Keler Scribe: Joatha Pies (2009) 1 Outlie Last time, we proved the Bru-Mikowski iequality for boxes. Today we ll go over the

More information

Simple Annuities Present Value.

Simple Annuities Present Value. Simple Auities Preset Value. OBJECTIVES (i) To uderstad the uderlyig priciple of a preset value auity. (ii) To use a CASIO CFX-9850GB PLUS to efficietly compute values associated with preset value auities.

More information

3. Greatest Common Divisor - Least Common Multiple

3. Greatest Common Divisor - Least Common Multiple 3 Greatest Commo Divisor - Least Commo Multiple Defiitio 31: The greatest commo divisor of two atural umbers a ad b is the largest atural umber c which divides both a ad b We deote the greatest commo gcd

More information

THE ABRACADABRA PROBLEM

THE ABRACADABRA PROBLEM THE ABRACADABRA PROBLEM FRANCESCO CARAVENNA Abstract. We preset a detailed solutio of Exercise E0.6 i [Wil9]: i a radom sequece of letters, draw idepedetly ad uiformly from the Eglish alphabet, the expected

More information

Lecture 4: Cheeger s Inequality

Lecture 4: Cheeger s Inequality Spectral Graph Theory ad Applicatios WS 0/0 Lecture 4: Cheeger s Iequality Lecturer: Thomas Sauerwald & He Su Statemet of Cheeger s Iequality I this lecture we assume for simplicity that G is a d-regular

More information

Infinite Sequences and Series

Infinite Sequences and Series CHAPTER 4 Ifiite Sequeces ad Series 4.1. Sequeces A sequece is a ifiite ordered list of umbers, for example the sequece of odd positive itegers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29...

More information

Hypothesis testing. Null and alternative hypotheses

Hypothesis testing. Null and alternative hypotheses Hypothesis testig Aother importat use of samplig distributios is to test hypotheses about populatio parameters, e.g. mea, proportio, regressio coefficiets, etc. For example, it is possible to stipulate

More information

Incremental calculation of weighted mean and variance

Incremental calculation of weighted mean and variance Icremetal calculatio of weighted mea ad variace Toy Fich faf@cam.ac.uk dot@dotat.at Uiversity of Cambridge Computig Service February 009 Abstract I these otes I eplai how to derive formulae for umerically

More information

1 Computing the Standard Deviation of Sample Means

1 Computing the Standard Deviation of Sample Means Computig the Stadard Deviatio of Sample Meas Quality cotrol charts are based o sample meas ot o idividual values withi a sample. A sample is a group of items, which are cosidered all together for our aalysis.

More information

3 Basic Definitions of Probability Theory

3 Basic Definitions of Probability Theory 3 Basic Defiitios of Probability Theory 3defprob.tex: Feb 10, 2003 Classical probability Frequecy probability axiomatic probability Historical developemet: Classical Frequecy Axiomatic The Axiomatic defiitio

More information

Elementary Theory of Russian Roulette

Elementary Theory of Russian Roulette Elemetary Theory of Russia Roulette -iterestig patters of fractios- Satoshi Hashiba Daisuke Miematsu Ryohei Miyadera Itroductio. Today we are goig to study mathematical theory of Russia roulette. If some

More information

Soving Recurrence Relations

Soving Recurrence Relations Sovig Recurrece Relatios Part 1. Homogeeous liear 2d degree relatios with costat coefficiets. Cosider the recurrece relatio ( ) T () + at ( 1) + bt ( 2) = 0 This is called a homogeeous liear 2d degree

More information

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE 6.44. The absolute value of the complex number z a bi is

Trigonometric Form of a Complex Number. The Complex Plane. axis. ( 2, 1) or 2 i FIGURE 6.44. The absolute value of the complex number z a bi is 0_0605.qxd /5/05 0:45 AM Page 470 470 Chapter 6 Additioal Topics i Trigoometry 6.5 Trigoometric Form of a Complex Number What you should lear Plot complex umbers i the complex plae ad fid absolute values

More information

5 Boolean Decision Trees (February 11)

5 Boolean Decision Trees (February 11) 5 Boolea Decisio Trees (February 11) 5.1 Graph Coectivity Suppose we are give a udirected graph G, represeted as a boolea adjacecy matrix = (a ij ), where a ij = 1 if ad oly if vertices i ad j are coected

More information

Lecture 2: Karger s Min Cut Algorithm

Lecture 2: Karger s Min Cut Algorithm priceto uiv. F 3 cos 5: Advaced Algorithm Desig Lecture : Karger s Mi Cut Algorithm Lecturer: Sajeev Arora Scribe:Sajeev Today s topic is simple but gorgeous: Karger s mi cut algorithm ad its extesio.

More information

MARTINGALES AND A BASIC APPLICATION

MARTINGALES AND A BASIC APPLICATION MARTINGALES AND A BASIC APPLICATION TURNER SMITH Abstract. This paper will develop the measure-theoretic approach to probability i order to preset the defiitio of martigales. From there we will apply this

More information

Notes on exponential generating functions and structures.

Notes on exponential generating functions and structures. Notes o expoetial geeratig fuctios ad structures. 1. The cocept of a structure. Cosider the followig coutig problems: (1) to fid for each the umber of partitios of a -elemet set, (2) to fid for each the

More information

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5

0.7 0.6 0.2 0 0 96 96.5 97 97.5 98 98.5 99 99.5 100 100.5 96.5 97 97.5 98 98.5 99 99.5 100 100.5 Sectio 13 Kolmogorov-Smirov test. Suppose that we have a i.i.d. sample X 1,..., X with some ukow distributio P ad we would like to test the hypothesis that P is equal to a particular distributio P 0, i.e.

More information

THE ARITHMETIC OF INTEGERS. - multiplication, exponentiation, division, addition, and subtraction

THE ARITHMETIC OF INTEGERS. - multiplication, exponentiation, division, addition, and subtraction THE ARITHMETIC OF INTEGERS - multiplicatio, expoetiatio, divisio, additio, ad subtractio What to do ad what ot to do. THE INTEGERS Recall that a iteger is oe of the whole umbers, which may be either positive,

More information

Measures of Spread and Boxplots Discrete Math, Section 9.4

Measures of Spread and Boxplots Discrete Math, Section 9.4 Measures of Spread ad Boxplots Discrete Math, Sectio 9.4 We start with a example: Example 1: Comparig Mea ad Media Compute the mea ad media of each data set: S 1 = {4, 6, 8, 10, 1, 14, 16} S = {4, 7, 9,

More information

Building Blocks Problem Related to Harmonic Series

Building Blocks Problem Related to Harmonic Series TMME, vol3, o, p.76 Buildig Blocks Problem Related to Harmoic Series Yutaka Nishiyama Osaka Uiversity of Ecoomics, Japa Abstract: I this discussio I give a eplaatio of the divergece ad covergece of ifiite

More information

THE REGRESSION MODEL IN MATRIX FORM. For simple linear regression, meaning one predictor, the model is. for i = 1, 2, 3,, n

THE REGRESSION MODEL IN MATRIX FORM. For simple linear regression, meaning one predictor, the model is. for i = 1, 2, 3,, n We will cosider the liear regressio model i matrix form. For simple liear regressio, meaig oe predictor, the model is i = + x i + ε i for i =,,,, This model icludes the assumptio that the ε i s are a sample

More information

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable

Week 3 Conditional probabilities, Bayes formula, WEEK 3 page 1 Expected value of a random variable Week 3 Coditioal probabilities, Bayes formula, WEEK 3 page 1 Expected value of a radom variable We recall our discussio of 5 card poker hads. Example 13 : a) What is the probability of evet A that a 5

More information

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth

.04. This means $1000 is multiplied by 1.02 five times, once for each of the remaining sixmonth Questio 1: What is a ordiary auity? Let s look at a ordiary auity that is certai ad simple. By this, we mea a auity over a fixed term whose paymet period matches the iterest coversio period. Additioally,

More information

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments

Project Deliverables. CS 361, Lecture 28. Outline. Project Deliverables. Administrative. Project Comments Project Deliverables CS 361, Lecture 28 Jared Saia Uiversity of New Mexico Each Group should tur i oe group project cosistig of: About 6-12 pages of text (ca be loger with appedix) 6-12 figures (please

More information

Lecture 3. denote the orthogonal complement of S k. Then. 1 x S k. n. 2 x T Ax = ( ) λ x. with x = 1, we have. i = λ k x 2 = λ k.

Lecture 3. denote the orthogonal complement of S k. Then. 1 x S k. n. 2 x T Ax = ( ) λ x. with x = 1, we have. i = λ k x 2 = λ k. 18.409 A Algorithmist s Toolkit September 17, 009 Lecture 3 Lecturer: Joatha Keler Scribe: Adre Wibisoo 1 Outlie Today s lecture covers three mai parts: Courat-Fischer formula ad Rayleigh quotiets The

More information

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized?

5.4 Amortization. Question 1: How do you find the present value of an annuity? Question 2: How is a loan amortized? 5.4 Amortizatio Questio 1: How do you fid the preset value of a auity? Questio 2: How is a loa amortized? Questio 3: How do you make a amortizatio table? Oe of the most commo fiacial istrumets a perso

More information

CHAPTER 7: Central Limit Theorem: CLT for Averages (Means)

CHAPTER 7: Central Limit Theorem: CLT for Averages (Means) CHAPTER 7: Cetral Limit Theorem: CLT for Averages (Meas) X = the umber obtaied whe rollig oe six sided die oce. If we roll a six sided die oce, the mea of the probability distributio is X P(X = x) Simulatio:

More information

Determining the sample size

Determining the sample size Determiig the sample size Oe of the most commo questios ay statisticia gets asked is How large a sample size do I eed? Researchers are ofte surprised to fid out that the aswer depeds o a umber of factors

More information

Confidence Intervals for One Mean

Confidence Intervals for One Mean Chapter 420 Cofidece Itervals for Oe Mea Itroductio This routie calculates the sample size ecessary to achieve a specified distace from the mea to the cofidece limit(s) at a stated cofidece level for a

More information

5: Introduction to Estimation

5: Introduction to Estimation 5: Itroductio to Estimatio Cotets Acroyms ad symbols... 1 Statistical iferece... Estimatig µ with cofidece... 3 Samplig distributio of the mea... 3 Cofidece Iterval for μ whe σ is kow before had... 4 Sample

More information

Lesson 17 Pearson s Correlation Coefficient

Lesson 17 Pearson s Correlation Coefficient Outlie Measures of Relatioships Pearso s Correlatio Coefficiet (r) -types of data -scatter plots -measure of directio -measure of stregth Computatio -covariatio of X ad Y -uique variatio i X ad Y -measurig

More information

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number.

GCSE STATISTICS. 4) How to calculate the range: The difference between the biggest number and the smallest number. GCSE STATISTICS You should kow: 1) How to draw a frequecy diagram: e.g. NUMBER TALLY FREQUENCY 1 3 5 ) How to draw a bar chart, a pictogram, ad a pie chart. 3) How to use averages: a) Mea - add up all

More information

INFINITE SERIES KEITH CONRAD

INFINITE SERIES KEITH CONRAD INFINITE SERIES KEITH CONRAD. Itroductio The two basic cocepts of calculus, differetiatio ad itegratio, are defied i terms of limits (Newto quotiets ad Riema sums). I additio to these is a third fudametal

More information

Tradigms of Astundithi and Toyota

Tradigms of Astundithi and Toyota Tradig the radomess - Desigig a optimal tradig strategy uder a drifted radom walk price model Yuao Wu Math 20 Project Paper Professor Zachary Hamaker Abstract: I this paper the author iteds to explore

More information

Department of Computer Science, University of Otago

Department of Computer Science, University of Otago Departmet of Computer Sciece, Uiversity of Otago Techical Report OUCS-2006-09 Permutatios Cotaiig May Patters Authors: M.H. Albert Departmet of Computer Sciece, Uiversity of Otago Micah Colema, Rya Fly

More information

Class Meeting # 16: The Fourier Transform on R n

Class Meeting # 16: The Fourier Transform on R n MATH 18.152 COUSE NOTES - CLASS MEETING # 16 18.152 Itroductio to PDEs, Fall 2011 Professor: Jared Speck Class Meetig # 16: The Fourier Trasform o 1. Itroductio to the Fourier Trasform Earlier i the course,

More information

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return

where: T = number of years of cash flow in investment's life n = the year in which the cash flow X n i = IRR = the internal rate of return EVALUATING ALTERNATIVE CAPITAL INVESTMENT PROGRAMS By Ke D. Duft, Extesio Ecoomist I the March 98 issue of this publicatio we reviewed the procedure by which a capital ivestmet project was assessed. The

More information

Case Study. Normal and t Distributions. Density Plot. Normal Distributions

Case Study. Normal and t Distributions. Density Plot. Normal Distributions Case Study Normal ad t Distributios Bret Halo ad Bret Larget Departmet of Statistics Uiversity of Wiscosi Madiso October 11 13, 2011 Case Study Body temperature varies withi idividuals over time (it ca

More information

*The most important feature of MRP as compared with ordinary inventory control analysis is its time phasing feature.

*The most important feature of MRP as compared with ordinary inventory control analysis is its time phasing feature. Itegrated Productio ad Ivetory Cotrol System MRP ad MRP II Framework of Maufacturig System Ivetory cotrol, productio schedulig, capacity plaig ad fiacial ad busiess decisios i a productio system are iterrelated.

More information

Chapter 5: Inner Product Spaces

Chapter 5: Inner Product Spaces Chapter 5: Ier Product Spaces Chapter 5: Ier Product Spaces SECION A Itroductio to Ier Product Spaces By the ed of this sectio you will be able to uderstad what is meat by a ier product space give examples

More information

How To Solve The Homewor Problem Beautifully

How To Solve The Homewor Problem Beautifully Egieerig 33 eautiful Homewor et 3 of 7 Kuszmar roblem.5.5 large departmet store sells sport shirts i three sizes small, medium, ad large, three patters plaid, prit, ad stripe, ad two sleeve legths log

More information

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis

Running Time ( 3.1) Analysis of Algorithms. Experimental Studies ( 3.1.1) Limitations of Experiments. Pseudocode ( 3.1.2) Theoretical Analysis Ruig Time ( 3.) Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Most algorithms trasform iput objects ito output objects.

More information

How Euler Did It. In a more modern treatment, Hardy and Wright [H+W] state this same theorem as. n n+ is perfect.

How Euler Did It. In a more modern treatment, Hardy and Wright [H+W] state this same theorem as. n n+ is perfect. Amicable umbers November 005 How Euler Did It by Ed Sadifer Six is a special umber. It is divisible by, ad 3, ad, i what at first looks like a strage coicidece, 6 = + + 3. The umber 8 shares this remarkable

More information

Betting on Football Pools

Betting on Football Pools Bettig o Football Pools by Edward A. Beder I a pool, oe tries to guess the wiers i a set of games. For example, oe may have te matches this weeked ad oe bets o who the wiers will be. We ve put wiers i

More information

CHAPTER 3 DIGITAL CODING OF SIGNALS

CHAPTER 3 DIGITAL CODING OF SIGNALS CHAPTER 3 DIGITAL CODING OF SIGNALS Computers are ofte used to automate the recordig of measuremets. The trasducers ad sigal coditioig circuits produce a voltage sigal that is proportioal to a quatity

More information

FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. 1. Powers of a matrix

FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. 1. Powers of a matrix FIBONACCI NUMBERS: AN APPLICATION OF LINEAR ALGEBRA. Powers of a matrix We begi with a propositio which illustrates the usefuless of the diagoalizatio. Recall that a square matrix A is diogaalizable if

More information

Output Analysis (2, Chapters 10 &11 Law)

Output Analysis (2, Chapters 10 &11 Law) B. Maddah ENMG 6 Simulatio 05/0/07 Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should

More information

The Fundamental Forces of Nature

The Fundamental Forces of Nature Gravity The Fudametal Forces of Nature There exist oly four fudametal forces Electromagetism Strog force Weak force Gravity Gravity 2 The Hierarchy Problem Gravity is far weaker tha ay of the forces! Why?!?

More information

Chapter 7 Methods of Finding Estimators

Chapter 7 Methods of Finding Estimators Chapter 7 for BST 695: Special Topics i Statistical Theory. Kui Zhag, 011 Chapter 7 Methods of Fidig Estimators Sectio 7.1 Itroductio Defiitio 7.1.1 A poit estimator is ay fuctio W( X) W( X1, X,, X ) of

More information

1 Correlation and Regression Analysis

1 Correlation and Regression Analysis 1 Correlatio ad Regressio Aalysis I this sectio we will be ivestigatig the relatioship betwee two cotiuous variable, such as height ad weight, the cocetratio of a ijected drug ad heart rate, or the cosumptio

More information

Basic Elements of Arithmetic Sequences and Series

Basic Elements of Arithmetic Sequences and Series MA40S PRE-CALCULUS UNIT G GEOMETRIC SEQUENCES CLASS NOTES (COMPLETED NO NEED TO COPY NOTES FROM OVERHEAD) Basic Elemets of Arithmetic Sequeces ad Series Objective: To establish basic elemets of arithmetic

More information

Your organization has a Class B IP address of 166.144.0.0 Before you implement subnetting, the Network ID and Host ID are divided as follows:

Your organization has a Class B IP address of 166.144.0.0 Before you implement subnetting, the Network ID and Host ID are divided as follows: Subettig Subettig is used to subdivide a sigle class of etwork i to multiple smaller etworks. Example: Your orgaizatio has a Class B IP address of 166.144.0.0 Before you implemet subettig, the Network

More information

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value

Present Value Factor To bring one dollar in the future back to present, one uses the Present Value Factor (PVF): Concept 9: Present Value Cocept 9: Preset Value Is the value of a dollar received today the same as received a year from today? A dollar today is worth more tha a dollar tomorrow because of iflatio, opportuity cost, ad risk Brigig

More information

CHAPTER 3 THE TIME VALUE OF MONEY

CHAPTER 3 THE TIME VALUE OF MONEY CHAPTER 3 THE TIME VALUE OF MONEY OVERVIEW A dollar i the had today is worth more tha a dollar to be received i the future because, if you had it ow, you could ivest that dollar ad ear iterest. Of all

More information

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series

Our aim is to show that under reasonable assumptions a given 2π-periodic function f can be represented as convergent series 8 Fourier Series Our aim is to show that uder reasoable assumptios a give -periodic fuctio f ca be represeted as coverget series f(x) = a + (a cos x + b si x). (8.) By defiitio, the covergece of the series

More information

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER?

WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? WHEN IS THE (CO)SINE OF A RATIONAL ANGLE EQUAL TO A RATIONAL NUMBER? JÖRG JAHNEL 1. My Motivatio Some Sort of a Itroductio Last term I tought Topological Groups at the Göttige Georg August Uiversity. This

More information

Quantitative Computer Architecture

Quantitative Computer Architecture Performace Measuremet ad Aalysis i Computer Quatitative Computer Measuremet Model Iovatio Proposed How to measure, aalyze, ad specify computer system performace or My computer is faster tha your computer!

More information

Listing terms of a finite sequence List all of the terms of each finite sequence. a) a n n 2 for 1 n 5 1 b) a n for 1 n 4 n 2

Listing terms of a finite sequence List all of the terms of each finite sequence. a) a n n 2 for 1 n 5 1 b) a n for 1 n 4 n 2 74 (4 ) Chapter 4 Sequeces ad Series 4. SEQUENCES I this sectio Defiitio Fidig a Formula for the th Term The word sequece is a familiar word. We may speak of a sequece of evets or say that somethig is

More information

Maximum Likelihood Estimators.

Maximum Likelihood Estimators. Lecture 2 Maximum Likelihood Estimators. Matlab example. As a motivatio, let us look at oe Matlab example. Let us geerate a radom sample of size 00 from beta distributio Beta(5, 2). We will lear the defiitio

More information

Chapter 14 Nonparametric Statistics

Chapter 14 Nonparametric Statistics Chapter 14 Noparametric Statistics A.K.A. distributio-free statistics! Does ot deped o the populatio fittig ay particular type of distributio (e.g, ormal). Sice these methods make fewer assumptios, they

More information

Confidence Intervals. CI for a population mean (σ is known and n > 30 or the variable is normally distributed in the.

Confidence Intervals. CI for a population mean (σ is known and n > 30 or the variable is normally distributed in the. Cofidece Itervals A cofidece iterval is a iterval whose purpose is to estimate a parameter (a umber that could, i theory, be calculated from the populatio, if measuremets were available for the whole populatio).

More information

5.3. Generalized Permutations and Combinations

5.3. Generalized Permutations and Combinations 53 GENERALIZED PERMUTATIONS AND COMBINATIONS 73 53 Geeralized Permutatios ad Combiatios 53 Permutatios with Repeated Elemets Assume that we have a alphabet with letters ad we wat to write all possible

More information

Permutations, the Parity Theorem, and Determinants

Permutations, the Parity Theorem, and Determinants 1 Permutatios, the Parity Theorem, ad Determiats Joh A. Guber Departmet of Electrical ad Computer Egieerig Uiversity of Wiscosi Madiso Cotets 1 What is a Permutatio 1 2 Cycles 2 2.1 Traspositios 4 3 Orbits

More information

University of California, Los Angeles Department of Statistics. Distributions related to the normal distribution

University of California, Los Angeles Department of Statistics. Distributions related to the normal distribution Uiversity of Califoria, Los Ageles Departmet of Statistics Statistics 100B Istructor: Nicolas Christou Three importat distributios: Distributios related to the ormal distributio Chi-square (χ ) distributio.

More information

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Solutions 9 Spring 2006 Exam format UC Bereley Departmet of Electrical Egieerig ad Computer Sciece EE 6: Probablity ad Radom Processes Solutios 9 Sprig 006 The secod midterm will be held o Wedesday May 7; CHECK the fial exam

More information

Math 113 HW #11 Solutions

Math 113 HW #11 Solutions Math 3 HW # Solutios 5. 4. (a) Estimate the area uder the graph of f(x) = x from x = to x = 4 usig four approximatig rectagles ad right edpoits. Sketch the graph ad the rectagles. Is your estimate a uderestimate

More information

Universal coding for classes of sources

Universal coding for classes of sources Coexios module: m46228 Uiversal codig for classes of sources Dever Greee This work is produced by The Coexios Project ad licesed uder the Creative Commos Attributio Licese We have discussed several parametric

More information

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling

Taking DCOP to the Real World: Efficient Complete Solutions for Distributed Multi-Event Scheduling Taig DCOP to the Real World: Efficiet Complete Solutios for Distributed Multi-Evet Schedulig Rajiv T. Maheswara, Milid Tambe, Emma Bowrig, Joatha P. Pearce, ad Pradeep araatham Uiversity of Souther Califoria

More information

The new assembly line of the Car Corp.

The new assembly line of the Car Corp. MaMaEuSch Maagemet Mathematics for Europea Schools http://www.mathematik.uikl.de/~mamaeusch/ The ew assembly lie of the Car Corp. Silvia Schwarze Horst W. Hamacher 2 MaMaEuSch has bee carried out with

More information

Section 8.3 : De Moivre s Theorem and Applications

Section 8.3 : De Moivre s Theorem and Applications The Sectio 8 : De Moivre s Theorem ad Applicatios Let z 1 ad z be complex umbers, where z 1 = r 1, z = r, arg(z 1 ) = θ 1, arg(z ) = θ z 1 = r 1 (cos θ 1 + i si θ 1 ) z = r (cos θ + i si θ ) ad z 1 z =

More information

Solving Logarithms and Exponential Equations

Solving Logarithms and Exponential Equations Solvig Logarithms ad Epoetial Equatios Logarithmic Equatios There are two major ideas required whe solvig Logarithmic Equatios. The first is the Defiitio of a Logarithm. You may recall from a earlier topic:

More information

Non-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring

Non-life insurance mathematics. Nils F. Haavardsson, University of Oslo and DNB Skadeforsikring No-life isurace mathematics Nils F. Haavardsso, Uiversity of Oslo ad DNB Skadeforsikrig Mai issues so far Why does isurace work? How is risk premium defied ad why is it importat? How ca claim frequecy

More information

The analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection

The analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection The aalysis of the Courot oligopoly model cosiderig the subjective motive i the strategy selectio Shigehito Furuyama Teruhisa Nakai Departmet of Systems Maagemet Egieerig Faculty of Egieerig Kasai Uiversity

More information

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 8

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 8 CME 30: NUMERICAL LINEAR ALGEBRA FALL 005/06 LECTURE 8 GENE H GOLUB 1 Positive Defiite Matrices A matrix A is positive defiite if x Ax > 0 for all ozero x A positive defiite matrix has real ad positive

More information