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

Size: px
Start display at page:

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

Transcription

1 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 (ξ).

2 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 0 ) +f (x 1 ) (x x 1 ) 2 (x x 2 ) (x 0 x 1 ) 2 (x 0 x 2 ) dx + f (x 2) (x x 0 )(x x 2 ) (x 1 x 0 )(x 1 x 2 ) +f (x x 0 )(x x 1 )(x x 2 ) (x 1 ) dx (x 1 x 0 )(x 1 x 2 ) (x x 1 ) 2 (x x 0 ) (x 2 x 1 ) 2 (x 2 x 0 ) dx ( 1 (x x ) 1)(2x 1 x 0 x 2 ) dx (x 1 x 0 )(x 1 x 2 )

3 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 0 ) +f (x 1 ) (x x 1 ) 2 (x x 2 ) (x 0 x 1 ) 2 (x 0 x 2 ) dx + f (x 2) (x x 0 )(x x 2 ) (x 1 x 0 )(x 1 x 2 ) +f (x x 0 )(x x 1 )(x x 2 ) (x 1 ) dx (x 1 x 0 )(x 1 x 2 ) = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )). (x x 1 ) 2 (x x 0 ) (x 2 x 1 ) 2 (x 2 x 0 ) dx ( 1 (x x ) 1)(2x 1 x 0 x 2 ) dx (x 1 x 0 )(x 1 x 2 ) Stroke of luck: f (x 1 ) does not pper in qudrture

4 Simpson s Rule: f (x) = P 3 (x) + 1 4! f (4) (ξ(x))(x x 0 )(x x 1 ) 2 (x x 2 ). Qudrture Rule: f (x) dx = P 3 (x) dx + 1 4! = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) + 1 4! f (4) (ξ(x))(x x 0 )(x x 1 ) 2 (x x 2 ) dx f (4) (ξ(x))(x x 0 )(x x 1 ) 2 (x x 2 ) dx h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )). Qudrture Error: 1 4! = f (4) (ξ) 24 f (4) (ξ(x))(x x 0 )(x x 1 ) 2 (x x 2 ) dx (x x 0 )(x x 1 ) 2 (x x 2 ) dx = f (4) (ξ) 90 h 5.

5 Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. f (x)dx = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) f (4) (ξ) 90 h 5.

6 Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. f (x)dx = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) f (4) (ξ) 90 h 5.

7 Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. f (x)dx = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) f (4) (ξ) 90 h 5. Wrong plot: slopes should mtch t midpoint.

8 Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. f (x)dx = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) f (4) (ξ) 90 h 5. Right: slopes mtch t midpoint.

9 Exmple: pproximte 2 0 f (x)dx: Simpson wins

10 Degree of precision Degree of precision: the lrgest positive integer n such tht qudrture formul is exct for x k, for ech k = 0, 1,, n.

11 Degree of precision Degree of precision: the lrgest positive integer n such tht qudrture formul is exct for x k, for ech k = 0, 1,, n. Impliction: qudrture formul is exct for ll polynomils of degree t most n.

12 Degree of precision Degree of precision: the lrgest positive integer n such tht qudrture formul is exct for x k, for ech k = 0, 1,, n. Impliction: qudrture formul is exct for ll polynomils of degree t most n. Simplifiction: only need to verify exctness on intervl [0, 1].

13 Degree of precision Degree of precision: the lrgest positive integer n such tht qudrture formul is exct for x k, for ech k = 0, 1,, n. Impliction: qudrture formul is exct for ll polynomils of degree t most n. Simplifiction: only need to verify exctness on intervl [0, 1]. DoP = 1 for Trpezoidl Rule, DoP = 3 for Simpson.

14 Simpson s Rule: n = 3, x 0 =, x 1 = +b 2, x 2 = b, h = b 2. f (x)dx = h 3 (f (x 0) + 4f (x 1 ) + f (x 2 )) f (4) (ξ) 90 h 5. Degree of precision = 3

15 Composite Simpson s Rule (n = 2m, x j = + j h, h = b n, 0 j n) f (x)dx = = m x2j f (x)dx x 2(j 1) ( m h ( f (x2(j 1) ) + 4f (x 2j 1 ) + f (x 2j ) ) ) f (4) (ξ j ) h

16 Composite Simpson s Rule (n = 2m, x j = + j h, h = b n, 0 j n) (x)dx = f h f () = h f () = h f () m 1 m 1 m 1 m m f (x 2j ) + 4 f (x 2j 1 ) + f (b) h5 f (4) (ξ j ) 90 m f (x 2j ) + 4 f (x 2j 1 ) + f (b) h5 m 90 f (4) (µ) m f (x 2j ) + 4 f (x 2j 1 ) + f (b) (b )h4 180 f (4) (µ)

17 Trpezoidl Rule: n = 1, x 0 =, x 1 = b, h = b. f (x)dx = h 2 (f (x 0) + f (x 1 )) f (ξ) 12 h3. Degree of precision = 1

18 Composite Trpezoidl Rule (x j = + j h, h = b n, 0 j n) f (x)dx = = n xj f (x)dx x j 1 n ( h 2 (f (x j 1) + f (x j )) f ) (ξ j ) h 3. 12

19 Composite Trpezoidl Rule (x j = + j h, h = b n, 0 j n) (x)dx = f h n 1 n f () + 2 f (x j ) + f (b) h3 f (ξ j ) 2 12 = h n 1 f () + 2 f (x j ) + f (b) h3 n 2 12 f (µ) = h n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 2 12 For the sme work, Composite Simpson yields twice s mny correct digits.

20 Composite Simpson s Rule, exmple Determine vlues of h for n pproximtion error ɛ = 10 5 when pproximting π 0 sin(x) dx with Composite Simpson.

21 Composite Simpson s Rule, exmple Determine vlues of h for n pproximtion error ɛ = 10 5 when pproximting π 0 sin(x) dx with Composite Simpson. Solution: f (4) (µ) = sin(µ) 1, Error = π h f (4) (µ) π5 180n 4. Choosing or h = π 2m π 5 ( π 180n 4 ɛ, leding to n π 180ɛ with m 11. )

22 Composite Simpson s Rule, exmple 2 = Determine vlues of h for n pproximtion error ɛ = 10 5 when pproximting π 0 sin(x) dx with Composite Simpson. Solution: f (4) (µ) = sin(µ) 1, Error = π h f (4) (µ) π5 180n 4. Choosing or h = π 2m π 0 π π 0 ( π 180n 4 ɛ, leding to n π 180ɛ with m 11. For n = 2m = 22, sin(x) dx π 10 ( ) jπ 2 sin sin(x) dx π sin ) ( ) (2j 1)π sin 22 ( ) jπ (Trpezoidl) 22

23 Composite Simpson s Rule: Round-Off Error Stbility (n = 2m, x j = + j h, h = b n, 0 j n) (x)dx f h f () def = I(f ). m 1 f (x 2j ) + 4 m f (x 2j 1 ) + f (b)

24 Composite Simpson s Rule: Round-Off Error Stbility (n = 2m, x j = + j h, h = b n, 0 j n) (x)dx f h f () def = I(f ). m 1 Assume round-off error model: f (x 2j ) + 4 m f (x 2j 1 ) + f (b) f (x i ) = f (x i ) + e i, e i ɛ, i = 0, 1,, n.

25 Composite Simpson s Rule: Round-Off Error Stbility (n = 2m, x j = + j h, h = b n, 0 j n) (x)dx f h f () def = I(f ). m 1 Assume round-off error model: f (x 2j ) + 4 m f (x 2j 1 ) + f (b) f (x i ) = f (x i ) + e i, e i ɛ, i = 0, 1,, n. I(f ) = I( f ) + h m 1 m e e 2j + 4 e 2j 1 + e n. 3 I(f ) I( f ) h m 1 m e e 2j + 4 e 2j 1 + e n 3 hnɛ = (b )ɛ (numericlly stble!!!)

26 Composite Trpezoidl Rule: Round-Off Error Stbility (x j = + j h, h = b n, 0 j n) (x)dx f h n 1 f () + 2 f (x j ) + f (b) 2 def = I(f ).

27 Composite Trpezoidl Rule: Round-Off Error Stbility (x j = + j h, h = b n, 0 j n) (x)dx f h n 1 f () + 2 f (x j ) + f (b) 2 def = I(f ). Assume round-off error model: f (x i ) = f (x i ) + e i, e i ɛ, i = 0, 1,, n.

28 Composite Trpezoidl Rule: Round-Off Error Stbility (x j = + j h, h = b n, 0 j n) (x)dx f h n 1 f () + 2 f (x j ) + f (b) 2 def = I(f ). Assume round-off error model: f (x i ) = f (x i ) + e i, e i ɛ, i = 0, 1,, n. I(f ) = I( f ) + h n 1 e e j + e n. 2 I(f ) I( f ) h n 1 e e j + e n 2 hnɛ = (b )ɛ (numericlly stble!!!)

29 Recursive Composite Trpezoidl: with h k = (b )/2 k 1. f (x)dx h 2 n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 12

30 Recursive Composite Trpezoidl: with h k = (b )/2 k 1. f (x)dx h 2 book ==== h 2 def === R k,1 + n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 12 n 1 f () + 2 f (x j ) + f (b) + K j h 2j. K j h 2j, for n = 2 k.

31 Recursive Composite Trpezoidl: with h k = (b )/2 k 1. f (x)dx R 1,1 = h 1 2 h 2 book ==== h 2 def === R k,1 + n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 12 n 1 f () + 2 f (x j ) + f (b) + K j h 2j. K j h 2j, for n = 2 k. (f () + f (b)) = b 2 (f () + f (b)),

32 Recursive Composite Trpezoidl: with h k = (b )/2 k 1. f (x)dx R 1,1 = h 1 2 h 2 book ==== h 2 def === R k,1 + n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 12 n 1 f () + 2 f (x j ) + f (b) + K j h 2j. K j h 2j, for n = 2 k. (f () + f (b)) = b 2 (f () + f (b)), R 2,1 = h 2 2 (f () + f (b) + 2f ( + h 2)) = 1 2 (R 1,1 + h 1 f ( + h 2 )),

33 Recursive Composite Trpezoidl: with h k = (b )/2 k 1. f (x)dx R 1,1 = h 1 2 h 2 book ==== h 2 def === R k,1 + n 1 f () + 2 f (x j ) + f (b) (b )h2 f (µ) 12 n 1 f () + 2 f (x j ) + f (b) + K j h 2j. K j h 2j, for n = 2 k. (f () + f (b)) = b 2 (f () + f (b)), R 2,1 = h 2 2 (f () + f (b) + 2f ( + h 2)) = 1 2 (R 1,1 + h 1 f ( + h 2 )),.. R k,1 = 1 2 k 2 R k 1,1 + h k 1 f ( + (2j 1)h k ), k = 2,, log 2 2 n.

34

35 Romberg Extrpoltion Tble O(h 2 k ) O(h4 k ) O(h6 k ) O(h8 k ) R 1,1 R 2,1 R2,2 R 3,1 R3,2 R3,3 R 4,1 R 4,2 R 4,3 R 4,4

36 Romberg Extrpoltion for π 0 sin(x) dx, n = 1, 2, 22, 2 3, 2 4, 2 5. R 1,1 = π (sin(0) + sin(π)) = 0, 2 R 2,1 = 1 (R 1,1 + π sin( π ) 2 2 ) = , R 3,1 = 1 R 2,1 + π 2 (2j 1)π sin( = , R 4,1 = 1 R 3,1 + π 4 (2j 1)π sin( = , R 5,1 = 1 R 4,1 + π 8 (2j 1)π sin( = , R 6,1 = 1 R 5,1 + π 2 4 (2j 1)π sin( =

37 Romberg Extrpoltion, π 0 sin(x) dx = function evlutions used in the tble.

38 Recursive Composite Simpson: f (x)dx m 1 h f () + 2 f (x 2j ) (b )h4 f (4) (µ) 12 m f (x 2j 1 ) + f (b)

39 Recursive Composite Simpson: f (x)dx exists ==== h 3 m 1 h f () + 2 f (x 2j ) (b )h4 f (4) (µ) 12 + f () + 2 K j h 2j. j=2 def === R k,1 + m 1 f (x 2j ) + 4 m f (x 2j 1 ) + f (b) m f (x 2j 1 ) + f (b) K j h 2j, for n = 2 k. j=2

40 Recursive Composite Simpson: with h k = (b )/2 k 1. f (x)dx R k,1 + K j h 2j, for n = 2 k. j=2

41 Recursive Composite Simpson: with h k = (b )/2 k 1. R 1,1 = b 6 f (x)dx R k,1 + K j h 2j, for n = 2 k. j=2 (f () + 4S 1 + f (b)), S 1 = f (( + b)/2),

42 Recursive Composite Simpson: with h k = (b )/2 k 1. R 1,1 = b 6. T k = f (x)dx R k, k 1 K j h 2j, for n = 2 k. j=2 (f () + 4S 1 + f (b)), S 1 = f (( + b)/2), f ( + (2j 1)h k ), R k,1 = h k 3 (f () + 2S k 1 + 4T k + f (b)), S k = S k 1 + T k, k = 2,, log 2 n.

43 Romberg Extrpoltion Tble, Simpson Rule O(h 4 k ) O(h6 k ) O(h8 k ) O(h10 k ) R 1,1 R 2,1 R2,2 R 3,1 R3,2 R3,3 R 4,1 R 4,2 R 4,3 R 4,4

44 Tricks of the Trde, f (x)dx Composite Simpson/Trpezoidl rules: Adding more equi-spced points. Romberg extrpoltion: Obtin higher order rules from lower order rules. Adptive qudrtures: Adding more points only when necessry. qud function of mtlb: combintion of ll three.

45 Adptive Qudrture Methods: step-size mtters y(x) = e 3x sin 4x. Oscilltion for smll x; nerly 0 for lrger x. Mechnicl engineering (spring nd shock bsorber systems) Electricl engineering (circuit simultions) y(x) behves different for smll x nd for lrge x.

46 Adptive Qudrture (I) where S(, b) = h 3 f (x)dx = S(, b) h5 90 f (4) (ξ), ξ (, b), Simpson on [, b] (f () + 4f ( + h) + f (b)), h = b 2. Composite Simpson

47 Adptive Qudrture (II) f (x)dx = S(, b) h5 90 f (4) (ξ), ξ (, b), where f (x)dx = +b 2 f (x)dx + f (x)dx +b 2 = S(, + b 2 ) + S( + b 2, b) (h/2)5 90 f (4) (ξ 1 ) (h/2)5 90 f (4) (ξ 2 ) = S(, + b 2 ) + S( + b 2, b) 1 16 ( h 5 90 ξ 1 (, + b 2 ), ξ 2 ( + b 2, b), ξ (, b). ) f (4) ( ξ),

48 Adptive Qudrture (III) f (x)dx = S(, + b 2 ) + S( + b 2, b) 1 16 = S(, b) h5 90 f (4) (ξ) ( h 5 90 ) f (4) ( ξ)

49 Adptive Qudrture (III) f (x)dx = S(, + b 2 ) + S( + b 2, b) 1 16 ( h 5 90 ) f (4) ( ξ) = S(, b) h5 90 f (4) (ξ) S(, b) h5 90 f (4) ( ξ).

50 Adptive Qudrture (III) ( h 5 f (x)dx = S(, + b 2 ) + S( + b 2, b) ( h 5 90 ) f (4) ( ξ) = S(, b) h5 90 f (4) (ξ) S(, b) h5 90 f (4) ( ξ). ) f (4) ( ξ) 16 ( S(, b) S(, + b 15 2 ) S( + b ) 2, b),

51 Adptive Qudrture (III) ( h 5 f (x)dx = S(, + b 2 ) + S( + b 2, b) ( h 5 90 ) f (4) ( ξ) = S(, b) h5 90 f (4) (ξ) S(, b) h5 90 f (4) ( ξ). ) f (4) ( ξ) 16 ( S(, b) S(, + b 15 2 ) S( + b ) 2, b), f (x)dx S(, + b 2 ) S( + b ( ) 2, b) = 1 h 5 f (4) ( ξ) b S(, b) S(, 2 ) S( + b 2, b).

52 Adptive Qudrture (IV) For given tolernce τ, if 1 15 then S(, +b 2 + b S(, b) S(, 2 ) S( + b 2, b) τ, +b ) + S( 2, b) is sufficiently ccurte pproximtion to f (x)dx; otherwise recursively develop qudrtures on (, +b 2 ) nd, b), respectively. ( +b 2

53 AdptQud(f, [, b], τ) for computing f (x) dx compute S(, b), S(, +b 2 if 1 15 ), S( +b 2, b), + b S(, b) S(, 2 ) S( + b 2, b) τ, return S(, +b +b 2 ) + S( 2, b). else return AdptQud(f, [, + b 2 + b ], τ/2)+adptqud(f, [, b], τ/2). 2

54 Adptive Simpson (I)

55 Adptive Simpson (II)

56 Adptive Simpson, exmple Integrl 3 1 f (x) dx, f (x) = 100 x 2 sin Tolernce τ = ( ) 10. x

57 function qud(f, [, b], τ) of mtlb For given tolernce τ, composite Simpson: S(, b), S(, +b +b 2 ) nd S( 2, b). Romberg extrpoltion: if Q 1 = S(, + b 2 )+S( + b 2, b), Q = Q (Q 1 S(, b)). return Q else return qud(f, [, + b 2 Q Q 1 τ, + b ], τ/2) + qud(f, [, b], τ/2). 2

58 Gussin Qudrture (I) Trpezoidl nodes x 1 =, x 2 = b unlikely best choices. Likely better node choices.

59 Gussin Qudrture (II) Given n > 0, choose both distinct nodes x 1,, x n [ 1, 1] nd weights c 1,, c n, so qudrture 1 1 f (x) dx n c j f (x j ), (1) gives the gretest degree of precision (DoP).

60 Gussin Qudrture (II) Given n > 0, choose both distinct nodes x 1,, x n [ 1, 1] nd weights c 1,, c n, so qudrture 1 1 f (x) dx n c j f (x j ), (1) gives the gretest degree of precision (DoP). 2n totl number of prmeters in qudrture, could choose 2n monomils f (x) = 1, x, x 2,, x 2n 1 in eqution (1).

61 Gussin Qudrture (II) Given n > 0, choose both distinct nodes x 1,, x n [ 1, 1] nd weights c 1,, c n, so qudrture 1 1 f (x) dx n c j f (x j ), (1) gives the gretest degree of precision (DoP). 2n totl number of prmeters in qudrture, could choose 2n monomils f (x) = 1, x, x 2,, x 2n 1 in eqution (1). directly solving eqution (1) cn be very hrd.

62 Gussin Qudrture, n = 2 (I) Consider Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ).

63 Gussin Qudrture, n = 2 (I) Consider Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ). Choose prmeters c 1, c 2 nd x 1 < x 2 so tht Gussin qudrture is exct for f (x) = 1, x, x 2, x 3 : 1 1 f (x) dx = c 1 f (x 1 ) + c 2 f (x 2 ),

64 Gussin Qudrture, n = 2 (I) Consider Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ). Choose prmeters c 1, c 2 nd x 1 < x 2 so tht Gussin qudrture is exct for f (x) = 1, x, x 2, x 3 : 1 1 f (x) dx = c 1 f (x 1 ) + c 2 f (x 2 ), or 2 = 2 3 = dx = c 1 + c 2, 0 = x 2 dx = c 1 x c 2 x 2 2, 0 = x dx = c 1 x 1 + c 2 x 2, x 3 dx = c 1 x c 2 x 3 2.

65 Gussin Qudrture, n = 2 (II) x 1 < x 2, c 1 x 1 = c 2 x 2, c 1 x 3 1 = c 2 x 3 2, implying x 2 1 = x 2 2. Thus x 1 = x 2 nd c 1 = c 2.

66 Gussin Qudrture, n = 2 (II) x 1 < x 2, c 1 x 1 = c 2 x 2, c 1 x 3 1 = c 2 x 3 2, implying x 2 1 = x 2 2. Thus x 1 = x 2 nd c 1 = c 2. c 1 + c 2 = 2, c 1 x c 2 x 2 2 = 2 3, which implies c 1 = c 2 = 1, x 2 = 1 3. Gussin qudrture for n = f (x) dx f ( 1 3 ) + f ( 1 3 ), exct for f (x) = 1, x, x 2, x 3, but not for f (x) = x 4.

67 Legendre

68 Legendre Legendre polynomils: P 0 (x) = 1, P 1 (x) = x. Bonnet s recursive formul for n 1: (n + 1)P n+1 (x) = (2n + 1)xP n (x) np n 1 (x).

69 Legendre Legendre polynomils: P 0 (x) = 1, P 1 (x) = x. Bonnet s recursive formul for n 1: (n + 1)P n+1 (x) = (2n + 1)xP n (x) np n 1 (x).

70 P n (x) hs degree exctly n. Legendre polynomils re orthogonl polynomils: 1 1 P m (x) P n (x) dx = 0, whenever m < n.

71 P n (x) hs degree exctly n. Legendre polynomils re orthogonl polynomils: 1 1 P m (x) P n (x) dx = 0, whenever m < n. Let Q(x) be ny polynomil of degree < n. Then Q(x) is liner combintion of P 0 (x), P 1 (x),, P n (x): Q(x) = α 0 P 0 (x) + α 1 P 1 (x) + + α n 1 P n 1 (x).

72 P n (x) hs degree exctly n. Legendre polynomils re orthogonl polynomils: 1 1 P m (x) P n (x) dx = 0, whenever m < n. Let Q(x) be ny polynomil of degree < n. Then Q(x) is liner combintion of P 0 (x), P 1 (x),, P n (x): Q(x) = α 0 P 0 (x) + α 1 P 1 (x) + + α n 1 P n 1 (x) Q(x)P n (x) dx = α 0 P 0 (x)p n (x) dx + α 1 P 1 (x)p n (x) dx = α n 1 P n 1 (x)p n (x) dx 1

73 Gussin Qudrture: Definition Theorem: P n (x) hs exctly n distinct roots 1 < x 1 < x 2 < < x n < 1. Define: Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ),

74 Gussin Qudrture: Definition Theorem: P n (x) hs exctly n distinct roots 1 < x 1 < x 2 < < x n < 1. Define: Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ), Choose: for i = 1,, n, 1 1 def c i == L i (x) dx = x x j dx. 1 1 x i x j j i

75 Gussin Qudrture: Definition Theorem: P n (x) hs exctly n distinct roots 1 < x 1 < x 2 < < x n < 1. Define: Gussin qudrture 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ), Choose: for i = 1,, n, 1 1 def c i == L i (x) dx = x x j dx. 1 1 x i x j j i Qudrture exct for polynomils of degree t most n 1.

76 Theorem: DoP of Gussin Qudrture = 2n 1 Gussin qudrture, with roots of P n (x) x 1, x 2,, x n : 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ),

77 Theorem: DoP of Gussin Qudrture = 2n 1 Gussin qudrture, with roots of P n (x) x 1, x 2,, x n : 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ), Let P(x) be ny polynomil of degree t most 2n 1. Then P(x) = Q(x)P n (x) + R(x), (Polynomil Division) where Q(x), R(x) polynomils of degree t most n 1.

78 Theorem: DoP of Gussin Qudrture = 2n 1 Gussin qudrture, with roots of P n (x) x 1, x 2,, x n : 1 1 f (x) dx c 1 f (x 1 ) + c 2 f (x 2 ) + + c n f (x n ), Let P(x) be ny polynomil of degree t most 2n 1. Then P(x) = Q(x)P n (x) + R(x), (Polynomil Division) 1 1 where Q(x), R(x) polynomils of degree t most n 1. P(x) dx = 1 = 0 + Q(x)P n (x) dx R(x) dx 1 1 R(x) dx = c 1 R(x 1 ) + c 2 R(x 2 ) + + c n R(x n ) (qud exct for R(x)) = c 1 P(x 1 ) + c 2 P(x 2 ) + + c n P(x n ). (qud exct for P(x))

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 14: Quadrature

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

More information

Lecture 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

More information

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

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

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

More information

Math& 152 Section Integration by Parts

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

More information

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

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

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

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

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

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

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

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

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

Math 100 Review Sheet

Math 100 Review Sheet Mth 100 Review Sheet Joseph H. Silvermn December 2010 This outline of Mth 100 is summry of the mteril covered in the course. It is designed to be study id, but it is only n outline nd should be used s

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

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

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

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

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

Harmonic Mean Derivative - Based Closed Newton Cotes Quadrature

Harmonic Mean Derivative - Based Closed Newton Cotes Quadrature IOSR Journl of Mthemtics (IOSR-JM) e-issn: - p-issn: 9-X. Volume Issue Ver. IV (My. - Jun. 0) PP - www.iosrjournls.org Hrmonic Men Derivtive - Bsed Closed Newton Cotes Qudrture T. Rmchndrn D.Udykumr nd

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

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

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

Module 11.4: nag quad util Numerical Integration Utilities. Contents

Module 11.4: nag quad util Numerical Integration Utilities. Contents Qudrture Module Contents Module 11.4: ng qud util Numericl Integrtion Utilities ng qud util provides utility procedures for computtion involving integrtion of functions, e.g., the computtion of the weights

More information

Lab 11 Approximate Integration

Lab 11 Approximate Integration Nme Student ID # Instructor L Period Dte Due L 11 Approximte Integrtion Ojectives 1. To ecome fmilir with the right endpoint rule, the trpezoidl rule, nd Simpson's rule. 2. To compre nd contrst the properties

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

Improper Integrals, and Differential Equations

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

More information

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

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space.

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space. Clculus 3 Li Vs Spce Curves Recll the prmetric equtions of curve in xy-plne nd compre them with prmetric equtions of curve in spce. Prmetric curve in plne x = x(t) y = y(t) Prmetric curve in spce x = x(t)

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

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

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

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

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

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

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

On Second Derivative-Free Zero Finding Methods

On Second Derivative-Free Zero Finding Methods 010 Americn Control Conerence Mrriott Wterront, Bltimore, MD, USA June 30-July 0, 010 FrC07.4 On Second Derivtive-Free Zero Finding Methods Mohmmed A. Hsn Deprtment o Electricl & Computer Engineering University

More information

A NONLINEAR OPTIMIZATION PROCEDURE FOR GENERALIZED GAUSSIAN QUADRATURES

A NONLINEAR OPTIMIZATION PROCEDURE FOR GENERALIZED GAUSSIAN QUADRATURES A NONLINEAR OPTIMIZATION PROCEDURE FOR GENERALIZED GAUSSIAN QUADRATURES JAMES BREMER, ZYDRUNAS GIMBUTAS, AND VLADIMIR ROKHLIN Abstrct We present new nonliner optimiztion procedure for the computtion of

More information

1 The Riemann Integral

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

More information

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

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

More information

INTRODUCTION TO INTEGRATION

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

More information

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

CS514 Fall '00 Numerical Analysis (Sketched) Solution of Homework 3 1. Questions from text in Chapter 3 Problem 1: 0 f 0 1 f 8 1 8(f 1 f 0 ) 1 f 4 2 8

CS514 Fall '00 Numerical Analysis (Sketched) Solution of Homework 3 1. Questions from text in Chapter 3 Problem 1: 0 f 0 1 f 8 1 8(f 1 f 0 ) 1 f 4 2 8 CS514 Fll '00 Numericl Anlysis (Sketched) Solution of Homework 3 1. Questions from text in Chpter 3 Problem 1: 0 f 0 1 f 8 1 8(f 1 f 0 ) 1 f 4 2 8(f 2 f 1 ) 32(f 2 2f 1 f 0 ) 1 32 f 2 3 4(f 3 f 2 ) (f

More information

Lecture 3 Gaussian Probability Distribution

Lecture 3 Gaussian Probability Distribution Introduction Lecture 3 Gussin Probbility Distribution Gussin probbility distribution is perhps the most used distribution in ll of science. lso clled bell shped curve or norml distribution Unlike the binomil

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

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

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

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

Integral equations, eigenvalue, function interpolation

Integral equations, eigenvalue, function interpolation Integrl equtions, eigenvlue, function interpoltion Mrcin Chrząszcz mchrzsz@cernch Monte Crlo methods, 26 My, 2016 1 / Mrcin Chrząszcz (Universität Zürich) Integrl equtions, eigenvlue, function interpoltion

More information

JDEP 384H: Numerical Methods in Business

JDEP 384H: Numerical Methods in Business BT 3.4: Solving Nonliner Systems Chpter 4: Numericl Integrtion: Deterministic nd Monte Crlo Methods Instructor: Thoms Shores Deprtment of Mthemtics Lecture 20, Februry 29, 2007 110 Kufmnn Center Instructor:

More information

Math 131. Numerical Integration Larson Section 4.6

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

More information

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

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

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

QUADRATURE is an old-fashioned word that refers to

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

More information

2

2 1 Notes for Numericl Anlysis Mth 5466 by S. Adjerid Virgini Polytechnic Institute nd Stte University (A Rough Drft) 2 Contents 1 Differentition nd Integrtion 5 1.1 Introduction............................

More information

QUANTUM CHEMISTRY. Hückel Molecular orbital Theory Application PART I PAPER:2, PHYSICAL CHEMISTRY-I

QUANTUM CHEMISTRY. Hückel Molecular orbital Theory Application PART I PAPER:2, PHYSICAL CHEMISTRY-I Subject PHYSICAL Pper No nd Title TOPIC Sub-Topic (if ny) Module No., PHYSICAL -II QUANTUM Hückel Moleculr orbitl Theory CHE_P_M3 PAPER:, PHYSICAL -I MODULE: 3, Hückel Moleculr orbitl Theory TABLE OF CONTENTS.

More information

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

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

More information

Numerical Methods in Economics

Numerical Methods in Economics Numericl Methods in Economics Alexis Akir Tod November 5, 07 Polynomil interpoltion Polynomils re gret becuse we cn differentite nd integrte them very esily. Since degree n polynomil is determined by n

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

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

OPEN NEWTON - COTES QUADRATURE WITH MIDPOINT DERIVATIVE FOR INTEGRATION OF ALGEBRAIC FUNCTIONS

OPEN NEWTON - COTES QUADRATURE WITH MIDPOINT DERIVATIVE FOR INTEGRATION OF ALGEBRAIC FUNCTIONS IJRET: Interntionl Journl of Reserch in Engineering nd Technology eissn: 9-6 pissn: -78 OPEN NEWTON - COTES QUADRATURE WITH MIDPOINT DERIVATIVE FOR INTEGRATION OF ALGEBRAIC FUNCTIONS T. Rmchndrn R.Priml

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

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

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

5: The Definite Integral

5: The Definite Integral 5: The Definite Integrl 5.: Estimting with Finite Sums Consider moving oject its velocity (meters per second) t ny time (seconds) is given y v t = t+. Cn we use this informtion to determine the distnce

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

The Fundamental Theorem of Calculus, Particle Motion, and Average Value

The Fundamental Theorem of Calculus, Particle Motion, and Average Value The Fundmentl Theorem of Clculus, Prticle Motion, nd Averge Vlue b Three Things to Alwys Keep In Mind: (1) v( dt p( b) p( ), where v( represents the velocity nd p( represents the position. b (2) v ( dt

More information

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

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

More information

Tangent Line and Tangent Plane Approximations of Definite Integral

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

More information

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

Section 17.2 Line Integrals

Section 17.2 Line Integrals Section 7. Line Integrls Integrting Vector Fields nd Functions long urve In this section we consider the problem of integrting functions, both sclr nd vector (vector fields) long curve in the plne. We

More information