Numerical Analysis I

Size: px
Start display at page:

Download "Numerical Analysis I"

Transcription

1 College of Science, Deprtment of Mthemtics Tibh University, Al Mdinh Al Munwwrh 010 / 1431 Numericl Anlysis I Mostf Zhri URL. emil. mzhri@tibhu.edu.s

2 CONTENTS CONTENTS Contents 1 The Concept of norms Definition of norms Exercises Numericl Derivtives 6.1 Definitions Exercises Error Terms Trunction Error Evlution of Functions Clcultion of Functions Clcultion of Polynomils Horner Scheme Exercises Numericl Integrtion Rectngle rule Trpezoidl rule Composite trpezium rule Prbol rule (Simpson s rule) Composite Simpson s rule Newton-Cotes formul Numericl Integrtion s Error Error of the Simpson s rule Solution of equtions f(x) = Newton Method Geometric Illustrtion Convergence Theorems Secnt Method Geometric Illustrtion URL. emil. zhri@gmx.net

3 CONTENTS CONTENTS 6.. Convergence Theorem Bisection Method Solution of System of liner Equtions Using the inverse mtrix Using Crmer Method Gussin elimintion URL. emil. zhri@gmx.net 3

4 REFERENCES REFERENCES References [1] Burden nd Fires, Numericl Anlysis, Eighth Edition, Brooks/Cole Publishing Compny, 005. [] K. Atkinson, An Introduction to Numericl Anlysis, John Wiley & Sons, Inc., Second Edition, [3] Buchnn nd Turner, Numericl Methods nd Anlysis, McGrw-Hill, N.Y., 199. [4] Jmes F. Epperson, n Introduction to Numericl Methods nd Anlysis, John Wiley N.Y., 00. [5] Iscson nd Keller, Anlysis of Numericl Methods, John Wiley N.Y., [6] L. F. Shmpine, R. C. Allen, Jr. & S. Pruess, Fundmentls of Numericl Computing, John Wiley & Sons, Inc., First Edition, [7] Rlston Anthony, A First course in Numericl Anlysis, McGrw-Hill, Inc., [8] Endre Süli nd Dvid F. MyersAn, Introduction to Numericl Anlysis University of Oxford, Cmbridge University Press, 003 [9] J. Stoer nd R. Bulirsch, Introduction to Numericl nlysis, Springer Verlg 1993 URL. emil. zhri@gmx.net 4

5 1 THE CONCEPT OF NORMS 1 The Concept of norms 1.1 Definition of norms The nlysis of the effects of rounding error on solutions of systems of liner equtions requires n pproprite mesure. This is provided by the concept of norm defined below. In order to motivte the xioms of norm, we note tht the set IR of rel numbers is liner spce, nd tht the bsolute vlue function: { x, if x 0; x := x, if x < 0. The bsolute vlue x of rel number x mesures the distnce between x nd 0 (the zero element of the liner spce IR). Definition 1. The nonnegtive rel-vlued function is sid to be norm on the spce IR n provided tht it stisfies the following xioms: 1. x = 0 if, nd only if, x = 0 in IR n ;. λx = λx x for ll λ IR nd ll x IR n ; 3. x + y x + y for ll x, y IR n (the tringle inequlity). Exmple 1. Prove tht the following mps stisfy the norm xioms for n = n ( n ) 1. x 1 = x i b. x = x i c. x = mx x i. i=1,...,n 1. Exercises i=1 Exercice 1. Compute the norms of x = (1, ) T, y = (1, 5, ) T, (T represents the trnsposed vector.) For n = 1 nd n = resp. interpret geometriclly on the rel line nd plne resp. the norm. b. c. Exercice. Often, the rel number π is pproximted by 3.14 nd e by.718, use your clcultor nd the norm bove to compute the error term given s ( ) ( ) e.718 e i = π 3.14 i, for i = 1,,, wht do you conclude. URL. emil. zhri@gmx.net 5 i=1

6 NUMERICAL DERIVATIVES Exercice 3. For n = find α, β > 0 such tht α x 1 x β x. In this cse we sid tht the norms re equivlent. Is propriety is true for ll n IN (ns. yes). Show this for the following vector x = (3, 4) T. (T represents the trnsposed vector.) Numericl Derivtives.1 Definitions If you hve procedure which computes function f(x), nd now you wnt to compute its derivtive f (x). The definition of the derivtive, is given s f(x + h) f(x) lim = f f(x + h) f(x) (x). h 0 h h If you cn fford two function evlutions for ech derivtive clcultion, then it is significntly better to use the symmetrized form. Exercises f (x) f(x + h) f(x h) h Exercice 4. Let us consider f(x) = x nd by using the following pproximtion formul of the first derivtive Df h (x 0 ) f(x 0 + h) f(x 0 ), h compute Df h (1) for h = 0.1; 0.01; Compre your result to f (1), wht do you conclude. Exercice 5. Let us consider f(x) = sin(x) nd by using the following pproximtion formul of the first derivtive Df h (x 0 ) f(x 0 + h) f(x 0 ), h compute Df h (0) for h = 0.1; 0.01; Compre your result to f (0), wht do you conclude. URL. emil. zhri@gmx.net 6

7 3 ERROR TERMS Exercice 6. Let us consider f(x) = x nd by using the following pproximtion formul of the first derivtive Df h (x 0 ) f(x 0 + h) f(x 0 h), h compute Df h (1) for h = 0.1; 0.01; Compre your result to f (1), wht do you conclude. Exercice 7. Let us consider f(x) = sin(x) nd by using the following pproximtion formul of the first derivtive Df h (x 0 ) f(x 0 + h) f(x 0 h), h compute Df h (0) for h = 0.1; 0.01; Compre your result to f (0), wht do you conclude. Exercice 8. compre the results of the pproximtions bove. Exercice 9. By using the first pproximtion formul of the first derivtive, show tht f f(x + h) f(x) f(x h) (x). h 3 Error Terms 3.1 Trunction Error Using Tylor expnsion, we hve f(x 0 + h) = f(x 0 ) + f (x 0 )h + 1 f (α)h, with α [x 0 h, x 0 + h], which implies tht nd f (x 0 ) = f(x 0 + h) f(x 0 ) h } {{ } Approximtion 1 f (α)h. }{{} Error T erm f (x 0 ) f(x 0 + h) f(x 0 ) Kh where mx h = K. x [x 0,x 0 +h] URL. emil. zhri@gmx.net 7

8 4 EVALUATION OF FUNCTIONS We sy tht this pproximtion is first order. A p order pproximtion of the derivtive of f is given s f (x 0 ) f(x 0 + h) f(x 0 ) Kh p h where p 0. The generl Tylor expnsion is f (k) (x 0 ) f(x 0 + h) = h k, f(x 0 h) = ( 1) k f (k) (x 0 ) h k k! h! k=0 where f (k) (x 0 ) refers the k th derivtive of f t the point x 0. Hence f f(x + h) f(x h) [ h ] (x 0 ) = + h 3! f (3) (x 0 ) + h3 5! f (5) (x 0 ) +. }{{} Error T erm 4 Evlution of Functions 4.1 Clcultion of Functions The generl Tylor expnsion, the Trunction Error is given s f (k) (x 0 ) p f(x 0 + h) = h k f (k) (x 0 ) = h k f (k) (x 0 ) + h k k! k! k! k=0 k=0 k=p+1 }{{}}{{} Approximtion T runction Error Using the generl Tylor expnsion, we evlute the following functions e x k=0 = 1 + x + x! + x3 3! +... = Approximtion + Trunction Error x IR. ln(1 + x) = x x + x = Approximtion + Trunction Error x IR. sin(x) = x x3 3! + x5 5!... = Approximtion + Trunction Error x IR. cos(x) = 1 x! + x4 4!... = Approximtion + Trunction Error x IR. URL. emil. zhri@gmx.net 8

9 4. Clcultion of Polynomils 4 EVALUATION OF FUNCTIONS 4. Clcultion of Polynomils Consider the polynomil function P given s P (x) := n x n + n 1 x n x + 0 ; n, n 1, , 0 IR, n 0. Cost of ny evlution using direct computtions re: Addition : + Multipliction : = n = n + n j=1 j = 1 n(n + 3). Totl number : = n ( (n + 3)) = Order(n ) The bove method is expensive in number of opertion, especilly for very smll nd very lrge x. To improve the number of opertions, one cn proceed s follow P (x) := n x n + n 1 x n x + ) 0 = ( n x n 1 + n 1 x n x + 0. = (... ( ) ( n x + n 1 ) x + }{{} n x )x + 0 } Step 1 {{ } } Step {{ } Step n Ech step requires two opertions one, ddition nd one multipliction. Hence, the totl number of opertion is n =Order(n): better thn Order(n ). To evlute P t the point x, one cn use the following lgorithm Algorithm 1. Step 1. Compute ( n x 0 + n 1 ) = A n, Step. Compute (A n x 0 + n ) = A n 1, Step 3. Compute (A n 1 x 0 + n ) = A n,.. Step n. Compute (A 1 x ) = A 0, Output A 0 = P (x 0 ), end. URL. emil. zhri@gmx.net 9

10 4.3 Horner Scheme 5 NUMERICAL INTEGRATION 4.3 Horner Scheme Consider the polynomil function P given s P n (x) := n x n + n 1 x n x + 0 ; n, n 1, , 0 IR, n 0. Horner s method gives P (x 0 ), P (x 0 ),..., P (n) (x 0 ): For j = 0, 1,..., n, define P n j (x) s { 4.4 Exercises P n j (x) = (j) n x n j + + (j) j+1 x + (j) j, where (j+1) n (j+1) k = (j) n = (j) k R j = 1 d j P n (x 0 ) j! dx j + x 0 (j+1) k+1, k = n 1,..., j. implies = (j+1) j nd p (j) n (x0) = j!r j. Exercice 10. Evlute the vlue of e using Tylor expnsion for p = 1,, 3, 4, 5. Exercice 11. Evlute the vlue of sin( π 17 ) using Tylor expnsion for p = 1, 3, 5. Exercice 1. Evlute the vlue of cos( π 11 ) using Tylor expnsion for p =, 4, 6. Exercice 13. Evlute the vlue of ln(1.314) using Tylor expnsion for p =, 3, 4, 5, 6. Exercice 14. Use the lgorithm (1) to evlute P ( ) nd P (5) for P (x) = 5x 4 x 3 + x + x Numericl Integrtion Consider the integrl of continuous rel-vlued function f defined on closed intervl [, b] of the rel line such tht the definite I = b URL. emil. zhri@gmx.net 10 f(x)dx

11 5.1 Rectngle rule 5 NUMERICAL INTEGRATION integrl is very hrd to reduce by mens of the usul methods of vrible substitution nd/or integrtion by prts. Let F be n nti-derivtive of f, i.e., its derivtive F = f. Then by the Fundmentl Theorem of Clculus: I = b f(x)dx = F (b) F (). However, unfortuntely, nti-derivtives re often not known. e.g. (f(x) = e x ). We hve to clculte integrls of such functions numericlly. Numericl integrtion formuls re bsed on formuls for the res of of simple geometricl shpes = Qudrture. 5.1 Rectngle rule The integrl of f cn be numericlly pproximted using the rectngle formul given s I = b f(x)dx (b )f(θ) for θ [, b]. This formul is exct, (i.e., without error) for constnt functions f(x) = c. 5. Trpezoidl rule Using n other pproximtion of f(θ) in the formul bove : Length verge of the Height. Hence the trpezoidl rule is given s ( ) b f() + f(b) I = f(x)dx (b ). 5.3 Composite trpezium rule Suppose tht f is function, defined nd continuous on nonempty closed intervl [, b] of the rel line. In order to construct n pproximtion to the integrl I, we now select n integer m nd divide the intervl [, b] into m equl subintervls, URL. emil. zhri@gmx.net 11

12 5.4 Prbol rule (Simpson s rule) 5 NUMERICAL INTEGRATION ech of width h = (b )/m, so tht I = b f(x)dx = m i=1 xi x i 1 f(x)dx, x i = + ih = + i (b ), i = 0, 1,..., m. m Ech of the integrls is then evluted by the trpezium rule, xi I i = f(x)dx h ( ) f(x i ) + f(x i 1 ). x i 1 summing these over i = 1,, ldots, m leds to the composite trpezium rule I = b f(x)dx m i=1 5.4 Prbol rule (Simpson s rule) 1 I i = h( f(x 0) + f(x 1 ) + + f(x m 1 ) + 1 ) f(x m). The Simpson method pproximte the function by Prbol p(x) = A(x ) + B(x ) + C through the points ( + b (, f()),, f( + b) ), (b, f(b)). By computing the constnts A, B nd C follows the pproximtion formul I = b f(x)dx 5.5 Composite Simpson s rule (b ) ( 6 f() + 4f ( + b ) + f(b) ). For Simpson s rule, let us suppose tht the intervl [, b] hs been divided into m intervls by the points x i = + ih, i = 0, 1,..., m with m nd h = (b )/m nd let us pply Simpson s rule on ech of the intervls [x i, x i ], URL. emil. zhri@gmx.net 1

13 5.6 Newton-Cotes formul 5 NUMERICAL INTEGRATION i = 1,,..., m, giving I = = b m i=1 f(x)dx = xi m i=1 I i x i f(x)dx m i=1 h ( ) f(x i ) + 4f(x i 1 ) + f(x i ). 6 This leds to the composite Simpson rule b f(x)dx h [ f(x 0 ) + 4f(x 1 ) + f(x ) + 4f(x 3 ) 3 ] f(x m ) + 4f(x m 1 ) + f(x m ) 5.6 Newton-Cotes formul Let f be rel-vlued function, defined nd continuous on the closed rel intervl [, b], nd suppose tht we hve to evlute the integrl b f(x)dx. Since polynomils re esy to integrte, the ide, roughly speking, is to pproximte the function f by its Lgrnge interpoltion polynomil p n of degree n, nd integrte p n insted. Thus, for positive integer n, we hve I = b 5.7 Numericl Integrtion s Error f(x)dx b p n (x)dx. Theorem 1. Let n be even nd let f be (n + )-times continuously differentible. Furthermore, let (b ) n j=0 c jf(x j ) be closed Newton-Cotes formul on the intervl [, b] The the qudrture error is given by where < θ < b. E n (f) = = b f(x)dx (b ) (b )n+3 f n+ (θ) (n + )! j=0 1 0 n c j f(x j ) n (t t j )dt, j=0 URL. emil. zhri@gmx.net 13

14 6 SOLUTION OF EQUATIONS F (X) = Error of the Simpson s rule Exmple. Simpson s rule (n = ) t 0 = 0, t 1 = 1/, t = 1 1 n 0 j=0 (t t j )dt = E (f) 1 0 t (t 1/)(t 1)dt = (b )5 880 mx θ b f (4) (θ). 6 Solution of equtions f(x) = 0 A simple exmple is x + bx + c = 0, involving qudrtic polynomil with rel coefficients, b, c, nd 0. The two solutions to this eqution, lbeled x 1 nd x, re found in terms of the coefficients of the polynomil from the fmilir formule x 1 = b + b 4c ; x = b b 4c. It trnspires tht for ech n 5 there exists polynomil eqution of degree n. with integer coefficients which cnnot be solved in terms of rdicls; such is, for exmple, x 5 4x = 0. Since there is no generl formul for the solution of polynomil equtions, no generl formul will exist for the solution of n rbitrry nonliner eqution of the form f(x) = 0 where f is continuous rel-vlued function. How cn we then decide whether or not such n eqution possesses solution in the set of rel numbers, nd how cn we find solution? Suppose tht f is rel-vlued function, defined nd continuous on bounded closed intervl [, b] of the rel line. It will be tcitly ssumed throughout the chpter tht < b, so tht the intervl is nonempty. We wish to find rel number α [, b] such tht f(α) = 0. If such α exists, it is clled solution to the eqution f(x) = 0. Theorem. Let f be rel-vlued function, defined nd continuous on bounded closed intervl [, b] of the rel line. Assume, further, tht f()f(b) 0;then, there exists α [, b] such tht f(α) = 0. Theorem 3 (Fixed Point Theorem). Suppose tht g is rel-vlued function, defined nd continuous on bounded closed intervl [, b] of the rel line, nd let URL. emil. zhri@gmx.net 14

15 6.1 Newton Method 6 SOLUTION OF EQUATIONS F (X) = 0 g(x) [, b] for ll x [, b]. Then, there exists α [, b] such tht α = g(α); the rel number α is clled fixed point of the function g. Proof. Note tht (use the theorem bove) ( g()) (b g(b) 0. }{{}}{{} 0 0 Exmple. Consider the function f defined by f(x) = e x x 1 for x [1, ]. Clerly, f(1) < 0 nd f() > 0. Thus we deduce the existence of α [1, ] such tht f(α) = 0. Suppose tht g is rel-vlued function, defined nd continuous on bounded closed intervl [, b] of the rel line, nd ssume tht g(x) [, b] for ll x [, b]. Given tht x 0 [, b], the recursion defined by x k+1 = g(x k ), k = 0, 1,,... is clled simple itertion; the numbers x k, k 0, re referred to s itertes. If the sequence (x k ) converges, the limit must be fixed point of the function g, since g is continuous on closed intervl. Indeed, writing α = lim k x k, we hve tht α = lim k x k+1 = lim k g(x k ) = g ( lim k x k ) = g(α), A sufficient condition for the convergence of the sequence (x k ) is provided by our next result which represents refinement of BrouwerŠs Fixed Point Theorem, under the dditionl ssumption tht the mpping g is contrction. Definition. (Contrction) Suppose tht g is rel-vlued function, defined nd continuous on bounded closed intervl [, b] of the rel line. Then, g is sid to be contrction on [, b] if there exists constnt L such tht 0 < L < 1 nd g(x) g(y) L x y x, y [, b]. 6.1 Newton Method Newton ws born on 4 Jnury 1643 in Woolsthorpe, Lincolnshire, Englnd nd died on 31 Mrch 177 in London, Englnd. Newton mde revolutionry dvnces in mthemtics, physics, stronomy nd optics; his contributions to the foundtions URL. emil. zhri@gmx.net 15

16 6.1 Newton Method 6 SOLUTION OF EQUATIONS F (X) = 0 of clculus were mrred by priority disputes with Leibniz. Newton ws ppointed to the Lucsin chir t Cmbridge t the ge of 7. In 1705, two yers fter becoming president of the Royl Society ( position to which he ws re-elected ech yer until his deth), Newton ws knighted by Queen Anne; he ws the first scientist to be honored in this wy. Newtons Philosophie nturlis principi mthemtic is one of the most importnt scientific books ever written. Let f be (rel) continuous nd differentible function. To solve the nonliner eqution f(x) = 0, Newton suggested the following lgorithm defined by Geometric Illustrtion x k+1 = x k f(x k) ; k = 0, 1,, 3,... (1) f (x k ) The geometric interprettion of the lgorithm 1 is illustrted in Figure 1: the tngent to the curve y = f(x) t the point (x k, f(x k )) is the line with the eqution y f(x k ) = f (x k )(x x k ); it meets the x-xis t the point (x k+1, 0). α x x 1 x 0 Figure 1: Newton Method Convergence Theorems Definition 3. Suppose tht α = lim k x k. We sy tht the sequence (x k ) converges to α with t lest order q > 1, if there exist sequence (α k ) of positive rel URL. emil. zhri@gmx.net 16

17 6. Secnt Method 6 SOLUTION OF EQUATIONS F (X) = 0 numbers converging to 0, nd µ > 0, such tht α k+1 x k α α k, k = 0, 1,,..., nd lim k α q = µ. k with α k = x k α for k = 0, 1,,..., then the sequence (x k ) is sid to converge to α with order q. In prticulr, if q =, then we sy tht the sequence (x k ) converges to α qudrticlly. Theorem 4. [Convergence of Newton s method] Suppose tht f is continuous rel-vlued function with continuous second derivtive f, defined on the closed intervl I δ = [α δ, α + δ], δ > 0, such tht f(α) = 0 nd f (α) 0. Suppose further tht there exists positive constnt A such tht f (x) f (y) A, x, y I δ. If f(α) x 0 h, where h is the smller of δ nd 1/A, then the sequence (x k ) defined by Newton method (1) converges qudrticlly to α. Theorem 5. Suppose tht the function f stisfies the conditions of Theorem 4 nd lso tht there exists rel number X, X > α, such tht in the intervl J = [α, X] both f nd f re positive. Then, the sequence (x k ) defined by Newton s method converges qudrticlly to α from ny strting vlue x 0 J. 6. Secnt Method Let f be (rel) continuous nd differentible function, using Newtons method to solve nonliner eqution f(x) = 0 requires explicit knowledge of the first derivtive f of the function f. Unfortuntely, in mny prcticl situtions f is not explicitly vilble or it cn only be obtined t high computtionl cost. In such cses, the vlue f (x k ) cn be pproximted by difference quotient; tht is, f (x k ) f(x k) f(x k 1 ) x k x k 1. () The lgorithm of the secnt method is defined by ( x k x ) k 1 x k+1 = x k f(x k ) ; k = 1,, 3,... f(x k ) f(x k 1 ) URL. emil. zhri@gmx.net 17

18 6. Secnt Method 6 SOLUTION OF EQUATIONS F (X) = 0 where x 0 nd x 1 re given strting vlues. It is implicitly ssumed here tht f(x k ) f(x k 1 ) 0, k > Geometric Illustrtion The method is illustrted in Figure. The new iterte x k+1 is obtined from x k 1 nd x k by drwing the chord joining the points B(x k 1, f(x k 1 )) nd A(x k, f(x k )), nd using s x k+1 the point t which this chord intersects the x-xis. If x k 1 nd x k re close together nd f is differentible, x k+1 is pproximtely the sme s the vlue supplied by Newton s method, which uses the tngent t the point A. A B C α Figure : Secnt Method. 6.. Convergence Theorem Theorem 6. Suppose tht f is rel-vlued function, defined nd continuously differentible on n intervl I = [α h, α + h], h > 0, with center point α. Suppose further tht f(α) = 0, f (α) 0. Then, the sequence (x k ) defined by the secnt method converges t lest linerly to α provided tht x 0 nd x 1 re sufficiently close to α. The experiment shows the fster convergence of Newton s method, but it must be remembered tht ech itertion of Newton s method requires the clcultion of both f(x k ) nd f (x k ), while ech itertion of the secnt method requires the clcultion of f(x k ) only (s f(x k 1 ) hs lredy been computed). In our exmples URL. emil. zhri@gmx.net 18

19 6.3 Bisection Method 6 SOLUTION OF EQUATIONS F (X) = 0 the computtions re quite trivil, but in prcticl sitution the clcultion of ech vlue of f(x k ) nd f (x k ) my demnd substntil mount of work, nd then ech itertion of Newton s method is likely to involve t lest twice s much work s one itertion of the secnt method. 6.3 Bisection Method Suppose tht f is rel-vlued function defined nd continuous on bounded closed intervl [, b] of the rel line nd such tht f(α) = 0 for some α [, b]. A very simple itertive method for the solution of the nonliner eqution f(x) = 0 cn be constructed by beginning with n intervl [ 0, b 0 ] which is known to contin the required solution α (e.g., one my choose [ 0, b 0 ] s the intervl [, b] itself, with 0 = nd b 0 = b), nd successively hlving its size. More precisely, we proceed s follows. Let k > 0, nd suppose tht it is known tht f( k ) nd f(b k ) hve opposite signs; we then conclude tht the intervl ( k, b k ) contins solution of f(x) = 0. Consider the midpoint c k of the intervl ( k, b k ) defined by c k = 1 ( k + b k ) nd evlute f(c k ). If f(c k ) is zero, then we hve locted solution α of f(x) = 0, nd the itertion stops. Else, we define the new intervl ( k+1, b k+1 ) by { (k, c ( k+1, b k+1 ) := k ), if f( k )f(c k ) < 0 (c k, b k ), if f(c k )f(b k ) < 0 nd repet this procedure. This my t first seem to be very crude method, but it hs some importnt dvntges. The nlysis of convergence is trivil; the size of the intervl contining î is hlved t ech itertion, so the sequence (c k ) defined by the bisection method converges linerly, with rte ρ = log 10 (). Even Newton s method my often converge more slowly thn this in the erly stges, when the strting vlue is fr from the desired solution. Moreover, the convergence nlysis ssumes only tht the function f is continuous, nd requires no bounds on the derivtives, nor even their existence. Once we cn find n intervl [ 0, b 0 ] such tht f( 0 ) nd f(b 0 ) hve opposite signs, we cn gurntee convergence to solution, nd tht fter k itertions the solution α will lie in n intervl of length (b 0 0 )/ k. The bisection method is therefore very robust, though Newton s method will lwys win once the current iterte is sufficiently close to α. URL. emil. zhri@gmx.net 19

20 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS If the initil intervl [ 0, b 0 ] contins more thn one solution, the limit of the bisection method will depend on the positions of these solutions. Figure 3 illustrtes possible sitution. c 1 B 0 α c0 b 0 Figure 3: Bisection Method. 7 Solution of System of liner Equtions 7.1 Using the inverse mtrix Let A = ( ij ) be n n n rel mtrix nd b given column vector of IR n. The ims of the following section is to find vector x IR n such tht Ax = b. Denoting by x i the i th entry of the vector x, we cn lso write Ax = b in the following expnded form: 1,1 x 1 + 1, x + + 1,n x n = b 1,,1 x 1 +, x + +,n x n = b,... n,1 x 1 + n, x + + n,n x n = b n. The inverse mtrix A 1 of nonsingulr mtrix A IR n n stisfies A 1 A = AA 1 = I, where I is the n n identity mtrix. We now multiply both sides of the eqution Ax = b on the left by A 1 to deduce tht A 1 Ax = A 1 b x = A 1 b. URL. emil. zhri@gmx.net 0

21 7.1 Using the inverse mtrix 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS Where A 1 = 1 det(a) Adj(A)T, Adj(A) T = (( 1) i+j det(a ij )) 1 i,j n, nd the mtrix A ij is the mtrix A without the i th row nd j th column. Exmple. Consider the three dimensionl liner system Ax = b : Where A = x 1 + 3x x 3 = 7 5x 1 x + x 3 = 3 x 1 + x + x 3 = The Adjcent mtrix is given s ( ) 1 1 det ( 1 1 ) Adj(A) = 3 1 det ( 1 1 ) 3 1 det 1 1 Hence Adj(A) = ; b = 7 3 ; x = ( ) 5 1 det ( 1 1 ) 1 det ( 1 1 ) 1 det 5 1 nd A 1 = 1 x 1 x x 3 ( ) 5 1 det ( 1 1 ) 3 det ( 1 1 ; ) 3 det Which implies tht x 1 1 x = A 1 b = 3. x 3 1 Exercice 15. Solve the following liner system using the inverse mtrix method x 1 + 3x x 3 = 1 x 1 x + x 3 = 0 3x 1 + x + x 3 = 3 URL. emil. zhri@gmx.net 1

22 7. Using Crmer Method 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS (The solution is x 1 = 1; x = ; x 3 = 4.) 7. Using Crmer Method An lterntive pproch to the solution of the liner system Ax = b, clled Crmer s rule, proceeds by expressing the ith entry of x s x i = det(a i), i = 1,, 3,..., n. det(a) where det(a) is the determinnt of A, nd det(a i ) is the n n determinnt obtined by replcing the i th column of A by the entries of b. This method require the nonsingulrity od A, i.e. det(a) 0. Thus, solving Ax = b is due to evlute n + 1 determinnts A, A 1,..., A n. Exmple 3. Solve the following liner system using Crmer s method Where A = The solution is given s Where A 1 = x 1 + x x 3 = 1 x 1 x + x 3 = x 1 + x + x 3 = 0 ; b = 1 0 x 1 = det(a 1) det(a) = 6 4 = 3, x = det(a ) det(a) = 4 = 1, x 3 = det(a 3) det(a) = 4 4 = 1. ; A = ; x = ; A 3 = x 1 x x URL. emil. zhri@gmx.net

23 7.3 Gussin elimintion 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS Exercice 16. Solve the following liner system using the Crmer method 5x 1 + 3x x 3 = 1 x 1 3x + x 3 = 1 3x 1 + x + 1x 3 = 0 (The solution is x 1 = 0; x = 0.5; x 3 = 0.5.) 7.3 Gussin elimintion To solve liner systems of lgebric equtions ws developed by Crl Friedrich Guss (Germn scientist) nd ws first published in his Theori motus corporum coelestium in sectionibus conicis solem mbientium (1809). Guss ws concerned with the study of the steroid Plls, nd derived set of six liner equtions with six unknowns, lso giving systemtic method for its solution. The method proceeds by successively eliminting the elements below the digonl of the mtrix of the liner system until the mtrix becomes tringulr, when the solution of the system is very esy. This technique is now known under the nme Gussin elimintion. Let us consider the following system 1,1 x 1 + 1, x ,n x n = b 1,1 x 1 +, x ,n x n = b 3,1 x 1 + 3, x ,n x n = b n,1 x + n, x n,n x n = b n The first gussin elimintions consists to eliminte the under mtrix entries using the following lgorithm { i,j (1) i,j = i,j i,1 1,j b i b (1) i = b i b 1 1,j 1,1 ; Suppose 1,1 0, it follows tht 1,1 ; i, j =,..., n i =,..., n URL. emil. zhri@gmx.net 3

24 7.3 Gussin elimintion 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS 1,1 x 1 + 1, x ,n x n = b (1), x (1),n x n = b (1) Suppose (1), 0, it follows tht nd 0 + (1) 3, x (1) 3,n x n = b (1) (1) n, x (1) n,nx n = b (1) n (1) i,j () i,j = (1) i,j (1) i,1 b (1) i b () i = b (1) i b (1) (1) 1,j (1) 1,1 (1) 1,j (1) 1,1 ; i, j = 3,..., n ; i = 3,..., n 1,1 x 1 + 1, x ,n x n = b (1), x... + (1),n x n = b (1) () 3,3 x n... + () 3,n x n = b () () n,3 x... + () n,nx n = b () n nd so on, the finl step results 1,1 x 1 + 1, x ,n x n = b (1), x... + (1),n x n = b (1) () 3,3 x n... + () 3,n x n = b () (n 1) n,n x n = b (n 1) n The system bove cn be written in consistency form (n) 1,1 x 1 + (n) 1, x... + (n) 1,n x n = b (n) (n), x... + (n),n x n = b (n) (n) 3,3 x n... + (n) 3,n x n = b (n) (n) n,nx n = b (n) n URL. emil. zhri@gmx.net 4

25 7.3 Gussin elimintion 7 SOLUTION OF SYSTEM OF LINEAR EQUATIONS The, the solution of the liner system is given by x n = b(n) n (n) n,n x i = b (n) i n j=i+1 (n) i,j x j (n) i,i for i = n 1,..., 1. Exmple 4. Let us consider the following three dimensionl liner system 1 1 x x = 4 6 x 3 10 Using the Guss elimintion lgorithm, we get (1) x()-(1) 0.5x()-(1) (1) () (3) (4) (5) (6) x 3 = 4 4 = 1, x = (3 1)/3 = 3, x 1 = ( )/ = 3. Exercice 17. Solve the following three dimensionl liner system using Guss elimintion 1 5 x x = 0 x 3 1 (The solution is x 1 = 7 4 ; x = 5 4 ; x 3 = 1 4 ;) URL. emil. zhri@gmx.net 5

The Regulated and Riemann Integrals

The Regulated and Riemann Integrals Chpter 1 The Regulted nd Riemnn Integrls 1.1 Introduction We will consider severl different pproches to defining the definite integrl f(x) dx of function f(x). These definitions will ll ssign the sme vlue

More information

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by. NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with

More information

Lecture 14: Quadrature

Lecture 14: Quadrature Lecture 14: Qudrture This lecture is concerned with the evlution of integrls fx)dx 1) over finite intervl [, b] The integrnd fx) is ssumed to be rel-vlues nd smooth The pproximtion of n integrl by numericl

More information

Numerical Analysis: Trapezoidal and Simpson s Rule

Numerical Analysis: Trapezoidal and Simpson s Rule nd Simpson s Mthemticl question we re interested in numericlly nswering How to we evlute I = f (x) dx? Clculus tells us tht if F(x) is the ntiderivtive of function f (x) on the intervl [, b], then I =

More information

Review of Calculus, cont d

Review of Calculus, cont d Jim Lmbers MAT 460 Fll Semester 2009-10 Lecture 3 Notes These notes correspond to Section 1.1 in the text. Review of Clculus, cont d Riemnn Sums nd the Definite Integrl There re mny cses in which some

More information

Z b. f(x)dx. Yet in the above two cases we know what f(x) is. Sometimes, engineers want to calculate an area by computing I, but...

Z b. f(x)dx. Yet in the above two cases we know what f(x) is. Sometimes, engineers want to calculate an area by computing I, but... Chpter 7 Numericl Methods 7. Introduction In mny cses the integrl f(x)dx cn be found by finding function F (x) such tht F 0 (x) =f(x), nd using f(x)dx = F (b) F () which is known s the nlyticl (exct) solution.

More information

Definite integral. Mathematics FRDIS MENDELU

Definite integral. Mathematics FRDIS MENDELU Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová Brno 1 Motivtion - re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function defined on [, b]. Wht is the re of the

More information

Best Approximation. Chapter The General Case

Best Approximation. Chapter The General Case Chpter 4 Best Approximtion 4.1 The Generl Cse In the previous chpter, we hve seen how n interpolting polynomil cn be used s n pproximtion to given function. We now wnt to find the best pproximtion to given

More information

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30

Definite integral. Mathematics FRDIS MENDELU. Simona Fišnarová (Mendel University) Definite integral MENDELU 1 / 30 Definite integrl Mthemtics FRDIS MENDELU Simon Fišnrová (Mendel University) Definite integrl MENDELU / Motivtion - re under curve Suppose, for simplicity, tht y = f(x) is nonnegtive nd continuous function

More information

Math 1B, lecture 4: Error bounds for numerical methods

Math 1B, lecture 4: Error bounds for numerical methods Mth B, lecture 4: Error bounds for numericl methods Nthn Pflueger 4 September 0 Introduction The five numericl methods descried in the previous lecture ll operte by the sme principle: they pproximte the

More information

Chapter 3 Solving Nonlinear Equations

Chapter 3 Solving Nonlinear Equations Chpter 3 Solving Nonliner Equtions 3.1 Introduction The nonliner function of unknown vrible x is in the form of where n could be non-integer. Root is the numericl vlue of x tht stisfies f ( x) 0. Grphiclly,

More information

Lecture 12: Numerical Quadrature

Lecture 12: Numerical Quadrature Lecture 12: Numericl Qudrture J.K. Ryn@tudelft.nl WI3097TU Delft Institute of Applied Mthemtics Delft University of Technology 5 December 2012 () Numericl Qudrture 5 December 2012 1 / 46 Outline 1 Review

More information

Math& 152 Section Integration by Parts

Math& 152 Section Integration by Parts Mth& 5 Section 7. - Integrtion by Prts Integrtion by prts is rule tht trnsforms the integrl of the product of two functions into other (idelly simpler) integrls. Recll from Clculus I tht given two differentible

More information

The Riemann Integral

The Riemann Integral Deprtment of Mthemtics King Sud University 2017-2018 Tble of contents 1 Anti-derivtive Function nd Indefinite Integrls 2 3 4 5 Indefinite Integrls & Anti-derivtive Function Definition Let f : I R be function

More information

1 The Riemann Integral

1 The Riemann Integral The Riemnn Integrl. An exmple leding to the notion of integrl (res) We know how to find (i.e. define) the re of rectngle (bse height), tringle ( (sum of res of tringles). But how do we find/define n re

More information

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature

CMDA 4604: Intermediate Topics in Mathematical Modeling Lecture 19: Interpolation and Quadrature CMDA 4604: Intermedite Topics in Mthemticl Modeling Lecture 19: Interpoltion nd Qudrture In this lecture we mke brief diversion into the res of interpoltion nd qudrture. Given function f C[, b], we sy

More information

APPROXIMATE INTEGRATION

APPROXIMATE INTEGRATION APPROXIMATE INTEGRATION. Introduction We hve seen tht there re functions whose nti-derivtives cnnot be expressed in closed form. For these resons ny definite integrl involving these integrnds cnnot be

More information

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives Block #6: Properties of Integrls, Indefinite Integrls Gols: Definition of the Definite Integrl Integrl Clcultions using Antiderivtives Properties of Integrls The Indefinite Integrl 1 Riemnn Sums - 1 Riemnn

More information

Numerical Integration

Numerical Integration Chpter 5 Numericl Integrtion Numericl integrtion is the study of how the numericl vlue of n integrl cn be found. Methods of function pproximtion discussed in Chpter??, i.e., function pproximtion vi the

More information

Theoretical foundations of Gaussian quadrature

Theoretical foundations of Gaussian quadrature Theoreticl foundtions of Gussin qudrture 1 Inner product vector spce Definition 1. A vector spce (or liner spce) is set V = {u, v, w,...} in which the following two opertions re defined: (A) Addition of

More information

CAAM 453 NUMERICAL ANALYSIS I Examination There are four questions, plus a bonus. Do not look at them until you begin the exam.

CAAM 453 NUMERICAL ANALYSIS I Examination There are four questions, plus a bonus. Do not look at them until you begin the exam. Exmintion 1 Posted 23 October 2002. Due no lter thn 5pm on Mondy, 28 October 2002. Instructions: 1. Time limit: 3 uninterrupted hours. 2. There re four questions, plus bonus. Do not look t them until you

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

Numerical Integration

Numerical Integration Chpter 1 Numericl Integrtion Numericl differentition methods compute pproximtions to the derivtive of function from known vlues of the function. Numericl integrtion uses the sme informtion to compute numericl

More information

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0)

P 3 (x) = f(0) + f (0)x + f (0) 2. x 2 + f (0) . In the problem set, you are asked to show, in general, the n th order term is a n = f (n) (0) 1 Tylor polynomils In Section 3.5, we discussed how to pproximte function f(x) round point in terms of its first derivtive f (x) evluted t, tht is using the liner pproximtion f() + f ()(x ). We clled this

More information

The final exam will take place on Friday May 11th from 8am 11am in Evans room 60.

The final exam will take place on Friday May 11th from 8am 11am in Evans room 60. Mth 104: finl informtion The finl exm will tke plce on Fridy My 11th from 8m 11m in Evns room 60. The exm will cover ll prts of the course with equl weighting. It will cover Chpters 1 5, 7 15, 17 21, 23

More information

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007 A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H Thoms Shores Deprtment of Mthemtics University of Nebrsk Spring 2007 Contents Rtes of Chnge nd Derivtives 1 Dierentils 4 Are nd Integrls 5 Multivrite Clculus

More information

1 The Lagrange interpolation formula

1 The Lagrange interpolation formula Notes on Qudrture 1 The Lgrnge interpoltion formul We briefly recll the Lgrnge interpoltion formul. The strting point is collection of N + 1 rel points (x 0, y 0 ), (x 1, y 1 ),..., (x N, y N ), with x

More information

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature

Lecture 6: Singular Integrals, Open Quadrature rules, and Gauss Quadrature Lecture notes on Vritionl nd Approximte Methods in Applied Mthemtics - A Peirce UBC Lecture 6: Singulr Integrls, Open Qudrture rules, nd Guss Qudrture (Compiled 6 August 7) In this lecture we discuss the

More information

ODE: Existence and Uniqueness of a Solution

ODE: Existence and Uniqueness of a Solution Mth 22 Fll 213 Jerry Kzdn ODE: Existence nd Uniqueness of Solution The Fundmentl Theorem of Clculus tells us how to solve the ordinry differentil eqution (ODE) du = f(t) dt with initil condition u() =

More information

Week 10: Riemann integral and its properties

Week 10: Riemann integral and its properties Clculus nd Liner Algebr for Biomedicl Engineering Week 10: Riemnn integrl nd its properties H. Führ, Lehrstuhl A für Mthemtik, RWTH Achen, WS 07 Motivtion: Computing flow from flow rtes 1 We observe the

More information

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus Unit #9 : Definite Integrl Properties; Fundmentl Theorem of Clculus Gols: Identify properties of definite integrls Define odd nd even functions, nd reltionship to integrl vlues Introduce the Fundmentl

More information

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden

Numerical Analysis. 10th ed. R L Burden, J D Faires, and A M Burden Numericl Anlysis 10th ed R L Burden, J D Fires, nd A M Burden Bemer Presenttion Slides Prepred by Dr. Annette M. Burden Youngstown Stte University July 9, 2015 Chpter 4.1: Numericl Differentition 1 Three-Point

More information

B.Sc. in Mathematics (Ordinary)

B.Sc. in Mathematics (Ordinary) R48/0 DUBLIN INSTITUTE OF TECHNOLOGY KEVIN STREET, DUBLIN 8 B.Sc. in Mthemtics (Ordinry) SUPPLEMENTAL EXAMINATIONS 01 Numericl Methods Dr. D. Mckey Dr. C. Hills Dr. E.A. Cox Full mrks for complete nswers

More information

Sections 5.2: The Definite Integral

Sections 5.2: The Definite Integral Sections 5.2: The Definite Integrl In this section we shll formlize the ides from the lst section to functions in generl. We strt with forml definition.. The Definite Integrl Definition.. Suppose f(x)

More information

NUMERICAL INTEGRATION

NUMERICAL INTEGRATION NUMERICAL INTEGRATION How do we evlute I = f (x) dx By the fundmentl theorem of clculus, if F (x) is n ntiderivtive of f (x), then I = f (x) dx = F (x) b = F (b) F () However, in prctice most integrls

More information

THE HANKEL MATRIX METHOD FOR GAUSSIAN QUADRATURE IN 1 AND 2 DIMENSIONS

THE HANKEL MATRIX METHOD FOR GAUSSIAN QUADRATURE IN 1 AND 2 DIMENSIONS THE HANKEL MATRIX METHOD FOR GAUSSIAN QUADRATURE IN 1 AND 2 DIMENSIONS CARLOS SUERO, MAURICIO ALMANZAR CONTENTS 1 Introduction 1 2 Proof of Gussin Qudrture 6 3 Iterted 2-Dimensionl Gussin Qudrture 20 4

More information

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite Unit #8 : The Integrl Gols: Determine how to clculte the re described by function. Define the definite integrl. Eplore the reltionship between the definite integrl nd re. Eplore wys to estimte the definite

More information

Review of basic calculus

Review of basic calculus Review of bsic clculus This brief review reclls some of the most importnt concepts, definitions, nd theorems from bsic clculus. It is not intended to tech bsic clculus from scrtch. If ny of the items below

More information

MA 124 January 18, Derivatives are. Integrals are.

MA 124 January 18, Derivatives are. Integrals are. MA 124 Jnury 18, 2018 Prof PB s one-minute introduction to clculus Derivtives re. Integrls re. In Clculus 1, we lern limits, derivtives, some pplictions of derivtives, indefinite integrls, definite integrls,

More information

Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 4: Numerical differentiation and integration. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 4: Numericl differentition nd integrtion Xioqun Zng Sngi Jio Tong University Lst updted: November, 0 Numericl Anlysis. Numericl differentition.. Introduction Find n pproximtion of f (x 0 ),

More information

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying

W. We shall do so one by one, starting with I 1, and we shall do it greedily, trying Vitli covers 1 Definition. A Vitli cover of set E R is set V of closed intervls with positive length so tht, for every δ > 0 nd every x E, there is some I V with λ(i ) < δ nd x I. 2 Lemm (Vitli covering)

More information

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1

Section 4.8. D v(t j 1 ) t. (4.8.1) j=1 Difference Equtions to Differentil Equtions Section.8 Distnce, Position, nd the Length of Curves Although we motivted the definition of the definite integrl with the notion of re, there re mny pplictions

More information

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1

Numerical Integration. 1 Introduction. 2 Midpoint Rule, Trapezoid Rule, Simpson Rule. AMSC/CMSC 460/466 T. von Petersdorff 1 AMSC/CMSC 46/466 T. von Petersdorff 1 umericl Integrtion 1 Introduction We wnt to pproximte the integrl I := f xdx where we re given, b nd the function f s subroutine. We evlute f t points x 1,...,x n

More information

Lecture 19: Continuous Least Squares Approximation

Lecture 19: Continuous Least Squares Approximation Lecture 19: Continuous Lest Squres Approximtion 33 Continuous lest squres pproximtion We begn 31 with the problem of pproximting some f C[, b] with polynomil p P n t the discrete points x, x 1,, x m for

More information

Tangent Line and Tangent Plane Approximations of Definite Integral

Tangent Line and Tangent Plane Approximations of Definite Integral Rose-Hulmn Undergrdute Mthemtics Journl Volume 16 Issue 2 Article 8 Tngent Line nd Tngent Plne Approximtions of Definite Integrl Meghn Peer Sginw Vlley Stte University Follow this nd dditionl works t:

More information

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve. Clculus Li Vs The Fundmentl Theorem of Clculus. The Totl Chnge Theorem nd the Are Under Curve. Recll the following fct from Clculus course. If continuous function f(x) represents the rte of chnge of F

More information

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1 Exm, Mthemtics 471, Section ETY6 6:5 pm 7:4 pm, Mrch 1, 16, IH-115 Instructor: Attil Máté 1 17 copies 1. ) Stte the usul sufficient condition for the fixed-point itertion to converge when solving the eqution

More information

MAT 772: Numerical Analysis. James V. Lambers

MAT 772: Numerical Analysis. James V. Lambers MAT 772: Numericl Anlysis Jmes V. Lmbers August 23, 2016 2 Contents 1 Solution of Equtions by Itertion 7 1.1 Nonliner Equtions....................... 7 1.1.1 Existence nd Uniqueness................ 7 1.1.2

More information

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), )

Euler, Ioachimescu and the trapezium rule. G.J.O. Jameson (Math. Gazette 96 (2012), ) Euler, Iochimescu nd the trpezium rule G.J.O. Jmeson (Mth. Gzette 96 (0), 36 4) The following results were estblished in recent Gzette rticle [, Theorems, 3, 4]. Given > 0 nd 0 < s

More information

Abstract inner product spaces

Abstract inner product spaces WEEK 4 Abstrct inner product spces Definition An inner product spce is vector spce V over the rel field R equipped with rule for multiplying vectors, such tht the product of two vectors is sclr, nd the

More information

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

More information

Lecture 20: Numerical Integration III

Lecture 20: Numerical Integration III cs4: introduction to numericl nlysis /8/0 Lecture 0: Numericl Integrtion III Instructor: Professor Amos Ron Scribes: Mrk Cowlishw, Yunpeng Li, Nthnel Fillmore For the lst few lectures we hve discussed

More information

Orthogonal Polynomials and Least-Squares Approximations to Functions

Orthogonal Polynomials and Least-Squares Approximations to Functions Chpter Orthogonl Polynomils nd Lest-Squres Approximtions to Functions **4/5/3 ET. Discrete Lest-Squres Approximtions Given set of dt points (x,y ), (x,y ),..., (x m,y m ), norml nd useful prctice in mny

More information

4.4 Areas, Integrals and Antiderivatives

4.4 Areas, Integrals and Antiderivatives . res, integrls nd ntiderivtives 333. Ares, Integrls nd Antiderivtives This section explores properties of functions defined s res nd exmines some connections mong res, integrls nd ntiderivtives. In order

More information

Big idea in Calculus: approximation

Big idea in Calculus: approximation Big ide in Clculus: pproximtion Derivtive: f (x) = df dx f f(x +h) f(x) =, x h rte of chnge is pproximtely the rtio of chnges in the function vlue nd in the vrible in very short time Liner pproximtion:

More information

Section 6.1 Definite Integral

Section 6.1 Definite Integral Section 6.1 Definite Integrl Suppose we wnt to find the re of region tht is not so nicely shped. For exmple, consider the function shown elow. The re elow the curve nd ove the x xis cnnot e determined

More information

The Fundamental Theorem of Calculus

The Fundamental Theorem of Calculus The Fundmentl Theorem of Clculus MATH 151 Clculus for Mngement J. Robert Buchnn Deprtment of Mthemtics Fll 2018 Objectives Define nd evlute definite integrls using the concept of re. Evlute definite integrls

More information

3.4 Numerical integration

3.4 Numerical integration 3.4. Numericl integrtion 63 3.4 Numericl integrtion In mny economic pplictions it is necessry to compute the definite integrl of relvlued function f with respect to "weight" function w over n intervl [,

More information

Improper Integrals, and Differential Equations

Improper Integrals, and Differential Equations Improper Integrls, nd Differentil Equtions October 22, 204 5.3 Improper Integrls Previously, we discussed how integrls correspond to res. More specificlly, we sid tht for function f(x), the region creted

More information

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1 The Fundmentl Theorem of Clculus As we continue to study the re problem, let s think bck to wht we know bout computing res of regions enclosed by curves. If we wnt to find the re of the region below the

More information

Advanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration.

Advanced Computational Fluid Dynamics AA215A Lecture 3 Polynomial Interpolation: Numerical Differentiation and Integration. Advnced Computtionl Fluid Dynmics AA215A Lecture 3 Polynomil Interpoltion: Numericl Differentition nd Integrtion Antony Jmeson Winter Qurter, 2016, Stnford, CA Lst revised on Jnury 7, 2016 Contents 3 Polynomil

More information

Arithmetic Mean Derivative Based Midpoint Rule

Arithmetic Mean Derivative Based Midpoint Rule Applied Mthemticl Sciences, Vol. 1, 018, no. 13, 65-633 HIKARI Ltd www.m-hikri.com https://doi.org/10.1988/ms.018.858 Arithmetic Men Derivtive Bsed Midpoint Rule Rike Mrjulis 1, M. Imrn, Symsudhuh Numericl

More information

f(x)dx . Show that there 1, 0 < x 1 does not exist a differentiable function g : [ 1, 1] R such that g (x) = f(x) for all

f(x)dx . Show that there 1, 0 < x 1 does not exist a differentiable function g : [ 1, 1] R such that g (x) = f(x) for all 3 Definite Integrl 3.1 Introduction In school one comes cross the definition of the integrl of rel vlued function defined on closed nd bounded intervl [, b] between the limits nd b, i.e., f(x)dx s the

More information

Calculus II: Integrations and Series

Calculus II: Integrations and Series Clculus II: Integrtions nd Series August 7, 200 Integrls Suppose we hve generl function y = f(x) For simplicity, let f(x) > 0 nd f(x) continuous Denote F (x) = re under the grph of f in the intervl [,x]

More information

Construction of Gauss Quadrature Rules

Construction of Gauss Quadrature Rules Jim Lmbers MAT 772 Fll Semester 2010-11 Lecture 15 Notes These notes correspond to Sections 10.2 nd 10.3 in the text. Construction of Guss Qudrture Rules Previously, we lerned tht Newton-Cotes qudrture

More information

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004

Advanced Calculus: MATH 410 Notes on Integrals and Integrability Professor David Levermore 17 October 2004 Advnced Clculus: MATH 410 Notes on Integrls nd Integrbility Professor Dvid Levermore 17 October 2004 1. Definite Integrls In this section we revisit the definite integrl tht you were introduced to when

More information

1 Linear Least Squares

1 Linear Least Squares Lest Squres Pge 1 1 Liner Lest Squres I will try to be consistent in nottion, with n being the number of dt points, nd m < n being the number of prmeters in model function. We re interested in solving

More information

Chapters 4 & 5 Integrals & Applications

Chapters 4 & 5 Integrals & Applications Contents Chpters 4 & 5 Integrls & Applictions Motivtion to Chpters 4 & 5 2 Chpter 4 3 Ares nd Distnces 3. VIDEO - Ares Under Functions............................................ 3.2 VIDEO - Applictions

More information

Matrices and Determinants

Matrices and Determinants Nme Chpter 8 Mtrices nd Determinnts Section 8.1 Mtrices nd Systems of Equtions Objective: In this lesson you lerned how to use mtrices, Gussin elimintion, nd Guss-Jordn elimintion to solve systems of liner

More information

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2. Mth 43 Section 6. Section 6.: Definite Integrl Suppose we wnt to find the re of region tht is not so nicely shped. For exmple, consider the function shown elow. The re elow the curve nd ove the x xis cnnot

More information

1 Probability Density Functions

1 Probability Density Functions Lis Yn CS 9 Continuous Distributions Lecture Notes #9 July 6, 28 Bsed on chpter by Chris Piech So fr, ll rndom vribles we hve seen hve been discrete. In ll the cses we hve seen in CS 9, this ment tht our

More information

Numerical Linear Algebra Assignment 008

Numerical Linear Algebra Assignment 008 Numericl Liner Algebr Assignment 008 Nguyen Qun B Hong Students t Fculty of Mth nd Computer Science, Ho Chi Minh University of Science, Vietnm emil. nguyenqunbhong@gmil.com blog. http://hongnguyenqunb.wordpress.com

More information

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS.

THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS. THE EXISTENCE-UNIQUENESS THEOREM FOR FIRST-ORDER DIFFERENTIAL EQUATIONS RADON ROSBOROUGH https://intuitiveexplntionscom/picrd-lindelof-theorem/ This document is proof of the existence-uniqueness theorem

More information

Introduction to Numerical Analysis

Introduction to Numerical Analysis Introduction to Numericl Anlysis Doron Levy Deprtment of Mthemtics nd Center for Scientific Computtion nd Mthemticl Modeling (CSCAMM) University of Mrylnd June 14, 2012 D. Levy CONTENTS Contents 1 Introduction

More information

8 Laplace s Method and Local Limit Theorems

8 Laplace s Method and Local Limit Theorems 8 Lplce s Method nd Locl Limit Theorems 8. Fourier Anlysis in Higher DImensions Most of the theorems of Fourier nlysis tht we hve proved hve nturl generliztions to higher dimensions, nd these cn be proved

More information

Integration Techniques

Integration Techniques Integrtion Techniques. Integrtion of Trigonometric Functions Exmple. Evlute cos x. Recll tht cos x = cos x. Hence, cos x Exmple. Evlute = ( + cos x) = (x + sin x) + C = x + 4 sin x + C. cos 3 x. Let u

More information

Chapter 7 Notes, Stewart 8e. 7.1 Integration by Parts Trigonometric Integrals Evaluating sin m x cos n (x) dx...

Chapter 7 Notes, Stewart 8e. 7.1 Integration by Parts Trigonometric Integrals Evaluating sin m x cos n (x) dx... Contents 7.1 Integrtion by Prts................................... 2 7.2 Trigonometric Integrls.................................. 8 7.2.1 Evluting sin m x cos n (x)......................... 8 7.2.2 Evluting

More information

different methods (left endpoint, right endpoint, midpoint, trapezoid, Simpson s).

different methods (left endpoint, right endpoint, midpoint, trapezoid, Simpson s). Mth 1A with Professor Stnkov Worksheet, Discussion #41; Wednesdy, 12/6/217 GSI nme: Roy Zho Problems 1. Write the integrl 3 dx s limit of Riemnn sums. Write it using 2 intervls using the 1 x different

More information

Best Approximation in the 2-norm

Best Approximation in the 2-norm Jim Lmbers MAT 77 Fll Semester 1-11 Lecture 1 Notes These notes correspond to Sections 9. nd 9.3 in the text. Best Approximtion in the -norm Suppose tht we wish to obtin function f n (x) tht is liner combintion

More information

g i fφdx dx = x i i=1 is a Hilbert space. We shall, henceforth, abuse notation and write g i f(x) = f

g i fφdx dx = x i i=1 is a Hilbert space. We shall, henceforth, abuse notation and write g i f(x) = f 1. Appliction of functionl nlysis to PEs 1.1. Introduction. In this section we give little introduction to prtil differentil equtions. In prticulr we consider the problem u(x) = f(x) x, u(x) = x (1) where

More information

III. Lecture on Numerical Integration. File faclib/dattab/lecture-notes/numerical-inter03.tex /by EC, 3/14/2008 at 15:11, version 9

III. Lecture on Numerical Integration. File faclib/dattab/lecture-notes/numerical-inter03.tex /by EC, 3/14/2008 at 15:11, version 9 III Lecture on Numericl Integrtion File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 1 Sttement of the Numericl Integrtion Problem In this lecture we consider the

More information

Discrete Least-squares Approximations

Discrete Least-squares Approximations Discrete Lest-squres Approximtions Given set of dt points (x, y ), (x, y ),, (x m, y m ), norml nd useful prctice in mny pplictions in sttistics, engineering nd other pplied sciences is to construct curve

More information

Chapter 1. Basic Concepts

Chapter 1. Basic Concepts Socrtes Dilecticl Process: The Þrst step is the seprtion of subject into its elements. After this, by deþning nd discovering more bout its prts, one better comprehends the entire subject Socrtes (469-399)

More information

Definition of Continuity: The function f(x) is continuous at x = a if f(a) exists and lim

Definition of Continuity: The function f(x) is continuous at x = a if f(a) exists and lim Mth 9 Course Summry/Study Guide Fll, 2005 [1] Limits Definition of Limit: We sy tht L is the limit of f(x) s x pproches if f(x) gets closer nd closer to L s x gets closer nd closer to. We write lim f(x)

More information

Calculus and linear algebra for biomedical engineering Week 11: The Riemann integral and its properties

Calculus and linear algebra for biomedical engineering Week 11: The Riemann integral and its properties Clculus nd liner lgebr for biomedicl engineering Week 11: The Riemnn integrl nd its properties Hrtmut Führ fuehr@mth.rwth-chen.de Lehrstuhl A für Mthemtik, RWTH Achen Jnury 9, 2009 Overview 1 Motivtion:

More information

Lecture 1. Functional series. Pointwise and uniform convergence.

Lecture 1. Functional series. Pointwise and uniform convergence. 1 Introduction. Lecture 1. Functionl series. Pointwise nd uniform convergence. In this course we study mongst other things Fourier series. The Fourier series for periodic function f(x) with period 2π is

More information

Orthogonal Polynomials

Orthogonal Polynomials Mth 4401 Gussin Qudrture Pge 1 Orthogonl Polynomils Orthogonl polynomils rise from series solutions to differentil equtions, lthough they cn be rrived t in vriety of different mnners. Orthogonl polynomils

More information

UNIFORM CONVERGENCE MA 403: REAL ANALYSIS, INSTRUCTOR: B. V. LIMAYE

UNIFORM CONVERGENCE MA 403: REAL ANALYSIS, INSTRUCTOR: B. V. LIMAYE UNIFORM CONVERGENCE MA 403: REAL ANALYSIS, INSTRUCTOR: B. V. LIMAYE 1. Pointwise Convergence of Sequence Let E be set nd Y be metric spce. Consider functions f n : E Y for n = 1, 2,.... We sy tht the sequence

More information

1. Gauss-Jacobi quadrature and Legendre polynomials. p(t)w(t)dt, p {p(x 0 ),...p(x n )} p(t)w(t)dt = w k p(x k ),

1. Gauss-Jacobi quadrature and Legendre polynomials. p(t)w(t)dt, p {p(x 0 ),...p(x n )} p(t)w(t)dt = w k p(x k ), 1. Guss-Jcobi qudrture nd Legendre polynomils Simpson s rule for evluting n integrl f(t)dt gives the correct nswer with error of bout O(n 4 ) (with constnt tht depends on f, in prticulr, it depends on

More information

Math 360: A primitive integral and elementary functions

Math 360: A primitive integral and elementary functions Mth 360: A primitive integrl nd elementry functions D. DeTurck University of Pennsylvni October 16, 2017 D. DeTurck Mth 360 001 2017C: Integrl/functions 1 / 32 Setup for the integrl prtitions Definition:

More information

1 The fundamental theorems of calculus.

1 The fundamental theorems of calculus. The fundmentl theorems of clculus. The fundmentl theorems of clculus. Evluting definite integrls. The indefinite integrl- new nme for nti-derivtive. Differentiting integrls. Tody we provide the connection

More information

AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION

AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION Applied Mthemtics E-Notes, 5(005), 53-60 c ISSN 1607-510 Avilble free t mirror sites of http://www.mth.nthu.edu.tw/ men/ AN INTEGRAL INEQUALITY FOR CONVEX FUNCTIONS AND APPLICATIONS IN NUMERICAL INTEGRATION

More information

Math 131. Numerical Integration Larson Section 4.6

Math 131. Numerical Integration Larson Section 4.6 Mth. Numericl Integrtion Lrson Section. This section looks t couple of methods for pproimting definite integrls numericlly. The gol is to get good pproimtion of the definite integrl in problems where n

More information

Chapter 2. Numerical Integration also called quadrature. 2.2 Trapezoidal Rule. 2.1 A basic principle Extending the Trapezoidal Rule DRAWINGS

Chapter 2. Numerical Integration also called quadrature. 2.2 Trapezoidal Rule. 2.1 A basic principle Extending the Trapezoidal Rule DRAWINGS S Cpter Numericl Integrtion lso clled qudrture Te gol of numericl integrtion is to pproximte numericlly. f(x)dx Tis is useful for difficult integrls like sin(x) ; sin(x ); x + x 4 Or worse still for multiple-dimensionl

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2019

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2019 ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS MATH00030 SEMESTER 208/209 DR. ANTHONY BROWN 7.. Introduction to Integrtion. 7. Integrl Clculus As ws the cse with the chpter on differentil

More information

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1 Mth 33 Volume Stewrt 5.2 Geometry of integrls. In this section, we will lern how to compute volumes using integrls defined by slice nlysis. First, we recll from Clculus I how to compute res. Given the

More information

Calculus I-II Review Sheet

Calculus I-II Review Sheet Clculus I-II Review Sheet 1 Definitions 1.1 Functions A function is f is incresing on n intervl if x y implies f(x) f(y), nd decresing if x y implies f(x) f(y). It is clled monotonic if it is either incresing

More information

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES

DOING PHYSICS WITH MATLAB MATHEMATICAL ROUTINES DOIG PHYSICS WITH MATLAB MATHEMATICAL ROUTIES COMPUTATIO OF OE-DIMESIOAL ITEGRALS In Cooper School of Physics, University of Sydney in.cooper@sydney.edu.u DOWLOAD DIRECTORY FOR MATLAB SCRIPTS mth_integrtion_1d.m

More information

Numerical integration

Numerical integration 2 Numericl integrtion This is pge i Printer: Opque this 2. Introduction Numericl integrtion is problem tht is prt of mny problems in the economics nd econometrics literture. The orgniztion of this chpter

More information

INTRODUCTION TO INTEGRATION

INTRODUCTION TO INTEGRATION INTRODUCTION TO INTEGRATION 5.1 Ares nd Distnces Assume f(x) 0 on the intervl [, b]. Let A be the re under the grph of f(x). b We will obtin n pproximtion of A in the following three steps. STEP 1: Divide

More information