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

Size: px
Start display at page:

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

Transcription

1 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

2 Chpter 4.1: Numericl Differentition 1 Three-Point Formuls THREE-POINT ENDPOINT FORMULA f (x 0 ) = 1 2h [ 3f (x 0) + 4f (x 0 + h) f (x 0 + 2h)] + h2 3 f (3) (ξ 0 ), where ξ 0 lies between x 0 nd x 0 + 2h. THREE-POINT MIDPOINT FORMULA f (x 0 ) = 1 2h [f (x 0 + h) f (x 0 h)] h2 6 f (3) (ξ 1 ), where ξ 1 lies between x 0 h nd x 0 + h.

3 Chpter 4.1: Numericl Differentition 2 Five-Point Formuls FIVE-POINT MIDPOINT FORMULA f (x 0 ) = 1 12h [f (x 0 2h) 8f (x 0 h) + 8f (x 0 + h) f (x 0 + 2h)] + h4 30 f (5) (ξ), where ξ lies between x 0 2h nd x 0 + 2h. FIVE-POINT ENDPOINT FORMULA f (x 0 ) = where ξ lies between x 0 nd x 0 + 4h. 1 12h [ 25f (x 0) + 48f (x 0 + h) 36f (x 0 + 2h) + 16f (x 0 + 3h) 3f (x 0 + 4h)] + h4 5 f (5) (ξ),

4 Chpter 4.1: Numericl Differentition 3 SECOND DERIVATIVE MIDPOINT FORMULA f (x 0 ) = 1 h 2 [f (x 0 h) 2f (x 0 ) + f (x 0 + h)] h2 12 f (4) (ξ), for some ξ, where x 0 h < ξ < x 0 + h. If f (4) is continuous on [x 0 h, x 0 + h] it is lso bounded, nd the pproximtion is O(h 2 ). NOTE: It is prticulrly importnt to py ttention to round-off error when pproximting derivtives.

5 Chpter 4.1: Numericl Differentition 4 ERROR - INSTABILITY The totl error in the pproximtion, f (x 0 ) f (x 0 + h) f (x 0 h) 2h = e(x 0 + h) e(x 0 h) 2h h2 6 f (3) (ξ 1 ), is due both to round-off error, the first prt, nd to trunction error. If we ssume tht the round-off errors e(x 0 ± h) re bounded by some number ε > 0 nd tht the third derivtive of f is bounded by number M > 0, then f (x 0 ) f (x 0 + h) f (x 0 h) 2h ε h + h2 6 M. To reduce the trunction error, h 2 M/6, we need to reduce h. But s h is reduced, the round-off error ε/h grows. In prctice, then, it is seldom dvntgeous to let h be too smll, becuse in tht cse the round-off error will dominte the clcultions.

6 Chpter 4.2: Richrdson s Extrpoltion 5 Richrdson s extrpoltion is used to generte high-ccurcy results while using low-order formuls. Extrpoltion cn be pplied whenever it is known tht n pproximtion technique hs n error term with predictble form, one tht depends on prmeter, usully the step size h. Richrdson s Extrpoltion The YouTube video developed by Dougls Hrder cn serve s good illustrtion of the Richrdson s Extrpoltion for students. Richrdson s Extrpoltion Video

7 Chpter 4.3: Elements of Numericl Integrtion 6 The need often rises for evluting the definite integrl of function tht hs no explicit ntiderivtive or whose ntiderivtive is not esy to obtin. The bsic method involved in pproximting b f (x) dx is clled numericl qudrture. It uses sum n i=0 if (x i ) to pproximte b f (x) dx.

8 Chpter 4.3: Elements of Numericl Integrtion 7 Trpezoidl Rule b f (x) dx = h 2 [f (x 0) + f (x 1 )] h3 12 f (ξ). This is clled the Trpezoidl rule becuse when f is function with positive vlues, b f (x) dx is pproximted by the re in trpezoid, s shown in the figure below. y y 5 f (x) y 5 P 1 (x) 5 x 0 x 1 5 b x

9 Chpter 4.3: Elements of Numericl Integrtion 8 Trpezoidl Rule The YouTube video developed by Mthispower4u cn serve s good illustrtion of the Trpezoidl Rule for students. Trpezoidl Rule Video

10 Chpter 4.3: Elements of Numericl Integrtion 9 Simpson s Rule Simpson s rule results from integrting over [, b] the second Lgrnge polynomil with eqully-spced nodes x 0 =, x 2 = b, nd x 1 = + h, where h = (b )/2. x2 x 0 f (x) dx = h 3 [f (x 0) + 4f (x 1 ) + f (x 2 )] h5 90 f (4) (ξ). y y 5 f (x) y 5 P 2 (x) 5 x 0 x 1 x 2 5 b x

11 Chpter 4.3: Elements of Numericl Integrtion 10 Simpson s Rule The error term in Simpson s rule involves the fourth derivtive of f, so it gives exct results when pplied to ny polynomil of degree three or less. The YouTube video developed by Exm Solutions cn serve s good illustrtion of the Simpson s Rule for students. Simpson s Rule Video

12 Chpter 4.3: Elements of Numericl Integrtion 11 Definition 4.1 The degree of ccurcy, or precision, of qudrture formul is the lrgest positive integer n such tht the formul is exct for x k, for ech k = 0, 1,..., n. Definition 4.1 implies tht the Trpezoidl nd Simpson s rules hve degrees of precision one nd three, respectively. The degree of precision of qudrture formul is n if nd only if the error is zero for ll polynomils of degree k = 0, 1,..., n, but is not zero for some polynomil of degree n + 1. The Trpezoidl nd Simpson s rules re exmples of clss of methods known s Newton-Cotes formuls. There re two types of Newton-Cotes formuls, open nd closed.

13 Chpter 4.3: Elements of Numericl Integrtion 12 Closed Newton-Cotes Formuls The (n + 1)-point closed Newton-Cotes formul uses nodes x i = x 0 + ih, for i = 0, 1,..., n, where x 0 =, x n = b nd h = (b )/n. (See Figure) It is clled closed becuse the endpoints of the closed intervl [, b] re included s nodes. y y = f (x) y = P n (x) 5 x 0 x 1 x 2 x n21 x n 5 b x

14 Chpter 4.3: Elements of Numericl Integrtion 13 Theorem (4.2: Closed Newton-Cotes Formuls) Suppose tht n i=0 if (x i ) denotes the (n + 1)-point closed Newton-Cotes formul with x 0 =, x n = b, nd h = (b )/n. There exists ξ (, b) for which b f (x) dx = n i=0 i f (x i ) + hn+3 f (n+2) (ξ) (n + 2)! if n is even nd f C n+2 [, b], nd n 0 t 2 (t 1) (t n) dt, b f (x) dx = n i=0 i f (x i ) + hn+2 f (n+1) (ξ) (n + 1)! n 0 t(t 1) (t n) dt, if n is odd nd f C n+1 [, b].

15 Chpter 4.3: Elements of Numericl Integrtion 14 Common Closed Newton-Cotes Formuls n = 1: Trpezoidl rule where x 0 < ξ < x 1 x1 n = 2: Simpson s rule where x 0 < ξ < x 2 x2 x 0 x 0 f (x) dx = h 2 [f (x 0) + f (x 1 )] h3 12 f (ξ). f (x) dx = h 3 [f (x 0) + 4f (x 1 ) + f (x 2 )] h5 90 f (4) (ξ). n = 3: Simpson s Three-Eighths where x 0 < ξ < x 3 x3 x 0 n = 4: where x 0 < ξ < x 4 f (x) dx = 3h 8 [f (x 0) + 3f (x 1 ) + 3f (x 2 ) + f (x 3 )] 3h5 80 f (4) (ξ). x4 x 0 f (x) dx = 2h 45 [7f (x 0) + 32f (x 1 ) + 12f (x 2 ) + 32f (x 3 ) + 7f (x 4 )] 8h7 945 f (6) (ξ).

16 Chpter 4.3: Elements of Numericl Integrtion 15 Open Newton-Cotes Formuls The open Newton-Cotes formuls do not include the endpoints of [, b] s nodes. They use the nodes x i = x 0 + ih, for ech i = 0, 1,..., n, where h = (b )/(n + 2) nd x 0 = + h. This implies tht x n = b h, so we lbel the endpoints by setting x 1 = nd x n+1 = b, s shown in the figure. Open formuls contin ll the nodes used for the pproximtion within the open intervl (, b). y y = f (x) y = P n (x) 5 x 21 x 0 x 1 x 2 x n x n11 5 b x

17 Chpter 4.3: Elements of Numericl Integrtion 16 Common Open Newton-Cotes Formuls n = 0: Midpoint rule x 1 x 1 f (x) dx = 2hf (x 0 ) + h3 3 f (ξ), x 1 < ξ < x 1. n = 1: x 2 f (x) dx = 3h x 1 2 [f (x 0) + f (x 1 )] + 3h3 4 f (ξ), x 1 < ξ < x 2. n = 2: x3 f (x) dx x 1 = 4h 3 [2f (x 0) f (x 1 ) + 2f (x 2 )] + 14h5 45 f (4) (ξ), n = 3: x4 x 1 < ξ < x 3. x 1 f (x) dx = 5h 24 [11f (x 0) + f (x 1 ) + f (x 2 ) + 11f (x 3 )] h5 f (4) (ξ), x 1 < ξ < x 4.

18 Chpter 4.3: Elements of Numericl Integrtion 17 Theorem (4.3) Suppose tht n i=0 if (x i ) denotes the (n + 1)-point open Newton-Cotes formul with x 1 =, x n+1 = b, nd h = (b )/(n + 2). There exists ξ (, b) for which b f (x) dx = n i=0 i f (x i ) + hn+3 f (n+2) (ξ) (n + 2)! n+1 1 t 2 (t 1) (t n) dt, if n is even nd f C n+2 [, b], nd b f (x) dx = n i=0 i f (x i ) + hn+2 f (n+1) (ξ) (n + 1)! n+1 1 t(t 1) (t n) dt, if n is odd nd f C n+1 [, b].

19 Chpter 4.4: Composite Numericl Integrtion 18 Theorem (4.4) Let f C 4 [, b], n be even, h = (b )/n, nd x j = + jh, for ech j = 0, 1,..., n. There exists µ (, b) for which the Composite Simpson s rule for n subintervls cn be written with its error term s b f (x) dx = h f () (n/2) 1 j=1 n/2 f (x 2j ) + 4 f (x 2j 1 ) + f (b) b 180 h4 f (4) (µ). j=1

20 Chpter 4.4: Composite Numericl Integrtion 19 Choose n even integer n. Subdivide the intervl [, b] into n subintervls, nd pply Simpson s rule on ech consecutive pir of subintervls. (See Figure 4.7) y y 5 f (x) 5 x 0 x 2 x 2j22 x 2j21 x 2j b 5 x n x Figure: Figure 4.7

21 Chpter 4.4: Composite Numericl Integrtion 20 The error term for the Composite Simpson s rule is O(h 4 ), wheres it ws O(h 5 ) for the stndrd Simpson s rule. However, these rtes re not comprble becuse for stndrd Simpson s rule we hve h fixed t h = (b )/2, but for Composite Simpson s rule we hve h = (b )/n, for n n even integer. This permits us to considerbly reduce the vlue of h.

22 Chpter 4.4: Composite Numericl Integrtion 21 Algorithm 4.1: COMPOSITE SIMPSON S RULE To pproximte the integrl I = b f (x) dx: INPUT endpoints, b; even positive integer n. OUTPUT pproximtion XI to I. Step 1 Set h = (b )/n. Step 2 Set XI0 = f () + f (b); XI1 = 0; (Summtion of f (x 2i 1 ).) XI2 = 0. (Summtion of f (x 2i ).) Step 3 For i = 1,..., n 1 do Steps 4 nd 5. Step 4 Set X = + ih. Step 5 If i is even then set XI2 = XI2 + f (X) else set XI1 = XI1 + f (X). Step 6 Set XI = h(xi0 + 2 XI2 + 4 XI1)/3. Step 7 OUTPUT (XI); STOP.

23 Chpter 4.4: Composite Numericl Integrtion 22 Theorem (4.5) Let f C 2 [, b], h = (b )/n, nd x j = + jh, for ech j = 0, 1,..., n. There exists µ (, b) for which the Composite Trpezoidl rule for n subintervls cn be written with its error term s b f (x) dx = h n 1 f () + 2 f (x j ) + f (b) b 2 12 h2 f (µ). j=1 y y 5 f (x) 5 x 0 x 1 x j21 x j x n21 b 5 x n x Figure: Figure 4.8

24 Chpter 4.4: Composite Numericl Integrtion 23 Theorem (4.6) Let f C 2 [, b], n be even, h = (b )/(n + 2), nd x j = + (j + 1)h for ech j = 1, 0,..., n + 1. There exists µ (, b) for which the Composite Midpoint rule(see lso composite midpoint rule) for n + 2 subintervls cn be written with its error term s b n/2 f (x) dx = 2h f (x 2j ) + b 6 h2 f (µ). j=0 y y 5 f (x) 5 x 21 x 0 x 1 x 2j21 x 2j x 2j11 x n21 x n b 5 x n11 x

25 Chpter 4.5: Romberg Integrtion 24 Recll from Section 4.2 tht Richrdson extrpoltion cn be performed on ny pproximtion procedure whose trunction error is of the form m 1 K j h α j + O(h αm ), j=1 for collection of constnts K j nd when α 1 < α 2 < α 3 < < α m. In tht section we gve demonstrtions to illustrte how effective this techniques is when the pproximtion procedure hs trunction error with only even powers of h, tht is, when the trunction error hs the form. m 1 K j h 2j + O(h 2m ). j=1 Becuse the Composite Trpezoidl rule hs this form, it is n obvious cndidte for extrpoltion. This results in technique known s Romberg integrtion.

26 Chpter 4.5: Romberg Integrtion 25 To pproximte the integrl b f (x) dx we use the results of the Composite Trpezoidl Rule with n = 1, 2, 4, 8, 16,..., nd denote the resulting pproximtions, respectively, by R 1,1, R 2,1, R 3,1, etc. We then pply extrpoltion in the mnner given in Section 4.2, tht is, we obtin O(h 4 ) pproximtions R 2,2, R 3,2, R 4,2, etc, by R k,2 = R k, (R k,1 R k 1,1 ), for k = 2, 3,... Then O(h 6 ) pproximtions R 3,3, R 4,3, R 5,3, etc, by R k,3 = R k, (R k,2 R k 1,2 ), for k = 3, 4,.... In generl, fter the pproprite R k,j 1 pproximtions hve been obtined, we determine the O(h 2j ) pproximtions from 1 R k,j = R k,j j 1 1 (R k,j 1 R k 1,j 1 ), for k = j, j + 1,...

27 Chpter 4.5: Romberg Integrtion 26 y y y y 5 f (x) R 1,1 R 2,1 y 5 f (x) R 3,1 y 5 f (x) b x b x b x O ( ) hk 2 Figure: Figure 4.10 nd Tble 4.10 O ( ) hk 4 O ( ) hk 6 O ( ) hk 8 k 1 R 1,1 2 R 2,1 R 2,2 3 R 3,1 R 3,2 R 3,3 4 R 4,1 R 4,2 R 4,3 R 4,4.... n R n,1 R n,2 R n,3 R n,4 R n,n.... O ( ) hk 2n

28 Chpter 4.5: Romberg Integrtion 27 Algorithm 4.2: ROMBERG INTEGRATION b To pproximte the integrl I = f (x) dx, select n integer n > 0. INPUT endpoints, b; integer n. OUTPUT n rry R. (Compute R by rows; only the lst 2 rows re sved in storge.) Step 1 Set h = b ; R 1,1 = h (f () + f (b)). 2 Step 2 OUTPUT (R 1,1 ). Step 3 For i = 2,..., n do Steps 4 8. Step 4 Set R 2,1 = 1 [R 1,1 + h 2 i 2 k=1 ]. 2 f ( + (k 0.5)h) (Approximtion from Trpezoidl method.) Step 5 For j = 2,..., i set R 2,j = R 2,j 1 + R 2,j 1 R 1,j 1 4 j 1. (Extrpoltion.) 1 Step 6 OUTPUT (R 2,j for j = 1, 2,..., i). Step 7 Set h = h/2. Step 8 For j = 1, 2,..., i set R 1,j = R 2,j. (Updte row 1 of R.) Step 9 STOP.

29 Chpter 4.6: Adptive Qudrture 28 Composite formuls very effective in most situtions, but suffer occsionlly from requirement of eqully-spced nodes. Inpproprite when integrting function on n intervl contining regions with both lrge nd smll functionl vrition. How cn we determine wht technique should be pplied on vrious portions of the intervl of integrtion How ccurte cn we expect the finl pproximtion to be? An efficient technique for this type of problem should predict the mount of functionl vrition nd dpt the step size s necessry. These methods re clled Adptive qudrture methods.

30 Chpter 4.6: Adptive Qudrture 29 Algorithm 4.3: ADAPTIVE QUADRATURE b To pproximte the integrl I = f (x) dx to within given tolernce: INPUT endpoints, b; tolernce TOL; limit N to number of levels. OUTPUT pproximtion APP or messge tht N is exceeded. Step 1 Set APP = 0; i = 1; TOL i = 10 TOL; i = ; h i = (b )/2; FA i = f (); FC i = f ( + h i ); FB i = f (b); S i = h i (FA i + 4FC i + FB i )/3; (Approx. from Simpson s for entire intervl) L i = 1. Step 2 While i > 0 do Steps 3 5. Step 3 Set FD = f ( i + h i /2); FE = f ( i + 3h i /2); S1 = h i (FA i + 4FD + FC i )/6; (Approximtions from Simpson s method for hlves of subintervls.) S2 = h i (FC i + 4FE + FB i )/6; v 1 = i ; (Sve dt t this level.) v 2 = FA i ; v 3 = FC i ; v 4 = FB i ; v 5 = h i ; v 6 = TOL i ; v 7 = S i ; v 8 = L i. Step 4 Set i = i 1. (Delete the level.)

31 Chpter 4.6: Adptive Qudrture 30 Algorithm 4.3: ADAPTIVE QUADRATURE CONTINUED Step 5 If S1 + S2 v 7 < v 6 then set APP = APP + (S1 + S2) else if (v 8 N) then OUTPUT ( LEVEL EXCEEDED ); (Procedure fils.) STOP. else (Add one level.) set i = i + 1; (Dt for right hlf subintervl.) i = v 1 + v 5 ; FA i = v 3 ; FC i = FE; FB i = v 4 ; h i = v 5 /2; TOL i = v 6 /2; S i = S2; L i = v 8 + 1; Step 6 OUTPUT (APP); STOP. set i = i + 1; (Dt for left hlf subintervl.) i = v 1 ; FA i = v 2 ; FC i = FD; FB i = v 3 ; h i = h i 1 ; TOL i = TOL i 1 ; S i = S1; L i = L i 1. (APP pproximtes I to within TOL.)

32 Chpter 4.7: Gussin Qudrture 31 Consider the Trpezoidl rule pplied to determine the integrls of the functions whose grphs re shown in Figure The Trpezoidl rule pproximtes the integrl of the function by integrting the liner function tht joins the endpoints of the grph of the function. y y y y 5 f (x) y 5 f (x) y 5 f (x) 5 x 1 x 2 5 b x 5 x 1 x 2 5 b x 5 x 1 x 2 5 b x Figure: Figure 4.15

33 Chpter 4.7: Gussin Qudrture 32 But this is not likely the best line for pproximting the integrl. Lines such s those shown in Figure 4.16 would likely give much better pproximtions in most cses. y y y y 5 f (x) y 5 f (x) y 5 f (x) x 1 x 2 b x x 1 x 2 b x x 1 b x x 2 Figure: Figure 4.16

34 Chpter 4.7: Gussin Qudrture 33 In Gussin qudrture the points for evlution re chosen in n optiml, rther thn eqully-spced, wy. The nodes x 1, x 2,..., x n in the intervl [, b] nd coefficients c 1, c 2,..., c n, re chosen to minimize the expected error obtined in the pproximtion b n f (x) dx c i f (x i ). i=1 The YouTube video developed by Wen Shen cn serve s good illustrtion of the introduction to Gussin Qudrture for students. Illustrtion Introducing Gussin Qudrture

35 Chpter 4.7: Gussin Qudrture 34 The nodes x 1, x 2,..., x n needed to produce n integrl pproximtion formul tht gives exct results for ny polynomil of degree less thn 2n re the roots of the nth-degree Legendre polynomil. (See Theorem 4.7.) Theorem (4.7) Suppose tht x 1, x 2,..., x n re the roots of the nth Legendre polynomil P n (x) nd tht for ech i = 1, 2,..., n, the numbers c i re defined by 1 n x x j c i = dx. x i x j 1 j=1 j i If P(x) is ny polynomil of degree less thn 2n, then 1 n P(x) dx = c i P(x i ). 1 i=1

36 Chpter 4.8: Multiple Integrls 35 Algorithm 4.4: SIMPSON S DOUBLE INTEGRAL To pproximte the integrl I = b d(x) f (x, y) dy dx : c(x) INPUT endpoints, b: even positive integers m, n. OUTPUT pproximtion J to I. Step 1 Set h = (b )/n; J 1 = 0; (End terms.) J 2 = 0; (Even terms.) J 3 = 0. (Odd terms.) Step 2 For i = 0, 1,..., n do Steps 3 8. Step 3 Set x = + ih; (Composite Simpson s method for x.) HX = (d(x) c(x))/m; K 1 = f (x, c(x)) + f (x, d(x)); (End terms.) K 2 = 0; (Even terms.) K 3 = 0. (Odd terms.) Step 4 For j = 1, 2,..., m 1 do Step 5 nd 6. Step 5 Set y = c(x) + jhx; Q = f (x, y). Step 6 If j is even then set K 2 = K 2 + Q else set K 3 = K 3 + Q. ( Step 7 Set L = (K 1 + 2K 2 + 4K 3 )HX/3. L ) d(x i ) c(x i ) f (x i, y) dy by the Composite Simpson s method. Step 8 If i = 0 or i = n then set J 1 = J 1 + L else if i is even set J 2 = J 2 + L else set J 3 = J 3 + L. (End Step 2) Step 9 Set J = h(j 1 + 2J 2 + 4J 3 )/3. Step 10 OUTPUT (J); STOP.

37 Chpter 4.8: Multiple Integrls 36 Algorithm 4.5: GAUSSIAN DOUBLE INTEGRAL INPUT endpoints, b; positive integers m, n. (The roots r i,j nd coefficients c i,j need to be vilble for i = mx{m, n} nd for 1 j i.) OUTPUT pproximtion J to I. Step 1 Set h 1 = (b )/2; h 2 = (b + )/2; J = 0. Step 2 For i = 1, 2,..., m do Steps 3 5. Step 3 Set JX = 0; x = h 1 r m,i + h 2 ; d 1 = d(x); c 1 = c(x); k 1 = (d 1 c 1 )/2; k 2 = (d 1 + c 1 )/2. Step 4 For j = 1, 2,..., n do set y = k 1 r n,j + k 2 ; Q = f (x, y); JX = JX + c n,j Q. Step 5 Set J = J + c m,i k 1 JX. (End Step 2) Step 6 Set J = h 1 J. Step 7 OUTPUT (J); STOP.

38 Chpter 4.8: Multiple Integrls 37 Algorithm 4.6: GAUSSIAN TRIPLE INTEGRAL To pproximte the integrl b d(x) c(x) β(x,y) f (x, y, z) dz dy dx : α(x,y) INPUT endpoints, b; positive integers m, n, p. (The roots r i,j nd coefficients c i,j need to be vilble for i = mx{n, m, p} nd for 1 j i.) OUTPUT pproximtion J to I. Step 1 Set h 1 = (b )/2; h 2 = (b + )/2; J = 0. Step 2 For i = 1, 2,..., m do Steps 3 8. Step 3 Set JX = 0; x = h 1 r m,i + h 2 ; d 1 = d(x); c 1 = c(x); k 1 = (d 1 c 1 )/2; k 2 = (d 1 + c 1 )/2. Step 4 For j = 1, 2,..., n do Steps 5 7. Step 5 Set JY = 0; y = k 1 r n,j + k 2 ; β 1 = β(x, y); α 1 = α(x, y); l 1 = (β 1 α 1 )/2; l 2 = (β 1 + α 1 )/2. Step 6 For k = 1, 2,..., p do set z = l 1 r p,k + l 2 ; Q = f (x, y, z); JY = JY + c p,k Q. Step 7 Set JX = JX + c n,j l 1 JY. (End Step 4) Step 8 Set J = J + c m,i k 1 JX. (End Step 2) Step 9 Set J = h 1 J. Step 10 OUTPUT (J); STOP.

39 Chpter 4.9: Improper Integrls 38 Left Endpoint Singulrity Consider the sitution when the integrnd is unbounded t the left endpoint of the intervl of integrtion, s shown in Figure In this cse we sy tht f hs singulrity t the endpoint. We will then show how other improper integrls cn be reduced to problems of this form. y y 5 f(x) b x Figure: Figure 4.25

40 Chpter 4.9: Improper Integrls 39 Left Endpoint Singulrity It is shown in clculus tht the improper integrl with singulrity t the left endpoint, b dx (x ) p, converges if nd only if 0 < p < 1, nd in this cse, we define b 1 dx = lim (x ) p M + (x ) 1 p 1 p x=b x=m = (b )1 p. 1 p

41 Chpter 4.9: Improper Integrls 40 Right-Endpoint Singulrity To pproximte the improper integrl with singulrity t the right endpoint, we could develop similr technique but expnd in terms of the right endpoint b insted of the left endpoint. Alterntively, we cn mke the substitution z = x, dz = dx to chnge the improper integrl into one of the form b f (x) dx = b f ( z) dz,

42 Chpter 4.9: Improper Integrls 41 Right-Endpoint Singulrity which hs its singulrity t the left endpoint. Then we cn pply the left endpoint singulrity technique we hve lredy developed. y For z 5 2x y y 5 f (x) y 5 f (2z) b x 2b 2 z Figure: Figure 4.26

43 Chpter 4.9: Improper Integrls 42 Infinite Singulrity The other type of improper integrl involves infinite limits of integrtion. The bsic integrl of this type hs the form 1 x p dx, for p > 1. This is converted to n integrl with left endpoint singulrity t 0 by mking the integrtion substitution t = x 1, dt = x 2 dx, so dx = x 2 dt = t 2 dt. Then 1 0 1/ x p dx = tp 1/ t 2 dt = 0 1 t 2 p dt.

44 Chpter 4.9: Improper Integrls 43 Infinite Singulrity In similr mnner, the vrible chnge t = x 1 converts the improper integrl f (x) dx into one tht hs left endpoint singulrity t zero: f (x) dx = 1/ 0 t 2 f ( ) 1 t It cn now be pproximted using qudrture formul of the type described erlier. dt.

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

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

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

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

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

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

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

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

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

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

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

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014

Lecture 17. Integration: Gauss Quadrature. David Semeraro. University of Illinois at Urbana-Champaign. March 20, 2014 Lecture 17 Integrtion: Guss Qudrture Dvid Semerro University of Illinois t Urbn-Chmpign Mrch 0, 014 Dvid Semerro (NCSA) CS 57 Mrch 0, 014 1 / 9 Tody: Objectives identify the most widely used qudrture method

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

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

COT4501 Spring Homework VII

COT4501 Spring Homework VII COT451 Spring 1 Homework VII The ssignment is due in clss on Thursdy, April 19, 1. There re five regulr problems nd one computer problem (using MATLAB). For written problems, you need to show your work

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

Trapezoidal Rule, n = 1, x 0 = a, x 1 = b, h = b a. f (x)dx = h 2 (f (x 0) + f (x 1 )) h3

Trapezoidal Rule, n = 1, x 0 = a, x 1 = b, h = b a. f (x)dx = h 2 (f (x 0) + f (x 1 )) h3 Trpezoidl Rule, n = 1, x 0 =, x 1 = b, h = b f (x)dx = h 2 (f (x 0) + f (x 1 )) h3 12 f (ξ). Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. Qudrture Rule, double node t x 1 P 3 (x)dx = f (x

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

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

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature

COSC 3361 Numerical Analysis I Numerical Integration and Differentiation (III) - Gauss Quadrature and Adaptive Quadrature COSC 336 Numericl Anlysis I Numericl Integrtion nd Dierentition III - Guss Qudrture nd Adptive Qudrture Edgr Griel Fll 5 COSC 336 Numericl Anlysis I Edgr Griel Summry o the lst lecture I For pproximting

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

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

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

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

Numerical quadrature based on interpolating functions: A MATLAB implementation

Numerical quadrature based on interpolating functions: A MATLAB implementation SEMINAR REPORT Numericl qudrture bsed on interpolting functions: A MATLAB implementtion by Venkt Ayylsomyjul A seminr report submitted in prtil fulfillment for the degree of Mster of Science (M.Sc) in

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Numerical integration. Quentin Louveaux (ULiège - Institut Montefiore) Numerical analysis / 10

Numerical integration. Quentin Louveaux (ULiège - Institut Montefiore) Numerical analysis / 10 Numericl integrtion Quentin Louveux (ULiège Institut Montefiore) Numericl nlysis 2018 1 / 10 Numericl integrtion We consider definite integrls Z b f (x)dx better to it use if known! A We do not ssume tht

More information

Overview of Calculus I

Overview of Calculus I Overview of Clculus I Prof. Jim Swift Northern Arizon University There re three key concepts in clculus: The limit, the derivtive, nd the integrl. You need to understnd the definitions of these three things,

More information

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1

63. Representation of functions as power series Consider a power series. ( 1) n x 2n for all 1 < x < 1 3 9. SEQUENCES AND SERIES 63. Representtion of functions s power series Consider power series x 2 + x 4 x 6 + x 8 + = ( ) n x 2n It is geometric series with q = x 2 nd therefore it converges for ll q =

More information

Anti-derivatives/Indefinite Integrals of Basic Functions

Anti-derivatives/Indefinite Integrals of Basic Functions Anti-derivtives/Indefinite Integrls of Bsic Functions Power Rule: In prticulr, this mens tht x n+ x n n + + C, dx = ln x + C, if n if n = x 0 dx = dx = dx = x + C nd x (lthough you won t use the second

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

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

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

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

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

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

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

Chapter 5. Numerical Integration

Chapter 5. Numerical Integration Chpter 5. Numericl Integrtion These re just summries of the lecture notes, nd few detils re included. Most of wht we include here is to be found in more detil in Anton. 5. Remrk. There re two topics with

More information

14.4. Lengths of curves and surfaces of revolution. Introduction. Prerequisites. Learning Outcomes

14.4. Lengths of curves and surfaces of revolution. Introduction. Prerequisites. Learning Outcomes Lengths of curves nd surfces of revolution 4.4 Introduction Integrtion cn be used to find the length of curve nd the re of the surfce generted when curve is rotted round n xis. In this section we stte

More information

LECTURE 19. Numerical Integration. Z b. is generally thought of as representing the area under the graph of fèxè between the points x = a and

LECTURE 19. Numerical Integration. Z b. is generally thought of as representing the area under the graph of fèxè between the points x = a and LECTURE 9 Numericl Integrtion Recll from Clculus I tht denite integrl is generlly thought of s representing the re under the grph of fèxè between the points x = nd x = b, even though this is ctully only

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

How can we approximate the area of a region in the plane? What is an interpretation of the area under the graph of a velocity function?

How can we approximate the area of a region in the plane? What is an interpretation of the area under the graph of a velocity function? Mth 125 Summry Here re some thoughts I ws hving while considering wht to put on the first midterm. The core of your studying should be the ssigned homework problems: mke sure you relly understnd those

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

Integrals - Motivation

Integrals - Motivation Integrls - Motivtion When we looked t function s rte of chnge If f(x) is liner, the nswer is esy slope If f(x) is non-liner, we hd to work hrd limits derivtive A relted question is the re under f(x) (but

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

7.2 The Definite Integral

7.2 The Definite Integral 7.2 The Definite Integrl the definite integrl In the previous section, it ws found tht if function f is continuous nd nonnegtive, then the re under the grph of f on [, b] is given by F (b) F (), where

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

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

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

1.9 C 2 inner variations

1.9 C 2 inner variations 46 CHAPTER 1. INDIRECT METHODS 1.9 C 2 inner vritions So fr, we hve restricted ttention to liner vritions. These re vritions of the form vx; ǫ = ux + ǫφx where φ is in some liner perturbtion clss P, for

More information

Math 113 Fall Final Exam Review. 2. Applications of Integration Chapter 6 including sections and section 6.8

Math 113 Fall Final Exam Review. 2. Applications of Integration Chapter 6 including sections and section 6.8 Mth 3 Fll 0 The scope of the finl exm will include: Finl Exm Review. Integrls Chpter 5 including sections 5. 5.7, 5.0. Applictions of Integrtion Chpter 6 including sections 6. 6.5 nd section 6.8 3. Infinite

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

Lecture 14 Numerical integration: advanced topics

Lecture 14 Numerical integration: advanced topics Lecture 14 Numericl integrtion: dvnced topics Weinn E 1,2 nd Tiejun Li 2 1 Deprtment of Mthemtics, Princeton University, weinn@princeton.edu 2 School of Mthemticl Sciences, Peking University, tieli@pku.edu.cn

More information

Numerical Integration

Numerical Integration Numericl Integrtion Wouter J. Den Hn London School of Economics c 2011 by Wouter J. Den Hn June 3, 2011 Qudrture techniques I = f (x)dx n n w i f (x i ) = w i f i i=1 i=1 Nodes: x i Weights: w i Qudrture

More information

1 Error Analysis of Simple Rules for Numerical Integration

1 Error Analysis of Simple Rules for Numerical Integration cs41: introduction to numericl nlysis 11/16/10 Lecture 19: Numericl Integrtion II Instructor: Professor Amos Ron Scries: Mrk Cowlishw, Nthnel Fillmore 1 Error Anlysis of Simple Rules for Numericl Integrtion

More information

Indefinite Integral. Chapter Integration - reverse of differentiation

Indefinite Integral. Chapter Integration - reverse of differentiation Chpter Indefinite Integrl Most of the mthemticl opertions hve inverse opertions. The inverse opertion of differentition is clled integrtion. For exmple, describing process t the given moment knowing the

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

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

MTH 122 Fall 2008 Essex County College Division of Mathematics Handout Version 10 1 October 14, 2008

MTH 122 Fall 2008 Essex County College Division of Mathematics Handout Version 10 1 October 14, 2008 MTH 22 Fll 28 Essex County College Division of Mthemtics Hndout Version October 4, 28 Arc Length Everyone should be fmilir with the distnce formul tht ws introduced in elementry lgebr. It is bsic formul

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

Riemann is the Mann! (But Lebesgue may besgue to differ.)

Riemann is the Mann! (But Lebesgue may besgue to differ.) Riemnn is the Mnn! (But Lebesgue my besgue to differ.) Leo Livshits My 2, 2008 1 For finite intervls in R We hve seen in clss tht every continuous function f : [, b] R hs the property tht for every ɛ >

More information

Section 6.1 INTRO to LAPLACE TRANSFORMS

Section 6.1 INTRO to LAPLACE TRANSFORMS Section 6. INTRO to LAPLACE TRANSFORMS Key terms: Improper Integrl; diverge, converge A A f(t)dt lim f(t)dt Piecewise Continuous Function; jump discontinuity Function of Exponentil Order Lplce Trnsform

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

MATH , Calculus 2, Fall 2018

MATH , Calculus 2, Fall 2018 MATH 36-2, 36-3 Clculus 2, Fll 28 The FUNdmentl Theorem of Clculus Sections 5.4 nd 5.5 This worksheet focuses on the most importnt theorem in clculus. In fct, the Fundmentl Theorem of Clculus (FTC is rgubly

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

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

5.7 Improper Integrals

5.7 Improper Integrals 458 pplictions of definite integrls 5.7 Improper Integrls In Section 5.4, we computed the work required to lift pylod of mss m from the surfce of moon of mss nd rdius R to height H bove the surfce of 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

Math 8 Winter 2015 Applications of Integration

Math 8 Winter 2015 Applications of Integration Mth 8 Winter 205 Applictions of Integrtion Here re few importnt pplictions of integrtion. The pplictions you my see on n exm in this course include only the Net Chnge Theorem (which is relly just the Fundmentl

More information

MAT 168: Calculus II with Analytic Geometry. James V. Lambers

MAT 168: Calculus II with Analytic Geometry. James V. Lambers MAT 68: Clculus II with Anlytic Geometry Jmes V. Lmbers Februry 7, Contents Integrls 5. Introduction............................ 5.. Differentil Clculus nd Quotient Formuls...... 5.. Integrl Clculus nd

More information

x = b a n x 2 e x dx. cdx = c(b a), where c is any constant. a b

x = b a n x 2 e x dx. cdx = c(b a), where c is any constant. a b CHAPTER 5. INTEGRALS 61 where nd x = b n x i = 1 (x i 1 + x i ) = midpoint of [x i 1, x i ]. Problem 168 (Exercise 1, pge 377). Use the Midpoint Rule with the n = 4 to pproximte 5 1 x e x dx. Some quick

More information

7.2 Riemann Integrable Functions

7.2 Riemann Integrable Functions 7.2 Riemnn Integrble Functions Theorem 1. If f : [, b] R is step function, then f R[, b]. Theorem 2. If f : [, b] R is continuous on [, b], then f R[, b]. Theorem 3. If f : [, b] R is bounded nd continuous

More information

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 2013 Outline 1 Riemnn Sums 2 Riemnn Integrls 3 Properties

More information

SYDE 112, LECTURES 3 & 4: The Fundamental Theorem of Calculus

SYDE 112, LECTURES 3 & 4: The Fundamental Theorem of Calculus SYDE 112, LECTURES & 4: The Fundmentl Theorem of Clculus So fr we hve introduced two new concepts in this course: ntidifferentition nd Riemnn sums. It turns out tht these quntities re relted, but it is

More information

Math Calculus with Analytic Geometry II

Math Calculus with Analytic Geometry II orem of definite Mth 5.0 with Anlytic Geometry II Jnury 4, 0 orem of definite If < b then b f (x) dx = ( under f bove x-xis) ( bove f under x-xis) Exmple 8 0 3 9 x dx = π 3 4 = 9π 4 orem of definite Problem

More information

Numerical Integration. Newton Cotes Formulas. Quadrature. Newton Cotes Formulas. To approximate the integral b

Numerical Integration. Newton Cotes Formulas. Quadrature. Newton Cotes Formulas. To approximate the integral b Numericl Integrtion Newton Cotes Formuls Given function f : R R nd two rel numbers, b R, < b, we clculte (pproximtely) the integrl I(f,, b) = f (x) dx K. Frischmuth (IfM UR) Numerics for CSE 08/09 8 /

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

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

Riemann Sums and Riemann Integrals

Riemann Sums and Riemann Integrals Riemnn Sums nd Riemnn Integrls Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University August 26, 203 Outline Riemnn Sums Riemnn Integrls Properties Abstrct

More information

Chapter 6 Notes, Larson/Hostetler 3e

Chapter 6 Notes, Larson/Hostetler 3e Contents 6. Antiderivtives nd the Rules of Integrtion.......................... 6. Are nd the Definite Integrl.................................. 6.. Are............................................ 6. Reimnn

More information

Taylor Polynomial Inequalities

Taylor Polynomial Inequalities Tylor Polynomil Inequlities Ben Glin September 17, 24 Abstrct There re instnces where we my wish to pproximte the vlue of complicted function round given point by constructing simpler function such s polynomil

More information

QUADRATURE is an old-fashioned word that refers to

QUADRATURE is an old-fashioned word that refers to World Acdemy of Science Engineering nd Technology Interntionl Journl of Mthemticl nd Computtionl Sciences Vol:5 No:7 011 A New Qudrture Rule Derived from Spline Interpoltion with Error Anlysis Hdi Tghvfrd

More information

Final Exam - Review MATH Spring 2017

Final Exam - Review MATH Spring 2017 Finl Exm - Review MATH 5 - Spring 7 Chpter, 3, nd Sections 5.-5.5, 5.7 Finl Exm: Tuesdy 5/9, :3-7:pm The following is list of importnt concepts from the sections which were not covered by Midterm Exm or.

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