A Class of Numerical Integration Rules With First Order Derivatives

Size: px
Start display at page:

Download "A Class of Numerical Integration Rules With First Order Derivatives"

Transcription

1 A Class of Numerical Integration Rules With First Order Derivatives Mohamad Adnan AI-Alaoui" Abstract A novel approach to deriving a family of quadrature formulae is presented. The first member of the new family is the corrected trapezoidal rule. The second member, a two-segment rule, is obtained by interpolating the corrected trapezoidal rule and the Simpson one-third rule. The third member, a three-segment rule, is obtained by interpolating the corrected trapezoidal rule and the Simpson three-eights rule. The fourth member, a four-segment rule is obtained by interpolating the two-segment rule with the Boole rule. The process can be carried on to generate a whole class of integration rules by interpolating the proposed rules appropriately with the Newton-Cotes rules to cancel Out an additional term in the Euler-MacLaurin error formula. The resulting rules integrate correctly polynomials of degrees less or equal to n+3 if n is even and n+2 if n is odd, where n is the number of segments of the single application rules. The proposed rules have excellent round-off properties, close to those of the trapezoidal rule. Members of the new family obtain with two additional fianctional evaluations the same order of errors as those obtained by doubling the number of segments in applying the Romberg integration to Newton-Cotes rules. Members of the proposed family are shown to be viable alternatives to Gaussian quadrature. Key words: Numerical integration. Interpolation. Round-off error. Truncation error. Simpson's rule. Trapezoidal rule. Boole's rule. Newton-Cotes rules. Gaussian quadrature. Romberg integration. * Tile author is with tile Department of Electrical and Computer Engineering, American University of Beirut, Beirut, Lebanon. This work was supported in parl by The University Research Board of the American University of Beirut. 25

2 I. Introduction The problem of numerical integration, or quadrature, is that of estimating the number b I(f) = If(t)dt (1) O with [a,b] finite, [5], [9-12], [14-16], [18-19], [22], [24], [26], [28-29]. The fundamental theorem of calculus proves that the definite integral of a function that has an antiderivative exists and has a value equal to the difference of the values of the antiderivative evaluated at the upper and lower limits of the integral. However, since most integrands do not have antiderivatives expressible in terms of known functions, methods of approximating the definite integrals are employed. There are also occasions for which the analytical form of the integral is known but is too expensive to evaluate and it is cheaper to evaluate it using a quadrature technique, polynomial approximation is often used, with f(t) replaced by an approximating polynomial p(t). Among the most popular methods for approximating the evaluation of the definite integrals are the trapezoidal rule and the Simpson rules. To improve the approximation, the interval of integration is subdivided into smaller subintervals, or segments, and multiple-application versions of the above rules, often called the composite rules, are employed. Increasing the number of segments results in decreasing the error until the round-off errors begin to dominate and the error begins to increase. In addition, increasing the number of segments increases the computational effort. Hence, if high efficiency and low errors are required, it is advisable to use the Romberg integration to obviate the shortcomings of the traditional rules. The Romberg integration generalizes the Richardson's extrapolation which consists of weighting the results obtained from using different numbers of segments. This latter approach yields lower errors but does not necessarily achieve a higher efficiency since the number of segments is not necessarily reduced drastically [5], [9-12], [14], [16], [18-19], [22], [24], [26]. Members of the new family achieve both higher efficiency and lower errors than those possible by using the multiple application Newton-Cotes rules. The roundoff properties of the proposed rules are close to those of the trapezoidal rule. In addition polynomials of degrees less than or equal to five are integrated correctly by the two-segment and three-segment rules while polynomials of degrees less than or equal to seven are integrated correctly by the four-segment rule. Thus for four or less segments the members of the new class yield error expressions that are better or equivalent to those obtained for Gaussian integration. The new rules are competetive with the Romberg integration applied to the traditional Newton- Cotes integration formulas, for with two additional functional evaluations they achieve what the Romberg integration would achieve by doubling the number of segments. The examples show that the new rules are competetive with Gaussian quadrature. 26

3 II. The Basic Concept The author's interest in differentiators and integrators resulted in the design of analog and digital differentiators and integrators that simulate numerical differentiation and integration [1-8]. The relationships between numerical and digital integrators was noted earlier by Hamming [16-17]. In this paper, observations of the frequency responses of digital integrators are reflected in the design of the proposed numerical integrators. The basic concept for the development of the proposed numerical integration rules came from observing that the ideal integrator absolute magnitude response versus frequency lies between the responses of the trapezoidal rule and the Simpson rule [16], [6], [8]. The initial research started with interpolating the trapezoidal and Simpson integration rules motivated by the results in [8]. The final outcome of the research, however, is a class of integration rules that result from the cancellation of a term in the Euler-Maclaurin error formula for each rule as compared to the Newton-Cotes rules with the same number of segments. The first member of the class is the corrected trapezoidal rule. The first four members of the class are shown below for n = 1, 2, 3, 4. Where n designates the number of segments and h = a ~). (b - Note that n is also used later to designate the n number of segments in the composite rules. All the following rules, including the derived rules, have truncation errors of the form E" = Chkf(k)(rl) + higher-order-wmls, (2) where C is a constant, k is an integer, and rl is in [a,h]. The rules assume that f(t) is k continuously differentiable in [a,b ] and thus are guaranteed to converge as n--+oo, where n refers to the number of panels in a composite rule, provided that the norm of the derivatives remain finite. 1) n = 1' (b - a) 2 Ii((f) - (b-a------~[f(a)+ f (b)] + [f(l)(a)- f(1)(b)] 2 12 h4(b-a)f(4)(q) 4 +- higher - order" - terms. 72 2) n =2: 7h 16 a+b I2 (f) = -i~[ f(a) + -~- f(--~--) h 6 (b - a)f (6) (r h ) h 8 (h -- a).f (8) (q2) f(b)] + h2 "(') f(l) (b)] l [t (a)- + higher- order - terms. (3) (4) 27

4 3) n=3" 3h 13 (f) = ~-7[13f(a) bu 3h f (a + h) + 27f (b - h) + 13f (b)] + -~- [f (1) (a) - f (1) (b)] 3h 6 (b - a)f (6) (rl) 11,2 ~- higher - order - terms. (5) 4) n = 4: 2h a+b I4(f) = -~-[-~- f (a) +-~-i- f (a + h) +-~- f (2-~-) +-~-i- f (b- h) + :~ f (b)] 4h2 fo) 12hS(b-a)f(8)(q) +higher-order-terms. + if (a) - (b)] ,675 (6) III. The Two-Segment Intel~ration Rule The first error terms of the corrected trapezoidal integration rule and the Simpson integration rules involve the fourth derivative and are of opposite signs. The proposed twosegment integration rule is obtained by combining the corrected trapezoidal rule with the Simpson one-third rule. The error formulas for the resulting rule involve the sixth derivative while those of the constituent rules involve the fourth derivative. In the following, the traditional rules and their properties are presented in a) and b) while the proposed rule is developed in c). a) The Corrected Trapezoidal Rule: The simple trapezoidal rule is based on approximating f(t) of equation (1) by a straight line (a,f(a)) and (b,f(b)). Adding the first error term to the trapezoidal rule results in the following corrected trapezoidal rule [9], [11]. (b -- a) 2 (1 ii Or ) _ a (b )- [f(a) + f(b)] + [f(l) (a) -f ) (b)], (7) 2 12 where f(i)(13 ) denotes the ith derivative of f(t)evaluated at t= 13. The corrected composite trapezoidal rule is obtained by breaking up the integral into a sum of integrals over small subintervals and then applying the above rule to each of these smaller integrals. The resulting corrected composite trapezoidal rule is n-i II Q]c) =h Q]ci)-- (f +f.)+-i-~-[f(l)(a)-f(1)(b)], i=l (8) 28

5 where n is an integer such that, b-a n>l, h= t.=a+/h and.//_. =f(tj ) n J " The error of the composite corrected trapezoidal rule is [8] E l = IC/" ) - I[' (f) = f (4)(rl)h 4 (b - a) " + higher - order - terms 72 (9) for some 1"1 in [a,b]. The error of the composite corrected trapezoidal rule could also be expressed by the following asymptotic error formula [26] n n h4 E l = l(:)- ]I (:)= 7~[.]~} 3)./o f(3) ] + higher- order- temps. (1) The above error formula may also be written as El' = E: '4 + higher- order - terms. (11) b) The Simpson Rule: The Simpson one-third rule, which will be denoted simply as the Simpson rule, interpolating polynomial to approximate f(t) on [a,b] and results in l.,.(f)=hlf(a). (a+b' +4f~ -~---J +f(h) 1 uses a quadratic (12) where, h - (b - a) 2 h /.'s.' (.f) = ~- [f + 4fl + 2../2 + 4f3 + 2 f ~, ,_ 1 + Z, 1" (13) The composite Simpson rule is given by where n and k are integers such that, b-a n:2k, k_>l h-, t i=a+jh and fj=f(tj). n The above equation can be written more compactly as n/2 I; = ~ Z [f2./-2 4.:2./-I +.:2./]" (I 4)./=1 29

6 The error of the composite Simpson rule is given as [6] E~' = l(f)- I~" (/`)=- h 4 (b - a)f (4) (rl) 18 + higher order terms, (15) for some ~ in [a, b]. The error could also be expressed by the following asyrnptotic error formula [9] h 4 E," = 18 [./,-(3) (b) -./-(3) (a)] + higher - order - terms. (16) The above equation could be expressed as E~ = ~..h4 --s + higher order terms. (17) c) The Two-Segment Rule, I~ The two-segment integration rule, I~ is obtained by combining the corrected composite trapezoidal rule with the composite Simpson rule in such a fashion that the error contributions of E~' and of E.~" cancel out. Note that n should be restricted to being even for meaningfial interpolation, since n is always even for the Simpson rule. The two-segment integration rule can be obtained as follows n n I, =cd.,". +(1-oI,. (18) Solving for ot in the equation ~4 h 4 ore.. +(I-or)E, =, (19) yields the value ot =.2, from the resulting solution. The resulting composite two-segment rule is ln=~k =2in=2k +.8i,,=2k k>l. 2 s I ' -- (2) The simple two-segment rule is obtained from the above composite rule with the value of n taken as 2. The error of the cornposite two-segment rule, E~, may be expressed as 3

7 E 2 n=.2e, n +.8El. n (21) Thus for the composite two-segment rule the resulting error is obtained by adding the error contributions of the higher order terms of the composite corrected trapezoidal rule,[18, p.32],[24, p. 117], to the error contributions of the higher order terms of the composite Simpson rule [9]. The resulting asymptotic error formula is.2h6 [f(5) _ f(5).8h6 [f(5) f(5) E (b) (a)] - - (b) - (a)]. (22) ,24 Simplifying the above equation and adding the contribution of the next higher term we obtain _ 6 h 8 [f(7) (b) - f(7~ (a)] h (57 fo) (a)] - (23) En 9~ [f (b)- 756 This implies that the error should be reduced by a factor of 26=64, as h is halved. An alternative form for the error is h6 (b - a)f(6)('rll ) hs(b- a)f(8)(rh) E~ = for some rl~ 's in [a, b]. (24) From this it is seen that E~ = if fit) is a polynomial of degree _<5. It should be noted that the error term of equation (24) is the same as that of the Boole rule except for a constant multiplier. The constant multiplier corresponding to the new rule is smaller than that of the Boole rule by a factor of 2. The two-segment rule is clearly superior to its constituent rules as derived above and as demonstrated by the following examples. The simple form of the resulting two-segment rule is I,(f)=7h[f(a)+16 a+b h2[f(')(a)- 15 -~- f(--~--) + f(b)] + f(')(b)], (25) where h = (b- a) 2 The resulting composite rule is given by n/2, 7h Z 12 = 1~ [f2j-2 16 h 2 +-~-.f2.i-i +f2jl+-~-[f(1)(a)-f(l)(b)], j= 1 (26) where n = 2k, k _> 1, b-a h-, tj = a +.j# and fj = f(tj). tl Note that the simple rule is obtained from the composite new rule by using n = 2. 31

8 It is remarkable that this rule was derived by Cornelius Lanczos in 1956, [19] pp , using a different approach. The derivation presented in this paper is simpler and more direct than that of Lanczos. Lanczos derivation is not widely known and most of the literature mention the Simpson rule with end corrections using second order derivatives [5], [9-12], [14], [16], [18], [22], [24], [26]. One factor that works against the use of high order Newton-Cotes formulas is that the higher order formulas show greater fluctuation of the weights and larger round-off errors. It will be shown that the round-off properties of the members of the proposed class are closer to the roundoff properties of the trapezoidal rule. The two-segment rule round-off properties are better than those of the Simpson rule and close to those of the trapezoidal rule. This is to be expected since the new rule is eighty percent trapezoidal. An estimate of the value of round-off error can be measured by computing the sum of the square of the weights of f(t) in the integration formula [12], [25]. The sum of the squares of the coefficients in the composite trapezoidal rule is h2(n ;), while the sum of the squares of the coefficients in the composite Simpson rule is h2(1~ n ~-]=h2(1.1111n-.2222).thesumofthesquaresofthecoefficientsinthe composite new two-segment integation rule is h2(1.44n ), which is closer to the value corresponding to the composite trapezoidal rule. IV. The Three-Segment Integration Rule The proposed three-segment integration rule is obtained by combining the corrected trapezoidal rule with the Simpson three-eights rule. The error formulas for the resulting new rule involve the sixth derivative whereas those of the constituent rules involve the fourth derivative. In the following the three-eights rule is presented in a) while the new rule is developed in b). a) The Three-Eights Rule The third of the Newton-Cotes rules is obtained by fitting a third order Lagrange polynomial to four points. This rule is often called the Simpson three-eights rule and will be denoted simply as the three-eights rule. The simple form of the rule is 13/8 (f)=3h8-~f (a)+3 f (a+h)+3 f (b-h)+ f (b)]. (27) The composite three-eights rule is n/3 I3/s,, = Z ij,; ~j_2 + 3./;./_1 +./;j], j=l where, n = 3k, k _> 1, that is n is restricted to be a multiple of 3, h= b-a, t.=a+/h andf,=.l'(tj). n.1 "./ (28) 32

9 The error formula for the 3/8 rule is given by,, h 4 (b E3/8 _ - a).1,.(4) (rl) + higher- order- terms, 8O for some ri in [ a, b ]. The error could also be expressed as E~l/8 = ~3/8 L 7"h4 + higher- order- terms. (29) (3) b) The Three-Segment Rule 13 : The three-segment rule is obtained as follows I~ =cd~/8 +(1-a)I~. Solving for oc from the equation (31) a- h 4 (b-a) f(4) (zt)+(l_ a) h 4 (b-a) f(4) (V)= ' 8 72 yields the value ot =.1 from the solution. (32) The resulting asymptotic error formula is.1h 6.9h 6 E~ - [f(~(b) - f(5~(a)] [f(5)(b) - f(5)(a)] (33) 336 3,24 Simplifying the above equation yields E n _ 3h 6 [f(5)(b )_ fcs)(a)] " 3 11,2" - - (34) This implies that the error should be reduced by a factor of 36 if h is reduced to one third of its value. An alternative form of the error is 3h 6 (b - a)f (6) (rl) E~ = (35) 11,2 for some r/in [a,b]. From this it is seen that E~ = if f(t) is a polynomial of degree less than or equal to five. It should be noted that the error term of equation (35) is the same as that of the Boole rule except for a constant multiplier. The new rule is smaller by a factor of almost eight. Forn =3 the following simple form of the new rule is obtaind qh 13 (f) = -"[13f(a) + 27f(a + h) + 27f(b - h) + 13 f(b)] + ~'--Z--" [ f (1) (a) -.) 4"(1) (b)]. (36) 8 " " 4 " 33

10 The composite form of the three-segment rule is i3 _.~j=,n = S ''n/3 ~-~[13h 3f3j_3 +27f3j_2 +27f3j_l +13f~j]+ [f )(a)-f(')(b)], (37) where n is a multiple of three, h= b-a, t.=a+jh, and Jf~='f(tJ)" n J Note that the simple form of the three-segment rule is obtained from the composite new rule by letting n = 3. The round-off properties of the three-segment rule are closer to those of the composite trapezoidal rule, since the new rule is ninety percent trapezoidal. The sum of the squares of the coefficients in the composite three-eights rule is h2(1.313n ) while the sum of.the squares of the coefficients of the composite three-segment rule is h 2(1.3n ). Thus the three-segment rule has even better round-off properties than the two-segment rule. V. The Four-Segment Integration Rule The error terms of the two-segment rule and the Boole rule involve the sixth order derivative and are of opposite signs. The four-segment integration rule is obtained by combining the twosegment rule and the Boole rule. The error formula for the resulting new rule involves the eighth derivative. In the following the Boole rule properties and how it compares with the two-segment and three-segment rules developed above is presented in a), while the four-segment rule is developed in b). a) The Boole Rule The Boole rule is the fourth of the Newton-Cotes rules. It is obtained by fitting a fourth order Lagrange polynomial to five points. The simple form of the rule is 2h =.. 2 f (:-~--) +32f(b -h) + 7f(b)l. lb(.f) _~517 f (a) + 32 f (a +h) + l " a +b (38) The composite form of the Boole rule is,,/4 2h I~(f) = Z ~-[Tf4j_ f4j_ f4j_ ~ + 32f4j_, + 7f4j], j- _ (39) where n = 4k, k _> 1, that is n is restricted to be a multiple of 4, b-a h- - --, tj = a +.jh and.fj = f(tj ). 11 The error formula for the Boole rule, negecting higher order terms is given by 34

11 2h6(b - a) hs(b - a) f(8) E~ - f(6) (1"1) a (rl) (4) for some rl in [ a, b ]. The error could also be expressed by the following asymptotic error formula EB-" 2h [f )(b)- f ) (a)] + [f(7) (b)- f(7) (a)] ' (41) The error terms of the two-segment rule and the Boole rule are of the same order. Comparing the first error term of equation (24) with that of equation (4), it is found that the two error terms differ only by a negative constant multiplier and that the error of the two-segment rule is smaller in magnitude than that of the Boole rule by a factor of 2. For the three-segment rule, comparing (35) with (4), it is found that the error of the new rule is smaller in magnitude than that of the Boole rule by a factor of b)the Four-Segment Rule, 14 The first error terms of the Boole rule, the two-segment and three-segment rules involve the sixth derivative and are of opposite signs. A four-segment integration rule is obtained by combining the Boole rule with the two-segment rule in such a fashion that the first error terms of equations (24) and (4) cancel out. The derivation is similar to that carried out in equations (18)-(24). The resulting new integration rule is given by i~ k 2i.=4k 2~ -- " = + I~ =4k, k > (42) The simple form of the rule is 2h f(a+h)+_~_f(T)+512_~_ 31 i4 (f) = _4_~ [ ~f (a) 144 a+h 4h2 -) + [.] (a)-f(l)(b)], 63 (43) where h- (b- a) 4 35

12 The resulting composite rule is given by n/4 I~' ((f) = 2-z "~'[-~j=l 4h [f (1)(a) (b)], 63 2h _ 144 _ 512 _ f4j-4 + -~-.]4.i-3 + -~-.]4j i.t A j] (44) wheren=4k,k>l,h--- b-a tl, tj : a +.jh and fj =f(tj). The resulting error formula is obtained from substituting equations (2) and (36) in (38), which yields 12h8 (b - a)f~(n) n g 4 = (45) The error expression in (45) is of the same form as that of the six segment Newton-Cotes rule, but smaller by a factor of ahnost 16. The round-off properties of the four-segrnent rule are closer to the trapezoidal rule since it is about ninety five percent a two-segment rule which in turn is ninety percent trapezoidal. The sum of the squares of the coefficients of the Boole rule is h2(1.1793n -."1936), while the sum of the squares of the coefficients of the composite four-segment rule is h2(1.7n ). VI. Comparison With The Romberg Integration and The Gaussian Quadrature In comparison with the Romberg integration, it is found that the proposed rules, with two additional functional evaluations, achieve error expressions of the same order as those achieved by doubling the number of segments, ahnost doubling the number of functional evaluations, using the Romberg integration. The Newton-Cotes Integration rules are exact for polynomials of degree n + 1, if n is even and for polynomials of degree 11 when n is odd, where n is the number of segments of the single application rules. The rules of the new family are exact for polynomials of degree n +3 if n is even and for polynomials of degree n +2 if n is odd. The Gaussian integration rules are exact for polynomials of degrees < 2 n - 1, where n is the number of the nodes. The two-segment rule, i.e. three nodes, is exact for polynomials of degrees < 5 which makes it equivalent to the Gaussian 36

13 rules with 3 nodes. The new four-segment rule, i.e. five nodes, is exact for polynomials of degree _< 7 which makes it equivalent to the Gaussian rules with four nodes. Gaussian quadrature formulas of high order suffer even more than the Newton-Cotes formulas from having high order derivatives in the error terms. Additionally, the sum of the squares of the coefficients of the Gaussian quadrature formulas of high order is greater than that corresponding to the composite new rules. This is because the higher formulas have the tendency to greater fluctuation of the weights as the order increases [11],[25]. Thus, it is advisable to use composite rules using Gaussian quadrature formulas of low order. That is, we can break up the interval into subintervals and use a Gaussian formula in each subinterval. Note that we do not get the advantage of having some of the abscissa common to two subintervals as in the case of the Newton-Cotes formulas. In this case the new rules with their higher accuracy provide viable alternatives to Gaussian quadrature. In the examples the proposed rules are indeed shown to be competetive with the Gaussian quadrature formulas of high order. VII. Examples The computations were carried out using Mathcad 5. on an IBM-PC compatible 486-DX2 running at 66 Mhz. The machine epsilon is 2.77E-17. Mathcad has a maximum of 15 significant digits, and all the computations were carried out using 15 significant digits. Examples 1-3 verify the theoretical expectations of the proposed rules. Tables 1-3 summarize the results. They show the results and the relative errors obtained from applying the Boole rule, the Gauss-Legendre quadrature, the two-segment rule and the four-segment rule. It is to be noted that n represents the number of nodes for the Gauss-Legendre quadrature and the number of segments for the other rules. The results of the application of the three-segment rule is not shown since they are similar to those of the two-segment rule. However, the three-segment rule should be considered when low round-off error is desired, since its round-offerror properties are close to those of the trapezoidal rule. The tables also display the Relative Error,E n,for each of the rules where Relative Error = True Value - Computed Value (46) True value Example 1. This example is used by Smith [27]. In it the integrand is f(x)=cosx, and is integrated over the interval [, 1 ]. Thus the integral to be evaluated is I = [lcos xdx (47) It is significant that with 64 segments the relative error is less than that obtained by using the traditional trapezoidal and Simpson rules with 1 segments or even 1, segments as reported by Smith. For this example the proposed rules are clearly superior to the Gaussian quadrature. 37

14 Example 2. The integral to be evaluated is I = - - dx (48) a-4 l+x 2 The value of the above integral is I = 2arctan(4) ~ Table 2 shows that the new rules converge in a manner similar to that of the Gaussian quadrature with a slight edge for the proposed rules for small n. Example 3. This example is used extensively by Atkinson [9]. In it the integrand is f(x)=excosx and is integrated over the interval [, 7t]. Thus the integral to be evaluated is I = e cos(x)dx. (49) (e" + 1) The true value of I is I----~ Table 3 shows that although the 2 Gaussian integration is better for small n. The proposed rules give better results for large n. VIII. Conclusion This paper presents a novel class of numerical integration rules. The first member of the class is the corrected trapezoidal rule. The second and third members of the class, a two-segment and three-segment rules, are obtained by interpolating the corrected trapezoidal rule and the Simpson rules so that their error O(h 4 ) terms cancel out. The resulting rules have an O(h 6) errors and the errors are proportional to the sixth derivative. The fourth member of the new class is obtained by interpolating the second member of the new class with the Boole rule so that their O(h6)error terms cancel out and the new rule has an error O(h 8) and is proportional to the eighth derivative. The process can be carried on to generate a whole class of new integration rules by interpolating the new rules appropriately with the Newton-Cotes rules to cancel out an additional term in the Euler-MacLaurin error formula. The salient points of the proposed rules are: 1. The proposed rules, like the Newton-Cotes rules, are equal segment rules so they can be applied where Gaussian rules would be inappropriate. 2. The proposed rules were shown to have excellent round-off error properties, close to those of the trapezoidal rule. This make them viable alternatives to Gaussian quadrature, as demonstrated by the examples. This is due in part to the fact that Gaussian quadrature formulas of high order suffer from having high order derivatives in the error ten-ns even more than the Newton-Cotes rules [9], [25]. 38

15 3. The proposed rules obtain with two additional functional evaluations the same order of errors as those obtained by doubling the number of segments in applying the Romberg integration to the Newton-Cotes rules. 4. Applying the Romberg integration to the proposed rules could make them more competetive with the Gaussian quadrature. 5. The proposed rules cannot be applied when the integrand first derivative has singularities at the upper or lower limits. However, an approximation of the derivative may be used. Polya has proved that for continuous functions with singularities in derivatives, the tapezoidal and Simpson rules and others of similar types should converge to the correct integral [23]. Polya's remarks are applicable to the new rules since they are obtained by interpolating the traditional rules. As an alternative Davis shows, by a generalization of the Peano kernel formulation, that the traditional integrals converge, and thus so do the new rules [12]. Lyness and Ninham show that for integrands with algebraic and/or logarithmic singularities, it is often possible to obtain an asymptotic error expansion [2]. 6. The proposed rules exhibit rapid convergence for periodic integrands, this is due to the fact that they are close to the trapeziodal rule in their properties. This was verified for the integral I= ems(x)dx and the results were omitted for brevity. Donaldson and Elliot had ~ demonstrated the superiority of the trapezoidal rule for periodic integrands [ 13]. Acknowledgment It is a pleasure to thank Professors Thomas Kailath and C. L. Nikias for providing the atmosphere conducive to research by inviting me to spend the summers of 1991 and 1993 at Stanford's Information Systems Lab. and the USC Signal and Image Processing Institute, respectively. Thanks are also due to S. Maad, D. Matar and M. Shmaitelly for their help in running the examples. 39

16 REFERENCES [1] M. A. Al-Alaoui, "A Stable Differentiator With a Controllable Signal-to-Noise Ratio", IEEE Transactions on Instrumentation and Measurement, Vol. 37, No. 3, pp , September, [2] M. A. AI-Alaoui, "A State Variable Approach to Designing a Resistive Input, Low Noise, Noninverting Differentiator", IEEE Transactions on Instrumentation and Measurement, Vol. 38, No. 4, pp , August, [3] M. A. AI-Alaoui, "A Novel Approach to Designing A Noninverting Integrator With Built-In Low-Frequency Stability, High-Frequency Compensation and High Q", IEEE Transactions on Instrumentation and Measurement, Vol. 38, No. 6, pp , December, [4] M. A. AI-Alaoui, "A Novel Differential Differentiator", IEEE Transactions on Instrumentation and Measurement, Vol. 4, No. 5, pp , October, [5] M. A. AI-Alaoui, "Novel Approach to Designing Digital Differentiators," Electronics Letters, Vol. 28, No. 15, pp , [6] M.A. AI-Alaoui, "Novel Digital Integrator and Differentiator," Electron. Lett., Vol. 29, No. 4, pp , (See also ERRATA, Electron. Lett., Vol. 29, No. 1, pp. 934, 1993.) [7] M. A. M-Alaoui, " Novel IIR Differentiator From The Simpson Integration Rule", IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, Vol. 41, No. 2, pp , February [8] M. A. AI-Alaoui, "A Class of Second Order Integrators and Lowpass Differentiators," IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, vol. 42, no. 4, pp , April [9] K E. Atkinson: An Introduction To Numerical Analysis Ch.5, Second Edition. New York, NY: John Wiley & Sons, [1] S. C. Charpa and R. P. Canale: Numerical Methods for Engineers, Ch.15, Second Edition. New York, NY: McGraw-Hill, [11] S. D. Conte and Carl de Boor: Elementary Numerical Analysis, Ch.7, Third Edition, New York, NY: McGraw-Hill, 198. [12] P. J. Davis and P. Rabinowitz: "Methods of Numerical Integration ", Second Edition. New York, Academic Press Inc., [13] J. Donaldson and D. Elliot, "A unified approach to quadrature rules with asymptotic estimates of their remainders", SIAM J. Numer. Anal. 9, pp ,

17 [14] G. E. Forsythe, M. A. Malcolm and C. V. Moler: Computer Methods for Mathematical Computations, Ch 5. Englewood Cliffs, NJ: Prentice-Hall, Inc.,1977. [15] L. Gillman, "An axiomatic approach to the integral", The Aunerican Mathematical Monthly, Vol. 1, No. 1, pp , January [16] R. W. Hamming: Numerical Methods for Scientists and Engineers. New York, NY: McGraw-Hill, [17] R. W. Hamming: Digital Filters, Second Edition. Englewood Cliffs, NJ: Prentice-Hall, [18] F. B. Hildebrand: Introduction to Numerical Analysis, Second Edition. New Delhi: TATA McGraw-Hill, [19] C. Lanczos: Applied Analysis Ch. VI, New York, Dover Publications Inc., [2] J. Lyness and B. Ninham, " Numerical quadrature and asymptotic expansions", Math. Comput. 21, pp , [21] M. Mori and R. Piessens, ed. : Numerical Quadrature, North-Holland, [22] S. Nakamura: Applied Numerical Methods in C, Ch.4. Englewood Cliffs, NJ: Prentice-Hall, [23] G. Polya, "Uber die Konvergenz von Quadraturverfahren." Math. Z., 37,pp , [24] W. P. Press, B. P. Flannery, S. A. Teukolsky, and W. T. Vetterling : Numerical Recipes. Cambridge University Press, [25] A. Ralston, "Methods for Numerical Quadrature," pp in Mathematical Methods for Digital Computers. Edited by A. Ralston and H. S. Wilf. New York: John Wiley & sons, Inc [26] F. Scheid: Theory and Problems of Numerical Analysis, Ch. 14 : New York, NY: Schaum's Outline Series, McGraw-Hill Inc., [27] J. T. Smith: C++ Applications Guide, Ch.4. New York: McGraw-Hill, [28] S. K. Stein, "Do estimate of an integral really improve as n increases?", Mathematics Magazine, Vol. 68, No. 1, pp , February [29] J. Wimp, "Quadrature with generalized means", American Mathematical Monthly, Vol. 93, No. 6, pp , June-July

18 E N I ~b i ~ C ~ "~" "-~ "~ " '~ E i, I I : I I I I I!'~-iO a', a', a', ", a'~ ir"-i, ~ O,O ~ ~ ~ *l i i "~ c~l m o m ~ -~-~ "~::~" I'-1 t. ~ ~ X ~ W u II E < ~ ~.~ o ~ o o o o 42

19 r~! L oo c~ m ~o c'4:~ it") ~ c-41 '~ '4 '-1 t~ o..., oo N ~D it3 oo ~1 oo ~ o,3 ',D c~ oo oo "~- ~ m m ~ oo ~ m c~3 c -i %,- ~ t '3 ',D o c-i c~ 'c~'~ m ~ = 14,,"~ i it") E > c~ oo,r") it"l it'3 c~ c'4 c'4 m cq o E oo I'~ oo c~ c.i ~ oo 43

20 I c...,c~ L~ T-.q 2 i,rq f,,i ~'-.I t"q ~",11",1 ~ O I"~- O I ~,--~ E t..,,i t~l O,~ -- O ~, ~ ~ f",-i ~,--~ N ~ ~ ~ ~ O t..,,l i -.~ ~,D ~ r',.ll M ~ v J,r~ "~-;r--- ",.o > % m ~ ~ ~ ~ r, 44

Numerical Integra/on

Numerical Integra/on Numerical Integra/on Applica/ons The Trapezoidal Rule is a technique to approximate the definite integral where For 1 st order: f(a) f(b) a b Error Es/mate of Trapezoidal Rule Truncation error: From Newton-Gregory

More information

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam Jim Lambers MAT 460/560 Fall Semester 2009-10 Practice Final Exam 1. Let f(x) = sin 2x + cos 2x. (a) Write down the 2nd Taylor polynomial P 2 (x) of f(x) centered around x 0 = 0. (b) Write down the corresponding

More information

Romberg Integration and Gaussian Quadrature

Romberg Integration and Gaussian Quadrature Romberg Integration and Gaussian Quadrature P. Sam Johnson October 17, 014 P. Sam Johnson (NITK) Romberg Integration and Gaussian Quadrature October 17, 014 1 / 19 Overview We discuss two methods for integration.

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

8.3 Numerical Quadrature, Continued

8.3 Numerical Quadrature, Continued 8.3 Numerical Quadrature, Continued Ulrich Hoensch Friday, October 31, 008 Newton-Cotes Quadrature General Idea: to approximate the integral I (f ) of a function f : [a, b] R, use equally spaced nodes

More information

4.1 Classical Formulas for Equally Spaced Abscissas. 124 Chapter 4. Integration of Functions

4.1 Classical Formulas for Equally Spaced Abscissas. 124 Chapter 4. Integration of Functions 24 Chapter 4. Integration of Functions of various orders, with higher order sometimes, but not always, giving higher accuracy. Romberg integration, which is discussed in 4.3, is a general formalism for

More information

Part II NUMERICAL MATHEMATICS

Part II NUMERICAL MATHEMATICS Part II NUMERICAL MATHEMATICS BIT 31 (1991). 438-446. QUADRATURE FORMULAE ON HALF-INFINITE INTERVALS* WALTER GAUTSCHI Department of Computer Sciences, Purdue University, West Lafayette, IN 47907, USA Abstract.

More information

Numerical Integra/on

Numerical Integra/on Numerical Integra/on The Trapezoidal Rule is a technique to approximate the definite integral where For 1 st order: f(a) f(b) a b Error Es/mate of Trapezoidal Rule Truncation error: From Newton-Gregory

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 5 Chapter 17 Numerical Integration Formulas PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx,

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 12: Monday, Apr 16. f(x) dx, Panel integration Week 12: Monday, Apr 16 Suppose we want to compute the integral b a f(x) dx In estimating a derivative, it makes sense to use a locally accurate approximation to the function around the

More information

Extrapolation in Numerical Integration. Romberg Integration

Extrapolation in Numerical Integration. Romberg Integration Extrapolation in Numerical Integration Romberg Integration Matthew Battaglia Joshua Berge Sara Case Yoobin Ji Jimu Ryoo Noah Wichrowski Introduction Extrapolation: the process of estimating beyond the

More information

Numerical Integration (Quadrature) Another application for our interpolation tools!

Numerical Integration (Quadrature) Another application for our interpolation tools! Numerical Integration (Quadrature) Another application for our interpolation tools! Integration: Area under a curve Curve = data or function Integrating data Finite number of data points spacing specified

More information

Extrapolation Methods for Approximating Arc Length and Surface Area

Extrapolation Methods for Approximating Arc Length and Surface Area Extrapolation Methods for Approximating Arc Length and Surface Area Michael S. Floater, Atgeirr F. Rasmussen and Ulrich Reif March 2, 27 Abstract A well-known method of estimating the length of a parametric

More information

Integration, differentiation, and root finding. Phys 420/580 Lecture 7

Integration, differentiation, and root finding. Phys 420/580 Lecture 7 Integration, differentiation, and root finding Phys 420/580 Lecture 7 Numerical integration Compute an approximation to the definite integral I = b Find area under the curve in the interval Trapezoid Rule:

More information

Numerical Integration

Numerical Integration Numerical Integration Sanzheng Qiao Department of Computing and Software McMaster University February, 2014 Outline 1 Introduction 2 Rectangle Rule 3 Trapezoid Rule 4 Error Estimates 5 Simpson s Rule 6

More information

ISSN (Print) Research Article. *Corresponding author Nitin Rawal

ISSN (Print) Research Article. *Corresponding author Nitin Rawal Scholars Journal of Engineering and Technology (SJET) Sch. J. Eng. Tech., 016; 4(1):89-94 Scholars Academic and Scientific Publisher (An International Publisher for Academic and Scientific Resources) www.saspublisher.com

More information

Numerical Methods. King Saud University

Numerical Methods. King Saud University Numerical Methods King Saud University Aims In this lecture, we will... find the approximate solutions of derivative (first- and second-order) and antiderivative (definite integral only). Numerical Differentiation

More information

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn Review Taylor Series and Error Analysis Roots of Equations Linear Algebraic Equations Optimization Numerical Differentiation and Integration Ordinary Differential Equations Partial Differential Equations

More information

Numerical Methods I: Numerical Integration/Quadrature

Numerical Methods I: Numerical Integration/Quadrature 1/20 Numerical Methods I: Numerical Integration/Quadrature Georg Stadler Courant Institute, NYU stadler@cims.nyu.edu November 30, 2017 umerical integration 2/20 We want to approximate the definite integral

More information

Simpson s 1/3 Rule Simpson s 1/3 rule assumes 3 equispaced data/interpolation/integration points

Simpson s 1/3 Rule Simpson s 1/3 rule assumes 3 equispaced data/interpolation/integration points CE 05 - Lecture 5 LECTURE 5 UMERICAL ITEGRATIO COTIUED Simpson s / Rule Simpson s / rule assumes equispaced data/interpolation/integration points Te integration rule is based on approximating fx using

More information

Numerical Integration exact integration is not needed to achieve the optimal convergence rate of nite element solutions ([, 9, 11], and Chapter 7). In

Numerical Integration exact integration is not needed to achieve the optimal convergence rate of nite element solutions ([, 9, 11], and Chapter 7). In Chapter 6 Numerical Integration 6.1 Introduction After transformation to a canonical element,typical integrals in the element stiness or mass matrices (cf. (5.5.8)) have the forms Q = T ( )N s Nt det(j

More information

(x x 0 )(x x 1 )... (x x n ) (x x 0 ) + y 0.

(x x 0 )(x x 1 )... (x x n ) (x x 0 ) + y 0. > 5. Numerical Integration Review of Interpolation Find p n (x) with p n (x j ) = y j, j = 0, 1,,..., n. Solution: p n (x) = y 0 l 0 (x) + y 1 l 1 (x) +... + y n l n (x), l k (x) = n j=1,j k Theorem Let

More information

ONE - DIMENSIONAL INTEGRATION

ONE - DIMENSIONAL INTEGRATION Chapter 4 ONE - DIMENSIONA INTEGRATION 4. Introduction Since the finite element method is based on integral relations it is logical to expect that one should strive to carry out the integrations as efficiently

More information

Using fractional delay to control the magnitudes and phases of integrators and differentiators

Using fractional delay to control the magnitudes and phases of integrators and differentiators Using fractional delay to control the magnitudes and phases of integrators and differentiators M.A. Al-Alaoui Abstract: The use of fractional delay to control the magnitudes and phases of integrators and

More information

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9 TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1 Chapter 01.01 Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9 Chapter 01.02 Measuring errors 11 True error 11 Relative

More information

Romberg Integration. MATH 375 Numerical Analysis. J. Robert Buchanan. Spring Department of Mathematics

Romberg Integration. MATH 375 Numerical Analysis. J. Robert Buchanan. Spring Department of Mathematics Romberg Integration MATH 375 Numerical Analysis J. Robert Buchanan Department of Mathematics Spring 019 Objectives and Background In this lesson we will learn to obtain high accuracy approximations to

More information

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker.

Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.

More information

Ch. 03 Numerical Quadrature. Andrea Mignone Physics Department, University of Torino AA

Ch. 03 Numerical Quadrature. Andrea Mignone Physics Department, University of Torino AA Ch. 03 Numerical Quadrature Andrea Mignone Physics Department, University of Torino AA 2017-2018 Numerical Quadrature In numerical analysis quadrature refers to the computation of definite integrals. y

More information

Chapter 5: Numerical Integration and Differentiation

Chapter 5: Numerical Integration and Differentiation Chapter 5: Numerical Integration and Differentiation PART I: Numerical Integration Newton-Cotes Integration Formulas The idea of Newton-Cotes formulas is to replace a complicated function or tabulated

More information

Elements of Floating-point Arithmetic

Elements of Floating-point Arithmetic Elements of Floating-point Arithmetic Sanzheng Qiao Department of Computing and Software McMaster University July, 2012 Outline 1 Floating-point Numbers Representations IEEE Floating-point Standards Underflow

More information

Outline. 1 Numerical Integration. 2 Numerical Differentiation. 3 Richardson Extrapolation

Outline. 1 Numerical Integration. 2 Numerical Differentiation. 3 Richardson Extrapolation Outline Numerical Integration Numerical Differentiation Numerical Integration Numerical Differentiation 3 Michael T. Heath Scientific Computing / 6 Main Ideas Quadrature based on polynomial interpolation:

More information

Digital Wideband Integrators with Matching Phase and Arbitrarily Accurate Magnitude Response (Extended Version)

Digital Wideband Integrators with Matching Phase and Arbitrarily Accurate Magnitude Response (Extended Version) Digital Wideband Integrators with Matching Phase and Arbitrarily Accurate Magnitude Response (Extended Version) Ça gatay Candan Department of Electrical Engineering, METU, Ankara, Turkey ccandan@metu.edu.tr

More information

Numerical Methods for Engineers

Numerical Methods for Engineers Numerical Methods for Engineers SEVENTH EDITION Steven C Chopra Berger Chair in Computing and Engineering Tufts University Raymond P. Canal Professor Emeritus of Civil Engineering of Michiaan University

More information

Elements of Floating-point Arithmetic

Elements of Floating-point Arithmetic Elements of Floating-point Arithmetic Sanzheng Qiao Department of Computing and Software McMaster University July, 2012 Outline 1 Floating-point Numbers Representations IEEE Floating-point Standards Underflow

More information

CS 257: Numerical Methods

CS 257: Numerical Methods CS 57: Numerical Methods Final Exam Study Guide Version 1.00 Created by Charles Feng http://www.fenguin.net CS 57: Numerical Methods Final Exam Study Guide 1 Contents 1 Introductory Matter 3 1.1 Calculus

More information

Principles of Scientific Computing Local Analysis

Principles of Scientific Computing Local Analysis Principles of Scientific Computing Local Analysis David Bindel and Jonathan Goodman last revised January 2009, printed February 25, 2009 1 Among the most common computational tasks are differentiation,

More information

Evaluating Singular and Nearly Singular Integrals Numerically

Evaluating Singular and Nearly Singular Integrals Numerically Evaluating Singular and early Singular Integrals umerically Matthew J. Atwood Duke University Mentor: J. Thomas Beale This work is supported by SF VIGRE grant number DMS-998332. Abstract We look for a

More information

Differential Equations and Linear Algebra Supplementary Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University

Differential Equations and Linear Algebra Supplementary Notes. Simon J.A. Malham. Department of Mathematics, Heriot-Watt University Differential Equations and Linear Algebra Supplementary Notes Simon J.A. Malham Department of Mathematics, Heriot-Watt University Contents Chapter 1. Linear algebraic equations 5 1.1. Gaussian elimination

More information

Generalization Of The Secant Method For Nonlinear Equations

Generalization Of The Secant Method For Nonlinear Equations Applied Mathematics E-Notes, 8(2008), 115-123 c ISSN 1607-2510 Available free at mirror sites of http://www.math.nthu.edu.tw/ amen/ Generalization Of The Secant Method For Nonlinear Equations Avram Sidi

More information

Numerical Methods. Scientists. Engineers

Numerical Methods. Scientists. Engineers Third Edition Numerical Methods for Scientists and Engineers K. Sankara Rao Numerical Methods for Scientists and Engineers Numerical Methods for Scientists and Engineers Third Edition K. SANKARA RAO Formerly,

More information

APPM/MATH Problem Set 6 Solutions

APPM/MATH Problem Set 6 Solutions APPM/MATH 460 Problem Set 6 Solutions This assignment is due by 4pm on Wednesday, November 6th You may either turn it in to me in class or in the box outside my office door (ECOT ) Minimal credit will

More information

Numerical integration and differentiation. Unit IV. Numerical Integration and Differentiation. Plan of attack. Numerical integration.

Numerical integration and differentiation. Unit IV. Numerical Integration and Differentiation. Plan of attack. Numerical integration. Unit IV Numerical Integration and Differentiation Numerical integration and differentiation quadrature classical formulas for equally spaced nodes improper integrals Gaussian quadrature and orthogonal

More information

Numerical Integration for Multivariable. October Abstract. We consider the numerical integration of functions with point singularities over

Numerical Integration for Multivariable. October Abstract. We consider the numerical integration of functions with point singularities over Numerical Integration for Multivariable Functions with Point Singularities Yaun Yang and Kendall E. Atkinson y October 199 Abstract We consider the numerical integration of functions with point singularities

More information

AP Calculus BC Syllabus Course Overview

AP Calculus BC Syllabus Course Overview AP Calculus BC Syllabus Course Overview Textbook Anton, Bivens, and Davis. Calculus: Early Transcendentals, Combined version with Wiley PLUS. 9 th edition. Hoboken, NJ: John Wiley & Sons, Inc. 2009. Course

More information

Romberg Integration: A Symbolic Approach with Mathematica

Romberg Integration: A Symbolic Approach with Mathematica Romberg Integration: A Symbolic Approach with Mathematica Ali Yazıcı, Tanıl Ergenç, and Irfan Altas 3 Computer Engineering Department, Atilim University, Ankara Turkey aliyazici@atilim.edu.tr Mathematics

More information

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method

COURSE Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method COURSE 7 3. Numerical integration of functions (continuation) 3.3. The Romberg s iterative generation method The presence of derivatives in the remainder difficulties in applicability to practical problems

More information

Discrete Orthogonal Polynomials on Equidistant Nodes

Discrete Orthogonal Polynomials on Equidistant Nodes International Mathematical Forum, 2, 2007, no. 21, 1007-1020 Discrete Orthogonal Polynomials on Equidistant Nodes Alfredo Eisinberg and Giuseppe Fedele Dip. di Elettronica, Informatica e Sistemistica Università

More information

7. Piecewise Polynomial (Spline) Interpolation

7. Piecewise Polynomial (Spline) Interpolation - 64-7 Piecewise Polynomial (Spline Interpolation Single polynomial interpolation has two major disadvantages First, it is not computationally efficient when the number of data points is large When the

More information

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat.

Numerical Methods for Engineers. and Scientists. Applications using MATLAB. An Introduction with. Vish- Subramaniam. Third Edition. Amos Gilat. Numerical Methods for Engineers An Introduction with and Scientists Applications using MATLAB Third Edition Amos Gilat Vish- Subramaniam Department of Mechanical Engineering The Ohio State University Wiley

More information

5 Numerical Integration & Dierentiation

5 Numerical Integration & Dierentiation 5 Numerical Integration & Dierentiation Department of Mathematics & Statistics ASU Outline of Chapter 5 1 The Trapezoidal and Simpson Rules 2 Error Formulas 3 Gaussian Numerical Integration 4 Numerical

More information

Applied Mathematics Letters. Combined bracketing methods for solving nonlinear equations

Applied Mathematics Letters. Combined bracketing methods for solving nonlinear equations Applied Mathematics Letters 5 (01) 1755 1760 Contents lists available at SciVerse ScienceDirect Applied Mathematics Letters journal homepage: www.elsevier.com/locate/aml Combined bracketing methods for

More information

Section 6.6 Gaussian Quadrature

Section 6.6 Gaussian Quadrature Section 6.6 Gaussian Quadrature Key Terms: Method of undetermined coefficients Nonlinear systems Gaussian quadrature Error Legendre polynomials Inner product Adapted from http://pathfinder.scar.utoronto.ca/~dyer/csca57/book_p/node44.html

More information

Exact and Approximate Numbers:

Exact and Approximate Numbers: Eact and Approimate Numbers: The numbers that arise in technical applications are better described as eact numbers because there is not the sort of uncertainty in their values that was described above.

More information

Applied Numerical Analysis (AE2220-I) R. Klees and R.P. Dwight

Applied Numerical Analysis (AE2220-I) R. Klees and R.P. Dwight Applied Numerical Analysis (AE0-I) R. Klees and R.P. Dwight February 018 Contents 1 Preliminaries: Motivation, Computer arithmetic, Taylor series 1 1.1 Numerical Analysis Motivation..........................

More information

LECTURE 14 NUMERICAL INTEGRATION. Find

LECTURE 14 NUMERICAL INTEGRATION. Find LECTURE 14 NUMERCAL NTEGRATON Find b a fxdx or b a vx ux fx ydy dx Often integration is required. However te form of fx may be suc tat analytical integration would be very difficult or impossible. Use

More information

The iterated sinh transformation

The iterated sinh transformation The iterated sinh transformation Author Elliott, David, Johnston, Peter Published 2008 Journal Title International Journal for Numerical Methods in Engineering DOI https://doi.org/10.1002/nme.2244 Copyright

More information

Design and Realization of Quantum based Digital Integrator

Design and Realization of Quantum based Digital Integrator International Journal of Electronic and Electrical Engineering. ISSN 0974-2174, Volume 7, Number 5 (2014), pp. 449-454 International Research Publication House http://www.irphouse.com Design and Realization

More information

Contents. I Basic Methods 13

Contents. I Basic Methods 13 Preface xiii 1 Introduction 1 I Basic Methods 13 2 Convergent and Divergent Series 15 2.1 Introduction... 15 2.1.1 Power series: First steps... 15 2.1.2 Further practical aspects... 17 2.2 Differential

More information

MA 3021: Numerical Analysis I Numerical Differentiation and Integration

MA 3021: Numerical Analysis I Numerical Differentiation and Integration MA 3021: Numerical Analysis I Numerical Differentiation and Integration Suh-Yuh Yang ( 楊肅煜 ) Department of Mathematics, National Central University Jhongli District, Taoyuan City 32001, Taiwan syyang@math.ncu.edu.tw

More information

Automatica, 33(9): , September 1997.

Automatica, 33(9): , September 1997. A Parallel Algorithm for Principal nth Roots of Matrices C. K. Koc and M. _ Inceoglu Abstract An iterative algorithm for computing the principal nth root of a positive denite matrix is presented. The algorithm

More information

Mathematics for Engineers. Numerical mathematics

Mathematics for Engineers. Numerical mathematics Mathematics for Engineers Numerical mathematics Integers Determine the largest representable integer with the intmax command. intmax ans = int32 2147483647 2147483647+1 ans = 2.1475e+09 Remark The set

More information

M.SC. PHYSICS - II YEAR

M.SC. PHYSICS - II YEAR MANONMANIAM SUNDARANAR UNIVERSITY DIRECTORATE OF DISTANCE & CONTINUING EDUCATION TIRUNELVELI 627012, TAMIL NADU M.SC. PHYSICS - II YEAR DKP26 - NUMERICAL METHODS (From the academic year 2016-17) Most Student

More information

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by

Numerical Analysis. A Comprehensive Introduction. H. R. Schwarz University of Zürich Switzerland. with a contribution by Numerical Analysis A Comprehensive Introduction H. R. Schwarz University of Zürich Switzerland with a contribution by J. Waldvogel Swiss Federal Institute of Technology, Zürich JOHN WILEY & SONS Chichester

More information

Physics 115/242 Romberg Integration

Physics 115/242 Romberg Integration Physics 5/242 Romberg Integration Peter Young In this handout we will see how, starting from the trapezium rule, we can obtain much more accurate values for the integral by repeatedly eliminating the leading

More information

MA2501 Numerical Methods Spring 2015

MA2501 Numerical Methods Spring 2015 Norwegian University of Science and Technology Department of Mathematics MA5 Numerical Methods Spring 5 Solutions to exercise set 9 Find approximate values of the following integrals using the adaptive

More information

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations

Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential Equations International journal of scientific and technical research in engineering (IJSTRE) www.ijstre.com Volume Issue ǁ July 206. Four Point Gauss Quadrature Runge Kuta Method Of Order 8 For Ordinary Differential

More information

Introductory Numerical Analysis

Introductory Numerical Analysis Introductory Numerical Analysis Lecture Notes December 16, 017 Contents 1 Introduction to 1 11 Floating Point Numbers 1 1 Computational Errors 13 Algorithm 3 14 Calculus Review 3 Root Finding 5 1 Bisection

More information

Taylor series based nite dierence approximations of higher-degree derivatives

Taylor series based nite dierence approximations of higher-degree derivatives Journal of Computational and Applied Mathematics 54 (3) 5 4 www.elsevier.com/locate/cam Taylor series based nite dierence approximations of higher-degree derivatives Ishtiaq Rasool Khan a;b;, Ryoji Ohba

More information

(2.1) f(r) ds= f(r(t))lr (t) dt,.y NUMERICAL EVALUATION OF LINE INTEGRALS*

(2.1) f(r) ds= f(r(t))lr (t) dt,.y NUMERICAL EVALUATION OF LINE INTEGRALS* SIAM J. NUMER. ANAL. Vol. 30, No. 3, pp. 882-888, June 1993 (C) 1993 Society for Industrial and Applied Mathematics 017 NUMERICAL EVALUATION OF LINE INTEGRALS* K. ATKINSONt AND E. VENTURINOt Abstract.

More information

Identities for the arctangent function by enhanced midpoint integration and the high-accuracy computation of pi

Identities for the arctangent function by enhanced midpoint integration and the high-accuracy computation of pi arxiv:1604.03752v1 [math.gm] 10 Apr 2016 Identities for the arctangent function by enhanced midpoint integration and the high-accuracy computation of pi S. M. Abrarov and B. M. Quine April 10, 2016 Abstract

More information

Vector analysis and vector identities by means of cartesian tensors

Vector analysis and vector identities by means of cartesian tensors Vector analysis and vector identities by means of cartesian tensors Kenneth H. Carpenter August 29, 2001 1 The cartesian tensor concept 1.1 Introduction The cartesian tensor approach to vector analysis

More information

6 Lecture 6b: the Euler Maclaurin formula

6 Lecture 6b: the Euler Maclaurin formula Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Fall 217 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 217 March 26, 218 6 Lecture 6b: the Euler Maclaurin formula

More information

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form

you expect to encounter difficulties when trying to solve A x = b? 4. A composite quadrature rule has error associated with it in the following form Qualifying exam for numerical analysis (Spring 2017) Show your work for full credit. If you are unable to solve some part, attempt the subsequent parts. 1. Consider the following finite difference: f (0)

More information

Gregory's quadrature method

Gregory's quadrature method Gregory's quadrature method Gregory's method is among the very first quadrature formulas ever described in the literature, dating back to James Gregory (638-675). It seems to have been highly regarded

More information

Applied Numerical Analysis

Applied Numerical Analysis Applied Numerical Analysis Using MATLAB Second Edition Laurene V. Fausett Texas A&M University-Commerce PEARSON Prentice Hall Upper Saddle River, NJ 07458 Contents Preface xi 1 Foundations 1 1.1 Introductory

More information

The generalized Euler-Maclaurin formula for the numerical solution of Abel-type integral equations.

The generalized Euler-Maclaurin formula for the numerical solution of Abel-type integral equations. The generalized Euler-Maclaurin formula for the numerical solution of Abel-type integral equations. Johannes Tausch Abstract An extension of the Euler-Maclaurin formula to singular integrals was introduced

More information

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A)

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A) NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A) Unit - 1 Errors & Their Accuracy Solutions of Algebraic and Transcendental Equations Bisection Method The method of false position The iteration method

More information

NUMERICAL MATHEMATICS AND COMPUTING

NUMERICAL MATHEMATICS AND COMPUTING NUMERICAL MATHEMATICS AND COMPUTING Fourth Edition Ward Cheney David Kincaid The University of Texas at Austin 9 Brooks/Cole Publishing Company I(T)P An International Thomson Publishing Company Pacific

More information

Error formulas for divided difference expansions and numerical differentiation

Error formulas for divided difference expansions and numerical differentiation Error formulas for divided difference expansions and numerical differentiation Michael S. Floater Abstract: We derive an expression for the remainder in divided difference expansions and use it to give

More information

Numerical Analysis & Computer Programming

Numerical Analysis & Computer Programming ++++++++++ Numerical Analysis & Computer Programming Previous year Questions from 07 to 99 Ramanasri Institute W E B S I T E : M A T H E M A T I C S O P T I O N A L. C O M C O N T A C T : 8 7 5 0 7 0 6

More information

Gaussian-Shaped Circularly-Symmetric 2D Filter Banks

Gaussian-Shaped Circularly-Symmetric 2D Filter Banks Gaussian-Shaped Circularly-Symmetric D Filter Bans ADU MATEI Faculty of Electronics and Telecommunications Technical University of Iasi Bldv. Carol I no.11, Iasi 756 OMAIA Abstract: - In this paper we

More information

Preface. 2 Linear Equations and Eigenvalue Problem 22

Preface. 2 Linear Equations and Eigenvalue Problem 22 Contents Preface xv 1 Errors in Computation 1 1.1 Introduction 1 1.2 Floating Point Representation of Number 1 1.3 Binary Numbers 2 1.3.1 Binary number representation in computer 3 1.4 Significant Digits

More information

Differentiation and Integration

Differentiation and Integration Differentiation and Integration (Lectures on Numerical Analysis for Economists II) Jesús Fernández-Villaverde 1 and Pablo Guerrón 2 February 12, 2018 1 University of Pennsylvania 2 Boston College Motivation

More information

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Part 5 Chapter 21 Numerical Differentiation PowerPoints organized by Dr. Michael R. Gustafson II, Duke University 1 All images copyright The McGraw-Hill Companies, Inc. Permission required for reproduction

More information

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places. NUMERICAL METHODS 1. Rearranging the equation x 3 =.5 gives the iterative formula x n+1 = g(x n ), where g(x) = (2x 2 ) 1. (a) Starting with x = 1, compute the x n up to n = 6, and describe what is happening.

More information

ON A WEIGHTED INTERPOLATION OF FUNCTIONS WITH CIRCULAR MAJORANT

ON A WEIGHTED INTERPOLATION OF FUNCTIONS WITH CIRCULAR MAJORANT ON A WEIGHTED INTERPOLATION OF FUNCTIONS WITH CIRCULAR MAJORANT Received: 31 July, 2008 Accepted: 06 February, 2009 Communicated by: SIMON J SMITH Department of Mathematics and Statistics La Trobe University,

More information

Numerical Analysis Exam with Solutions

Numerical Analysis Exam with Solutions Numerical Analysis Exam with Solutions Richard T. Bumby Fall 000 June 13, 001 You are expected to have books, notes and calculators available, but computers of telephones are not to be used during the

More information

Numerical Integration of Functions

Numerical Integration of Functions Numerical Integration of Functions Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: 1. Applied Numerical Methods with MATLAB for Engineers,

More information

Lecture 4: Numerical solution of ordinary differential equations

Lecture 4: Numerical solution of ordinary differential equations Lecture 4: Numerical solution of ordinary differential equations Department of Mathematics, ETH Zürich General explicit one-step method: Consistency; Stability; Convergence. High-order methods: Taylor

More information

Positive Denite Matrix. Ya Yan Lu 1. Department of Mathematics. City University of Hong Kong. Kowloon, Hong Kong. Abstract

Positive Denite Matrix. Ya Yan Lu 1. Department of Mathematics. City University of Hong Kong. Kowloon, Hong Kong. Abstract Computing the Logarithm of a Symmetric Positive Denite Matrix Ya Yan Lu Department of Mathematics City University of Hong Kong Kowloon, Hong Kong Abstract A numerical method for computing the logarithm

More information

PAPER A Low-Complexity Step-by-Step Decoding Algorithm for Binary BCH Codes

PAPER A Low-Complexity Step-by-Step Decoding Algorithm for Binary BCH Codes 359 PAPER A Low-Complexity Step-by-Step Decoding Algorithm for Binary BCH Codes Ching-Lung CHR a),szu-linsu, Members, and Shao-Wei WU, Nonmember SUMMARY A low-complexity step-by-step decoding algorithm

More information

4.9 APPROXIMATING DEFINITE INTEGRALS

4.9 APPROXIMATING DEFINITE INTEGRALS 4.9 Approximating Definite Integrals Contemporary Calculus 4.9 APPROXIMATING DEFINITE INTEGRALS The Fundamental Theorem of Calculus tells how to calculate the exact value of a definite integral IF the

More information

General Properties for Determining Power Loss and Efficiency of Passive Multi-Port Microwave Networks

General Properties for Determining Power Loss and Efficiency of Passive Multi-Port Microwave Networks University of Massachusetts Amherst From the SelectedWorks of Ramakrishna Janaswamy 015 General Properties for Determining Power Loss and Efficiency of Passive Multi-Port Microwave Networks Ramakrishna

More information

Transactions on Modelling and Simulation vol 12, 1996 WIT Press, ISSN X

Transactions on Modelling and Simulation vol 12, 1996 WIT Press,   ISSN X Simplifying integration for logarithmic singularities R.N.L. Smith Department ofapplied Mathematics & OR, Cranfield University, RMCS, Shrivenham, Swindon, Wiltshire SN6 SLA, UK Introduction Any implementation

More information

ƒ f(x)dx ~ X) ^i,nf(%i,n) -1 *=1 are the zeros of P«(#) and where the num

ƒ f(x)dx ~ X) ^i,nf(%i,n) -1 *=1 are the zeros of P«(#) and where the num ZEROS OF THE HERMITE POLYNOMIALS AND WEIGHTS FOR GAUSS' MECHANICAL QUADRATURE FORMULA ROBERT E. GREENWOOD AND J. J. MILLER In the numerical integration of a function ƒ (x) it is very desirable to choose

More information

Do not turn over until you are told to do so by the Invigilator.

Do not turn over until you are told to do so by the Invigilator. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 216 17 INTRODUCTION TO NUMERICAL ANALYSIS MTHE612B Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions.

More information

Numerical Integration Schemes for Unequal Data Spacing

Numerical Integration Schemes for Unequal Data Spacing American Journal of Applied Mathematics 017; () 48- http//www.sciencepublishinggroup.com/j/ajam doi 10.1148/j.ajam.01700.1 ISSN 330-0043 (Print); ISSN 330-00X (Online) Numerical Integration Schemes for

More information

Fourier transforms of molecular vibrations

Fourier transforms of molecular vibrations Fourier transforms of molecular vibrations Part I: An Introduction to the Harmonic Oscillator and Fourier Transforms W. Tandy Grubbs, Department of Chemistry, Unit 827, Stetson University, DeLand, FL 32720

More information

Numerical Solutions of Laplacian Problems over L-Shaped Domains and Calculations of the Generalized Stress Intensity Factors

Numerical Solutions of Laplacian Problems over L-Shaped Domains and Calculations of the Generalized Stress Intensity Factors WCCM V Fifth World Congress on Computational Mechanics July 7-2, 2002, Vienna, Austria Eds.: H.A. Mang, F.G. Rammerstorfer, J. Eberhardsteiner Numerical Solutions of Laplacian Problems over L-Shaped Domains

More information

Multistage Methods I: Runge-Kutta Methods

Multistage Methods I: Runge-Kutta Methods Multistage Methods I: Runge-Kutta Methods Varun Shankar January, 0 Introduction Previously, we saw that explicit multistep methods (AB methods) have shrinking stability regions as their orders are increased.

More information