6.042/18.062J Mathematics for Computer Science. Recurrences

Size: px
Start display at page:

Download "6.042/18.062J Mathematics for Computer Science. Recurrences"

Transcription

1 6.04/8.06J Mathematics for Computer Sciece Srii Devadas ad Eric Lehma March 7, 00 Lecture Notes Recurreces Recursio breakig a object dow ito smaller objects of the same type is a major theme i mathematics ad computer sciece. For example, i a iductio proof we establish the truth of a statemet P () from the truth of the statemet P ( ). I programmig, a recursive algorithm solves a problem by applyig itself to smaller istaces of the problem. Back o the mathematical side, a recurrece equatio describes the value of a fuctio i terms of its value for smaller argumets. These various icaratios of recursio work together icely. For example oe might prove a recursive algorithm correct usig iductio or aalyze its ruig time usig a recurrece equatio. I this lecture, we ll lear how to solve a family of recurrece equatios, called liear recurreces, that frequetly arise i computer sciece ad other disciplies. The Towers of Haoi I the Towers of Haoi problem, there are three posts ad seve disks of differet sizes. Each disk has a hole through the ceter so that it fits o a post. At the start, all seve disks are o post # as show below. The disks are arraged by size so that the smallest is o top ad the largest is o the bottom. The goal is to ed up with all seve disks i the same order, but o a differet post. This is ot trivial because of two restrictios. First, the oly permitted actio is removig the top disk from a post ad droppig it oto aother post. Secod, a larger disk ca ever lie above a smaller disk o ay post. (These rules imply, for example, that it is o fair to pick up the whole stack of disks at oce ad the to drop them all o aother post!) Post # Post # Post # It is ot immediately clear that a solutio to this problem exists; maybe the rules are so striget that the disks caot all be moved to aother post!

2 Recurreces Oe approach to this problem is to cosider a simpler variat with oly three disks. We ca quickly exhaust the possibilities of this simpler puzzle ad fid a 7 move solutio such as the oe show below. (The disks o each post are idicated by the umbers immediately to the right. Larger umbers correspod to larger disks.) This problem was iveted i 88 by the Frech mathematicia Edouard Lucas. I his origial accout, there were 64 disks of solid gold. At the begiig of time, all 64 were placed o a sigle post, ad moks were assiged the task of movig them to aother post accordig to the rules described above. Accordig to leged, whe the moks complete their task, the Tower will crumble ad the world will ed! The questios we must aswer are, Give sufficiet time, ca the moks succeed? ad if so, How log util the world eds? ad, most importatly, Will this happe before the 6.04 fial?. Fidig a Recurrece The Towers of Haoi problem ca be solved recursively as follows. Let T be the miimum umber of steps eeded to move a disk tower from oe post to aother. For example, a bit of experimetatio shows that T = ad T =. For disks, the solutio give above proves that T 7. We ca geeralize the approach used for disks to the followig recursive algorithm for disks. Step. Apply this strategy recursively to move the top disks from the first post to the third post. This ca be doe i T steps...

3 Recurreces Step. Move the largest disk from the first post to the to the secod post. This requires just step... Step. Recursively move the disks o the third post over to the secod post. Agai, T steps are required.... This algorithm shows that T, the umber of steps required to move disks to a differet post, is at most T +. We ca use this fact to compute upper bouds o the umber of steps required for various umbers of disks: T T + = 7 T 4 T + The algorithm described above aswers our first questio: give sufficiet time, the moks will fiish their task ad ed the world. (Which is a shame. After all that effort they d probably wat to smack a few high fives ad go out for burgers ad ice cream, but ope world s over.). A Lower Boud for Towers of Haoi We ca ot yet compute the exact umber of steps that the moks eed to move the 64 disks; we ca oly show a upper boud. Perhaps havig podered the problem sice the begiig of time the moks have devised a better algorithm. I fact, there is o better algorithm, ad here is why. At some step, the moks must move the th disk from the first post to a differet post. For this to happe, the smaller disks must all be stacked out of the way o the oly remaiig post. Arragig the smaller disks this way requires at least T moves. After the largest disk is moved, at least aother T moves are required to pile the smaller disks o top.

4 4 Recurreces This argumet shows that the umber of steps required is at least T +. Sice we gave a algorithm usig exactly that umber of steps, we ow have a recurrece for T, the umber of moves required to complete the Tower of Haoi problem with disks: T = T = T + (for ) We ca use this recurrece to coclude that T =, T = 7, T 4 =,..... Guess ad Verify Computig T 64 from the recurrece would require a lot of work. It would be ice to have a closed form expressio for T, so that we could quickly compute the umber of steps required to solve the Towers of Haoi problem for ay give umber of disks. (For example, we might wat to kow how much sooer the world would ed if the moks melted dow oe disk to purchase burgers ad ice cream before the ed of the world.) There are several differet methods for solvig recurreces. The simplest method is to guess the solutio ad the to verify that the guess is correct, usually with a iductio proof. This method is called guess ad verify or substitutio. As a basis for a good guess, let s tabulate T for small values of : T Based o this table, a atural guess is that T =. Wheever you guess a solutio to a recurrece, you should always verify it with a proof by iductio or by some other techique; after all, your guess might be wrog. (But why bother to verify i this case? After all, if we re wrog, its ot the ed of the... o, let s check.) Claim. If: T = T = T + (for ) the: T =

5 Recurreces Proof. The proof is by iductio o. Let P () be the propositio that T =. Base case: P () is true because T = =. Iductive step: Now we assume T = to prove that T + = +, where. T + = T + = ( ) + = + The first equality is the recurrece relatio, ad the secod equatio follows by the assumptio P (). The last step is simplificatio. Our guess is ow verified. This shows, for example, that the 7 disk puzzle will require 7 = 7 moves to complete. We ca also ow resolve our remaiig questios about the 64 disk puzzle. Sice T 64 = 64, the moks must complete more tha 8 billio billio steps before the world eds. Better study for the fial. Graduate Studet Job Prospects I a ew academic field (say, computer sciece), there are oly so may faculty positios available i all the uiversities of the world. Iitially, there were ot eough qualified cadidates, ad may positios were ufilled. But, over time, ew graduates are fillig the positios, makig job prospects for later computer sciece studets ever more bleak. Worse, the icreasig umber of professors are able to trai a icreasig umber of graduate studets, causig positios to fill ever more rapidly. Evetually, the uiversities will be saturated; ew computer sciece graduates will have o chace at a academic career. Our problem is to determie whe the uiversities will stop hirig ew computer sciece faculty ad, i particular, to aswer the questio, Are the 6.04 TAs doomed? Here are the details of the problem. There are a total of N faculty positios available worldwide. This umber ever chages due to budgetary costraits. Cogress has passed a law forbiddig forced retiremet i uiversities, ad o oe will retire volutarily. (This is true ad a problem!) I our aalysis, therefore, oce a faculty positio is filled, it ever opes up agai. Each year, every professor trais exactly studet who will go o to become a professor the followig year. The oly exceptio is that first year professors do ot trai studets; they are too busy publishig, teachig, gettig grats, ad servig o committees. I year 0, there are o computer sciece professors i the world. I year, the first professor is hired.

6 6 Recurreces. Fidig a Recurrece Ideally, we could fid a formula for the umber of professors i the world i a give year. The we could determie the year i which all N faculty positios are filled. Let f() be the umber of professors durig year. To develop some ituitio about the problem, we ca compute values of this fuctio for small by had. f(0) = 0 f() = f() = f() = f(4) = f() = f(6) = 8 No CS professors; the dark ages. ew professor; too busy to trai a studet. old professor; ow traiig a studet. ew prof, old prof; ew prof too busy, old prof traiig. ew prof, old profs; ew prof too busy, both old profs traiig ew profs, old profs ew profs, old profs I geeral, the umber of professors i year is equal to the umber of professors last year plus the umber of ew hires. The umber of professors last year is f( ). The umber of ew hires is equal to the umber of professors two years ago, f( ), sice each of these professors traied a studet last year. These observatios give the followig recurrece equatio for the umber of professors: f(0) = 0 f() = f() = f( ) + f( ) ( ) This is the familiar Fiboacci recurrece. Lookig back, the values of f() that we computed by had are ideed the first few Fiboacci umbers. Fiboacci umbers arise i all sorts of applicatios. Fiboacci himself itroduced the umbers i 0 to study rabbit reproductio. Fiboacci umbers also appear, oddly eough, i the spiral patters o the faces of suflowers. Ad the iput umbers that make Euclid s GCD algorithm require the greatest umber of steps are cosecutive Fiboacci umbers. So how big is f() ayway? Of course, we could compute as may Fiboacci umbers as we like usig the recurrece, but it would be much icer to fid a closed form.. Solvig the Recurrece Solvig the Fiboacci recurrece is easy because the recurrece is liear. (Well, easy i the sese that you ca lear the techique i oe lecture; discoverig it actually took six

7 Recurreces 7 ceturies.) A liear recurrece has the form: f() = a f( ) + a f( ) a d f( d) d = b i f( i) i= where a, a,... a d are costats. The order of the recurrece is d. For example, the Fiboacci recurrece is order ad has coefficiets a = a =. (Later o, we ll slightly expad the defiitio of a liear recurrece.) For ow, let s try to solve just the Fiboacci recurrece; we ll see how to solve geeral liear recurreces later i the lecture. Our rule of thumb is that guess ad verify is the first method to apply to a ufamiliar recurrece. It turs out that for a liear recurrece, a expoetial solutio is a good guess. However, sice we kow othig beyod this, our iitial guess ad erify attempt will really oly be a dry ru ; that is, we will ot make a exact guess ad will ot verify it with a complete proof. Rather, the goal of this first attempt is oly to clarify the form of the solutio. Guess. f() = cx Here c ad x are parameters itroduced to improve our odds of havig a correct guess; i the verificatio step, we ca pick values that make the proof work. To further improve our odds, let s eglect the boudary coditios, f(0) = 0 ad f() =. Verificatio. Pluggig our guess ito the recurrece f() = f( ) + f( ) gives: cx = cx x = x + x x = 0 ± x = + cx I the first step, we divide both sides of the equatio by cx. The we rearrage terms ad fid x with the quadratic formula. This calculatio suggests that the costat c ca be aythig, but that x must be ( ± )/. Evidetly, there are two solutios to the recurrece: ( ( ) + ) f() = c or f() = c I fact, ay liear combiatio of these two solutios is also a solutio. The followig theorem states that this is true i geeral for liear recurreces. Theorem. If f() ad g() are solutios to a liear recurrece (without boudary coditios), the cf () + dg() is also a solutio.

8 8 Recurreces Proof. Sice f() ad g() are both solutios, the: d f() = a i f( i) i= d g() = a i g( i) i= Multiplyig the first equatio by c, the secod by d, ad summig gives: ( ) ( ) d d cf () + dg() = c a i f( i) + d a i g( i) i= i= d ( ) = a i cf ( i) + dg( i) i= Thus, cf () + dg() is a solutio as well. This same pheomeo that a liear combiatio of solutios is aother solutio also arises i differetial equatios ad, cosequetly, may physical systems. I the preset case, the theorem implies that ( ( ) + ) f() = c + c is a solutio to the Fiboacci recurrece without boudary coditios for all costats c ad c. All that remais is to choose these costats to obtai a solutio cosistet with the boudary coditios, f(0) = 0 ad f() =. From the first coditio, we kow: ( ( ) 0 + ) 0 f(0) = c + c = c + c = 0 From the secod boudary coditio, we have: ( ( ) + ) f() = c + c = We ow have two liear equatios i two ukows. The system of equatios is ot degeerate, so there is a uique solutio: c = / ad c = /. We re doe! We have a complete solutio to the Fiboacci recurrece with boudary coditios: ( ) ( ) + f() =

9 Recurreces 9 This looks completely wrog! All Fiboacci umbers are itegers, but this expressio is full of square roots of five! Amazigly, however, the square roots always cacel out. This expressio really does give the Fiboacci umbers if we plug i = 0,,,.... It is easy to see why o oe stumbled across this solutio for six ceturies!. Job Prospects Let s retur to the origial questio: how log util all N faculty positios are take? To aswer this questio, we must fid the smallest such that f() N; that is, we must determie the year i which there are as may potetial professors as uiversity positios. Graduates after year will have to fid other employmet, e.g. shufflig golde disks i a obscure moastic commuity for the ext 0 9 years. Because f() has such a complicated form, it is hard to compute the right value of exactly. However, we ca fid a excellet approximate aswer. Note that i the closed form for Fiboacci umbers, the secod term rapidly goes to zero: ( ) ( ) + f() = ( ) + = + o() This is because ( )/ = <, ad a big power of a umber less tha is tiy. From this approximatio for f(), we ca estimate the year i which all faculty positios will be filled. That happes whe: ( ) + f() N Thus, all jobs are filled i about years where: log( N + o()) = log( + ) = Θ(logN) This makes sese, sice the umber of professors is icreasig expoetially. For example, N = 0, 000 jobs would all be take i about = 0.8 years. Your TAs do t have a momet to lose! The solutio to the Fiboacci recurrece has a iterestig corollary. The umber: ( + ) φ =

10 0 Recurreces is ofte called the Golde Ratio. We ca write the domiat term i the closed form for the th Fiboacci umber i terms of the φ: f() = φ + o() We ve just show that this expressio ivolvig irratioal umbers is actually very close to a iteger for all large amely, the th Fiboacci umber. This is just oe of may curious properties of the Golde Ratio. Geeral Liear Recurreces The method we used to solve the Fiboacci recurrece ca actually be used to solve ay liear recurrece. Recall that a recurrece is liear if it has the form: f() = a f( ) + a f( ) a d f( d) Substitutig the guess f() = x, as with the Fiboacci recurrece, gives: x = a x + a x a d x d d x = a x d + a x d a d x + a d Dividig the first equatio by x d gives the secod. This secod equatio is called the characteristic equatio of the recurrece. The characteristic equatio ca be read off very quickly sice the coefficiets of the equatio are the same as the coefficiets of the recurrece. The solutios to a liear recurrece are defied by the roots of the characteristic equatio. Neglectig boudary coditios for the momet: If r is a orepeated root of the characteristic equatio, the r is a solutio to the recurrece. If r is a repeated root with multiplicity k, the are all solutios to the recurrece. k r, r, r,..., r Futhermore, Theorem implies that every liear combiatio of these solutios is also a solutio. For example, suppose that the characteristic equatio of a recurrece has roots r, r, ad r twice. These four roots imply four distict solutios: f() = r f() = r f() = r f() = r

11 Recurreces Thus, every liear combiatio is also a solutio. f() = a r + b r + c r + d r All that remais is to fid a solutio cosistet with the boudary coditios by choosig the costats appropriately. Each boudary coditio implies a liear equatio ivolvig these costats. So we ca determie the costats by solvig a system of liear equatios. For example, suppoose our boudary coditios were f(0) = 0, f() =, f() = 4 ad f() = 9. The we would obtai four equatios i four ukows: j 0 f(0) = 0 a r + b r + c r + d 0r = 0 f() = a r + b r + c r + d r = f() = 4 a r + b r + c r + d r = 4 f() = 9 a r + b r + c r + d r = 9 All the asty r i thigs are actually just costats. Solvig this system gives values for a, b, c, ad d that defie a solutio to the recurrece cosistet with the boudary coditios A Example Suppose that there is a type of plat that lives forever, but oly reproduces durig its first year of life. How fast will the plat populatio grow? Notice that this is just the reverse of the graduate studet job problem where faculty reproduce i every year except the first. Let f() be the umber of plats i year. As boudary coditios, defie f(0) = 0 ad f() =. Now the plat populatio i year is equal to the populatio from the year before plus the umber of ew plats. The populatio from the year before is f( ). Ad the umber of ew plats this year is equal to the umber of ew plats last year, which is f( ) f( ). Puttig these observatios together, we ca form a recurrece equatio for the plat populatio: f() = f( ) + (f( ) f( )) = f( ) f( ) The characteristic equatio is x x + = 0, which has the sigle root x = with multiplicity. Therefore, the solutio to the recurrece has the form: f() = c () + c () = c + c The boudary coditios imply two liear equatios i two ukows: f(0) = 0 c + c (0) = 0 f() = c + c () =

12 Recurreces The solutio to the liear system is c = 0, c =. Therefore, the solutio to the recurrece is: f() = c + c = 0 + () = The aswer turs out to be very simple! I year, there are exactly plats. Of course, we probably could have solved this problem more easily with guess ad verify. But, as the Fiboacci recurrece demostrated, guessig is ot always so easy. 4 Ihomogeeous Recurreces We ca ow solve all recurreces of the form: f() = a f( ) + a f( ) a d f( d) Strictly speakig, this is the family of homogeeous liear recurreces. Addig a extra, arbitrary fuctio g() o the right side gives the geeral form of a ihomogeeous liear recurrece: f() = a f( ) + a f( ) a d f( d) + g() For example, addig + to the Fiboacci recurrece gives a ihomogeeous liear recurrece: f() = f( ) + f( ) + Solvig ihomogeous liear recurreces is either very differet or very difficult. We ca divide the whole job ito three steps.. Replace g() by 0 ad solve the resultig homogeeous recurrece as before. (Igore boudary coditios for ow; that is, do ot solve for costats c, c,..., c d yet.) The solutio to the homogeeous recurrece is called the homogeeous solutio.. Now restore g() ad fid a sigle solutio to the recurrece, agai igorig boudary coditios. This is called the particular solutio. There are geeral methods for fidig particular solutios, but we advise you to use guess ad verify. I a momet, we ll explai how to guess wisely.. Add the homogeeous ad particular solutios together to obtai the geeral solutio. Now use the boudary coditios to determie costats by the usual method of geeratig ad solvig a system of liear equatios. If you ve studied differetial equatios, the all this probably souds quite familiar. If you have t, the whe you do get aroud to studyig differetial equatios they should seem quite familiar.

13 Recurreces 4. A Example Let s demostrate the method for solvig a ihomogeous liear recurrece o this example: f() = f() = 4f( ) + Step : Solve the Homogeeous Recurrece The homogeeous recurrece is f() = 4f( ). The characteristic equatio is x 4 = 0. The oly root is x = 4. Therefore, the homogeeous solutio is f() = c4. Step : Fid a Particular Solutio Now we must fid a sigle solutio to the full recurrece f() = 4f( ) +. Let s guess that there is a solutio of the form d, where d is a costat. Substitutig this guess ito the recurrece gives: d = 4d + d = 4d + d = Evidetly, f() = = + is a particular solutio. Step : Add Solutios ad Fid Costats We ow add the homogeeous solutio ad the particular solutio to obtai the geeral solutio: f() = c4 + The boudary coditio gives the value of the costat c: f() = c4 + = c = Therefore, the solutio to the recurrece is f() = 4 +. Piece of cake! Sice we could easily have made a mistake, let s check to make sure that our solutio at least works for =. From the recurrece, f() = 4f() + =. From our closed form, f() = 4 = 40 7 =. It looks right!

14 4 Recurreces 4. How to Guess a Particular Solutio The hardest part of solvig ihomogeeous recurreces is fidig a particular solutio. This ivolves guessig, ad you might guess wrog. However, some rules of thumb make this job fairly easy most of the time. Geerally, look for a particular solutio with the same form as the ihomogeeous term g(). If g() is a costat, the guess a particular solutio f() = c. If this does t work, try f() = b + c, the f() = a + b + c, etc. More geerally, if g() is a polyomial, try a polyomial of the same degree, the a polyomial of degree oe higher, the two higher, etc. For example, if g() = 6+, the try f() = b + c ad the f() = a + b + c. If g() is a expoetial, such as, the first guess that f() = c. Failig that, try f() = b + c ad the a + b + c, etc.

15 Recurreces Short Guide to Solvig Liear Recurreces A liear recurrece is a equatio f() = a f( ) + a f( ) a d f( d) +g() }{{}}{{} homogeeous part ihomogeeous part together with boudary coditios such as f(0) = b 0, f() = b, etc.. Fid the roots of the characteristic equatio: x = a x + a x a k. Write dow the homogeeous solutio. Each root geerates oe term ad the homoge r r, eous solutio is the sum of these terms. A orepeated root r geerates the term c where c r is a costat to be determied later. A root r with multiplicity k geerates the terms: c r r, c r r, c r r,..., rk c k r where c r,..., c r k are costats to be determied later.. Fid a particular solutio. This is a solutio to the full recurrece that eed ot be cosistet with the boudary coditios. Use guess ad verify. If g() is a polyomial, try a polyomial of the same degree, the a polyomial of degree oe higher, the two higher, etc. For example, if g() =, the try f() = b+c ad the f() = a +b+c. If g() is a expoetial, such as, the first guess that f() = c. Failig that, try f() = b + c ad the a + b + c, etc. 4. Form the geeral solutio, which is the sum of the homogeeous solutio ad the particular solutio. Here is a typical geeral solutio: f() = c + d( ) + + }{{}}{{} homogeeous solutio particular solutio. Substitute the boudary coditios ito the geeral solutio. Each boudary coditio gives a liear equatio i the ukow costats. For example, substitutig f() = ito the geeral solutio above gives: = c + d ( ) + + = c d Determie the values of these costats by solvig the resultig system of liear equatios.

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

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

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

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

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

S. Tanny MAT 344 Spring 1999. be the minimum number of moves required.

S. Tanny MAT 344 Spring 1999. be the minimum number of moves required. S. Tay MAT 344 Sprig 999 Recurrece Relatios Tower of Haoi Let T be the miimum umber of moves required. T 0 = 0, T = 7 Iitial Coditios * T = T + $ T is a sequece (f. o itegers). Solve for T? * is a recurrece,

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

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

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

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

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

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

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

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

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

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

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

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

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

A Recursive Formula for Moments of a Binomial Distribution

A Recursive Formula for Moments of a Binomial Distribution A Recursive Formula for Momets of a Biomial Distributio Árpád Béyi beyi@mathumassedu, Uiversity of Massachusetts, Amherst, MA 01003 ad Saverio M Maago smmaago@psavymil Naval Postgraduate School, Moterey,

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

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

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

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

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

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

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 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

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

2-3 The Remainder and Factor Theorems

2-3 The Remainder and Factor Theorems - The Remaider ad Factor Theorems Factor each polyomial completely usig the give factor ad log divisio 1 x + x x 60; x + So, x + x x 60 = (x + )(x x 15) Factorig the quadratic expressio yields x + x x

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

.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

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

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

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

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

Solutions to Exercises Chapter 4: Recurrence relations and generating functions

Solutions to Exercises Chapter 4: Recurrence relations and generating functions Solutios to Exercises Chapter 4: Recurrece relatios ad geeratig fuctios 1 (a) There are seatig positios arraged i a lie. Prove that the umber of ways of choosig a subset of these positios, with o two chose

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

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 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

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

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

AP Calculus AB 2006 Scoring Guidelines Form B

AP Calculus AB 2006 Scoring Guidelines Form B AP Calculus AB 6 Scorig Guidelies Form B The College Board: Coectig Studets to College Success The College Board is a ot-for-profit membership associatio whose missio is to coect studets to college success

More information

Factoring x n 1: cyclotomic and Aurifeuillian polynomials Paul Garrett <garrett@math.umn.edu>

Factoring x n 1: cyclotomic and Aurifeuillian polynomials Paul Garrett <garrett@math.umn.edu> (March 16, 004) Factorig x 1: cyclotomic ad Aurifeuillia polyomials Paul Garrett Polyomials of the form x 1, x 3 1, x 4 1 have at least oe systematic factorizatio x 1 = (x 1)(x 1

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

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

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

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

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

Multiple Representations for Pattern Exploration with the Graphing Calculator and Manipulatives

Multiple Representations for Pattern Exploration with the Graphing Calculator and Manipulatives Douglas A. Lapp Multiple Represetatios for Patter Exploratio with the Graphig Calculator ad Maipulatives To teach mathematics as a coected system of cocepts, we must have a shift i emphasis from a curriculum

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

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

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

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

Modified Line Search Method for Global Optimization

Modified Line Search Method for Global Optimization Modified Lie Search Method for Global Optimizatio Cria Grosa ad Ajith Abraham Ceter of Excellece for Quatifiable Quality of Service Norwegia Uiversity of Sciece ad Techology Trodheim, Norway {cria, ajith}@q2s.tu.o

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

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

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

Factors of sums of powers of binomial coefficients

Factors of sums of powers of binomial coefficients ACTA ARITHMETICA LXXXVI.1 (1998) Factors of sums of powers of biomial coefficiets by Neil J. Cali (Clemso, S.C.) Dedicated to the memory of Paul Erdős 1. Itroductio. It is well ow that if ( ) a f,a = the

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

SEQUENCES AND SERIES

SEQUENCES AND SERIES Chapter 9 SEQUENCES AND SERIES Natural umbers are the product of huma spirit. DEDEKIND 9.1 Itroductio I mathematics, the word, sequece is used i much the same way as it is i ordiary Eglish. Whe we say

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

BINOMIAL EXPANSIONS 12.5. In this section. Some Examples. Obtaining the Coefficients

BINOMIAL EXPANSIONS 12.5. In this section. Some Examples. Obtaining the Coefficients 652 (12-26) Chapter 12 Sequeces ad Series 12.5 BINOMIAL EXPANSIONS I this sectio Some Examples Otaiig the Coefficiets The Biomial Theorem I Chapter 5 you leared how to square a iomial. I this sectio you

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

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

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

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

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

INVESTMENT PERFORMANCE COUNCIL (IPC)

INVESTMENT PERFORMANCE COUNCIL (IPC) INVESTMENT PEFOMANCE COUNCIL (IPC) INVITATION TO COMMENT: Global Ivestmet Performace Stadards (GIPS ) Guidace Statemet o Calculatio Methodology The Associatio for Ivestmet Maagemet ad esearch (AIM) seeks

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

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

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

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

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

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

Theorems About Power Series

Theorems About Power Series Physics 6A Witer 20 Theorems About Power Series Cosider a power series, f(x) = a x, () where the a are real coefficiets ad x is a real variable. There exists a real o-egative umber R, called the radius

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

Chapter 5 Unit 1. IET 350 Engineering Economics. Learning Objectives Chapter 5. Learning Objectives Unit 1. Annual Amount and Gradient Functions

Chapter 5 Unit 1. IET 350 Engineering Economics. Learning Objectives Chapter 5. Learning Objectives Unit 1. Annual Amount and Gradient Functions Chapter 5 Uit Aual Amout ad Gradiet Fuctios IET 350 Egieerig Ecoomics Learig Objectives Chapter 5 Upo completio of this chapter you should uderstad: Calculatig future values from aual amouts. Calculatig

More information

FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10

FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10 FOUNDATIONS OF MATHEMATICS AND PRE-CALCULUS GRADE 10 [C] Commuicatio Measuremet A1. Solve problems that ivolve liear measuremet, usig: SI ad imperial uits of measure estimatio strategies measuremet strategies.

More information

Lesson 15 ANOVA (analysis of variance)

Lesson 15 ANOVA (analysis of variance) Outlie Variability -betwee group variability -withi group variability -total variability -F-ratio Computatio -sums of squares (betwee/withi/total -degrees of freedom (betwee/withi/total -mea square (betwee/withi

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

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

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

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

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets

BENEFIT-COST ANALYSIS Financial and Economic Appraisal using Spreadsheets BENEIT-CST ANALYSIS iacial ad Ecoomic Appraisal usig Spreadsheets Ch. 2: Ivestmet Appraisal - Priciples Harry Campbell & Richard Brow School of Ecoomics The Uiversity of Queeslad Review of basic cocepts

More information

Mathematical goals. Starting points. Materials required. Time needed

Mathematical goals. Starting points. Materials required. Time needed Level A1 of challege: C A1 Mathematical goals Startig poits Materials required Time eeded Iterpretig algebraic expressios To help learers to: traslate betwee words, symbols, tables, ad area represetatios

More information

I. Why is there a time value to money (TVM)?

I. Why is there a time value to money (TVM)? Itroductio to the Time Value of Moey Lecture Outlie I. Why is there the cocept of time value? II. Sigle cash flows over multiple periods III. Groups of cash flows IV. Warigs o doig time value calculatios

More information

Solutions to Selected Problems In: Pattern Classification by Duda, Hart, Stork

Solutions to Selected Problems In: Pattern Classification by Duda, Hart, Stork Solutios to Selected Problems I: Patter Classificatio by Duda, Hart, Stork Joh L. Weatherwax February 4, 008 Problem Solutios Chapter Bayesia Decisio Theory Problem radomized rules Part a: Let Rx be the

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

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

7.1 Finding Rational Solutions of Polynomial Equations

7.1 Finding Rational Solutions of Polynomial Equations 4 Locker LESSON 7. Fidig Ratioal Solutios of Polyomial Equatios Name Class Date 7. Fidig Ratioal Solutios of Polyomial Equatios Essetial Questio: How do you fid the ratioal roots of a polyomial equatio?

More information

Time Value of Money. First some technical stuff. HP10B II users

Time Value of Money. First some technical stuff. HP10B II users Time Value of Moey Basis for the course Power of compoud iterest $3,600 each year ito a 401(k) pla yields $2,390,000 i 40 years First some techical stuff You will use your fiacial calculator i every sigle

More information

Chair for Network Architectures and Services Institute of Informatics TU München Prof. Carle. Network Security. Chapter 2 Basics

Chair for Network Architectures and Services Institute of Informatics TU München Prof. Carle. Network Security. Chapter 2 Basics Chair for Network Architectures ad Services Istitute of Iformatics TU Müche Prof. Carle Network Security Chapter 2 Basics 2.4 Radom Number Geeratio for Cryptographic Protocols Motivatio It is crucial to

More information

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL.

Annuities Under Random Rates of Interest II By Abraham Zaks. Technion I.I.T. Haifa ISRAEL and Haifa University Haifa ISRAEL. Auities Uder Radom Rates of Iterest II By Abraham Zas Techio I.I.T. Haifa ISRAEL ad Haifa Uiversity Haifa ISRAEL Departmet of Mathematics, Techio - Israel Istitute of Techology, 3000, Haifa, Israel I memory

More information

Partial Di erential Equations

Partial Di erential Equations Partial Di eretial Equatios Partial Di eretial Equatios Much of moder sciece, egieerig, ad mathematics is based o the study of partial di eretial equatios, where a partial di eretial equatio is a equatio

More information

LECTURE 13: Cross-validation

LECTURE 13: Cross-validation LECTURE 3: Cross-validatio Resampli methods Cross Validatio Bootstrap Bias ad variace estimatio with the Bootstrap Three-way data partitioi Itroductio to Patter Aalysis Ricardo Gutierrez-Osua Texas A&M

More information

SEQUENCES AND SERIES CHAPTER

SEQUENCES AND SERIES CHAPTER CHAPTER SEQUENCES AND SERIES Whe the Grat family purchased a computer for $,200 o a istallmet pla, they agreed to pay $00 each moth util the cost of the computer plus iterest had bee paid The iterest each

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

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

CURIOUS MATHEMATICS FOR FUN AND JOY

CURIOUS MATHEMATICS FOR FUN AND JOY WHOPPING COOL MATH! CURIOUS MATHEMATICS FOR FUN AND JOY APRIL 1 PROMOTIONAL CORNER: Have you a evet, a workshop, a website, some materials you would like to share with the world? Let me kow! If the work

More information