Sequences and Summation
|
|
- Noreen Stewart
- 6 years ago
- Views:
Transcription
1 Sequeces ad Summatio
2 Sequeces Iformally, a sequece is a ifiite progressio of objects (usually umbers), cosistig of a first, a secod, a third, ad so o. The members of a sequece are called elemets or terms. Example sequece: 2,4,6,8,0, It is customary to deote sequeces with the letters a, b, c ad to use subscript otatio to refer to idividual terms: a is the th term of the sequece a. The otatio {a } refers to the etire sequece, ot to the set of the terms. A sequece is a ordered list, whereas a set is a uordered collectio of objects. Example: if {a } = 2,4,6,8,0, the a 0 = 2, a = 4. To simplify some of the formulas, the idex will always start with = 0 i this presetatio. So for us, the iitial term of the sequece is a 0 - the zeroth term. This choice comes at a price. Speakig of the first term of the sequece is ow ambiguous. Is it a 0, or is it a? I the rigorous sese defied above - a is the th term of the sequece the first term is a. I a colloquial sese, where first is take as a syoym for iitial the first term is a 0. [Because of these difficulties, may mathematicias prefer the more atural oebased idexig or umberig where the iitial elemet is a ad there is ever ay cofusio what is meat by the first term of a sequece. ]
3 Zero vs Oe-Based Idexig i Programmig The disagreemet amog mathematicias over whether the atural umbers should iclude zero or ot ad whether the first elemet of a sequece is the first or the zeroth - is reflected i a correspodig disagreemet amog programmig laguages cocerig the proper idexig of arrays. I the C family of programmig laguages, as well as i Pytho, Javascript, Ruby ad may others, array idices start at zero. Therefore, if you have a array declared by it umbers[0]; the proper way of loopig through these elemets is for(it i=0; i < 0; i++) umbers[i]. Tryig to access or assig a value to umber[0] is a illegal operatio. Other programmig laguages use oe-based idexig. This icludes prehistoric oes such as COBOL ad Fortra, but also ewer ad almost popular oes like Lua. The Wolfram ad MATLAB laguages are also oe-based.
4 How ot to defie a sequece O a previous slide, we defied a sequece by givig the first 5 terms ad expected that a reasoable reader would uderstad that we mea the sequece of positive eve umbers. This way of defiig a sequece, by givig fiitely may terms of it ad expectig the reader to recogize a patter i them is mathematically idefesible because there is always more tha oe coceivable patter to cotiue a sequece, ad, more importatly, a sequece does ot have to fit ay patter i the first place. Each term is idepedet from all other terms ad ca assume ay value. Give {a } =,2,3, {a } could be the sequece that repeats these 3 umbers i perpetuity: {a } =,2,3,,2,3, or {a } could be costat after the third term: {a } =,2,3,7,7,7,7, If you thik that these examples are far-fetched ad exaggerate the issue of misuderstadig, cosider the followig example: {a } =,2,4, could represet {a } =,2,4, 8, 6, 32, 64, (each term is double the previous) but also {a } =,2,4, 7,,6, where the th term plus produces the ext term, for all.
5 Defiig a sequece properly A proper defiitio of a sequece requires us to defie all terms, ot just fiitely may of them. This ca be doe i two ways, directly ad recursively. (We will discuss recursive defiitio later i this presetatio). A direct defiitio gives each a as a fuctio of. We ofte just give a equatio for a without botherig to quatify the for all N 0. Examples: a = 2 is the sequece of oegative eve umbers. a = 2 is the sequeces of squares. a = 2 is the sequece of powers of 2 that are itegers.
6 Sequeces as Fuctios Techically, a sequece is a special kid of fuctio, amely a fuctio whose domai is N 0. Therefore, we could use stadard fuctio otatio to represet sequeces ad write f() istead a, but we use the latter for reasos of traditio.
7 Arithmetic sequeces A sequece that has a costat differece betwee successive terms is called arithmetic. A arithmetic sequece has the form a, a + d, a + 2d, a + 3d, a + 4d, Where a is the first term ad d is the commo differece betwee successive terms. The geeral formula is a = a + d. (Importat: that s the geeral formula assumig zero-based umberig. Thik about what the correct formula is for oe-based umberig.) A arithmetic sequece is just a liear fuctio with a domai restricted to the atural umbers. Example: a = + 2 is arithmetic with a = ad d = 2.
8 Geometric Sequeces A sequece that has a costat quotiet betwee successive terms is called geometric. A geometric sequece has the form a, aq, aq 2, aq 3, Where a is the first term ad q is the commo quotiet betwee successive terms. The geeral formula is a = aq. Agai, that formula is oly correct for zero-based umberig. Thik about what the formula is for oe-based umberig. A geometric sequece is just a expoetial fuctio with a domai restricted to the atural umbers. Example: a = 3 2 is arithmetic with a = 3 ad q = 2.
9 Recursive Defiitio A recursive defiitio gives each term of a sequece as a fuctio of previous sequece terms: a = f(a, a 2,, a k ) This equatio is called a recurrece relatio, or more precisely, a k-step recurrece relatio. A recursive defiitio ivolvig a k-step recurrece relatio requires the values of the first k terms: a 0, a,, a k. These values are called the iitial coditios. For example, a = a + 2 ad a 0 = 0 defies the sequece of oegative eve umbers recursively. The equatio a = a + 2 is the recurrece relatio. Each arithmetic sequece a = a + d has the recursive defiitio a = a + d, a 0 = a. Each geometric sequece a = aq has the recursive defiitio a = qa, a 0 = a. These three recursive defiitios all ivolve -step relatios.
10 Efficietly Computig Arithmetic Sequeces () Suppose you eed to sample [,3] [2,5], i.e. the rectagle i R 2 cosistig of the poits (x,y) where x goes from to 3 ad y goes from 2 to 5. You decide to create a regular grid by subdividig each iterval ito N smaller parts, ad the you loop over all the grid poits as follows: for(=0;<=n;++) for(m=0;m<=n;m++) { x = + (3-)/N*; y = 2 + (5-2)/N*m; procedure(x,y); } If N is large ad the procedure to be carried out is ot particularly expesive computatioally, the the total ruig time of these ested loops may well be domiated by the repetitive liear trasformatios that compute x from ad y from m. A first speedup is gaied by the realizatio that x does ot chage i the ier loop because it oly depeds o the outer loopig variable. Additioally, there is o reaso to re-compute the slopes of the two liear fuctios x() = + (3-)/N * y() = 2 + (5-2)/N* m agai ad agai. It is more efficiet to compute the slopes oce ad for all at the begiig of the program. Based o this, we optimize our program as follows:
11 Efficietly Computig Arithmetic Optimized program: Sequeces (2) Sx = 2/N; Sy = 3/N; for(=0;<=n;++) { x = + Sx*; for(m=0;m<=n;m++) { y = 2 + Sy*m; procedure(x,y); } } This is better, but still requires oe additio ad oe multiplicatio i each ier loop, ot coutig what the procedure might do with x ad y.
12 Efficietly Computig Arithmetic Sequeces (3) We ca save the multiplicatios by realizig that x() = + Sx* ad y() = 2 + Sy*m are arithmetic sequeces with first terms ad 3, ad costat differeces Sx ad Sy. We ca get each x from the previous by addig Sx, ad each y from the previous by addig Sy, i.e. by usig the recursive defiitios of the sequeces. We just eed to make sure we iitialize x ad y with the correct values x just oce, ad y oce i each outer loop. Sx = 2/N; Sy = 3/N; x = ; for(=0;<=n;++) { y = 2; for(m=0;m<=n;m++) { procedure(x,y); y += Sy; } x += Sx; } The program with this fial optimizatio is prited o the right.
13 A Example of a Multi-Step Recurrece Relatio The Fiboacci Sequece is the sequece {f } defied by the iitial coditios f 0 =, f = ad the recurrece relatio f = f + f 2 for = 2,3,4, : f =,,2,3,5,8,3,2,34,55, f = f + f 2 is a two-step recurrece.
14 Computig The Fiboacci Sequece: A Cautioary Tale about Recursio (I) Not every recursio leds itself directly to a computatioally efficiet recursive implemetatio. Based o the recursive defiitio of the Fiboacci sequece, some studets will implemet the sequece as give i the box o the right. it F(it ) { if (==0) or (==) retur ; else retur F(-)+F(-2); } If you ru this code, you will fid that it produces the first few terms of the sequece just fie. But oce the values get eve moderately large, the fuctio takes a log time to complete. That is because this implemetatio is t just a little iefficiet. It is disastrously, mostrously, iefficiet. The problem is that the recursive computatio of F(-) requires the full recursive computatio of F(-2), which is the repeated agai to compute F(-2). This iefficiecy compouds itself ad causes this fuctio to require a umber of additios that expoetially icreases with.
15 Computig The Fiboacci Sequece: A Cautioary Tale about Recursio (II) Cosider how our fuctio computes F(5). I the recursio tree, the etire F(3) tree gets idepedetly computed twice, which subsequetly causes the F(2) tree to get computed three times. The total umber of additios is 7, whe really oly 4 additios were eeded: F(4) F(5) F(3) F(3) F(2) F(2) F() F(2) = F() + F(0), F(3) = F(2) + F(), F(4) = F(3) + F(2), F(5) = F(4) + F(3). F() F(2) F() F() F(0) F() F(0) F(0)
16 Computig The Fiboacci Sequece: A Cautioary Tale about Recursio (III) It is ot difficult to come up with a recursive formula for computig the umber of additios required by our iefficiet recursive algorithm. The computatio of each F() requires the full ad idepedet computatio of F(-) ad F(-2), followed by a additio. Therefore, if we let N() be the umber of additios required to compute F(), the N() = N(-) + N(-2) +, with N() = N(0) = 0. F(-) Usig this formula, we ca determie, for example, that computig F(00) usig our iefficiet recursive algorithm requires 573,47,844,03,87,084,00 additios. A Itel Core i7 6950X ruig at 3 Ghz would take about 57 years to carry out this may additios. A efficiet, iterative algorithm that loops the recursio formula by repeatedly addig the last two terms together to compute the ext oe oly requires 99 additios to compute F(00). F() F(-2)
17 Summatio The sigma otatio is a coveiet way to express legthy sums that follow a patter: N f(k) = f + f f(n) k= The idex variable k always rus from the iteger to the iteger N i steps of. Examples: 5 8 k 2 = k = k=4 5 k 2 = Sice the terms i a sum ca be arbitrarily rearraged, ad commo multiplicative costats ca be factored out, we have the geeral laws N f k + g(k) = f(k) + g(k) k= k= k= N N N cf k = c f k. k= k= N
18 Sums of Cosecutive Itegers There is a coveiet summatio formula available for the sum of the first positive itegers: + k = ( ) + = 2 Such a formula for a sigma sum is kow as a closed form formula. For eve, this formula has a simple explaatio. The first ad the last term have a sum of +. The secod ad the secod-to-last term also have a sum of +, ad so o. Sice there are + such pairs, the sum is. The formula is also valid for odd 2 2. Thik about how this explaatio eeds to be adjusted for that case. Examples: = 00 k= k = k k = = 50 0 =
19 The idex variable i a sigma sum is ivisible to the outside! Later, whe we study proofs of summatio formulas by iductio, we will eed to cosider sequeces defied by sigma sums, such as a = k. Observe that a is a fuctio of aloe. It is ot a fuctio of k. k is like a local variable used i a fuctio i a computer program that is used to compute the output, but ivisible to the outside. Evaluatig this a for differet values meas chagig the upper limit i the summatio oly, while leavig the lower idex ad the expressio of what is beig summed aloe. For example, + a + = k. The followig equatios are icorrect: + a + = (k + ), + a + = (k + ) k=2
20 Applicatio to Arithmetic Sums Usig the summatio formula we just leared, we ca evaluate all arithmetic sums, i.e. all sums of the form ( + ) (a + kd) = a + d k = a + d 2 Example: 00 (2 + 3k) =
21 Sums of Cosecutive Squares Summatio formulas are also available for the sum of the squares ad cubes of the first positive itegers: k 2 = = + (2 + ) k 3 = = Such formulas for σ k p exist, i fact, for all positive itegers p. Example: =
22 The Laws of Arithmetic Have Not Bee Repealed Just Because We Are Usig The Sigma Symbol For Sums Some studets are tempted to simplify sigma sums of products as the product of the sums, like this: k(k + ) = k (k + ) This is bad algebra which igores the distributive law. (a+b)(x+y) is ot ax + by. Whe you distribute o the right side, you multiply every term i k sum by every term i the k+ sum (a total of 2 terms), ot just correspodig terms with each other. The correct simplificatio here is to distribute k(k + ) : k(k + ) = k 2 + k = k 2 + k.
23 Let us cosider aother summatio example: Idex Shiftig 50 (k + ) 2 = Sice we have a summatio formula for the k 2, we could evaluate this sum by expadig (k + ) 2 ito k 2 + 2k + : 50 (k + ) 2 = k k + = = There is a better way though, which is to perform a idex shift. Idex shiftig meas to icrease the limits of the idex variable k by some iteger costat c ad simultaeously substitute k c for k i the expressio beig summed: N f(k) = k= N+c k=+c f(k c) If we apply a idex shift with c = to our example sum, we get (k + ) 2 = k 2 = k 2 = k= = 45525
24 Geometric Sums We shall determie a summatio formula that helps us evaluate geometric sums, i.e. sums of the form aq k Sice the costat multiplier a ca be factored out, we oly require a formula for k=0 q k = + q + q q k=0 Let us multiply that expressio by q ad distribute: + q + q q q = q + q q + q q Every positive term here is caceled by a egative term, except for two terms that remai: If q, we ca divide by q ad obtai For q =, + q + q q =. + q + q q q = q + k=0 q k = q+ q
25 Geometric Sums II To evaluate a geometric sum where the expoet does ot start at zero, we could use the differece approach we have already ecoutered earlier: N k= N q k = k=0 q k k=0 There is a better way, however. We factor out the commo highest factor of q, which is q ad the perform a idex shift: q k N k= N q k = q k= N q k = q k=0 q k = q qn + q = qn+ q q
26 Geometric Sums III Let us work a more complex example of a summatio ivolvig the geometric sum k+ k= k 3 5 3k = 5 3k 5 = 5 25 k = 5 k=5 k=5 k= k k We ow use the formula we just discovered to evaluate: 20 5 k= k =
27 The geometric series () If we let i the geometric sum σ k=0 series: k=0 q k q k, we obtai the geometric Techically, this quatity is the limit of the geometric sums as. It is a calculus fact that we shall ot explai that this limit oly exists whe q <. I that case, the limit of q + as is zero. Therefore, k=0 q k q + = lim q = q for q <. Example: = the form.. = 0.) 2 = 2. (I biary, this equatio takes
28 The geometric series (2) Just like i the case of geometric sums, we ca hadle geometric series that do t start with a power of 0, by factorig out the first power ad the idex shiftig the remaiig series: k=k q k = q K k=k q k K = q K The we use the kow summatio formula to obtai k=k q k = qk q k=0 for q <. Observe that the umerator i this formula is just the first term of the series. Example: = =. (I biary, this equatio takes the form = 0..) q k
29 Geometric Series ad Ifiite Repeatig Decimal Expasios () You might already have realized by ow that ifiite, repeatig decimal expasios are all actually geometric series. Here is a famous decimal example: k = 9 = =. 0 Geerally, whe you have a base-b umber that starts with 0., followed by ifiitely may digits (b-), that umber equals. For example, i biary, 0. =. I octal, =. I hexadecimal, 0.FFFFFFFF =.
30 Geometric Series ad Ifiite Repeatig Decimal Expasios (2) If a patter of more tha oe digit repeats ifiitely, we ca also evaluate the umber usig the geometric series, thereby turig it ito a fractio. Example (i decimal): = = = = k = = = = We could use the geometric series to prove the geeral formula: if s = a a is a fiite sequece of decimal digits, the 0. sssssssss = a a digits
31 A Applicatio of the Geometric Series to Percetage Problems () The price of a product was raised by 2% ad is ow $00. What was the origial price? May studets who first lear percetages will thik that the aswer is 2% less of $00, or $98. This is wrog because of the shiftig baselie: the icrease was 2% of the origial price, ot 2% of the icreased price. Reducig the icreased price by 2% reduces it by too much. The correct origial price must therefore have bee more tha $98. The correct solutio you would lear i a lower-level class is to set up a equatio for the origial price p, takig ito accout that icreasig a quatity by 2% meas multiplyig it by.02: p.02 = $00 From this, it follows that p = $00.02 $98.04 rouded to the earest cet. It turs out that our wrog aswer $98 was actually a fairly good approximatio. This should ot be too much of a surprise sice the percet icrease was small, so the differece betwee 2% of the origial price ad 2% of the icreased price was small as well. The geometric series ca help us uderstad this pheomeo quatitatively.
32 A Applicatio of the Geometric Series to Percetage Problems (2) O the previous page, we saw that the origial price ca be recovered as p = $ Raisig the price by 2% meat multiplyig by.02; u-doig that icrease meat dividig by.02. Dividig by.02 however is ot the same as decreasig the icreased amout by 2%. The geometric series sheds some light o this. Dividig by.02 meas multiplyig by /.02 = /(+0.02) = /(-(-0.02)). The reaso we would write the multiplier that way is because that is the format of the right side of the geometric series: q k = q k=0 It follows that ( 0.02) = Sice the umber 0.02 is small i absolute value, its powers quickly become egligible. Retaiig just the first three terms ad simplifyig, we get the approximatio ( 0.02)
33 A Applicatio of the Geometric Series We foud ( 0.02) to Percetage Problems (3) = 00% 2% % = 00%.96% Remember that this is the multiplier that takes us back to the old price after a 2% icrease was applied. What this formula is sayig is that to recover the old price approximately, we just eed to subtract 2% from the ew price (i.e. apply the popular wrog solutio) ad correct it by addig 0.04% of the ew price. The 0.04% does ot come out of owhere, it s simply the 2% squared. Applied to the ew price of $00, this produces the old price correctly to the earest cet: $00-$2+$0.04=$ The percetage decrease of the old price relative to the ew price as a baselie is.96%. I other words, kowledge of the geometric series empowers you to solve a iverse percetage problem, which ordiarily requires divisio by a decimal fractio ad therefore the use of a calculator, solely with simple arithmetic i your head with sufficiet accuracy, based o the approximatio + x x + x2 = (x x 2 ) for small x. Let us look at oe more problem like this ad apply our shortcut.
34 A Applicatio of the Geometric Series to Percetage Problems (4) What percetage reductio is eeded to udo a 3% icrease? Our approximatio approach produces the aswer 3%-0.09% = 2.9%. (0.09% is , which is 3%=0.03 squared.) The exact aswer is more complicated ad requires a calculator: the multiplier eeded to udo a 3% icrease is = = %. Therefore, the percetage.03 reductio eeded is %. It turs out that our back-of-the-apki aswer 2.9% is a good approximatio.
35 Telescopig Sums Let us cosider k(k + ) = The partial fractio decompositio of k(k+) is By substitutig this idetity ito the sum we get k(k + ) = k k +. k(k + ) = We ca see that all terms i this sum cacel except ad + telescope ad is therefore amed a telescopig sum. Therefore, k(k + ) = +.. The sum collapses like a old-style
Infinite Sequences and Series
Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet
More informationSequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018
CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical
More information4.3 Growth Rates of Solutions to Recurrences
4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.
More informationOnce we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1
. Ifiite Series Oce we have a sequece of umbers, the ext thig to do is to sum them up. Give a sequece a be a sequece: ca we give a sesible meaig to the followig expressio? a = a a a a While summig ifiitely
More information6.3 Testing Series With Positive Terms
6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial
More informationChapter 6 Overview: Sequences and Numerical Series. For the purposes of AP, this topic is broken into four basic subtopics:
Chapter 6 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals (which is what most studets
More informationSequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence
Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece 1, 1, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet
More informationA sequence of numbers is a function whose domain is the positive integers. We can see that the sequence
Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece,, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet as
More information7 Sequences of real numbers
40 7 Sequeces of real umbers 7. Defiitios ad examples Defiitio 7... A sequece of real umbers is a real fuctio whose domai is the set N of atural umbers. Let s : N R be a sequece. The the values of s are
More informationChapter 7: Numerical Series
Chapter 7: Numerical Series Chapter 7 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals
More informationSEQUENCES AND SERIES
Sequeces ad 6 Sequeces Ad SEQUENCES AND SERIES Successio of umbers of which oe umber is desigated as the first, other as the secod, aother as the third ad so o gives rise to what is called a sequece. Sequeces
More informationMathematical Induction
Mathematical Iductio Itroductio Mathematical iductio, or just iductio, is a proof techique. Suppose that for every atural umber, P() is a statemet. We wish to show that all statemets P() are true. I a
More information2.4 - Sequences and Series
2.4 - Sequeces ad Series Sequeces A sequece is a ordered list of elemets. Defiitio 1 A sequece is a fuctio from a subset of the set of itegers (usually either the set 80, 1, 2, 3,... < or the set 81, 2,
More informationSEQUENCES AND SERIES
9 SEQUENCES AND SERIES INTRODUCTION Sequeces have may importat applicatios i several spheres of huma activities Whe a collectio of objects is arraged i a defiite order such that it has a idetified first
More information6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.
6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio
More informationSECTION 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 informationTopic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or
Topic : Sequeces ad Series A sequece is a ordered list of umbers, e.g.,,, 8, 6, or,,,.... A series is a sum of the terms of a sequece, e.g. + + + 8 + 6 + or... Sigma Notatio b The otatio f ( k) is shorthad
More informationMath 113 Exam 3 Practice
Math Exam Practice Exam will cover.-.9. This sheet has three sectios. The first sectio will remid you about techiques ad formulas that you should kow. The secod gives a umber of practice questios for you
More informationRecurrence Relations
Recurrece Relatios Aalysis of recursive algorithms, such as: it factorial (it ) { if (==0) retur ; else retur ( * factorial(-)); } Let t be the umber of multiplicatios eeded to calculate factorial(). The
More informationSection 6.4: Series. Section 6.4 Series 413
ectio 64 eries 4 ectio 64: eries A couple decides to start a college fud for their daughter They pla to ivest $50 i the fud each moth The fud pays 6% aual iterest, compouded mothly How much moey will they
More informationCHAPTER 10 INFINITE SEQUENCES AND SERIES
CHAPTER 10 INFINITE SEQUENCES AND SERIES 10.1 Sequeces 10.2 Ifiite Series 10.3 The Itegral Tests 10.4 Compariso Tests 10.5 The Ratio ad Root Tests 10.6 Alteratig Series: Absolute ad Coditioal Covergece
More informationUNIT #5. Lesson #2 Arithmetic and Geometric Sequences. Lesson #3 Summation Notation. Lesson #4 Arithmetic Series. Lesson #5 Geometric Series
UNIT #5 SEQUENCES AND SERIES Lesso # Sequeces Lesso # Arithmetic ad Geometric Sequeces Lesso #3 Summatio Notatio Lesso #4 Arithmetic Series Lesso #5 Geometric Series Lesso #6 Mortgage Paymets COMMON CORE
More informationThe Growth of Functions. Theoretical Supplement
The Growth of Fuctios Theoretical Supplemet The Triagle Iequality The triagle iequality is a algebraic tool that is ofte useful i maipulatig absolute values of fuctios. The triagle iequality says that
More informationis also known as the general term of the sequence
Lesso : Sequeces ad Series Outlie Objectives: I ca determie whether a sequece has a patter. I ca determie whether a sequece ca be geeralized to fid a formula for the geeral term i the sequece. I ca determie
More informationENGI Series Page 6-01
ENGI 3425 6 Series Page 6-01 6. Series Cotets: 6.01 Sequeces; geeral term, limits, covergece 6.02 Series; summatio otatio, covergece, divergece test 6.03 Stadard Series; telescopig series, geometric series,
More informationUnit 6: Sequences and Series
AMHS Hoors Algebra 2 - Uit 6 Uit 6: Sequeces ad Series 26 Sequeces Defiitio: A sequece is a ordered list of umbers ad is formally defied as a fuctio whose domai is the set of positive itegers. It is commo
More informationRecursive Algorithms. Recurrences. Recursive Algorithms Analysis
Recursive Algorithms Recurreces Computer Sciece & Egieerig 35: Discrete Mathematics Christopher M Bourke cbourke@cseuledu A recursive algorithm is oe i which objects are defied i terms of other objects
More informationCS / MCS 401 Homework 3 grader solutions
CS / MCS 401 Homework 3 grader solutios assigmet due July 6, 016 writte by Jāis Lazovskis maximum poits: 33 Some questios from CLRS. Questios marked with a asterisk were ot graded. 1 Use the defiitio of
More informationMath 155 (Lecture 3)
Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,
More informationSeptember 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1
September 0 s (Edecel) Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright www.pgmaths.co.uk - For AS, A otes ad IGCSE / GCSE worksheets September 0 Copyright
More informationSection 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations
Differece Equatios to Differetial Equatios Sectio. Calculus: Areas Ad Tagets The study of calculus begis with questios about chage. What happes to the velocity of a swigig pedulum as its positio chages?
More informationChapter 6: Numerical Series
Chapter 6: Numerical Series 327 Chapter 6 Overview: Sequeces ad Numerical Series I most texts, the topic of sequeces ad series appears, at first, to be a side topic. There are almost o derivatives or itegrals
More informationRADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify
Example 1 Simplify 1.2A Radical Operatios a) 4 2 b) 16 1 2 c) 16 d) 2 e) 8 1 f) 8 What is the relatioship betwee a, b, c? What is the relatioship betwee d, e, f? If x = a, the x = = th root theorems: RADICAL
More informationIt is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.
MATH 532 Measurable Fuctios Dr. Neal, WKU Throughout, let ( X, F, µ) be a measure space ad let (!, F, P ) deote the special case of a probability space. We shall ow begi to study real-valued fuctios defied
More information3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,
3. Z Trasform Referece: Etire Chapter 3 of text. Recall that the Fourier trasform (FT) of a DT sigal x [ ] is ω ( ) [ ] X e = j jω k = xe I order for the FT to exist i the fiite magitude sese, S = x [
More informationPROPERTIES OF THE POSITIVE INTEGERS
PROPERTIES OF THE POSITIVE ITEGERS The first itroductio to mathematics occurs at the pre-school level ad cosists of essetially coutig out the first te itegers with oe s figers. This allows the idividuals
More informationAppendix: The Laplace Transform
Appedix: The Laplace Trasform The Laplace trasform is a powerful method that ca be used to solve differetial equatio, ad other mathematical problems. Its stregth lies i the fact that it allows the trasformatio
More informationLesson 10: Limits and Continuity
www.scimsacademy.com Lesso 10: Limits ad Cotiuity SCIMS Academy 1 Limit of a fuctio The cocept of limit of a fuctio is cetral to all other cocepts i calculus (like cotiuity, derivative, defiite itegrals
More informationWe are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n
Review of Power Series, Power Series Solutios A power series i x - a is a ifiite series of the form c (x a) =c +c (x a)+(x a) +... We also call this a power series cetered at a. Ex. (x+) is cetered at
More informationIn number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.
Number Theory Math 5840 otes. Sectio 1: Axioms. I umber theory we will geerally be workig with itegers, though occasioally fractios ad irratioals will come ito play. Notatio: Z deotes the set of all itegers
More informationSNAP Centre Workshop. Basic Algebraic Manipulation
SNAP Cetre Workshop Basic Algebraic Maipulatio 8 Simplifyig Algebraic Expressios Whe a expressio is writte i the most compact maer possible, it is cosidered to be simplified. Not Simplified: x(x + 4x)
More informationSigma notation. 2.1 Introduction
Sigma otatio. Itroductio We use sigma otatio to idicate the summatio process whe we have several (or ifiitely may) terms to add up. You may have see sigma otatio i earlier courses. It is used to idicate
More informationINTEGRATION BY PARTS (TABLE METHOD)
INTEGRATION BY PARTS (TABLE METHOD) Suppose you wat to evaluate cos d usig itegratio by parts. Usig the u dv otatio, we get So, u dv d cos du d v si cos d si si d or si si d We see that it is ecessary
More informationAverage-Case Analysis of QuickSort
Average-Case Aalysis of QuickSort Comp 363 Fall Semester 003 October 3, 003 The purpose of this documet is to itroduce the idea of usig recurrece relatios to do average-case aalysis. The average-case ruig
More informationThe picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled
1 Lecture : Area Area ad distace traveled Approximatig area by rectagles Summatio The area uder a parabola 1.1 Area ad distace Suppose we have the followig iformatio about the velocity of a particle, how
More informationInfinite Series and Improper Integrals
8 Special Fuctios Ifiite Series ad Improper Itegrals Ifiite series are importat i almost all areas of mathematics ad egieerig I additio to umerous other uses, they are used to defie certai fuctios ad to
More informationAP Calculus Chapter 9: Infinite Series
AP Calculus Chapter 9: Ifiite Series 9. Sequeces a, a 2, a 3, a 4, a 5,... Sequece: A fuctio whose domai is the set of positive itegers = 2 3 4 a = a a 2 a 3 a 4 terms of the sequece Begi with the patter
More informationMa 530 Infinite Series I
Ma 50 Ifiite Series I Please ote that i additio to the material below this lecture icorporated material from the Visual Calculus web site. The material o sequeces is at Visual Sequeces. (To use this li
More informationDiscrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 22
CS 70 Discrete Mathematics for CS Sprig 2007 Luca Trevisa Lecture 22 Aother Importat Distributio The Geometric Distributio Questio: A biased coi with Heads probability p is tossed repeatedly util the first
More informationInfinite Series. Definition. An infinite series is an expression of the form. Where the numbers u k are called the terms of the series.
Ifiite Series Defiitio. A ifiite series is a expressio of the form uk = u + u + u + + u + () 2 3 k Where the umbers u k are called the terms of the series. Such a expressio is meat to be the result of
More informationStatistics 511 Additional Materials
Cofidece Itervals o mu Statistics 511 Additioal Materials This topic officially moves us from probability to statistics. We begi to discuss makig ifereces about the populatio. Oe way to differetiate probability
More informationSequences. Notation. Convergence of a Sequence
Sequeces A sequece is essetially just a list. Defiitio (Sequece of Real Numbers). A sequece of real umbers is a fuctio Z (, ) R for some real umber. Do t let the descriptio of the domai cofuse you; it
More informationSEQUENCE AND SERIES NCERT
9. Overview By a sequece, we mea a arragemet of umbers i a defiite order accordig to some rule. We deote the terms of a sequece by a, a,..., etc., the subscript deotes the positio of the term. I view of
More informationExponents. Learning Objectives. Pre-Activity
Sectio. Pre-Activity Preparatio Epoets A Chai Letter Chai letters are geerated every day. If you sed a chai letter to three frieds ad they each sed it o to three frieds, who each sed it o to three frieds,
More informationCALCULATION OF FIBONACCI VECTORS
CALCULATION OF FIBONACCI VECTORS Stuart D. Aderso Departmet of Physics, Ithaca College 953 Daby Road, Ithaca NY 14850, USA email: saderso@ithaca.edu ad Dai Novak Departmet of Mathematics, Ithaca College
More informationAnalysis of Algorithms. Introduction. Contents
Itroductio The focus of this module is mathematical aspects of algorithms. Our mai focus is aalysis of algorithms, which meas evaluatig efficiecy of algorithms by aalytical ad mathematical methods. We
More information2.4 Sequences, Sequences of Sets
72 CHAPTER 2. IMPORTANT PROPERTIES OF R 2.4 Sequeces, Sequeces of Sets 2.4.1 Sequeces Defiitio 2.4.1 (sequece Let S R. 1. A sequece i S is a fuctio f : K S where K = { N : 0 for some 0 N}. 2. For each
More informationProperties and Tests of Zeros of Polynomial Functions
Properties ad Tests of Zeros of Polyomial Fuctios The Remaider ad Factor Theorems: Sythetic divisio ca be used to fid the values of polyomials i a sometimes easier way tha substitutio. This is show by
More informationRoberto s Notes on Series Chapter 2: Convergence tests Section 7. Alternating series
Roberto s Notes o Series Chapter 2: Covergece tests Sectio 7 Alteratig series What you eed to kow already: All basic covergece tests for evetually positive series. What you ca lear here: A test for series
More informationw (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.
2 5. Weighted umber of late jobs 5.1. Release dates ad due dates: maximimizig the weight of o-time jobs Oce we add release dates, miimizig the umber of late jobs becomes a sigificatly harder problem. For
More informationEssential Question How can you recognize an arithmetic sequence from its graph?
. Aalyzig Arithmetic Sequeces ad Series COMMON CORE Learig Stadards HSF-IF.A.3 HSF-BF.A. HSF-LE.A. Essetial Questio How ca you recogize a arithmetic sequece from its graph? I a arithmetic sequece, the
More informationChapter 6. Advanced Counting Techniques
Chapter 6 Advaced Coutig Techiques 6.: Recurrece Relatios Defiitio: A recurrece relatio for the sequece {a } is a equatio expressig a i terms of oe or more of the previous terms of the sequece: a,a2,a3,,a
More informationP.3 Polynomials and Special products
Precalc Fall 2016 Sectios P.3, 1.2, 1.3, P.4, 1.4, P.2 (radicals/ratioal expoets), 1.5, 1.6, 1.7, 1.8, 1.1, 2.1, 2.2 I Polyomial defiitio (p. 28) a x + a x +... + a x + a x 1 1 0 1 1 0 a x + a x +... +
More informationRoberto s Notes on Infinite Series Chapter 1: Sequences and series Section 3. Geometric series
Roberto s Notes o Ifiite Series Chapter 1: Sequeces ad series Sectio Geometric series What you eed to kow already: What a ifiite series is. The divergece test. What you ca le here: Everythig there is to
More informationa 3, a 4, ... are the terms of the sequence. The number a n is the nth term of the sequence, and the entire sequence is denoted by a n
60_090.qxd //0 : PM Page 59 59 CHAPTER 9 Ifiite Series Sectio 9. EXPLORATION Fidig Patters Describe a patter for each of the followig sequeces. The use your descriptio to write a formula for the th term
More informationMath 25 Solutions to practice problems
Math 5: Advaced Calculus UC Davis, Sprig 0 Math 5 Solutios to practice problems Questio For = 0,,, 3,... ad 0 k defie umbers C k C k =! k!( k)! (for k = 0 ad k = we defie C 0 = C = ). by = ( )... ( k +
More informationNAME: ALGEBRA 350 BLOCK 7. Simplifying Radicals Packet PART 1: ROOTS
NAME: ALGEBRA 50 BLOCK 7 DATE: Simplifyig Radicals Packet PART 1: ROOTS READ: A square root of a umber b is a solutio of the equatio x = b. Every positive umber b has two square roots, deoted b ad b or
More informationsubcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016
subcaptiofot+=small,labelformat=pares,labelsep=space,skip=6pt,list=0,hypcap=0 subcaptio ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, /6/06. Self-cojugate Partitios Recall that, give a partitio λ, we may
More information4.1 Sigma Notation and Riemann Sums
0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas
More information62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +
62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of
More informationSection 7 Fundamentals of Sequences and Series
ectio Fudametals of equeces ad eries. Defiitio ad examples of sequeces A sequece ca be thought of as a ifiite list of umbers. 0, -, -0, -, -0...,,,,,,. (iii),,,,... Defiitio: A sequece is a fuctio which
More informationChapter 4. Fourier Series
Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,
More informationZeros of Polynomials
Math 160 www.timetodare.com 4.5 4.6 Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered with fidig the solutios of polyomial equatios of ay degree
More informationMAT1026 Calculus II Basic Convergence Tests for Series
MAT026 Calculus II Basic Covergece Tests for Series Egi MERMUT 202.03.08 Dokuz Eylül Uiversity Faculty of Sciece Departmet of Mathematics İzmir/TURKEY Cotets Mootoe Covergece Theorem 2 2 Series of Real
More informationP1 Chapter 8 :: Binomial Expansion
P Chapter 8 :: Biomial Expasio jfrost@tiffi.kigsto.sch.uk www.drfrostmaths.com @DrFrostMaths Last modified: 6 th August 7 Use of DrFrostMaths for practice Register for free at: www.drfrostmaths.com/homework
More informationTEACHER CERTIFICATION STUDY GUIDE
COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra
More informationAPPENDIX F Complex Numbers
APPENDIX F Complex Numbers Operatios with Complex Numbers Complex Solutios of Quadratic Equatios Polar Form of a Complex Number Powers ad Roots of Complex Numbers Operatios with Complex Numbers Some equatios
More informationSequences, Sums, and Products
CSCE 222 Discrete Structures for Computig Sequeces, Sums, ad Products Dr. Philip C. Ritchey Sequeces A sequece is a fuctio from a subset of the itegers to a set S. A discrete structure used to represet
More informationClassification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc)
Classificatio of problem & problem solvig strategies classificatio of time complexities (liear, arithmic etc) Problem subdivisio Divide ad Coquer strategy. Asymptotic otatios, lower boud ad upper boud:
More informationWORKING WITH NUMBERS
1 WORKING WITH NUMBERS WHAT YOU NEED TO KNOW The defiitio of the differet umber sets: is the set of atural umbers {0, 1,, 3, }. is the set of itegers {, 3,, 1, 0, 1,, 3, }; + is the set of positive itegers;
More informationCHAPTER I: Vector Spaces
CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig
More informationMath 172 Spring 2010 Haiman Notes on ordinary generating functions
Math 72 Sprig 200 Haima Notes o ordiary geeratig fuctios How do we cout with geeratig fuctios? May eumeratio problems which are ot so easy to hadle by elemetary meas ca be solved usig geeratig fuctios
More informationMATH 21 SECTION NOTES
MATH SECTION NOTES EVAN WARNER. March 9.. Admiistrative miscellay. These weekly sectios will be for some review ad may example problems, i geeral. Attedace will be take as per class policy. We will be
More informationx a x a Lecture 2 Series (See Chapter 1 in Boas)
Lecture Series (See Chapter i Boas) A basic ad very powerful (if pedestria, recall we are lazy AD smart) way to solve ay differetial (or itegral) equatio is via a series expasio of the correspodig solutio
More information, 4 is the second term U 2
Balliteer Istitute 995-00 wwwleavigcertsolutioscom Leavig Cert Higher Maths Sequeces ad Series A sequece is a array of elemets seperated by commas E,,7,0,, The elemets are called the terms of the sequece
More informationMathematics review for CSCI 303 Spring Department of Computer Science College of William & Mary Robert Michael Lewis
Mathematics review for CSCI 303 Sprig 019 Departmet of Computer Sciece College of William & Mary Robert Michael Lewis Copyright 018 019 Robert Michael Lewis Versio geerated: 13 : 00 Jauary 17, 019 Cotets
More informationPROPERTIES OF AN EULER SQUARE
PROPERTIES OF N EULER SQURE bout 0 the mathematicia Leoard Euler discussed the properties a x array of letters or itegers ow kow as a Euler or Graeco-Lati Square Such squares have the property that every
More information(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3
MATH 337 Sequeces Dr. Neal, WKU Let X be a metric space with distace fuctio d. We shall defie the geeral cocept of sequece ad limit i a metric space, the apply the results i particular to some special
More informationPhysics 116A Solutions to Homework Set #1 Winter Boas, problem Use equation 1.8 to find a fraction describing
Physics 6A Solutios to Homework Set # Witer 0. Boas, problem. 8 Use equatio.8 to fid a fractio describig 0.694444444... Start with the formula S = a, ad otice that we ca remove ay umber of r fiite decimals
More informationMath 2784 (or 2794W) University of Connecticut
ORDERS OF GROWTH PAT SMITH Math 2784 (or 2794W) Uiversity of Coecticut Date: Mar. 2, 22. ORDERS OF GROWTH. Itroductio Gaiig a ituitive feel for the relative growth of fuctios is importat if you really
More informationThe Binomial Theorem
The Biomial Theorem Robert Marti Itroductio The Biomial Theorem is used to expad biomials, that is, brackets cosistig of two distict terms The formula for the Biomial Theorem is as follows: (a + b ( k
More informationCALCULUS BASIC SUMMER REVIEW
CALCULUS BASIC SUMMER REVIEW NAME rise y y y Slope of a o vertical lie: m ru Poit Slope Equatio: y y m( ) The slope is m ad a poit o your lie is, ). ( y Slope-Itercept Equatio: y m b slope= m y-itercept=
More informationPart I: Covers Sequence through Series Comparison Tests
Part I: Covers Sequece through Series Compariso Tests. Give a example of each of the followig: (a) A geometric sequece: (b) A alteratig sequece: (c) A sequece that is bouded, but ot coverget: (d) A sequece
More informationn m CHAPTER 3 RATIONAL EXPONENTS AND RADICAL FUNCTIONS 3-1 Evaluate n th Roots and Use Rational Exponents Real nth Roots of a n th Root of a
CHAPTER RATIONAL EXPONENTS AND RADICAL FUNCTIONS Big IDEAS: 1) Usig ratioal expoets ) Performig fuctio operatios ad fidig iverse fuctios ) Graphig radical fuctios ad solvig radical equatios Sectio: Essetial
More informationSums, products and sequences
Sums, products ad sequeces How to write log sums, e.g., 1+2+ (-1)+ cocisely? i=1 Sum otatio ( sum from 1 to ): i 3 = 1 + 2 + + If =3, i=1 i = 1+2+3=6. The ame ii does ot matter. Could use aother letter
More informationQuantum Computing Lecture 7. Quantum Factoring
Quatum Computig Lecture 7 Quatum Factorig Maris Ozols Quatum factorig A polyomial time quatum algorithm for factorig umbers was published by Peter Shor i 1994. Polyomial time meas that the umber of gates
More informationOPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES
OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES Peter M. Maurer Why Hashig is θ(). As i biary search, hashig assumes that keys are stored i a array which is idexed by a iteger. However, hashig attempts to bypass
More information1. By using truth tables prove that, for all statements P and Q, the statement
Author: Satiago Salazar Problems I: Mathematical Statemets ad Proofs. By usig truth tables prove that, for all statemets P ad Q, the statemet P Q ad its cotrapositive ot Q (ot P) are equivalet. I example.2.3
More informationMath 475, Problem Set #12: Answers
Math 475, Problem Set #12: Aswers A. Chapter 8, problem 12, parts (b) ad (d). (b) S # (, 2) = 2 2, sice, from amog the 2 ways of puttig elemets ito 2 distiguishable boxes, exactly 2 of them result i oe
More informationMath 299 Supplement: Real Analysis Nov 2013
Math 299 Supplemet: Real Aalysis Nov 203 Algebra Axioms. I Real Aalysis, we work withi the axiomatic system of real umbers: the set R alog with the additio ad multiplicatio operatios +,, ad the iequality
More information