Numerical Solution of Equations


 Anissa Nichols
 1 years ago
 Views:
Transcription
1 School of Mechaical Aerospace ad Civil Egieerig Numerical Solutio of Equatios T J Craft George Begg Buildig, C4 TPFE MSc CFD Readig: J Ferziger, M Peric, Computatioal Methods for Fluid Dyamics HK Versteeg, W Malalasekara, A Itroductio to Computatioal Fluid Dyamics: The Fiite Volume Method SV Patakar, Numerical Heat Trasfer ad Fluid Flow Notes:  People  T Craft  Olie Teachig Material Itroductio The NavierStokes equatios are a set of coupled, oliear, partial differetial equatios Solvig these umerically cosists of two steps: Approimatio of the differetial equatios by algebraic oes Solutio of the system of algebraic equatios Before cosiderig how to approimate ad solve such systems, it is useful to review briefly how we use umerical methods for approimate solutios of sigle oliear algebraic equatios These are relevat, sice the differece equatios we obtai from discretizig the NavierStokes equatios are oliear Sice most solutio methods for oliear equatios are iterative, this itroduces a umber of cocepts ad geeric treatmets that will also be met later whe dealig with iterative solutio methods for large sets of coupled equatios Numerical Solutio of Equatios 00/ / 8 The geeral problem to be cosidered is that of solvig the equatio f() = 0 () where f is some arbitrary (oliear) fuctio For some methods we eed to reformulate this as = F() () May methods will probably have bee met i earlier courses, but it is useful to review these, to uderstad their behaviour ad eamie some of their advatages ad weakesses Direct Iteratio Method This is a fairly simple method, which requires the problem to be writte i the form = f() for some fuctio f() We start with a iitial guess to the solutio,, ad the calculate a ew estimate as = f() (3) This process is cotiued, at each step geeratig a ew approimatio f() + = f() (4) Iteratios are stopped whe the differece betwee successive estimates becomes less tha some prescribed covergece criterio ε ie whe + < ε If the process is coverget, takig a smaller value for ε results i a more accurate solutio, although more iteratios will be eeded Numerical Solutio of Equatios 00/ 3 / 8 Numerical Solutio of Equatios 00/ 4 / 8
2 As a eample, cosider solvig the equatio (which has the eact solutio = 4) = 0 (5) We first eed to write the equatio i the form = f(), ad there is more tha oe way of doig this Oe way is to write the equatio as = ( ) /3 so f() = ( ) /3 (6) Startig with a iitial guess of = 5, the above iterative method gives: Iteratio f() Iteratio f() The scheme coverges, although ot particularly rapidly If, however, we rewrite equatio (5) i the form = ( 3 3 4)/3 so f() = ( 3 3 4)/3 (7) ad agai take = 5, the the iteratio process leads to: Iteratio f() I this case the process is clearly divergig Eve if we had started from a iitial guess much closer to the real solutio, with this formulatio the iterative process would have diverged As ca be see from this eample, the direct method as described is ot guarateed to coverge The particular formulatio chose for f() ca be highly ifluetial i determiig the covergece behaviour To uderstad why this should be, we ote that the differece betwee successive iteratios will be + = f() f( ) (8) Numerical Solutio of Equatios 00/ 5 / 8 Numerical Solutio of Equatios 00/ 6 / 8 Assumig that we are close to the true solutio, r, we ca approimate f() ad f( ) by Taylor series epasios about r : f() f(r)+( r)f (r)+ (9) f( ) f(r)+( r)f (r)+ (0) where f deotes the derivative df/d Substitutig the epressios ito equatio (8) gives + f (r) () Thus, if the gradiet of f is such that f (r) <, the differece betwee successive approimatios decreases, ad the scheme will coverge If f (r) > the differece betwee successive approimatios icreases ad the method will ot coverge f() f() The graphs of the two particular forms of f() eamied i the eample earlier are show below + = ( )/3 coverges + = ( 3 3 4)/3 diverges This behaviour ca also be iferred graphically Covergece Divergece This highlights a importat aspect of umerical solutios: oe eeds a good uderstadig of the problem to be solved ad solutio methods i order to select the most appropriate scheme Numerical Solutio of Equatios 00/ 7 / 8 Numerical Solutio of Equatios 00/ 8 / 8
3 The Bisectio Method This is desiged to solve a problem formulated as f() = 0 We start off with two poits ad, chose to lie o opposite sides of the solutio Hece f() ad f() have opposite sigs We the bisect this iterval, so take 3 = 05( + ), ad evaluate f(3) For the et iteratio we retai 3 ad whichever of or gave the opposite sig of f to f(3) The solutio thus lies betwee the two poits we retai We cotiue bisectig the iterval as above util it becomes sufficietly small, ie < ε for some small covergece criteria ε Clearly, as we reduce the covergece criteria ε we get a more accurate approimatio to the solutio, but have to perform more iteratios f() Numerical Solutio of Equatios 00/ 9 / 8 Solvig the same eample as earlier we write f() = = 0 () Applyig the bisectio method iteratio, with iitial poits = 5 ad = 5 ow gives: Iteratio ( ) (,) (3,) (3,4) (3,5) f() Iteratio ( ) (6,5) (7,5) (7,8) (7,9) (0,9) f() The method will always coverge, sice the iterval size always decreases The method ca be rather slow, sice the iterval size is oly halved i each iteratio Numerical Solutio of Equatios 00/ 0 / 8 The Secat Method This method solves the system f() = 0 It also requires two startig poits, ad, but they eed ot be o opposite sides of the eact solutio f() With the earlier eample, solvig f() = = 0, ad with the same startig poits, we would get: Iteratio f() The process shows a fairly rapid covergece We ow fit a straight lie through the two poits (,f()) ad (,f()), ad take the et estimate as the poit at which this lie cuts the ais This iteratio method ca be formulated mathematically as ( ) + = f() f() f( ) (3) The process is agai repeated util the covergece criteria is reached Numerical Solutio of Equatios 00/ / 8 Numerical Solutio of Equatios 00/ / 8
4 However, if we istead start with the two poits = 0 ad = 5, we get the sequece: Iteratio f() Iteratio f() I this case the process does ot appear to be covergig By plottig the sequece, we ca see that the iterative process oscillates across the local maimum of f aroud = 04 UderRelaatio Uderrelaatio is commoly used i umerical methods to aid i obtaiig stable solutios Essetially it slows dow the rate of advace of the solutio process by liearly iterpolatig betwee the curret iteratio value, ad the value that would otherwise be take at the et iteratio level This prevets the scheme from makig such large chages i solutio estimate from iteratio to iteratio I the preset eample of usig the Secat method, equatio (3) could be modified to read ( ) + = ωf() (4) f() f( ) where the uderrelaatio factor ω is take betwee 0 ad Numerical Solutio of Equatios 00/ 3 / 8 Numerical Solutio of Equatios 00/ 4 / 8 If, for eample, we take ω = 05, the Secat method applied to the previous eample gives: Iteratio f() Iteratio f() By reducig the jump betwee successive values of i the early iteratios the solutio estimates stay to the right had side of the local miimum i f, ad the process ow coverges Note that as the solutio gets closer to covergig, the uderrelaatio factor could be icreased to speed up covergece Covergece Criteria I the eamples preseted so far we tested for covergece by checkig o the differece betwee successive solutio estimates We thus took the solutio as coverged whe + < ε for some predefied covergece criteria ε However, this coditio should ot be applied i a blid fashio For eample, if the gradiet f is very steep, the secat method might oly give small chages i betwee iteratios, eve if still far from the true solutio, particularly if usig heavy uderrelaatio f() 3 A small value of + could simply idicate very slow covergece A safer way of checkig for covergece is to also test whether the actual fuctio value f() is sufficietly small Numerical Solutio of Equatios 00/ 5 / 8 Numerical Solutio of Equatios 00/ 6 / 8
5 The NewtoRaphso Method This also solves the equatio f() = 0 I this method we start with a iitial guess We draw the taget to the curve of f at, ad take our et estimate to be the poit where this taget cuts the ais f() Mathematically, we ca write this iteratio process as + = f() f () where f deotes the derivative df/d We agai cotiue the process util we satisfy some suitable covergece criteria 4 3 (5) Usig the same eample as before, = 0, with a startig poit of = 5, we obtai the followig sequece: Iteratio f() f () Iteratio f() f () 8 07 Note the large jump i the first step, which occurs sice f () is small After this the covergece is quite rapid Numerical Solutio of Equatios 00/ 7 / 8 Numerical Solutio of Equatios 00/ 8 / 8 If, however, we had started the iteratio process from a iitial value of = 0, we would have got: Iteratio f() f () Iteratio f() f () Because of the shape of f, the method speds a umber of iteratios oscillatig aroud the local maimum at 04 Numerical Solutio of Equatios 00/ 9 / 8 I this case covergece ca agai be improved by itroducig some uderrelaatio With a uderrelaatio factor of 09, takig we get the iteratio sequece: + = 09f()/f () (6) It f() f () The solutio rapidly reaches a poit ear the maimum of f where f is small eough ad positive so that the et value of lies to the right of the miimum at 4 Covergece could be further speeded up by usig less uderrelaatio after iteratio 4 Numerical Solutio of Equatios 00/ 0 / 8
6 Systems of Algebraic Equatios Most of the methods outlied for solvig a sigle equatio ca be eteded to apply to a system of equatios of the form: f(,,,) = 0 f(,,,) = 0 f(,,,) = 0 The fuctios ff could be liear or oliear fuctios of As i the case of sigle equatios, to solve the system efficietly (ad sometimes to solve it at all) requires a uderstadig of the method adopted, ad of the ature of the equatios to be solved The Direct Iteratio Method For the equivalet of the direct iteratio method, we first have to rewrite the system of equatios ito the form = f(,,,) = f(,,,) = f(,,,) This ca be writte more compactly i vector form: = f() Oe the proceeds, with a startig guess 0, costructig the sequece + = f( ) (7) stoppig the iteratio whe + < ε for a suitably small covergece criterio ε The orm + is simply a scalar measure of the size of the vector + For eample, it could be the L orm L = () / = ( i ) / (8) Numerical Solutio of Equatios 00/ / 8 Numerical Solutio of Equatios 00/ / 8 As before the method is ot always guarateed to coverge I additio to covergece behaviour beig depedet o the precise formulatio used for f i i the equatio i = f i(,,,) (9) the choice of which equatio is used for updatig which variable is ow also importat It is possible to devise epressios for the coditios ecessary to esure covergece, i the same way as was doe i the sigle equatio case However, the result is rather comple ad will ot be cosidered here I geeral, a rule of thumb is to write the equatios i a form where the right had sides cotai the variables raised to powers less tha oe Uderrelaatio is ofte also used, to aid covergece by avoidig large chages i the estimates for from iteratio to iteratio With this icluded, the iteratio sequece ca be writte as + = ( ω) + ωf( ) (0) where ω is the uderrelaatio factor, with 0 < ω < Numerical Solutio of Equatios 00/ 3 / 8 The NewtoRaphso Method Other schemes ca also be adapted to obtai solutios to a system of equatios To see how the NewtoRaphso method ca be applied to a system of equatios, we first otice that its form for a sigle equatio ca be devised by retaiig the first term i a Taylor series epasio of f about the poit If r is the actual root, the oe ca write 0 = f(r) f()+(r )f ()+ () Neglectig the higher order terms ad rearragig leads to the approimatio r f()/f () () Numerical Solutio of Equatios 00/ 4 / 8
7 I the case of a system of equatios a Taylor series epasio about the root, retaiig oly first order terms, gives 0 = f (r) f (i) +((r) (i) 0 = f (r) f (i) +((r) (i) 0 = f (r) f (i) +( (r) (i) +( (r) (i) +( (r) (i) +( (r) (i) + +( (r) (i) + +( (r) (i) + +( (r) (i) ) f(i) ) f(i) ) f(i) where f (i) deotes the value f( i ) ad superscripts r deote the actual root Rearragig, ad takig (r) as the estimate to the solutio at iteratio level i +, leads to a system of liear equatios for the elemets of the vector (i+) (i) : f (i) (i+) (i) f (i) (i+) (i) f (i) = f (i) (i+) (i) f (i) which ca be solved usig a variety of methods, some of which will be discussed later Uderrelaatio ca also be applied i this method (3) Whe the scheme coverges it geerally does so more rapidly tha the simpler direct iteratio method Numerical Solutio of Equatios 00/ 5 / 8 Numerical Solutio of Equatios 00/ 6 / 8 However, more work has to be doe per iteratio, sice the derivatives f i/ j have to be computed, ad the matri system of equatio (3) solved I comple problems the gradiets f i/ j might also have to be computed umerically I practical problems, the Jacobia matri [ f i/ j] might ot be recomputed every iteratio, but perhaps oly every few iteratios Methods for solvig matri systems such as equatio (3) will be eamied later i the course Summary We have eamied a umber of iterative umerical methods for solvig sigle oliear equatios of the form f() = 0 ad systems of the form f() = 0 Some schemes, such as the bisectio method, will always coverge, but may do so rather slowly Others coverge more rapidly for some cases, but are ot guarateed to always coverge Uderrelaatio ca be applied i some cases to aid covergece by reducig the chage i solutio estimates betwee iteratios The uderrelaatio factor ca ofte be icreased as the true solutio is approached To select ad apply the most appropriate method for a particular problem requires a good uderstadig of the characteristics of the method ad of the problem beig solved Numerical Solutio of Equatios 00/ 7 / 8 Numerical Solutio of Equatios 00/ 8 / 8
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 informationThe second difference is the sequence of differences of the first difference sequence, 2
Differece Equatios I differetial equatios, you look for a fuctio that satisfies ad equatio ivolvig derivatives. I differece equatios, istead of a fuctio of a cotiuous variable (such as time), we look for
More informationSection 11.3: The Integral Test
Sectio.3: The Itegral Test Most of the series we have looked at have either diverged or have coverged ad we have bee able to fid what they coverge to. I geeral however, the problem is much more difficult
More informationLecture 4: Cauchy sequences, BolzanoWeierstrass, and the Squeeze theorem
Lecture 4: Cauchy sequeces, BolzaoWeierstrass, 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 informationSequences 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 informationSoving 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 informationCHAPTER 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 informationModified 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 informationSequences II. Chapter 3. 3.1 Convergent Sequences
Chapter 3 Sequeces II 3. Coverget Sequeces Plot a graph of the sequece a ) = 2, 3 2, 4 3, 5 + 4,...,,... To what limit do you thik this sequece teds? What ca you say about the sequece a )? For ǫ = 0.,
More information4 n. n 1. You shold think of the Ratio Test as a generalization of the Geometric Series Test. For example, if a n ar n is a geometric sequence then
SECTION 2.6 THE RATIO TEST 79 2.6. THE RATIO TEST We ow kow how to hadle series which we ca itegrate (the Itegral Test), ad series which are similar to geometric or pseries (the Compariso Test), but of
More informationSolving 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 informationChapter 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 informationHere 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 informationBuilding 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 informationwhere: 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 informationModule 4: Mathematical Induction
Module 4: Mathematical Iductio Theme 1: Priciple of Mathematical Iductio Mathematical iductio is used to prove statemets about atural umbers. As studets may remember, we ca write such a statemet as a predicate
More informationI. Chisquared Distributions
1 M 358K Supplemet to Chapter 23: CHISQUARED DISTRIBUTIONS, TDISTRIBUTIONS, AND DEGREES OF FREEDOM To uderstad tdistributios, we first eed to look at aother family of distributios, the chisquared distributios.
More informationGregory Carey, 1998 Linear Transformations & Composites  1. Linear Transformations and Linear Composites
Gregory Carey, 1998 Liear Trasformatios & Composites  1 Liear Trasformatios ad Liear Composites I Liear Trasformatios of Variables Meas ad Stadard Deviatios of Liear Trasformatios A liear trasformatio
More informationChapter 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 informationSAMPLE 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 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 informationx(x 1)(x 2)... (x k + 1) = [x] k n+m 1
1 Coutig mappigs For every real x ad positive iteger k, let [x] k deote the fallig factorial ad x(x 1)(x 2)... (x k + 1) ( ) x = [x] k k k!, ( ) k = 1. 0 I the sequel, X = {x 1,..., x m }, Y = {y 1,...,
More informationLesson 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 informationUsing Excel to Construct Confidence Intervals
OPIM 303 Statistics Ja Stallaert Usig Excel to Costruct Cofidece Itervals This hadout explais how to costruct cofidece itervals i Excel for the followig cases: 1. Cofidece Itervals for the mea of a populatio
More informationSequences, Series and Convergence with the TI 92. Roger G. Brown Monash University
Sequeces, Series ad Covergece with the TI 92. Roger G. Brow Moash Uiversity email: rgbrow@deaki.edu.au Itroductio. Studets erollig i calculus at Moash Uiversity, like may other calculus courses, are itroduced
More informationNormal Distribution.
Normal Distributio www.icrf.l Normal distributio I probability theory, the ormal or Gaussia distributio, is a cotiuous probability distributio that is ofte used as a first approimatio to describe realvalued
More informationThe Euler Totient, the Möbius and the Divisor Functions
The Euler Totiet, the Möbius ad the Divisor Fuctios Rosica Dieva July 29, 2005 Mout Holyoke College South Hadley, MA 01075 1 Ackowledgemets This work was supported by the Mout Holyoke College fellowship
More informationHypothesis 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 informationProperties 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 informationNotes 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 informationCHAPTER 3 DIGITAL CODING OF SIGNALS
CHAPTER 3 DIGITAL CODING OF SIGNALS Computers are ofte used to automate the recordig of measuremets. The trasducers ad sigal coditioig circuits produce a voltage sigal that is proportioal to a quatity
More information3. 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 informationBENEFITCOST ANALYSIS Financial and Economic Appraisal using Spreadsheets
BENEITCST 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 informationTheorems 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 oegative umber R, called the radius
More informationProblem Solving with Mathematical Software Packages 1
C H A P T E R 1 Problem Solvig with Mathematical Software Packages 1 1.1 EFFICIENT PROBLEM SOLVING THE OBJECTIVE OF THIS BOOK As a egieerig studet or professioal, you are almost always ivolved i umerical
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE MATHEMATICS P EXEMPLAR 04 MARKS: 50 TIME: 3 hours This questio paper cosists of 8 pages ad iformatio sheet. Please tur over Mathematics/P DBE/04 NSC Grade Eemplar INSTRUCTIONS
More informationIncremental 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 informationAQA STATISTICS 1 REVISION NOTES
AQA STATISTICS 1 REVISION NOTES AVERAGES AND MEASURES OF SPREAD www.mathsbox.org.uk Mode : the most commo or most popular data value the oly average that ca be used for qualitative data ot suitable if
More informationExample 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 informationMathematical 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 informationCS103A 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{{1}, {2, 4}, {3}} {{1, 3, 4}, {2}} {{1}, {2}, {3, 4}} 5.4 Stirling Numbers
. Stirlig Numbers Whe coutig various types of fuctios from., we quicly discovered that eumeratig the umber of oto fuctios was a difficult problem. For a domai of five elemets ad a rage of four elemets,
More informationDivide and Conquer. Maximum/minimum. Integer Multiplication. CS125 Lecture 4 Fall 2015
CS125 Lecture 4 Fall 2015 Divide ad Coquer We have see oe geeral paradigm for fidig algorithms: the greedy approach. We ow cosider aother geeral paradigm, kow as divide ad coquer. We have already see a
More informationRecursion and Recurrences
Chapter 5 Recursio ad Recurreces 5.1 Growth Rates of Solutios to Recurreces Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer. Cosider, for example,
More information3. Covariance and Correlation
Virtual Laboratories > 3. Expected Value > 1 2 3 4 5 6 3. Covariace ad Correlatio Recall that by takig the expected value of various trasformatios of a radom variable, we ca measure may iterestig characteristics
More informationBasic Elements of Arithmetic Sequences and Series
MA40S PRECALCULUS 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 informationDetermining 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 informationApproximating the Sum of a Convergent Series
Approximatig the Sum of a Coverget Series Larry Riddle Ages Scott College Decatur, GA 30030 lriddle@agesscott.edu The BC Calculus Course Descriptio metios how techology ca be used to explore covergece
More informationSolving DivideandConquer Recurrences
Solvig DivideadCoquer Recurreces Victor Adamchik A divideadcoquer algorithm cosists of three steps: dividig a problem ito smaller subproblems solvig (recursively) each subproblem the combiig solutios
More informationNEW HIGH PERFORMANCE COMPUTATIONAL METHODS FOR MORTGAGES AND ANNUITIES. Yuri Shestopaloff,
NEW HIGH PERFORMNCE COMPUTTIONL METHODS FOR MORTGGES ND NNUITIES Yuri Shestopaloff, Geerally, mortgage ad auity equatios do ot have aalytical solutios for ukow iterest rate, which has to be foud usig umerical
More information5: 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 informationThe analysis of the Cournot oligopoly model considering the subjective motive in the strategy selection
The aalysis of the Courot oligopoly model cosiderig the subjective motive i the strategy selectio Shigehito Furuyama Teruhisa Nakai Departmet of Systems Maagemet Egieerig Faculty of Egieerig Kasai Uiversity
More informationLecture 5: Span, linear independence, bases, and dimension
Lecture 5: Spa, liear idepedece, bases, ad dimesio Travis Schedler Thurs, Sep 23, 2010 (versio: 9/21 9:55 PM) 1 Motivatio Motivatio To uderstad what it meas that R has dimesio oe, R 2 dimesio 2, etc.;
More informationINFINITE 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 informationChapter 5 Discrete Probability Distributions
Slides Prepared by JOHN S. LOUCKS St. Edward s Uiversity Slide Chapter 5 Discrete Probability Distributios Radom Variables Discrete Probability Distributios Epected Value ad Variace Poisso Distributio
More informationTAYLOR SERIES, POWER SERIES
TAYLOR SERIES, POWER SERIES The followig represets a (icomplete) collectio of thigs that we covered o the subject of Taylor series ad power series. Warig. Be prepared to prove ay of these thigs durig the
More informationTrigonometric 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*The most important feature of MRP as compared with ordinary inventory control analysis is its time phasing feature.
Itegrated Productio ad Ivetory Cotrol System MRP ad MRP II Framework of Maufacturig System Ivetory cotrol, productio schedulig, capacity plaig ad fiacial ad busiess decisios i a productio system are iterrelated.
More information1 Introduction to reducing variance in Monte Carlo simulations
Copyright c 007 by Karl Sigma 1 Itroductio to reducig variace i Mote Carlo simulatios 11 Review of cofidece itervals for estimatig a mea I statistics, we estimate a uow mea µ = E(X) of a distributio by
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 informationLearning outcomes. Algorithms and Data Structures. Time Complexity Analysis. Time Complexity Analysis How fast is the algorithm? Prof. Dr.
Algorithms ad Data Structures Algorithm efficiecy Learig outcomes Able to carry out simple asymptotic aalysisof algorithms Prof. Dr. Qi Xi 2 Time Complexity Aalysis How fast is the algorithm? Code the
More information1 Correlation and Regression Analysis
1 Correlatio ad Regressio Aalysis I this sectio we will be ivestigatig the relatioship betwee two cotiuous variable, such as height ad weight, the cocetratio of a ijected drug ad heart rate, or the cosumptio
More informationChapter 9: Correlation and Regression: Solutions
Chapter 9: Correlatio ad Regressio: Solutios 9.1 Correlatio I this sectio, we aim to aswer the questio: Is there a relatioship betwee A ad B? Is there a relatioship betwee the umber of emploee traiig hours
More informationCS103X: 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 sixfigure salaries i whole dollar amouts are there that cotai at least
More informationThe following example will help us understand The Sampling Distribution of the Mean. C1 C2 C3 C4 C5 50 miles 84 miles 38 miles 120 miles 48 miles
The followig eample will help us uderstad The Samplig Distributio of the Mea Review: The populatio is the etire collectio of all idividuals or objects of iterest The sample is the portio of the populatio
More information3 Energy. 3.3. NonFlow Energy Equation (NFEE) Internal Energy. MECH 225 Engineering Science 2
MECH 5 Egieerig Sciece 3 Eergy 3.3. NoFlow Eergy Equatio (NFEE) You may have oticed that the term system kees croig u. It is ecessary, therefore, that before we start ay aalysis we defie the system that
More informationConvexity, 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 informationMARTINGALES AND A BASIC APPLICATION
MARTINGALES AND A BASIC APPLICATION TURNER SMITH Abstract. This paper will develop the measuretheoretic approach to probability i order to preset the defiitio of martigales. From there we will apply this
More informationNATIONAL SENIOR CERTIFICATE GRADE 12
NATIONAL SENIOR CERTIFICATE GRADE MATHEMATICS P NOVEMBER 0 MARKS: 50 TIME: 3 hours This questio paper cosists of 8 pages, diagram sheet ad iformatio sheet. Please tur over Mathematics/P DBE/November 0
More information7. Sample Covariance and Correlation
1 of 8 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 7. Sample Covariace ad Correlatio The Bivariate Model Suppose agai that we have a basic radom experimet, ad that X ad Y
More informationOutput Analysis (2, Chapters 10 &11 Law)
B. Maddah ENMG 6 Simulatio 05/0/07 Output Aalysis (, Chapters 10 &11 Law) Comparig alterative system cofiguratio Sice the output of a simulatio is radom, the comparig differet systems via simulatio should
More informationConvention Paper 6764
Audio Egieerig Society Covetio Paper 6764 Preseted at the 10th Covetio 006 May 0 3 Paris, Frace This covetio paper has bee reproduced from the author's advace mauscript, without editig, correctios, or
More informationAlgebra Vocabulary List (Definitions for Middle School Teachers)
Algebra Vocabulary List (Defiitios for Middle School Teachers) A Absolute Value Fuctio The absolute value of a real umber x, x is xifx 0 x = xifx < 0 http://www.math.tamu.edu/~stecher/171/f02/absolutevaluefuctio.pdf
More informationChapter 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 informationTaking DCOP to the Real World: Efficient Complete Solutions for Distributed MultiEvent Scheduling
Taig DCOP to the Real World: Efficiet Complete Solutios for Distributed MultiEvet Schedulig Rajiv T. Maheswara, Milid Tambe, Emma Bowrig, Joatha P. Pearce, ad Pradeep araatham Uiversity of Souther Califoria
More informationGCE Further Mathematics (6360) Further Pure Unit 2 (MFP2) Textbook. Version: 1.4
GCE Further Mathematics (660) Further Pure Uit (MFP) Tetbook Versio: 4 MFP Tetbook Alevel Further Mathematics 660 Further Pure : Cotets Chapter : Comple umbers 4 Itroductio 5 The geeral comple umber 5
More informationThe 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 informationS. 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 informationMath 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.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 informationPartial 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 informationDescriptive statistics deals with the description or simple analysis of population or sample data.
Descriptive statistics Some basic cocepts A populatio is a fiite or ifiite collectio of idividuals or objects. Ofte it is impossible or impractical to get data o all the members of the populatio ad a small
More informationBy Gilberto E. Urroz, September 2004
Solutio o oliear equatios By Gilberto E. Urroz, September 004 I this documet I preset methods or the solutio o sigle oliear equatios as well as or systems o such equatios. Solutio o a sigle oliear equatio
More informationPROCEEDINGS OF THE YEREVAN STATE UNIVERSITY AN ALTERNATIVE MODEL FOR BONUSMALUS SYSTEM
PROCEEDINGS OF THE YEREVAN STATE UNIVERSITY Physical ad Mathematical Scieces 2015, 1, p. 15 19 M a t h e m a t i c s AN ALTERNATIVE MODEL FOR BONUSMALUS SYSTEM A. G. GULYAN Chair of Actuarial Mathematics
More informationSolutions 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 informationKey Ideas Section 81: Overview hypothesis testing Hypothesis Hypothesis Test Section 82: Basics of Hypothesis Testing Null Hypothesis
Chapter 8 Key Ideas Hypothesis (Null ad Alterative), Hypothesis Test, Test Statistic, Pvalue Type I Error, Type II Error, Sigificace Level, Power Sectio 81: Overview Cofidece Itervals (Chapter 7) are
More informationSolving Inequalities
Solvig Iequalities Say Thaks to the Authors Click http://www.ck12.org/saythaks (No sig i required) To access a customizable versio of this book, as well as other iteractive cotet, visit www.ck12.org CK12
More informationCME 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 informationChapter 7: Confidence Interval and Sample Size
Chapter 7: Cofidece Iterval ad Sample Size Learig Objectives Upo successful completio of Chapter 7, you will be able to: Fid the cofidece iterval for the mea, proportio, ad variace. Determie the miimum
More informationFinding the circle that best fits a set of points
Fidig the circle that best fits a set of poits L. MAISONOBE October 5 th 007 Cotets 1 Itroductio Solvig the problem.1 Priciples............................... Iitializatio.............................
More informationEquation of a line. Line in coordinate geometry. Slopeintercept form ( 斜 截 式 ) Intercept form ( 截 距 式 ) Pointslope form ( 點 斜 式 )
Chapter : Liear Equatios Chapter Liear Equatios Lie i coordiate geometr I Cartesia coordiate sstems ( 卡 笛 兒 坐 標 系 統 ), a lie ca be represeted b a liear equatio, i.e., a polomial with degree. But before
More informationConfidence Intervals for One Mean
Chapter 420 Cofidece Itervals for Oe Mea Itroductio This routie calculates the sample size ecessary to achieve a specified distace from the mea to the cofidece limit(s) at a stated cofidece level for a
More informationDiscrete 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 informationMultiple 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 informationLecture 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 BruMikowski iequality for boxes. Today we ll go over the
More informationCHAPTER 11 Financial mathematics
CHAPTER 11 Fiacial mathematics I this chapter you will: Calculate iterest usig the simple iterest formula ( ) Use the simple iterest formula to calculate the pricipal (P) Use the simple iterest formula
More informationCooleyTukey. Tukey FFT Algorithms. FFT Algorithms. Cooley
Cooley CooleyTuey Tuey FFT Algorithms FFT Algorithms Cosider a legth sequece x[ with a poit DFT X[ where Represet the idices ad as +, +, Cooley CooleyTuey Tuey FFT Algorithms FFT Algorithms Usig these
More informationDomain 1: Designing a SQL Server Instance and a Database Solution
Maual SQL Server 2008 Desig, Optimize ad Maitai (70450) 18004186789 Domai 1: Desigig a SQL Server Istace ad a Database Solutio Desigig for CPU, Memory ad Storage Capacity Requiremets Whe desigig a
More informationRepeating 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 information4.3. The Integral and Comparison Tests
4.3. THE INTEGRAL AND COMPARISON TESTS 9 4.3. The Itegral ad Compariso Tests 4.3.. The Itegral Test. Suppose f is a cotiuous, positive, decreasig fuctio o [, ), ad let a = f(). The the covergece or divergece
More information