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

Size: px
Start display at page:

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

Transcription

1 III Lecture on Numericl Integrtion File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9

2 1 Sttement of the Numericl Integrtion Problem In this lecture we consider the process of numericlly finding the vlue of the definite integrl: I = f(x)dx. The need for doing so rises in prcticl pplictions, becuse, in mny instnces f(x) is either not known explicitly or the vlue of I is difficult to determine. The process is clled Numericl Integrtion. We will ssume tht even though f(x) is not explicitly known, the vlues of f(x) t certin points in [, b] re known. Numericl Integrtion Problem Given f( ),f(x 1 ),...,f(x n ), where = <x 1 <x...< x n = b, compute n pproximte vlue of I = f(x)dx Numericl integrtion is very often referred to s numericl qudrture mening tht it is process of finding n re of squre whose re is equl to the re under curve. We would like to obtin qudrture formul of the following form: I = f(x)dx 0 f f n f n, where f i = f(x i ), i =0, 1,...,n, regiven,ndthecoefficients 0, 1,..., n re to be determined. Trpezoidl Rule Since f(x) is not explicitly known, the simplest thing to do will be to construct n interpolting polynomil for f(x) with,x 1,...x n s nodes nd integrte with the interpolting File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9

3 polynomil s the integrl. We shll us Lgrnge s Method to do this. The Lgrngin polynomils of different degrees will yield different rules of qudrture. Trpezoidl Rule f(x) Lgrnge Interpolting polynomil of degree 1 = Trpezoidl Rule In this cse, there re only two interpolting points:,x 1. X = X x 1 = b The Lgrnge interpolting polynomil P 1 (x) ofdegree1is: Then I = =x1 = f(x)dx x1 P 1 (x) =L 0 (x)f 0 + L 1 (x)f 1. [L 0 (x)f 0 + L 1 (x)f 1 ]dx Recll tht L 0 (x) = x x 1, nd L 1 (x) = x. x 1 x 1 So, I T = trpezoidl rule pproximtion of I is: I T = x1 [ x x1 f 0 + x x ] 0 f 1 dx x 1 x 1 = f x1 0 (x x 1 )dx + f 1 x 1 x 1 [ ] (x x1 ) x1 = f 0 x 1 Let x 1 = h. Thenwehve I T = + f 1 x 1 x1 (x )dx [ (x x0 ) Trpezoidl Rule ] x1 (b ) (f 0 + f 1 )= h (f()+f(b). = x 1 (f 0 + f 1 ). (.1) File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 3

4 .1 Error in Trpezoidl Rule Since the bove formul only gives crude pproximtion to the ctul vlue of the integrl, we need to sses the error. To obtin n error formul for this integrl pproximtion, recll tht the error formul for interpoltion of degree n is given by E n (x) = f (n+1) (ξ(x))ψ n (x), (n +1)! where Ψ n (x) =(x )(x x 1 )...(x x n ), nd ξ b( xo, b x n ). Since in cse of the Trpezoidl rule, n =1,wehve where Ψ 1 (x) =(x )(x x 1 ). E 1 (x) = f () (ξ(x))ψ 1 (x),! Integrting this formul we hve the following error formul for the Trpezoidl rule: E T (x) = x1 f () (ξ(x)) x1 (x )(x x 1 )dx =! f () (ξ(x)) Ψ 1 (x). (.)! We cn now simplify the bove formul by pplying the Weighted Men Vlue Theorem (WMT). Weighted Men Vlue Theorem (WMT Theorem) Let g(x) does not chnge sign in (x,x b ), then there exists constnt c between nd b such tht f(x)g(x)dx = f(c) g(x)dx. To pply the WMT to (.), we hve note tht the function Ψ 1 (x) =(x )(x x 1 )does not chnge sign over [,x 1 ], becuse, for x [,x 1 ], (x ) > 0nd(x x 1 ) < 0. Thus, Ψ 1 (x) is lwys negtive. File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 4

5 So, pplying the bove theorem to E T,withg(x) =Ψ(x) nd noting tht h = x 1,we obtin where <η<x 1. x1 =b = <η<b. f(x)dx = E T = f () (η)! x1 (x )(x x 1 )dx = h3 1 f (η), (.3) Trpezoidl Rule with Error Formul (b ) [f 0 + f 1 ] (b )3 f (η) = h h3 [f()+f(b)] 1 1 f (η), where Exctness of Trpezoidl Rule From the bove error formul it follows tht the Trpezoidl rule is exct only for stright lines. This is becuse, f (x) =0,whenf(x) is stright line, nd is non zero, whenever f(x) is of degree nd higher.. Geometricl Representtion of the Trpezoidl Rule Trpezoidl rule pproximtes the re under the curve y = f(x) from = to x 1 = b by the re of the trpezoid s shown below: (,f 0 ) C f y = f(x) D (x 1,f 1 ) A = h B = x 1 Figure 1: The Trpezoidl Rule. e File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 5

6 Note: The re of the trpezoid ABCD = Length of the bse verge height = h 1 (f 0 + f 1 )= h (f 0 + f 1 ). 3 Simpson s Rule If f(x) is pproximted by Lgrnge interpolting polynomil of degree nd then integrtion is tken over [, b] with the interpolting polynomil s integrnd, the result is Simpson s rule. f(x) Lgrnge Interpolting polynomil of degree = Simpson s Rule The three points of interpoltion in this cse re:,x 1, nd x. = x 1 x = b The Lgrngin interpolting polynomil P (x) =L 0 (x)f 0 + L 1 (x)f 1 + L (x)f. So, I = =x = f(x)dx x [L 0 (x)f 0 + L 1 (x)f 1 + L (x)f ]dx Now, L 0 (x) = (x x 1)(x x ) ( x 1 )( x ), L 1(x) = (x )(x x ) (x 1 )(x 1 x ), nd L (x) = (x )(x x 1 ) (x )(x x 1 ). Let h be the distnce between two consecutive points of interpoltion, ssumed to be eqully spced. Tht is, x 1 = h nd x x 1 = h. Substituting these expressions for L 0 (x),l 1 (x) ndl (x) nd tking integrtion, we obtin Simpson s Rule: I S = h 3 (f 0 +4f 1 + f )= h 3 (f()+4f 1 + f(b)) File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 6

7 Simpson s Rule I S = h 3 (f()+4f 1 + f(b)) 3.1 Error Formul for Simpson s Rule We hve used n = to derive Simpson s rule. So, the error formul for Simpson s Rule is given by E S = 1 f (3) (ξ(x))ψ (x)dx. 3! Since Ψ (x) =(x )(x x 1 )(x x ) does chnge sign in (,x ), we cn not pply WMT directly. In this cse, we will use slightly different technique. The following result will be used. Suppose tht f(x) chnges sign over (, b), however Ψ n (x) =(x )(x x 1 ) (x x n ) is such tht Ψ n (x) =0. Let x n+1 be nother point such tht Ψ n+1 (x) =(x x n+1 )Ψ(x) isofonesign 1 b in (, b). Then f(x)ψ n (x)dx = (n +)! f (n+) (η) Ψ n+1 (x)dx where, <η<b. In our cse n = nd we note tht x Ψ (x) = x (x )(x x 1 )(x x )dx =0. (Since x 1 = + x ). File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 7

8 Now choose x 3 = x 1, then Ψ 3 (x) =(x x 3 )Ψ (x) =(x x 1 )(x )(x x 1 )(x x )=(x x 1 ) (x )(x x ). Clerly, Ψ 3 (x) does not chnge sign over the intervl (,x ). So, ccording to the bove result, the error for Simpson s rule is given by f(x)dx = where <η<b E S = 1 x 4! f (4) (η) = 1 4 f (4) (η) = 1 4 f (4) (η) x ( 4 15 Ψ 3 (x) (x x 1 ) (x )(x x )dx ) h 5 = h5 90 f (4) (η). Simpson s Rule with Error Formul =x Exctness of Simpson s Formul f(x)dx = h = 3 (f 0 +4f 1 + f ) h5 90 f (4) (η) = b [ ( ) ] + b f()+4f + f(b) 6 ( ) 5 b 90 f (4) (η), It follows from the bove error formul tht Simpson s rule is exct for ll polynomils of degree less thn or equl to 3. (note tht if f(x) is polynomil of degree less thn equl to 3, then f 4 (x) =0, nd is nonzero for higher degree polynomils). If f(x) is polynomil of degree less thn or equl to 3. Simpson s rule is exct. File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 8

9 Exmple 3.1 Consider pproximting Simpson s Rule (SYMS). I Γ = Trp: I S =SYMS: cos xdx 0.5( ) = cos dx 1 6 (1 + 4 cos(1 )+cos(1))= Exct vlue (in 4-digit rithmetic). 4 Newton s-cotes Qudrture 0 cos xdx using both Trpezoidl Rule (TRAP) nd Trpezoidl Rule - Bsed on interpolting the function by polynomil of degree 1 with the nodes: = nd x 1 = b. I T = b (f()+f(b)). Simpson s Rule - Bsed on interpolting the function by polynomil of degree with the nodes: =, x 1 = + h = + b 1 I S = b 6 (f()+4f( + b )+f(b)). = + b, x = b. These two rules re specil cses of the Closed Newton-Cotes (CNC) rule. An n point closed Newton-Cotes rule hs the (n +1)nodes: x i = + i (b ),i=0, 1,,n. n File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 9

10 n =1 Trpezoidl Rule n = Simpson s Rule (Note tht CNC Rule includes the end points of the nodes) The open Newton-Cotes hs the (n +1)nodes which do not include the end points. x i = + i (b ),i=1,,,n. n + A well-known exmple of the n-point open Newton-Cotes rule is the midpoint rule (with n =0). Thus,the midpoint rule is bsed on interpoltion of f(x) with constnt function. The only node in this cse is: x 1 = + b. ( ) + b Thus I M = Midpoint Approximtion to the Integrl f(x)dx =(b )f. Error Formul for the Midpoint Rule: In this cse Ψ 0 (x) =x x 1 = x + b chnges sign in (, b). However, note tht if we = x 1,thenΨ 1 (x) =(x x 1 ) =(x + b ) is lwys of the sme sign. Thus, we cn show s in the cse of Simpson s rule tht,where<η<b Thus I M = E M = f (b )3 (η) 4 Midpoint Rule with Error Formul f(x)dx =(b )f( + b )+f (b )3 (η). 4 File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 10

11 Compring the error terms of I M nd I T, we esily see tht the midpoint rule is more ccurte thn the trpezoidl rule. Exmple 4.1 Apply the midpoint, trpezoidl nd Simpson s rule to I M = f(0.5) = e 0.5 = I T = 1 (1 + e) = I S = 1 ) (e 0 +4e 1 + e 1 = I = e x dx e x dx (correct to four deciml digits). 5 The Composite Rules Since the Trpezoidl nd Simpson s rules hve been derived with only 1 nd, subintervls, respectively, these rules re not likely to give ccurte results over lrge intervl. To obtin greter ccurcy, the ide then will be to subdivide the intervl [, b] into smller intervls, pply these qudrture formuls in ech of these smller intervls nd dd up the results to obtin more ccurte pproximtions. Let s divide [, b] into n equl subintervls s follows: = <x 1 <x...<x n 1 <x n = b. Let h = b = the length of ech of these subintervls. n Then =, x 1 = + h, x = +h,..., x n = b = + nh. 5.1 The Composite Trpezoidl Rule (CTR) To obtin the Composite Trpezoidl Rule over [, b] File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 11

12 Divide the intervl [, b] into n equl subintervls. Integrte f(x) over ech of those subintervls using the Trpezoidl rule for ech subintervl. Add the results. I CT = x1 = f(x)dx + x x 1 f(x)dx xn=b x n 1 f(x)dx = h (f 0 + f 1 )+ h (f 1 + f )+...+ h (f n 1 + f n ) ( f0 = h + f 1 + f f n 1 + f ) n. The Composite Trpezoidl Rule [ f0 I CT = h + f 1 + f f n 1 + f ] n = h [f()+f 1 +f + +f n 1 + f(b)]. 5. The Error Formul for Composite Trpezoidl Rule The error formul for CTR is obtined by dding the individul error terms of the trpezoidl rule in ech of the subintervls. Thus, the error formul for the composites trpezoidl rule, denoted by E C T in given by: ET C = h3 1 [f (η 1 )+f (η )+...+ f (η n )] Simplifiction of the Error Formul. To simplify the expression within the prenthesis, we need the following well-known result. File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 1

13 The Intermedite Vlue Theorem (IVT) If f(x) is continuous on [, b] ndk is number such tht f() <k<f(b), then there exists number c, < c < b with the property: f(c) =k. Applying the IVT nd remembering tht h = b, we get n where <η<b. E CT = nh3 1 f (η), where η 1 <η<η n. (b ) = n h n 1 f (b ) (η) = h f (η), 1 The Composite Trpezoidl Rule With Error Formul =xn = where <η<b. f(x)dx = h [ f0 + f 1 + f f ] n + b 1 h f (η) }{{}}{{} Composite Trpezoidl Rule Error 5.3 The Composite Simpson s Rule (CSR) Since Simpson s rule ws obtined with two subintervls, in order to derive the CSR, we divide the intervl [, b] intoeven number of subintervls, syn =m, wherem is positive integer nd then pply Simpson s rule in ech of those subintervls nd finlly, dd up the results. Obtining Composite Simpson s Rule File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 13

14 Divide the intervl [, b] inton =m equl subintervls: [,x ], [x,x 4 ]...,[x n,x n ] Integrte f(x) over ech of these subintervls using Simpson s rule Add the results. I CS = I CT = x = f(x)dx + x4 x f(x)dx =xn x n f(x)dx = h 3 [(f 0 +4f 1 + f )+(f +4f 3 + f 4 )+...+(f n +4f n 1 + f n )] = h 3 [(f 0 + f n )+4(f 1 + f f n 1 )+(f + f f n )]. =xn The Composite Simpson s Rule = f(x)dx h 3 [(f 0 + f n )+4(f f n 1 )+(f f n )]. The Error in Composite Simpson s Rule The error in composite Simpson s Rule, denoted by E S C,isgivenby E S C = h5 90 where x i 1 <η i 1 <x i+1,i=1,,...,n 1. A Simplified Expression for the Error: f (4) (η 1 )+f (4) (η )+...+ f (4) f (4) (ηn, File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 14

15 By using IMT, it cn be shown tht there exists number η in (, b) such tht E CS = h5 90 n f (4) (η) = h5 180 (b ) f (4) (η) = h4 h 180 (b )f (4) (η). (Note tht n = b h ). The Composite Simpson s Rule with Error Term f(x)dx = h 3 [(f 0 + f n )+4(f f n 1 )+(f f n )] h4 180 (b )f (4) (η) = h 3 [f()+f(b)+4(f f n 1 )+(f + + f(n )] h4 }{{} 180 (b )f (4) (η) }{{} Composite Simpson s Rule Error x if 0 x 1 Exmple 5.1 Let f(x) = 1 x if 1 x 1 () Trpezoidl Rule over [0, 1] I T = 1 (f(0) + f(1)) = 1 (0 + 0) = 0 (b) Trpezoidl Rule over [ 0, 1 ] [ ] 1 nd, 1 : (c) Simpon s Rule over [0, 1] I S = 1 [ ( ) ] 1 f(0) + 4f + f(1) 3 = 1 ( ( ) ) = () = 3 (f( 1 )+f(1) ) I CT = 1 4 (f(0) + f(1/)) = 1 ( ) +0 = 1 4 (1) = 1 4 File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 15

16 5.4 Exmple (Appliction of the Error Formul) Determine h to pproximte te dt t with n ccurcy of ɛ =10 3 using the Composite Trpezoidl rule. Recll tht the error formul in this cse is: E CT = b 1 h f (η). Let s now find the mximum vlue (in mgnitude) of E CT in the intervl [0.1, 10]. We then need to find f (η). Now, f(t) = 1 te (given) t nd f (t) = 1 te t ( 1 t + t +1 Thus, f is mximum when t =0.1 ) nd mx f (t) 1 = ( ) = e0.1 ( ) 9.9 So, mximum vlue of EC T = h Thus, to pproximte h with n ccurcy of ɛ =10 3, h hs to be such tht ( ) 9.9 h Tht is, or h h File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 16

17 6 Romberg Integrtion The ide behind Romberg integrtion is to successfully use the Trpezoidl rule with incresing intervls nd stop s soon s two successive pproximtions gree to ech other by desired ccurcy. The key to do tht is to observe tht the successive pproximtions cn be generted recursively in terms of the previous pproximtions. Thus, Thus, R 11 = The Trpezoidl rule with 1 intervl = 1 (b )[f()+f(b)] (6.1) (Note tht h = b ) R 1 = The Trpezoidl rule with intervls = b [ ( f()+f(b)+f + b )] 4 (Note tht in this cse, h = b nd the points of subdivision re: =, x 1 = + b, nd x = b R 1 = 1 [ ( R 11 +(b )f + b )]. (6.) This formul immeditely cn be generlized. Denote R k1 = The Trpezoidl rule with k 1 intervls h k = b,k =1,, k 1 It cn be shown [Exercise] tht R k1 = 1 k R k 1,1 + h k 1 f( +(i 1)h k ),k =, 3, n (6.3) i=1 File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 17

18 Verify: k =. R 1 = 1 [R 11 + h 1 f( + h )] = 1 [ ( R 11 +(b )f + b )]. Furthermore, one cn show tht R 11 nd R 1 cn be combined to compute nother number R ; R 31 nd R 1 cn be combined to compute R 3 ; nd so on. The formul to do so is: R kj = R k,j 1 + R k,j 1 R k 1,j 1,k =, 3,...,n; j =,...,k (6.4) 4 j 1 1 Thus, R = R 1 + R 1 R nd so on. = R 1 + R 1 R These numbers re clled Romberg numbers nd cn be rrnged in tble, similr to the divided difference tble, nd is known s The Romberg Tble. Romberg Tble R 11 R 1 R R 33 R R 3 R 4... R n1 R n R n3 R nn File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 18

19 6.1 Stopping Criterion Suppose tht we would like to compute cn be stopped s soon s f(x) with n ccurcy of ɛ, then the itertion Rnn R n 1,n 1 <ɛ. 6. Creting the Romberg Tble Since our ultimte interest is to obtin the digonl entries nd these entries cn be computed just out of two entries from the previous column, we cn compute the entries Romberg Tble in the following order of computtions. Compute R 11 nd R 1 using (6.1) nd (6.) Compute R out of R 11 nd R 1 using (6.4) Compute R 31 from (6.3) nd R 3 from (6.4) nd then combine R 3 with R to obtin R 33 using (6.4) gin. In generl, compute R k1 from (6.3) nd R k,k 1 from (6.4) nd then combine R k,k 1 with R k 1,k 1 to obtin R kk using (6.4) gin. Exmple 6.1 I = x lnx with n =3 R 11 = 1 (1.5 1)[f(1) + f(1.5)] = R 1 = 1 (R 11 +(1.5 1)(f(1 + R = R.1 + R.1 R = ) )) =.015 File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 19

20 R 11 = R 1 = R = R 31 = R 3 = R 33 = Exct vlue of I (up to five deciml figures) = Adptive Qudrtive Adptive qudrture rule is wy to dptively djust the vlue of the step-size h such tht the error becomes less thn prescribed tolernce (sy ɛ). For the purpose of describing the ide of dptive qudrture rule, we will use Simpson s rule s our ground rule of pproximting the integrl. With the step-size h, tht is, with the points of subdivisions s, + h, ndb We hve the Simpson s rule pproximtion: X X X +h b IS h = h [f()+4f( + h)+f(b)] 3 nd Error ==ES h = hs 90 f (4) (η), where <η<b. Now let s use 4 intervls; tht is, this time the points of subdivision re:, + h,+ h, + 3h,b. X X X X X +h +h +h b 3 Then, using Compositive Simpson s rule with n = 4, tht is, with the length of ech subintervl h,wehve I h S = h 6 nd E h S = 1 ( ) h 5 f (4) (η), [ f() + 4f ( + h ) + f(b) ] File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 0

21 were <η<b. Now the eqution is: how ell does I h S pproximte I over I h S? In this context, ssuming η η, it follows from the expressions of ES h nd E h S tht h I I 1 S I h 15 S I h S This is rther plesnt result; becuse it is esy to compute I h S I h, S suppose this quntity is denoted by δ. Then, if we choose h such tht δ =15ɛ, weseetht h E <ɛ. S File fclib/dttb/lecture-notes/numerical-inter03.tex /by EC, 3/14/008 t 15:11, version 9 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Lecture 23: Interpolatory Quadrature

Lecture 23: Interpolatory Quadrature Lecture 3: Interpoltory Qudrture. Qudrture. The computtion of continuous lest squres pproximtions to f C[, b] required evlutions of the inner product f, φ j = fxφ jx dx, where φ j is polynomil bsis function

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

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

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

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

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

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

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

Chapter 3 Polynomials

Chapter 3 Polynomials Dr M DRAIEF As described in the introduction of Chpter 1, pplictions of solving liner equtions rise in number of different settings In prticulr, we will in this chpter focus on the problem of modelling

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

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

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

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

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

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

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

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

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

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

31.2. Numerical Integration. Introduction. Prerequisites. Learning Outcomes

31.2. Numerical Integration. Introduction. Prerequisites. Learning Outcomes Numericl Integrtion 3. Introduction In this Section we will present some methods tht cn be used to pproximte integrls. Attention will be pid to how we ensure tht such pproximtions cn be gurnteed to be

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

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

1 Part II: Numerical Integration

1 Part II: Numerical Integration Mth 4 Lb 1 Prt II: Numericl Integrtion This section includes severl techniques for getting pproimte numericl vlues for definite integrls without using ntiderivtives. Mthemticll, ect nswers re preferble

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 + Definite Integrls --5 The re under curve cn e pproximted y dding up the res of rectngles. Exmple. Approximte the re under y = from x = to x = using equl suintervls nd + x evluting the function t the left-hnd

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

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

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

38 Riemann sums and existence of the definite integral.

38 Riemann sums and existence of the definite integral. 38 Riemnn sums nd existence of the definite integrl. In the clcultion of the re of the region X bounded by the grph of g(x) = x 2, the x-xis nd 0 x b, two sums ppered: ( n (k 1) 2) b 3 n 3 re(x) ( n These

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

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

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

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

Euler-Maclaurin Summation Formula 1

Euler-Maclaurin Summation Formula 1 Jnury 9, Euler-Mclurin Summtion Formul Suppose tht f nd its derivtive re continuous functions on the closed intervl [, b]. Let ψ(x) {x}, where {x} x [x] is the frctionl prt of x. Lemm : If < b nd, b Z,

More information

c n φ n (x), 0 < x < L, (1) n=1

c n φ n (x), 0 < x < L, (1) n=1 SECTION : Fourier Series. MATH4. In section 4, we will study method clled Seprtion of Vribles for finding exct solutions to certin clss of prtil differentil equtions (PDEs. To do this, it will be necessry

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

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

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

x = b a N. (13-1) The set of points used to subdivide the range [a, b] (see Fig. 13.1) is

x = b a N. (13-1) The set of points used to subdivide the range [a, b] (see Fig. 13.1) is Jnury 28, 2002 13. The Integrl The concept of integrtion, nd the motivtion for developing this concept, were described in the previous chpter. Now we must define the integrl, crefully nd completely. According

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

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar) Lecture 3 (5.3.2018) (trnslted nd slightly dpted from lecture notes by Mrtin Klzr) Riemnn integrl Now we define precisely the concept of the re, in prticulr, the re of figure U(, b, f) under the grph of

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

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

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions

Physics 116C Solution of inhomogeneous ordinary differential equations using Green s functions Physics 6C Solution of inhomogeneous ordinry differentil equtions using Green s functions Peter Young November 5, 29 Homogeneous Equtions We hve studied, especilly in long HW problem, second order liner

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

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

6.5 Numerical Approximations of Definite Integrals

6.5 Numerical Approximations of Definite Integrals Arknss Tech University MATH 94: Clculus II Dr. Mrcel B. Finn 6.5 Numericl Approximtions of Definite Integrls Sometimes the integrl of function cnnot be expressed with elementry functions, i.e., polynomil,

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

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

Distance And Velocity

Distance And Velocity Unit #8 - The Integrl Some problems nd solutions selected or dpted from Hughes-Hllett Clculus. Distnce And Velocity. The grph below shows the velocity, v, of n object (in meters/sec). Estimte the totl

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

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

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

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

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

Section 5.1 #7, 10, 16, 21, 25; Section 5.2 #8, 9, 15, 20, 27, 30; Section 5.3 #4, 6, 9, 13, 16, 28, 31; Section 5.4 #7, 18, 21, 23, 25, 29, 40

Section 5.1 #7, 10, 16, 21, 25; Section 5.2 #8, 9, 15, 20, 27, 30; Section 5.3 #4, 6, 9, 13, 16, 28, 31; Section 5.4 #7, 18, 21, 23, 25, 29, 40 Mth B Prof. Audrey Terrs HW # Solutions by Alex Eustis Due Tuesdy, Oct. 9 Section 5. #7,, 6,, 5; Section 5. #8, 9, 5,, 7, 3; Section 5.3 #4, 6, 9, 3, 6, 8, 3; Section 5.4 #7, 8,, 3, 5, 9, 4 5..7 Since

More information

5.4, 6.1, 6.2 Handout. As we ve discussed, the integral is in some way the opposite of taking a derivative. The exact relationship

5.4, 6.1, 6.2 Handout. As we ve discussed, the integral is in some way the opposite of taking a derivative. The exact relationship 5.4, 6.1, 6.2 Hnout As we ve iscusse, the integrl is in some wy the opposite of tking erivtive. The exct reltionship is given by the Funmentl Theorem of Clculus: The Funmentl Theorem of Clculus: If f is

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

Solutions to Assignment #8

Solutions to Assignment #8 Mth 1 Numericl Anlysis (Bueler) December 9, 29 Solutions to Assignment #8 Problems 64, exercise 14: The nswer turns out to be yes, which mens tht I hve to be orgnized in writing it up There re lot of fcts

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

p(x) = 3x 3 + x n 3 k=0 so the right hand side of the equality we have to show is obtained for r = b 0, s = b 1 and 2n 3 b k x k, q 2n 3 (x) =

p(x) = 3x 3 + x n 3 k=0 so the right hand side of the equality we have to show is obtained for r = b 0, s = b 1 and 2n 3 b k x k, q 2n 3 (x) = Norwegin University of Science nd Technology Deprtment of Mthemticl Sciences Pge 1 of 5 Contct during the exm: Elen Celledoni, tlf. 73593541, cell phone 48238584 PLESE NOTE: this solution is for the students

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

Midpoint Approximation

Midpoint Approximation Midpoint Approximtion Sometimes, we need to pproximte n integrl of the form R b f (x)dx nd we cnnot find n ntiderivtive in order to evlute the integrl. Also we my need to evlute R b f (x)dx where we do

More information

Numerical Methods I Orthogonal Polynomials

Numerical Methods I Orthogonal Polynomials Numericl Methods I Orthogonl Polynomils Aleksndr Donev Cournt Institute, NYU 1 donev@cournt.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fll 2014 Nov 6th, 2014 A. Donev (Cournt Institute) Lecture IX

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

MATH 144: Business Calculus Final Review

MATH 144: Business Calculus Final Review MATH 144: Business Clculus Finl Review 1 Skills 1. Clculte severl limits. 2. Find verticl nd horizontl symptotes for given rtionl function. 3. Clculte derivtive by definition. 4. Clculte severl derivtives

More information