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

Save this PDF as:
Size: px
Start display at page:

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

Transcription

1 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

2 Contents 3 Polynomil Interpoltion: Numericl Differentition nd Integrtion Interpoltion Polynomils Error in the Interpolting Polynomil Error of Derivtive with Lgrnge Interpoltion Error of the k th Derivtive of the Interpoltion Polynomil Interpoltion with Tringle of Polynomils Newton s Form of the Interpoltion Polynomil Hermite Interpoltion Integrtion Formuls using Polynomil Interpoltion Integrtion with weight function Newton Cotes formuls Guss Qudrture Formuls for Guss integrtion with constnt weight function Error bound for Guss integrtion Discrete orthogonlity of orthogonl polynomils Equivlence of interpoltion nd lest squres pproximtion using Guss integrtion Guss Lobto Integrtion Portrits of Lgrnge, Newton nd Guss

3 Lecture 3 Polynomil Interpoltion: Numericl Differentition nd Integrtion 3.1 Interpoltion Polynomils So fr we hve not required P n (x) to equl f(x) t ny points in the intervl. This permits some smoothing! A nturl pproch is to mke P n (x) = x n x n = f(x) t n + 1 points x 0, x 1,..., x n. Then we hve n + 1 equtions for the n + 1 coefficients. Such polynomil is clled n interpoltion polynomil. A solution exists becuse the determinnt of the equtions is the Vndemonde determinnt 1 x 0... x n 0 1 x 1... x n 1 D =..... =. i x j ) 0 (3.1) i>j(x 1 x n... x n n This cn be seen by noting tht D vnishes if ny x i equls ny x j, but D is polynomil of just the sme order s the product. The interpoltion polynomil is unique since if there were 2 such polynomils P n (x), Q n (x), then P n (x i ) Q n (x i ) = 0 for i = 0, 1,..., n (3.2) But then P n (x) Q n (x) is n n th degree polynomil with n + 1 roots, so it must be zero. In prctice it is esiest to construct P n (x) indirectly s sum of specilly chosen polynomils rther thn solve for the j. To do this note tht φ n,j (x) = (x x 0)(x x 1 )...(x x j 1 )(x x j+1 )...(x x n ) (x j x 0 )(x j x 1 )...(x j x j 1 )(x j x j+1 )...(x j x n ) = 1 when x = x j (3.3) Then we cn get P n (x) = f(x j )φ n,j (x) (3.4) which equls f(x) t x = x 0, x 1,..., x n, nd is the only such polynomil s hs just been shown. The φ n,j (x) re clled Lgrnge interpoltion coefficients. We cn write φ n,j (x) = w n (x) (x x j )w n(x j ) (3.5) 2

4 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 3 w n (x) = (x x 0 )(x x 1 )...(x x n ) (3.6) 3.2 Error in the Interpolting Polynomil We shll show tht if f(x) hs n (n + 1) th derivtive nd P n (x) is n interpolting polynomil then the reminder is f(x) P n (x) = (x x 0)(x x 1 )...(x x n ) f (n+1) (ξ) (3.7) (n + 1)! ξ is in the intervl defined by x 0, x 1,..., x n. Let S n (x) be defined by f(x) P n (x) = w n (x)s n (x) (3.8) Define w n (x) = (x x 0 )(x x 1 )...(x x n ) (3.9) F (z) = f(z) P n (z) w n (z)s n (x) (3.10) This is continuous in z nd vnishes t n + 2 points x 0, x 1,..., x n, x. Thus by Rolle s theorem F (z) vnishes t n + 1 points, F (z) vnishes t n points,..., nd finlly F (n+1) (z) vnishes t one point ξ. But d n+1 dz n+1 P n(z) = 0 (3.11) Thus nd setting z = ξ d n+1 dz n+1 w n(z)s n (x) = (n + 1)!S n (x) (3.12) F (n+1) (z) = f n+1 (z) (n + 1)!S n (x) (3.13) S n (x) = f(x) P n (x) = 1 (n + 1)! f (n+1) (ξ) (3.14) w n(x) (n + 1)! f (n+1) (ξ) (3.15) Since the error depends on w n (x) we nturlly sk how the x i should be distributed to minimize w n (x). 3.3 Error of Derivtive with Lgrnge Interpoltion Suppose tht Then f (x) = P n(x) + f(x) = P n (x) + w n (n + 1)! f (n+1) (ξ) (3.16) w n (n + 1)! f (n+1) (ξ) + w n (n + 1)! f (n+2) (ξ) dξ dx (3.17)

5 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 4 n w n = (x x k ) (3.18) Then t n interpoltion point, f (x j ) = P n(x j ) + k j n (x j x k ) f (n+1) (ξ) (3.19) (n + 1)! k j with equl intervls h since With one intervl, f (x 0 ) = P (x 0 ) + hn n + 1 f (n+1) (ξ) (3.20) (x 1 x 0 )(x 2 x 0 )...(x n x 0 ) = n!h n (3.21) f (x 0 ) = f(x 1) f(x 0 ) h + h 2 f (ξ) (3.22) 3.4 Error of the k th Derivtive of the Interpoltion Polynomil Let f n+1 (x) be continuous nd let Then R n (x) = f(x) P n (x) (3.23) n k R n (k) (x) = (x ξ j ) f (n+1) (ξ) (n + 1 k)! (3.24) the distinct points ξ j re independent of x nd lie in the intervls x j < ξ j < x j+k for j = 0, 1,..., n k nd ξ(x) is some point in the intervl contining x nd the ξ j. Proof: R n = f P n hs n+1 continuous derivtives nd vnishes t n+1 points x = x j, for j = 0, 1,..., n. Apply Rolle s theorem k n times. The zeros re then distributed s illustrted.

6 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 5 This leds to the following tble for the distribution of the n k + 1 zeros ξ j of R (k) n. Define R R (1) R (2) R (k) x 0 x 1 (x 0, x 1 ) x 2 (x 1, x 2 ) (x 0, x 2 ). x k (x k 1, x k ) (x k 2, x k ) (x 0, x k ). x n (x n 1, x n ) (x n 2, x n ) (x n k, x n ) For ny x distinct from the ξ j choose α such tht n k F (z) = R n (k) (z) α (z ξ j ) (3.25) F (x) = 0 (3.26) Then F (z) hs n k + 2 zeros nd by Rolle s theorem F (n k+1) (z) hs one zero, η, sy, in the intervl contining x nd the ξ j. Thus 0 = F (n k+1) (η) (3.27) = Rn n+1 (η) α(n k + 1)! (3.28) = f n+1 (η) α(n k + 1)! (3.29) or α = It follows tht for mesh width bounded by h f n+1 (η) (n k + 1)! (3.30) M is proportionl to sup f n+1 (x) in the intervl. R (k) n Mh n k+1 (3.31) 3.5 Interpoltion with Tringle of Polynomils Set w 0 (x) = (x x 0 ) w 1 (x) = (x x 0 )(x x 1 ) w k (x) = (x x 0 )(x x 1 )...(x x k ) Now to interpolte f(x) with vlues f i t x i we set p(x) = (x x 0 ) + 2 (x x 0 )(x x 1 )... (3.32)

7 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 6 Then p 0 (x 0 ) = f 0 = 0 p 1 (x 1 ) = f 1 = (x 1 x 0 ) so we cn solve for the i in succession p 2 (x 2 ) = f 2 = (x 2 x 0 ) + 2 (x 2 x 0 )(x 2 x 1 ). k = f k 0 1 (x k x 0 )... k 1 (x k x 0 )...(x k x k 2 ) (x k x 0 )(x k x 1 )...(x k x k 1 ) = f k p k 1 (x k ) w k 1 (x k ) (3.33) 3.6 Newton s Form of the Interpoltion Polynomil The Lgrngin form of the interpoltion polynomil hs the disdvntge tht the coefficients hve to be recomputed if new interpoltion point is dded. To void this let P n (x) = k w k 1 (x) (3.34) k=0 w k (x) = (x x 0 )(x x 1 )...(x x k ) nd w 1 (x) = 1 (3.35) We cn determine the k so tht Suppose this hs been done for P k 1, nd we now dd x k. Then P n (x j ) = f(x j ) for j = 0, 1,..., n (3.36) P k (x) = P k 1 (x) + k w k 1 (x) (3.37) P k (x j ) = P k 1 (x j ) = f(x j ) for j = 0, 1,..., k 1 (3.38) P k (x k ) = P k 1 (x k ) + k w k 1 (x k ) = f(x k ) (3.39) k = f(x k) P k 1 (x k ) w k 1 (x k ). On the other hnd the coefficient of the highest order term in the Lgrnge expression is so by comprison n = f(x j ) w n(x j ) f(x j ) w n(x j ) Thus n is liner combintion of f(x j ) for j = 0, 1,..., n. Multiply by (3.40) (3.41) x n x 0 = x n x j + x j x 0 (3.42)

8 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 7 Then n (x n x 0 ) = = f(x j ) w n(x j ) (x j x n ) + f(x j ) k j (x j x k ) + j=1 j=1 f(x j ) w n(x j ) (x j x 0 ) f(x j ) k j (x j x k ) (3.43) These re just the expressions for n 1 in the intervls x 0 to x n 1 nd x 1 to x n. Thus if we define f[x 0,..., x n ] = n = f(x j ) k j (x j x k ) (3.44) we find tht nd strting from we hve f[x 0,..., x n ](x 0 x n ) = f[x 1,..., x n ] f[x 0,..., x n 1 ] (3.45) giving Newton s form of the interpoltion polynomil f[x 0 ] = f(x 0 ) (3.46) f[x 0, x 1 ] = f[x 1] f[x 0 ] x 1 x 0 (3.47) f[x 0, x 1, x 2 ] = f[x 1, x 2 ] f[x 0, x 1 ] x 2 x 0 (3.48) P n (x) = f[x 0 ] + (x x 0 )f[x 0, x 1 ] (x x 0 )...(x x n 1 )f[x 0,..., x n ] (3.49) The squre brcketed expressions re Newton s divided differences, nd we now hve Newton s form for the interpoltion polynomil: P n (x) = f[x 0 ] + (x x 0 )f[x 0, x 1 ] (x x 0 )...(x x n 1 )f[x 0,..., x n ] (3.50) ech new term is independent of the previous terms. To estimte the mgnitude of the higher divided differences we cn use the result lredy obtined for the reminder. Theorem: Let x 0, x 1,..., x k 1 be distinct points nd let f be continuous in intervl contining ll these points. Then for some point ξ in this intervl Proof: From Newton s formul f[x 0,..., x k 1, x] = f (k) (ξ) k! (3.51) f(x) P k 1 (x) = (x x 0 )...(x x k 1 )f[x 0,..., x k 1, x] = (x x 0 )...(x x k 1 ) f (k) (ξ) k! (3.52) by the reminder theorem. But x is distinct from x 0, x 1,..., x k 1 so the theorem follows on dividing out the fctors.

9 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION Hermite Interpoltion We cn generlize interpoltion by mtching derivtives s well s vlues t the interpoltion points. Such polynomil is clled the osculting polynomil nd the procedure is clled Hermite interpoltion. Let H 2n+1 (x) be polynomil of degree 2n + 1 such tht H 2n+1 (x) = f(x j ) for j = 0, 1,..., n (3.53) H 2n+1(x) = f (x j ) for j = 0, 1,..., n (3.54) The 2n + 2 coefficients re needed to stisfy 2n + 2 conditions. H 2n+1 (x) cn be found indirectly s in Lgrnge interpoltion. Let ψ n,j (x) nd γ n,j (x) be polynomils of degree 2n + 1 such tht ψ n,j (x i ) = δ ij, ψ n,j(x i ) = 0, Then the Hermite interpoltion polynomil is for i = 0, 1,..., n γ n,j (x i ) = 0, γ n,j(x i ) = δ ij, for i = 0, 1,..., n H 2n+1 (x) = ( f(xj )ψ n,j (x) + f (x j )γ n,j (x) ) (3.55) It cn be directly verified by differentition tht the required polynomils re nd φ n,j (x) re the Lgrnge polynomils stisfying The error in Hermite interpoltion is ψ n,j (x) = (1 2φ n,j(x)(x x j ))φ 2 n,j(x) (3.56) γ n,j (x) = (x x j )φ 2 n,j(x) (3.57) φ n,j (x i ) = δ ij for i = 0, 1,..., n (3.58) f(x) H 2n+1 (x) = ω 2 n(x) f 2n+2 (ξ) (2n + 2)! (3.59) ω n (x) = (x x 0 )(x x 1 )...(x x n ) (3.60) This cn be proved in the sme wy s the error estimte for Lgrnge interpoltion now F (ξ) = f(ξ) H 2n+1 (ξ) ω 2 n(ξ)s n (x) (3.61) nd on the first ppliction of Rolle s theorem F (ξ) hs 2n + 2 distinct zeros. The Hermite polynomil cn be obtined vi pssge to the limit from the Lgrnge polynomil P 2n+1 (x) which interpoltes f(x) t the 2n + 2 points x 0, x 0 + h, x 1, x 1 + h,..., x n, x n + h (3.62)

10 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 9 s h 0 to produce n + 1 pirs of coincident points. Define N(h) = (x x k + h) (3.63) nd D(h) = k=1,n, k=1,n, Then the contribution of the points x j nd x j + h to P 2n+1 (x) is Expnding f(x j + h) in Tylor series k j k j Q(x) = f(x j ) N(0) N( h) x (x j + h) D(0) D( h) x j (x j + h) + f(x j + h) N(0) D(h) (x j x k + h) (3.64) N( h) x x j D(0) h Q(x) = f(x j ) N(0) N( h) x (x j + h) D(0) D( h) x j (x j + h) + ( f(x j ) + hf (x j ) + O(h 2 ) ) N(0) N( h) x x j D(h) D(0) h = f(x j ) N(0) [ N( h) D(0) D( h) x x ( j 1 N( h) h D( h) 1 )] D(h) + f (x j )(x x j ) N(0) N( h) D(0) D(h) + O(h) Also Thus in the limit s h 0 1 D( h) 1 D(h) = 2h D (0) D 2 (0) + O(h2 ) (3.65) Q(x) = f(x j ) N 2 ( ) (0) D 2 1 2(x x j ) D (0) (0) D(0) + f (x j )(x x j ) N 2 (0) D 2 (0) nd D (0) equls d dx N(0) evluted t x j, so tht N(0) D(0) = φ n,j(x) (3.66) D (0) D(0) = φ n,j(x j ) (3.67)

11 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION Integrtion Formuls using Polynomil Interpoltion Let P n 1 (x) interpolte f(x) t x 0, x 1,..., x n. Then P n (x) = f(x j )φ n,j (x) (3.68) so tht φ n,j (x) = k j (x x k) k j (x j x k ) (3.69) φ n,j (x k ) = δ jk (3.70) Now pproximte f(x)dx by P n(x)dx typiclly = x 0, b = x n. Then E(f) denotes the error, nd f(x)dx = A j = A j f(x j ) + E(f) (3.71) φ n,j (x)dx (3.72) The result is exct if f(x) is polynomil of degree n, since then P n (x) = f(x). This is clled precision of degree n. 3.9 Integrtion with weight function We my include weight function w(x) 0 in the integrl. Then now f(x)w(x)dx = A j = A j f(x j ) + E(f) (3.73) j=n φ n,j (x)w(x)dx (3.74) Depending on w(x), nlyticl expressions re not necessrily vilble for evluting the coefficients A j Newton Cotes formuls These re derived by pproximting f(x) by n interpoltion formul using n + 1 eqully spced points in [, b] including the end points. The first 3 such formuls re: Trpezoidl rule f(x)dx = h (f() + f(b)) + E(f), h = b (3.75) 2

12 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 11 Simpson s rule f(x)dx = h 3 f() + 4h 3 f( + h) + h b f(b) + E(f), h = 3 2 (3.76) nd Simpson s 3 8 formul f(x)dx = 3h 8 f() + 9h 8 f( + h) + 9h 8 f( + 2h) + 3h Guss Qudrture f(b) + E(f), h = b 3 (3.77) When the interpoltion points x re fixed the integrtion formul hs n + 1 degrees of freedom corresponding to the coefficients A j for j = 0,..., n. Accordingly we cn find vlues of A j which yield exct vlues of the integrl of ll polynomils of degree n, P n (x) = x n x n, (3.78) since these lso hve n + 1 degrees of freedom corresponding to the coefficients j for j = 0,..., n. If we re lso free to choose the integrtion points x j, then we hve 2n + 2 degrees of freedom corresponding to x j nd A j, for j = 0,..., n. Now it is possible to find vlues of x j nd A j which enble exct integrtion of polynomils of degree 2n + 1. One could try to find the required vlues by solving 2n + 2 nonliner equtions A j f(x j ) = f(x)dx (3.79) f(x) = 1, x,..., x 2n+1 in turn. However the required vlues cn be found indirectly s follows. Let φ i (x) be orthogonl polynomils for the weight function w(x), so tht φ j (x)φ k (x)w(x) = 0 for j k (3.80) Choose x j s the zeros of φ n+1 (x). Then integrtion using polynomil interpoltion is exct for polynomils up to degree 2n + 1. Proof: If f(x) is polynomil of degree 2n + 1 it cn be uniquely expressed s q(x) nd R(x) re polynomils of degree n. Then f(x)w(x)dx = f(x) = q(x)φ n+1 (x) + R(x) (3.81) q(x)φ n+1 (x)w(x)dx + R(x)w(x)dx = since φ n+1 (x) is orthogonl to ll polynomils of degree < n + 1. R(x)w(x)dx (3.82)

13 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 12 Also the pproximte integrl is I = = = A j f(x j ) A j q(x j )φ n+1 (x j ) + A j R(x j ) A j R(x j ) (3.83) since φ n+1 (x j ) is zero for j = 0, 1,..., n. But then I = R(x)w(x)dx (3.84) exctly, since R(x) is polynomil of degree n. The degree of precision 2n + 1 is the mximum ttinble. Consider the polynomil of φ 2 n+1 (x) of degree 2n + 2. Then I = 0 (3.85) since φ n+1 (x j ) = 0 for j = 0, 1,..., n. But φ 2 n+1(x)w(x)dx > 0 (3.86) becuse φ 2 n+1 (x) > 0 except t the zeros x 0, x 1,..., x n. When pplied to n rbitrry smooth function f(x) which cn be expnded s f() + (x )f () (x )2n+2 f (2n+2) (ξ) (3.87) (2n + 2)! the error is proportionl to bound on f (2n+2) (x) becuse the preceding terms in the Tylor series re integrted exctly.

14 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION Formuls for Guss integrtion with constnt weight function Number of Points x j A j Precision Order ± ± ± 8 0 ± 15 5 r 5 9 q r 7 q ± 5 2 ± Tble 3.1: Formuls for Guss integrtion with constnt weight function 3.13 Error bound for Guss integrtion Let H 2n+1 (x) be the Hermite interpoltion polynomil to f(x) t the integrtion points. The Guss integrtion formul is exct for H 2n+1 (x). Hence Thus H 2n+1 (x)w(x)dx = f(x)w(x)dx A j f j = i=0 A j Q(x j ) = According to the error formul for Hermite interpoltion A j f j (3.88) f(x) H 2n+1 (x) = P 2 n(x) f (2n+2)(ξ) (f(x) H 2n+1 (x))w(x)dx (3.89) (2n + 2)! (3.90) P n (x) = (x x 0 )(x x 1 )...(x x n ) (3.91) is the orthogonl polynomil normlized so tht its leding coefficient is unity. Then the error is 1 b E = w(x) (2n + 2)! P n(x)f 2 (2n+2) (ξ)dx (3.92) Since w(x) ˆP 2 n(x) 0 the error lies in the rnge between min f (2n+2) (ξ)a nd mx f (2n+2) (ξ)a (3.93)

15 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 14 nd hence for some vlue of η in [, b]. A = 1 (2n + 2)! w(x) P 2 n(x)dx (3.94) E = Af (2n+2) (η) (3.95) 3.14 Discrete orthogonlity of orthogonl polynomils Let φ j (x) be orthogonl polynomils stisfying (φ j, φ k ) = φ j (x)φ k (x)w(x)dx = 0 for j k (3.96) Let x i be the zeros of φ n+1 (x). Then if j n, k n, φ j (x)φ k (x) is polynomil of degree 2n. Accordingly (φ j, φ k ) is evluted exctly by Guss integrtion. This implies tht the φ j stisfy the discrete orthogonlity condition A i φ j (x i )φ k (x i ) = 0, given j k, j n, k n (3.97) i=0 A i re the coefficients for Guss integrtion t the zeros of φ n Equivlence of interpoltion nd lest squres pproximtion using Guss integrtion Let f (x) be the lest squres fit to f(x) using orthogonl polynomils φ j (x) for the intervl [, b] with weight function w(x) 0. Then f (x) = c jφ j (x) (3.98) c j = (f, φ j) (φ j, φ j ) = f(x)φ j(x)w(x)dx φ2 j (x)w(x)dx (3.99) Let x i be the zeros of φ n+1 (x), nd let P n (x) be the interpoltion polynomil to f(x) stisfying P n (x i ) = f(x i ) for i = 0, 1,..., n (3.100) P n (x) cn be expnded s P n (x) = Then the ĉ k re determined by the conditions ĉ k φ k (x) (3.101) k=0 ĉ k φ k (x i ) = f(x i ) for i = 0, 1,..., n (3.102) k=0

16 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 15 Also the polynomils φ j (x) stisfy the discrete orthogonlity condition A i φ j (x i )φ k (x i ) = 0 given j k, j n, k n (3.103) i=0 A i re the coefficients for Guss integrtion. Now multiplying (3.102) by A i φ j (x i ) nd summing over i, it follows tht ĉ j = n i=0 A if(x i )φ j (x i ) n i=0 A iφ 2 j (x i) (3.104) This is exctly the formul (3.99) for evluting the lest squres coefficient c j by Guss integrtion. Alterntive Proof: The coefficients ĉ j re ctully the lest squres coefficients which minimize in the discrete semi-norm in which J = f f(x) c j φ j 2 (3.105) c j φ j (x) is evluted by Guss integrtion t the zeros x i of φ n+1 (x) s J = i=0 A i f(x i ) 2 c j φ j (x i ) w(x)dx (3.106) 2 w(x 0 ) (3.107) But s consequence of the interpoltion condition (3.99) the coefficients ĉ j yield the vlue J = 0, thus minimizing J Guss Lobto Integrtion To integrte f(x) over [-1,1] choose integrtion points t 1, 1, nd the zeros of Q n 1, which re the zeros of (1 + x)(1 x)φ n 1 (x) (3.108) Then let f(x) = q(x)(1 x 2 )φ n 1 (x) + r(x) (3.109) if f(x) is polynomil of degree 2n 1, q(x) nd r(x) re polynomil of degree n 2. Now let the polynomils φ j be orthogonl for the weight function w(x) = 1 x 2 (3.110) Then I = 1 1 f(x)dx = q(x)φ n 1 (x)w(x)dx + r(x)dx = r(x)dx (3.111) 1 1

17 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 16 since φ n 1 is orthogonl to ll polynomils of lower degree. Also the pproximte integrl is Then Î = Î = A j = A j f(x j ) (3.112) 1 1 A j q(x j )(1 x 2 j)φ n 1 (x j ) + since (1 x 2 j )φ n 1(x j ) = 0 for j = 0, 1,..., n. But then φ n,j (x)dx (3.113) A j r(x j ) = A j r(x j ) (3.114) Î = I (3.115) since r(x) is polynomil of degree < n. Here φ j re the Jcobi polynomils P (1,1) j, P (α,β) j is orthogonl for the weight (1 x) α (1 + x) β (3.116) 3.17 Portrits of Lgrnge, Newton nd Guss Figure 3.1: Joseph-Louis Lgrnge ( )

18 LECTURE 3. NUMERICAL DIFFERENTIATION AND INTEGRATION 17 Figure 3.2: Sir Isc Newton ( ) Figure 3.3: Crl Friedrich Guss ( )

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

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

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

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

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

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

1 The Lagrange interpolation formula

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

More information

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

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

More information

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

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

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

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

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

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

Numerical Analysis. Doron Levy. Department of Mathematics Stanford University

Numerical Analysis. Doron Levy. Department of Mathematics Stanford University Numericl Anlysis Doron Levy Deprtment of Mthemtics Stnford University December 1, 2005 D. Levy Prefce i D. Levy CONTENTS Contents Prefce i 1 Introduction 1 2 Interpoltion 2 2.1 Wht is Interpoltion?............................

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

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

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

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

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

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

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

Interpolation. Gaussian Quadrature. September 25, 2011

Interpolation. Gaussian Quadrature. September 25, 2011 Gussin Qudrture September 25, 2011 Approximtion of integrls Approximtion of integrls by qudrture Mny definite integrls cnnot be computed in closed form, nd must be pproximted numericlly. Bsic building

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

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

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

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

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

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

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

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

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

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 4: Piecewise Cubic Interpolation

Lecture 4: Piecewise Cubic Interpolation Lecture notes on Vritionl nd Approximte Methods in Applied Mthemtics - A Peirce UBC Lecture 4: Piecewise Cubic Interpoltion Compiled 5 September In this lecture we consider piecewise cubic interpoltion

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

Matrices, Moments and Quadrature, cont d

Matrices, Moments and Quadrature, cont d Jim Lmbers MAT 285 Summer Session 2015-16 Lecture 2 Notes Mtrices, Moments nd Qudrture, cont d We hve described how Jcobi mtrices cn be used to compute nodes nd weights for Gussin qudrture rules for generl

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

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

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

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

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

Introduction to Numerical Analysis

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

More information

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

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

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

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

Lecture 1. Functional series. Pointwise and uniform convergence.

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

More information

Modern Methods for high-dimensional quadrature

Modern Methods for high-dimensional quadrature Modern Methods for high-dimensionl qudrture WS 213/14 A. Griewnk, H. eövey V: Die. 11-13 RUD 25, 1.13 Mi. 9-11 RUD 25, 1.13 UE: Die. 13-15 RUD 25, 1.13 http://www2.mthemtik.huberlin.de/ gggle/w1314/mqi/uebung/qudrture.pdf

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

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

Review of Gaussian Quadrature method

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

More information

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

Sections 5.2: The Definite Integral

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

More information

Numerical Integration. 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

Math 554 Integration

Math 554 Integration Mth 554 Integrtion Hndout #9 4/12/96 Defn. A collection of n + 1 distinct points of the intervl [, b] P := {x 0 = < x 1 < < x i 1 < x i < < b =: x n } is clled prtition of the intervl. In this cse, we

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

Lecture Notes: Orthogonal Polynomials, Gaussian Quadrature, and Integral Equations

Lecture Notes: Orthogonal Polynomials, Gaussian Quadrature, and Integral Equations 18330 Lecture Notes: Orthogonl Polynomils, Gussin Qudrture, nd Integrl Equtions Homer Reid My 1, 2014 In the previous set of notes we rrived t the definition of Chebyshev polynomils T n (x) vi the following

More information

New Expansion and Infinite Series

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

More information

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

Sturm-Liouville Eigenvalue problem: Let p(x) > 0, q(x) 0, r(x) 0 in I = (a, b). Here we assume b > a. Let X C 2 1

Sturm-Liouville Eigenvalue problem: Let p(x) > 0, q(x) 0, r(x) 0 in I = (a, b). Here we assume b > a. Let X C 2 1 Ch.4. INTEGRAL EQUATIONS AND GREEN S FUNCTIONS Ronld B Guenther nd John W Lee, Prtil Differentil Equtions of Mthemticl Physics nd Integrl Equtions. Hildebrnd, Methods of Applied Mthemtics, second edition

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

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

Part IB Numerical Analysis

Part IB Numerical Analysis Prt IB Numericl Anlysis Theorems with proof Bsed on lectures by G. Moore Notes tken by Dexter Chu Lent 2016 These notes re not endorsed by the lecturers, nd I hve modified them (often significntly) fter

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

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

Numerical Analysis. Chassidy Bozeman. May 30, 2016

Numerical Analysis. Chassidy Bozeman. May 30, 2016 Numericl Anlysis Chssidy Bozemn My 30, 016 Contents 1 Theorems 1 1.1 561 Theorems............................................. 1 1. 56 Theorems............................................. Root Finding.1

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

Undergraduate Research

Undergraduate Research Undergrdute Reserch A Trigonometric Simpson s Rule By Ctherine Cusimno Kirby nd Sony Stnley Biogrphicl Sketch Ctherine Cusimno Kirby is the dughter of Donn nd Sm Cusimno. Originlly from Vestvi Hills, Albm,

More information

7. Numerical evaluation of definite integrals

7. Numerical evaluation of definite integrals 7. Numericl evlution of definite integrls Tento učení text yl podpořen z Operčního progrmu Prh - Adptilit Hn Hldíková Numericl pproximtion of definite integrl is clled numericl qudrture, the formuls re

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

MA 124 January 18, Derivatives are. Integrals are.

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

More information

LECTURE 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

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

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

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

More information

Math 360: A primitive integral and elementary functions

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

More information

ODE: Existence and Uniqueness of a Solution

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

More information

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

Problem Set 3 Solutions

Problem Set 3 Solutions Chemistry 36 Dr Jen M Stndrd Problem Set 3 Solutions 1 Verify for the prticle in one-dimensionl box by explicit integrtion tht the wvefunction ψ ( x) π x is normlized To verify tht ψ ( x) is normlized,

More information

DEFINITION The inner product of two functions f 1 and f 2 on an interval [a, b] is the number. ( f 1, f 2 ) b DEFINITION 11.1.

DEFINITION The inner product of two functions f 1 and f 2 on an interval [a, b] is the number. ( f 1, f 2 ) b DEFINITION 11.1. 398 CHAPTER 11 ORTHOGONAL FUNCTIONS AND FOURIER SERIES 11.1 ORTHOGONAL FUNCTIONS REVIEW MATERIAL The notions of generlized vectors nd vector spces cn e found in ny liner lger text. INTRODUCTION The concepts

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

Introduction to Numerical Analysis. Hector D. Ceniceros

Introduction to Numerical Analysis. Hector D. Ceniceros Introduction to Numericl Anlysis Hector D. Ceniceros c Drft dte November 27, 2018 Contents Contents i Prefce 1 1 Introduction 3 1.1 Wht is Numericl Anlysis?.................. 3 1.2 An Illustrtive Exmple.....................

More information

Quadratic Forms. Quadratic Forms

Quadratic Forms. Quadratic Forms Qudrtic Forms Recll the Simon & Blume excerpt from n erlier lecture which sid tht the min tsk of clculus is to pproximte nonliner functions with liner functions. It s ctully more ccurte to sy tht we pproximte

More information

SOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL (1 + µ(f n )) f(x) =. But we don t need the exact bound.) Set

SOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL (1 + µ(f n )) f(x) =. But we don t need the exact bound.) Set SOLUTIONS FOR ANALYSIS QUALIFYING EXAM, FALL 28 Nottion: N {, 2, 3,...}. (Tht is, N.. Let (X, M be mesurble spce with σ-finite positive mesure µ. Prove tht there is finite positive mesure ν on (X, M such

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

Section 7.1 Integration by Substitution

Section 7.1 Integration by Substitution Section 7. Integrtion by Substitution Evlute ech of the following integrls. Keep in mind tht using substitution my not work on some problems. For one of the definite integrls, it is not possible to find

More information

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

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

More information

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

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

More information

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

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

More information

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

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

MAT 772: Numerical Analysis. James V. Lambers

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

More information

1.2. Linear Variable Coefficient Equations. y + b "! = a y + b " Remark: The case b = 0 and a non-constant can be solved with the same idea as above.

1.2. Linear Variable Coefficient Equations. y + b ! = a y + b  Remark: The case b = 0 and a non-constant can be solved with the same idea as above. 1 12 Liner Vrible Coefficient Equtions Section Objective(s): Review: Constnt Coefficient Equtions Solving Vrible Coefficient Equtions The Integrting Fctor Method The Bernoulli Eqution 121 Review: Constnt

More information

1 Ordinary Differential Equations

1 Ordinary Differential Equations 1 Ordinry Differentil Equtions 1. Mthemticl Bckground 1..1 Smoothness Definition 1.1 A function f defined on [, b] is continuous t x [, b] if lim x x f(x) = f(x ). Remrk Note tht this implies existence

More information