6 Numerical Integration

Size: px
Start display at page:

Download "6 Numerical Integration"

Transcription

1 D. Levy 6 Numericl Integrtion 6.1 Bsic Concepts In this chpter we re going to explore vrious wys for pproximting the integrl of function over given domin. There re vrious resons s of why such pproximtions cn be useful. First, not every function cn be nlyticlly integrted. Second, even if closed integrtion formul exists, it might still not be the most efficient wy of clculting the integrl. In ddition, it cn hppen tht we need to integrte n unknown function, in which only some smples of the function re known. In order to gin some insight on numericl integrtion, it is nturl to review Riemnn integrtion, frmework tht cn be viewed s n pproch for pproximting integrls. We ssume tht f(x) is bounded function defined on [, b] nd tht {x 0,..., x n } is prtition (P ) of [, b]. For ech i we let nd M i (f) = m i (f) = sup f(x), x [x i 1,x i ] inf f(x), x [x i 1,x i ] Letting x i = x i x i 1, the upper (Drboux) sum of f(x) with respect to the prtition P is defined s U(f, P ) = M i x i, (6.1) while the lower (Drboux) sum of f(x) with respect to the prtition P is defined s L(f, P ) = m i x i. (6.) The upper integrl of f(x) on [, b] is defined s U(f) = inf(u(f, P )), nd the lower integrl of f(x) is defined s L(f) = sup(l(f, P )), where both the infimum nd the supremum re tken over ll possible prtitions, P, of the intervl [, b]. If the upper nd lower integrl of f(x) re equl to ech other, their common vlue is denoted by f(x)dx nd is referred to s the Riemnn integrl of f(x). 1

2 6.1 Bsic Concepts D. Levy For the purpose of the present discussion we cn think of the upper nd lower Drboux sums (6.1), (6.), s two pproximtions of the integrl (ssuming tht the function is indeed integrble). Of course, these sums re not defined in the most convenient wy for n pproximtion lgorithm. This is becuse we need to find the extrem of the function in every subintervl. Finding the extrem of the function, my be complicted tsk on its own, which we would like to void. A simpler pproch for pproximting the vlue of f(x)dx would be to compute the product of the vlue of the function t one of the end-points of the intervl by the length of the intervl. In cse we choose the end-point where the function is evluted to be x =, we obtin f(x)dx f()(b ). (6.3) This pproximtion (6.3) is clled the rectngulr method (see Figure 6.1). Numericl integrtion formuls re lso referred to s integrtion rules or qudrtures, nd hence we cn refer to (6.3) s the rectngulr rule or the rectngulr qudrture. The points x 0,... x n tht re used in the qudrture formul re clled qudrture points. f(b) f(x) f() x b Figure 6.1: A rectngulr qudrture A vrition on the rectngulr rule is the midpoint rule. Similrly to the rectngulr rule, we pproximte the vlue of the integrl f(x)dx by multiplying the length of the intervl by the vlue of the function t one point. Only this time, we replce the vlue of the function t n endpoint, by the vlue of the function t the center point

3 D. Levy 6.1 Bsic Concepts 1( + b), i.e., ( + b f(x)dx (b )f ). (6.4) (see lso Fig 6.). As we shll see below, the midpoint qudrture (6.4) is more ccurte qudrture thn the rectngulr rule (6.3). f(b) f((+b)/) f(x) f() (+b)/ b x Figure 6.: A midpoint qudrture In order to compute the qudrture error for the midpoint rule (6.4), we consider the primitive function F (x), F (x) = nd expnd +h x f(s)ds, f(s)ds = F ( + h) = F () + hf () + h F () + h3 6 F () + O(h 4 ) (6.5) = hf() + h f () + h3 6 f () + O(h 4 ) If we let b = + h, we hve (expnding f( + h/)) for the qudrture error, E, +h ( E = f(s)ds hf + h ) = hf() + h f () + h3 6 f () + O(h 4 ) h [f() + h ] f () + h 8 f () + O(h 3 ), 3

4 6.1 Bsic Concepts D. Levy which mens tht the error term is of order O(h 3 ). Hving n error of order h 3 does not men tht this is third-order method. In our cse, the prmeter h equls to b. It is not prmeter tht should be vied s smll vlue tht goes to zero. It is fixed. The error of the midpoint method is of the order of O((b ) 3 ). Unfortuntely, these clcultions cnnot directly provide us with n ccurte estimte of the error. This is the cse since when truncting two Tylor pproximtions, we re left with n error terms tht re evluted t two (generlly different) intermedite points. Hence we cnnot directly combine the error term 1 6 h3 f (ξ 1 ) with 1 8 h3 f (ξ ). This cn still be done, but we hve to use better pproch. The min difficulty in evluting the difference between the exct vlue, f(x)dx, nd its midpoint rule pproximtion, (b )f ( ) +b, is due to hving n integrl in one term nd no integrl in the second term. The pproch will be to replce the midpoint pproximtion with n integrl expression. Indeed, if we denote the midpoint by c, i.e., c = + b, then the tngent line to f(x) t x = c is given by Clerly, P 1 (x) = f(c) + f (c)(x c). P 1 (x)dx = (b )f(c), nd hence ( ) + b f(x)dx (b )f = (f(x) P 1 (x))dx. To estimte the difference between f(x) nd P 1 (x) we cn expnd f(x) round x = c. Assuming tht x [, b], we hve f(x) = f(c + (x c)) = f(c) + f (c)(x c) + 1 f (ξ)(x c), ξ (, b). Hence (f(x) P 1 (x))dx = 1 f (ξ x )(x c) dx. In view of the midvlue theorem for integrls, the lst integrl cn be replces by 1 f (ξ) (x c) dx = 1 4 (b )3 f (ξ), < ξ < b. (6.6) Remrk. Throughout this section we ssumed tht ll functions we re interested in integrting re ctully integrble in the domin of interest. We lso ssumed tht they re bounded nd tht they re defined t every point, so tht whenever we need to evlute function t point, we cn do it. We will go on nd use these ssumptions throughout the chpter. 4

5 D. Levy 6. Integrtion vi Interpoltion 6. Integrtion vi Interpoltion One direct wy of obtining qudrtures from given smples of function is by integrting n interpolnt. As lwys, our gol is to evlute I = f(x)dx. We ssume tht the vlues of the function f(x) re given t n + 1 points: x 0,..., x n [, b]. Note tht we do not require the first point x 0 to be equl to, nd the sme holds for the right side of the intervl. Given the vlues f(x 0 ),... f(x n ), we cn write the interpolting polynomil of degree n, which in the Lrgenge form is with P n (x) = l i (x) = f(x i )l i (x), n j=0 j i x x j x i x j, 0 i n. The integrl of f(x) cn then be pproximted by the integrl of P n (x), i.e., f(x)dx P n (x)dx = f(x i ) The qudrture coefficients A i in (6.7) re given by l i (x)dx = A i f(x i ). (6.7) A i = l i (x)dx. (6.8) Note tht if we wnt to integrte severl different functions, nd use their vlues t the sme points (x 0,..., x n ), the qudrture coefficients (6.8) should be computed only once, since they do not depend on the function tht is being integrted. If we chnge the interpoltion/integrtion points, then we must recompute the qudrture coefficients. For eqully spced points, x 0,..., x n, numericl integrtion formul of the form f(x)dx A i f(x i ), (6.9) is clled Newton-Cotes formul. Exmple 6.1 We let n = 1 nd consider two interpoltion points which we set s x 0 =, x 1 = b. In this cse l 0 (x) = b x b, l 1(x) = x b. 5

6 6. Integrtion vi Interpoltion D. Levy Hence A 0 = Similrly, A 1 = l 0 (x) = l 1 (x) = b x b dx = b. x b dx = b = A 0. The resulting qudrture is the so-clled trpezoidl rule, (see Figure 6.3). dx b [f() + f(b)], (6.10) f(b) f(x) f() x b Figure 6.3: A trpezoidl qudrture We cn now use the interpoltion error to compute the error in the qudrture (6.10). The interpoltion error is f(x) P 1 (x) = 1 f (ξ x )(x )(x b), ξ x (, b). We recll tht ccording to the midvlue theorem for integrls, if u(x) nd v(x) re continuous on [, b] nd if v 0, then there exists ξ (, b) such tht u(x)v(x)dx = u(ξ) v(x)dx. 6

7 D. Levy 6. Integrtion vi Interpoltion Hence, the interpoltion error is given by E = with ξ (, b). 1 f (ξ x )(x )(x b) = f (ξ) (x )(x b)dx = f (ξ) 1 (b )3, (6.11) Remrks. 1. We note tht the qudrtures (6.7),(6.8), re exct for polynomils of degree n. For if p(x) is polynomil of degree n, it cn be written s p(x) = p(x i )l i (x). (Two polynomils of degree n tht gree with ech other t n + 1 points must be identicl). Hence p(x)dx = p(x i ) l i (x)dx = A i p(x i ).. As of the opposite direction. Assume tht the qudrture f(x)dx A i f(x i ), is exct for ll polynomils of degree n. We know tht nd hence deg(l j (x)) = n, l j (x)dx = A i l j (x i ) = A i δ ij = A j. This mens tht the qudrture coefficients must be given by A j = l j (x)dx. 7

8 6.3 Composite Integrtion Rules D. Levy 6.3 Composite Integrtion Rules In composite qudrture, we divide the intervl into subintervls nd pply n integrtion rule to ech subintervl. We demonstrte this ide with couple of exmples. Exmple 6. Consider the points = x 0 < x 1 < < x n = b. The composite trpezoidl rule is obtined by pplying the trpezoidl rule in ech subintervl [x i 1, x i ], i = 1,..., n, i.e., f(x)dx = (see Figure 6.4). xi x i 1 f(x)dx 1 (x i x i 1 )[f(x i 1 ) + f(x i )], (6.1) f(x) x 0 x 1 x x n 1 x n x Figure 6.4: A composite trpezoidl rule A prticulr cse is when these points re uniformly spced, i.e., when ll intervls hve n equl length. For exmple, if where x i = + ih, h = b n, 8

9 D. Levy 6.3 Composite Integrtion Rules then [ ] f(x)dx h n 1 f() + f( + ih) + f(b) = h f( + ih). (6.13) The nottion of sum with two primes,, mens tht we sum over ll the terms with the exception of the first nd lst terms tht re being divided by. We cn lso compute the error term s function of the distnce between neighboring points, h. We know from (6.11) tht in every subintervl the qudrture error is h3 1 f (ξ x ). Hence, the overll error is obtined by summing over n such terms: [ ] h3 1 f (ξ i ) = h3 n 1 f (ξ i ). 1 n Here, we use the nottion ξ i to denote n intermedite point tht belongs to the i th intervl. Let Clerly M = 1 n f (ξ i ). min f (x) M mx f (x) x [,b] x [,b] If we ssume tht f (x) is continuous in [, b] (which we nyhow do in order for the interpoltion error formul to be vlid) then there exists point ξ [, b] such tht f (ξ) = M. Hence (reclling tht (b )/n = h, we hve E = (b )h f (ξ), ξ [, b]. (6.14) 1 This mens tht the composite trpezoidl rule is second-order ccurte. Exmple 6.3 In the intervl [, b] we ssume n subintervls nd let h = b n. 9

10 6.4 Additionl Integrtion Techniques D. Levy The qudrture points re ( x j = + j 1 ) h, j = 1,,..., n. The composite midpoint rule is given by pplying the midpoint rule (6.4) in every subintervl, i.e., f(x)dx h f(x j ). (6.15) j=1 Eqution (6.15) is known s the composite midpoint rule. In order to obtin the qudrture error in the pproximtion (6.15) we recll tht in ech subintervl the error is given ccording to (6.6), i.e., Hence E j = h3 4 f (ξ j ), ξ j E = j=1 E j = h3 4 j=1 ( x j h, x j + h [ f (ξ j ) = h3 4 n 1 n ). ] f (ξ j ) j=1 = h (b ) f (ξ), (6.16) 4 where ξ (, b). This mens tht the composite midpoint rule is lso second-order ccurte (just like the composite trpezoidl rule). 6.4 Additionl Integrtion Techniques The method of undetermined coefficients The methods of undetermined coefficients for deriving qudrtures is the following: 1. Select the qudrture points.. Write qudrture s liner combintion of the vlues of the function t the chosen qudrture points. 3. Determine the coefficients of the liner combintion by requiring tht the qudrture is exct for s mny polynomils s possible from the the ordered set {1, x, x,...}. We demonstrte this technique with the following exmple. Exmple 6.4 Problem: Find qudrture of the form ( ) 1 f(x)dx A 0 f(0) + A 1 f + A f(1), 0 tht is exct for ll polynomils of degree. 10

11 D. Levy 6.4 Additionl Integrtion Techniques Solution: Since the qudrture hs to be exct for ll polynomils of degree, it hs to be exct for the polynomils 1, x, nd x. Hence we obtin the system of liner equtions 1 = 1 = 1 3 = dx = A 0 + A 1 + A, xdx = 1 A 1 + A, x dx = 1 4 A 1 + A. Therefore, A 0 = A = 1 nd A 6 1 =, nd the desired qudrture is 3 0 f(x)dx f(0) + 4f ( 1 ) + f(1). (6.17) 6 Since the resulting formul (6.17) is liner, its being exct for 1, x, nd x, implies tht it is exct for ny polynomil of degree. In fct, we will show in Section tht this pproximtion is ctully exct for polynomils of degree Chnge of n intervl Suppose tht we hve qudrture formul on the intervl [c, d] of the form d f(t)dt A i f(t i ). (6.18) c We would like to to use (6.18) to find qudrture on the intervl [, b], tht pproximtes for f(x)dx. The mpping between the intervls [c, d] [, b] cn be written s liner trnsformtion of the form λ(t) = b d bc t + d c d c. Hence This mens tht f(x)dx = b d c f(x)dx b d c d c f(λ(t))dt b d c A i f ( b d c t i + A i f(λ(t i )). ) d bc. (6.19) d c We note tht if the qudrture (6.18) ws exct for polynomils of degree m, so is (6.19). 11

12 6.5 Simpson s Integrtion D. Levy Exmple 6.5 We wnt to write the result of the previous exmple 0 f(x)dx f(0) + 4f ( 1 ) + f(1), 6 s qudrture on the intervl [, b]. According to (6.19) f(x)dx b 6 [ f() + 4f ( ) + b ] + f(b). (6.0) The pproximtion (6.0) is known s the Simpson qudrture. 6.5 Simpson s Integrtion In the lst exmple we obtined Simpson s qudrture (6.0). An lterntive derivtion is the following: strt with polynomil Q (x) tht interpoltes f(x) t the points, ( + b)/, nd b. Then pproximte [ ] (x c)(x b) (x )(x b) (x )(x c) f(x)dx f() + f(c) + ( c)( b) (c )(c b) (b )(b c) f(b) dx =... = b [ ( ) ] + b f() + 4f + f(b), 6 which is Simpson s rule (6.0). Figure 6.5 demonstrtes this process of deriving Simpson s qudrture for the specific choice of pproximting 3 sin xdx The qudrture error It turns out tht Simpson s qudrture is exct for polynomils of degree 3 nd not only for polynomils of degree, s expected by the wy it ws constructed. We will obtin this result by studying the error term. In order to derive the error term for Simpson s method, we discuss n error nlysis technique tht is vlid for qudrtures tht re obtined through integrtion. In ll such cses, the qudrture error is the difference between the integrl of the function nd the integrl of its interpolnt, i.e., E = (f(t) p n (t))dt = f (n+1) (ξ x ) ω(t)dt, (6.1) (n + 1)! where ω(t) = n (t t i )dt. 1

13 D. Levy 6.5 Simpson s Integrtion P (x) sinx x Figure 6.5: An exmple of Simpson s qudrture. The pproximtion of 3 sin xdx is 1 obtined by integrting the qudrtic interpolnt Q (x) over [1, 3] It ω(t) is lwys non-negtive or non-positive between nd b, then ccording to the midvlue theorem for integrls, the error in (6.1) becomes E = f (n+1) (ξ) (n + 1)! ω(t)dt, ξ (, b). Exmples for such cses re the trpezoidl rule for which E = f (ξ) 1 (b )3, nd the rectngle rule for which E = f (ξ) 1 (t )dt = f (ξ) (b ). Another cse which is rther esy to nlyze is the cse in which ω(t)dt = 0. Exmples for the cse in (6.) include the midpoint rule for which ( ω(t)dt = t + b ) dt = 0, (6.) 13

14 6.5 Simpson s Integrtion D. Levy nd Simpson s rule for which ( ω(t)dt = (t ) t + b ) (t b)dt = 0. In this cse, we cn dd nother interpoltion point without chnging the integrl of the interpolnt. This is the cse since we replce f(x) by p n (x) nd integrte f(t)dt p n (x)dx. Adding n rbitrry interpoltion point, x n+1, to p n (x) turns it into n interpolting polynomil of higher order, p n+1 (x), tht is given by p n+1 (x) = p n (x) + f[x 0,..., x n+1 ]ω(x). (6.3) Since ω(x)dx = 0, when integrting (6.3) in order to obtin qudrture, we observe tht f(t)dt p n+1 (x)dx = p n (x)dx, so the originl qudrture does not chnge by dding n rbitrry interpoltion point. We now hve ll the required tools in order to derive qudrture for Simpson s method. Since in this cse +b ω(t)dt = 0, we dd to,, b n rbitrry interpoltion point which we choose s +b gin. The function ω(t) becomes ( ω(t) = (t ) t + b ) (t b). Hence, for t [, b], our new ω(t) stisfies ω(t) 0. By the midvlue theorem for integrls the error in Simpson s method cn be written s E = f (4) (ξ) b ( (t ) t + b ) (t b)dt = 1 ( ) 5 b f (4) (ξ), (6.4) 4 90 for ξ (, b). Since the fourth derivtive of ny polynomil of degree 3 is identiclly zero, the qudrture error formul (6.4) implies tht Simpson s qudrture is exct for polynomils of degree Composite Simpson rule To derive composite version of Simpson s qudrture, we divide the intervl [, b] into n even number of subintervls, n, nd let x i = + ih, 0 i n, 14

15 D. Levy 6.6 Weighted Qudrtures where h = b n. Hence, if we replce the integrl in every subintervls by Simpson s rule (6.0), we obtin f(x)dx = x x 0 f(x)dx xn n/ f(x)dx = x n h n/ [f(x i ) + 4f(x i 1 ) + f(x i )]. 3 xi x i f(x)dx The composite Simpson qudrture is thus given by f(x)dx h n/ n/ f(x 0 ) + f(x i ) + 4 f(x i 1 ) + f(x n ). (6.5) 3 Summing the error terms (tht re given by (6.4)) over ll sub-intervls, the qudrture error tkes the form Since E = h5 90 n/ min x [,b] f (4) (x) n we cn conclude tht f (4) (ξ i ) = h5 90 n n n/ n/ f (4) (ξ i ). f (4) (ξ i ) mx f (4) (x), x [,b] E = h5 n 90 f (4) (ξ) = h4 180 f (4) (ξ), ξ [, b], (6.6) i.e., the composite Simpson qudrture is fourth-order ccurte. 6.6 Weighted Qudrtures We recll tht weight function is continuous, non-negtive function with positive mss. We ssume tht such weight function w(x) is given nd would like to write qudrture of the form f(x)w(x)dx A i f(x i ). (6.7) 15

16 6.7 Gussin Qudrture D. Levy Such qudrtures re clled generl (weighted) qudrtures. Previously, for the cse w(x) 1, we wrote qudrture of the form where A i = f(x)dx A i f(x i ), l i (x)dx. Repeting the derivtion we crried out in Section 6., we construct n interpolnt Q n (x) of degree n tht psses through the points x 0,..., x n. Its Lgrnge form is Q n (x) = f(x i )l i (x), with the usul n l i (x) = j=0 j i x x j x i x j, 0 i n. Hence f(x)w(x)dx Q n (x)w(x)dx = where the coefficients A i re given by f(x i ) l i (x)w(x)dx = A i f(x i ), A i = l i (x)w(x)dx. (6.8) To summrize, the generl qudrture is f(x)w(x)dx A i f(x i ), (6.9) with qudrture coefficients, A i, tht re given by (6.8). 6.7 Gussin Qudrture Mximizing the qudrture s ccurcy So fr, ll the qudrtures we encountered were of the form f(x)dx A i f(x i ). (6.30) 16

17 D. Levy 6.7 Gussin Qudrture An pproximtion of the form (6.30) ws shown to be exct for polynomils of degree n for n pproprite choice of the qudrture coefficients A i. In ll cses, the qudrture points x 0,..., x n were given up front. In other words, given set of nodes x 0,..., x n, the coefficients {A i } n were determined such tht the pproximtion ws exct in Π n. We re now interested in investigting the possibility of writing more ccurte qudrtures without incresing the totl number of qudrture points. This will be possible if we llow for the freedom of choosing the qudrture points. The qudrture problem becomes now problem of choosing the qudrture points in ddition to determining the corresponding coefficients in wy tht the qudrture is exct for polynomils of mximl degree. Qudrtures tht re obtined tht wy re clled Gussin qudrtures. Exmple 6.6 The qudrture formul 1 f(x)dx f ( 1 3 ) + f ( 1 3 ), is exct for polynomils of degree 3(!) We will revisit this problem nd prove this result in Exmple 6.9 below. An equivlent problem cn be stted for the more generl weighted qudrture cse. Here, f(x)w(x)dx A i f(x i ), (6.31) where w(x) 0 is weight function. Eqution (6.31) is exct for f Π n if nd only if A i = w(x) j=0 j i x x j x i x j dx. (6.3) In both cses (6.30) nd (6.31), the number of qudrture nodes, x 0,..., x n, is n+1, nd so is the number of qudrture coefficients, A i. Hence, if we hve the flexibility of determining the loction of the points in ddition to determining the coefficients, we hve ltogether n + degrees of freedom, nd hence we cn expect to be ble to derive qudrtures tht re exct for polynomils in Π n+1. This is indeed the cse s we shll see below. We will show tht the generl solution of this integrtion problem is connected with the roots of orthogonl polynomils. We strt with the following theorem. Theorem 6.7 Let q(x) be nonzero polynomil of degree n + 1 tht is w-orthogonl to Π n, i.e., p(x) Π n, p(x)q(x)w(x)dx = 0. 17

18 6.7 Gussin Qudrture D. Levy If x 0,..., x n re the zeros of q(x) then (6.31), with A i given by (6.3), is exct f Π n+1. Proof. For f(x) Π n+1, write f(x) = q(x)p(x) + r(x). We note tht p(x), r(x) Π n. Since x 0,..., x n re the zeros of q(x) then Hence, f(x i ) = r(x i ). f(x)w(x)dx = = A i r(x i ) = [q(x)p(x) + r(x)]w(x)dx = A i f(x i ). r(x)w(x)dx (6.33) The second equlity in (6.33) holds since q(x) is w-orthogonl to Π n. The third equlity (6.33) holds since (6.31), with A i given by (6.3), is exct for polynomils in Π n. According to Theorem 6.7 we lredy know tht the qudrture points tht will provide the most ccurte qudrture rule re the n+1 roots of n orthogonl polynomil of degree n + 1 (where the orthogonlity is with respect to the weight function w(x)). We recll tht the roots of q(x) re rel, simple nd lie in (, b), something we know from our previous discussion on orthogonl polynomils (see Theorem??). In other words, we need n + 1 qudrture points in the intervl, nd n orthogonl polynomil of degree n + 1 does hve n + 1 distinct roots in the intervl. We now restte the result regrding the roots of orthogonl functions with n lterntive proof. Theorem 6.8 Let w(x) be weight function. Assume tht f(x) is continuous in [, b] tht is not the zero function, nd tht f(x) is w-orthogonl to Π n. Then f(x) chnges sign t lest n + 1 times on (, b). Proof. Since 1 Π n, f(x)w(x)dx = 0. Hence, f(x) chnges sign t lest once. Now suppose tht f(x) chnges size only r times, where r n. Choose {t i } i 0 such tht = t 0 < t 1 < < t r = b, nd f(x) is of one sign on (t 0, t 1 ), (t 1, t ),..., (t r 1, t r ). The polynomil r 1 p(x) = (x t i ), 18

19 D. Levy 6.7 Gussin Qudrture hs the sme sign property. Hence f(x)p(x)w(x)dx 0, which leds to contrdiction since p(x) Π n. Exmple 6.9 We re looking for qudrture of the form 1 f(x)dx A 0 f(x 0 ) + A 1 f(x 1 ). A strightforwrd computtion will mount to mking this qudrture exct for the polynomils of degree 3. The linerity of the qudrture mens tht it is sufficient to mke the qudrture exct for 1, x, x, nd x 3. Hence we write the system of equtions 1 f(x)dx = 1 From this we cn write A 0 + A 1 =, A 0 x 0 + A 1 x 1 = 0, A 0 x 0 + A 1 x 1 =, 3 A 0 x A 1 x 3 1 = 0. Solving for A 1, A, x 0, nd x 1 we get A 1 = A = 1, x 0 = x 1 = 1 3, x i dx = A 0 x i 0 + A 1 x i 1, i = 0, 1,, 3. so tht the desired qudrture is 1 f(x)dx f ( 1 ) ( ) 1 + f 3. (6.34) 3 Exmple 6.10 We repet the previous problem using orthogonl polynomils. Since n = 1, we expect to find qudrture tht is exct for polynomils of degree n + 1 = 3. The polynomil of degree n+1 = which is orthogonl to Π n = Π 1 with weight w(x) 1 is the Legendre polynomil of degree, i.e., P (x) = 1 (3x 1). 19

20 6.7 Gussin Qudrture D. Levy The integrtion points will then be the zeros of P (x), i.e., x 0 = 1 3, x 1 = 1 3. All tht remins is to determine the coefficients A 1, A. This is done in the usul wy, ssuming tht the qudrture 1 f(x)dx A 0 f(x 0 ) + A 1 f(x 1 ), is exct for polynomils of degree 1. The simplest will be to use 1 nd x, i.e., nd = 0 = 1 1 1dx = A 0 + A 1, xdx = A A Hence A 0 = A 1 = 1, nd the qudrture is the sme s (6.34) (s should be) Convergence nd error nlysis Lemm 6.11 In Gussin qudrture formul, the coefficients re positive nd their sum is w(x)dx. Proof. Fix n. Let q(x) Π n+1 be w-orthogonl to Π n. Also ssume tht q(x i ) = 0 for i = 0,..., n, nd tke {x i } n to be the qudrture points, i.e., f(x)w(x)dx A i f(x i ). (6.35) Fix 0 j n. Let p(x) Π n be defined s p(x) = q(x) x x j. Since x j is root of q(x), p(x) is indeed polynomil of degree n. The degree of p (x) n which mens tht the Gussin qudrture (6.35) is exct for it. Hence 0 < p (x)w(x)dx = A i p (x i ) = A i q (x i ) (x i x j ) = A jp (x j ), 0

21 D. Levy 6.7 Gussin Qudrture which mens tht j, A j > 0. In ddition, since the Gussin qudrture is exct for f(x) 1, we hve w(x)dx = A i. In order to estimte the error in the Gussin qudrture we would first like to present n lterntive wy of deriving the Gussin qudrture. Our strting point is the Lgrnge form of the Hermite polynomil tht interpoltes f(x) nd f (x) t x 0,..., x n. It is given by (??), i.e., with p(x) = f(x i ) i (x) + f (x i )b i (x), i (x) = (l i (x)) [1 + l i(x i )(x i x)], b i (x) = (x x i )l i (x), 0 i n, nd l i (x) = n j=0 j i x x j x i x j. We now ssume tht w(x) is weight function in [, b] nd pproximte where nd A i = B i = w(x)f(x)dx w(x)p n+1 (x)dx = A i f(x i ) + B i f (x i ), (6.36) w(x) i (x)dx, (6.37) w(x)b i (x)dx. (6.38) In some sense, it seems to be rther strnge to del with the Hermite interpolnt when we do not explicitly know the vlues of f (x) t the interpoltion points. However, we cn eliminte the derivtives from the qudrture (6.36) by setting B i = 0 in (6.38). Indeed (ssuming n 0): B i = w(x)(x x i )l i (x)dx = n (x i x j ) j=0 j i w(x) n (x x j )l i (x)dx. j=0 1

22 6.7 Gussin Qudrture D. Levy Hence, B i = 0, if the product n j=0 (x x j) is orthogonl to l i (x). Since l i (x) is polynomil in Π n, ll tht we need is to set the points x 0,..., x n s the roots of polynomil of degree n+1 tht is w-orthogonl to Π n. This is precisely wht we defined s Gussin qudrture. We re now redy to formlly estblish the fct tht the Gussin qudrture is exct for polynomils of degree n + 1. Theorem 6.1 Let f C n+ [, b] nd let w(x) be weight function. Consider the Gussin qudrture f(x)w(x)dx A i f(x i ). Then there exists ζ (, b) such tht f(x)w(x)dx A i f(x i ) = f (n+) (ζ) (n + )! n (x x j ) w(x)dx. Proof. We use the chrcteriztion of the Gussin qudrture s the integrl of Hermite interpolnt. We recll tht the error formul for the Hermite interpoltion is given by (??), f(x) p n+1 (x) = f (n+) (ξ) (n + )! j=0 n (x x j ), ξ (, b). j=0 Hence ccording to (6.36) we hve f(x)w(x)dx A i f(x i ) = = f(x)w(x)dx w(x) f (n+) (ξ) (n + )! p n+1 w(x)dx n (x x j ) dx. The integrl men vlue theorem then implies tht there exists ζ (, b) such tht f(x)w(x)dx A i f(x i ) = f (n+) (ζ) (n + )! j=0 n (x x j ) (x)w(x)dx. We conclude this section with convergence theorem tht sttes tht for continuous functions, the Gussin qudrture converges to the exct vlue of the integrl s the number of qudrture points tends to infinity. This theorem is not of gret prcticl vlue becuse it does not provide n estimte on the rte of convergence. A proof of the theorem tht is bsed on the Weierstrss pproximtion theorem cn be found in, e.g., in [?]. j=0

23 D. Levy 6.8 Romberg Integrtion Theorem 6.13 We let w(x) be weight function nd ssuming tht f(x) is continuous function on [, b]. For ech n N we let {x ni } n be the n + 1 roots of the polynomil of degree n + 1 tht is w-orthogonl to Π n, nd consider the corresponding Gussin qudrture: f(x)w(x)dx A ni f(x ni ). (6.39) Then the right-hnd-side of (6.39) converges to the left-hnd-side s n. 6.8 Romberg Integrtion We hve introduced Richrdson s extrpoltion in Section?? in the context of numericl differentition. We cn use similr principle with numericl integrtion. We will demonstrte this principle with prticulr exmple. Let I denote the exct integrl tht we would like to pproximte, i.e., I = f(x)dx. Let s ssume tht this integrl is pproximted with composite trpezoidl rule on uniform grid with mesh spcing h (6.13), T (h) = h f( + ih). We know tht the composite trpezoidl rule is second-order ccurte (see (6.14)). A more detiled study of the qudrture error revels tht the difference between I nd T (h) cn be written s I = T (h) + c 1 h + c h c k h k + O(h k+ ). The exct vlues of the coefficients, c k, re of no interest to us s long s they do not depend on h (which is indeed the cse). We cn now write similr qudrture tht is bsed on hlf the number of points, i.e., T (h). Hence I = T (h) + c 1 (h) + c (h) This enbles us to eliminte the h error term: I = 4T (h) T (h) 3 + ĉ h

24 6.8 Romberg Integrtion D. Levy Therefore 4T (h) T (h) 3 = 1 [ ( 1 4h 3 f 0 + f f n ) f n ( 1 h f 0 + f f n + 1 )] f n = h 3 (f 0 + 4f 1 + f f n + 4f n 1 + f n ) = S(n). Here, S(n) denotes the composite Simpson s rule with n subintervls. The procedure of incresing the ccurcy of the qudrture by eliminting the leding error term is known s Romberg integrtion. In some plces, Romberg integrtion is used to describe the specific cse of turning the composite trpezoidl rule into Simpson s rule (nd so on). The qudrture tht is obtined from Simpson s rule by eliminting the leding error term is known s the super Simpson rule. 4

4 Approximations. 4.1 Background. D. Levy

4 Approximations. 4.1 Background. D. Levy D. Levy 4 Approximtions 4.1 Bckground In this chpter we re interested in pproximtion problems. Generlly speking, strting from function f(x) we would like to find different function g(x) tht belongs to

More information

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding

Example A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding 1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

CHAPTER 11 Numerical Differentiation and Integration

CHAPTER 11 Numerical Differentiation and Integration CHAPTER 11 Numericl Differentition nd Integrtion Differentition nd integrtion re bsic mthemticl opertions with wide rnge of pplictions in mny res of science. It is therefore importnt to hve good methods

More information

QUADRATURE METHODS. July 19, 2011. Kenneth L. Judd. Hoover Institution

QUADRATURE METHODS. July 19, 2011. Kenneth L. Judd. Hoover Institution QUADRATURE METHODS Kenneth L. Judd Hoover Institution July 19, 2011 1 Integrtion Most integrls cnnot be evluted nlyticlly Integrls frequently rise in economics Expected utility Discounted utility nd profits

More information

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration

2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration Source: http://www.mth.cuhk.edu.hk/~mt26/mt26b/notes/notes3.pdf 25-6 Second Term MAT26B 1 Supplementry Notes 3 Interchnge of Differentition nd Integrtion The theme of this course is bout vrious limiting

More information

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

and thus, they are similar. If k = 3 then the Jordan form of both matrices is Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If

More information

Factoring Polynomials

Factoring Polynomials Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles

More information

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany Lecture Notes to Accompny Scientific Computing An Introductory Survey Second Edition by Michel T Heth Boundry Vlue Problems Side conditions prescribing solution or derivtive vlues t specified points required

More information

MODULE 3. 0, y = 0 for all y

MODULE 3. 0, y = 0 for all y Topics: Inner products MOULE 3 The inner product of two vectors: The inner product of two vectors x, y V, denoted by x, y is (in generl) complex vlued function which hs the following four properties: i)

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

Integration by Substitution

Integration by Substitution Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is

More information

4.11 Inner Product Spaces

4.11 Inner Product Spaces 314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

Graphs on Logarithmic and Semilogarithmic Paper

Graphs on Logarithmic and Semilogarithmic Paper 0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl

More information

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one. 5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued

More information

Review guide for the final exam in Math 233

Review guide for the final exam in Math 233 Review guide for the finl exm in Mth 33 1 Bsic mteril. This review includes the reminder of the mteril for mth 33. The finl exm will be cumultive exm with mny of the problems coming from the mteril covered

More information

Integration. 148 Chapter 7 Integration

Integration. 148 Chapter 7 Integration 48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but

More information

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive

More information

How To Understand The Theory Of Inequlities

How To Understand The Theory Of Inequlities Ostrowski Type Inequlities nd Applictions in Numericl Integrtion Edited By: Sever S Drgomir nd Themistocles M Rssis SS Drgomir) School nd Communictions nd Informtics, Victori University of Technology,

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

Math 135 Circles and Completing the Square Examples

Math 135 Circles and Completing the Square Examples Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for

More information

Lecture 3 Gaussian Probability Distribution

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

More information

6.2 Volumes of Revolution: The Disk Method

6.2 Volumes of Revolution: The Disk Method mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of

More information

Algebra Review. How well do you remember your algebra?

Algebra Review. How well do you remember your algebra? Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then

More information

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered: Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

Vectors 2. 1. Recap of vectors

Vectors 2. 1. Recap of vectors Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms

More information

AREA OF A SURFACE OF REVOLUTION

AREA OF A SURFACE OF REVOLUTION AREA OF A SURFACE OF REVOLUTION h cut r πr h A surfce of revolution is formed when curve is rotted bout line. Such surfce is the lterl boundr of solid of revolution of the tpe discussed in Sections 7.

More information

The Riemann Integral. Chapter 1

The Riemann Integral. Chapter 1 Chpter The Riemnn Integrl now of some universities in Englnd where the Lebesgue integrl is tught in the first yer of mthemtics degree insted of the Riemnn integrl, but now of no universities in Englnd

More information

All pay auctions with certain and uncertain prizes a comment

All pay auctions with certain and uncertain prizes a comment CENTER FOR RESEARC IN ECONOMICS AND MANAGEMENT CREAM Publiction No. 1-2015 All py uctions with certin nd uncertin prizes comment Christin Riis All py uctions with certin nd uncertin prizes comment Christin

More information

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University

More information

SPECIAL PRODUCTS AND FACTORIZATION

SPECIAL PRODUCTS AND FACTORIZATION MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come

More information

15.6. The mean value and the root-mean-square value of a function. Introduction. Prerequisites. Learning Outcomes. Learning Style

15.6. The mean value and the root-mean-square value of a function. Introduction. Prerequisites. Learning Outcomes. Learning Style The men vlue nd the root-men-squre vlue of function 5.6 Introduction Currents nd voltges often vry with time nd engineers my wish to know the verge vlue of such current or voltge over some prticulr time

More information

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100 hsn.uk.net Higher Mthemtics UNIT 3 OUTCOME 1 Vectors Contents Vectors 18 1 Vectors nd Sclrs 18 Components 18 3 Mgnitude 130 4 Equl Vectors 131 5 Addition nd Subtrction of Vectors 13 6 Multipliction by

More information

The Velocity Factor of an Insulated Two-Wire Transmission Line

The Velocity Factor of an Insulated Two-Wire Transmission Line The Velocity Fctor of n Insulted Two-Wire Trnsmission Line Problem Kirk T. McDonld Joseph Henry Lbortories, Princeton University, Princeton, NJ 08544 Mrch 7, 008 Estimte the velocity fctor F = v/c nd the

More information

Binary Representation of Numbers Autar Kaw

Binary Representation of Numbers Autar Kaw Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy

More information

9 CONTINUOUS DISTRIBUTIONS

9 CONTINUOUS DISTRIBUTIONS 9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete

More information

MATH 150 HOMEWORK 4 SOLUTIONS

MATH 150 HOMEWORK 4 SOLUTIONS MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

Section 5-4 Trigonometric Functions

Section 5-4 Trigonometric Functions 5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form

More information

The Definite Integral

The Definite Integral Chpter 4 The Definite Integrl 4. Determining distnce trveled from velocity Motivting Questions In this section, we strive to understnd the ides generted by the following importnt questions: If we know

More information

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes The Sclr Product 9.3 Introduction There re two kinds of multipliction involving vectors. The first is known s the sclr product or dot product. This is so-clled becuse when the sclr product of two vectors

More information

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

More information

Experiment 6: Friction

Experiment 6: Friction Experiment 6: Friction In previous lbs we studied Newton s lws in n idel setting, tht is, one where friction nd ir resistnce were ignored. However, from our everydy experience with motion, we know tht

More information

Lecture 5. Inner Product

Lecture 5. Inner Product Lecture 5 Inner Product Let us strt with the following problem. Given point P R nd line L R, how cn we find the point on the line closest to P? Answer: Drw line segment from P meeting the line in right

More information

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

EQUATIONS OF LINES AND PLANES

EQUATIONS OF LINES AND PLANES EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint

More information

6 Energy Methods And The Energy of Waves MATH 22C

6 Energy Methods And The Energy of Waves MATH 22C 6 Energy Methods And The Energy of Wves MATH 22C. Conservtion of Energy We discuss the principle of conservtion of energy for ODE s, derive the energy ssocited with the hrmonic oscilltor, nd then use this

More information

Distributions. (corresponding to the cumulative distribution function for the discrete case).

Distributions. (corresponding to the cumulative distribution function for the discrete case). Distributions Recll tht n integrble function f : R [,] such tht R f()d = is clled probbility density function (pdf). The distribution function for the pdf is given by F() = (corresponding to the cumultive

More information

Review Problems for the Final of Math 121, Fall 2014

Review Problems for the Final of Math 121, Fall 2014 Review Problems for the Finl of Mth, Fll The following is collection of vrious types of smple problems covering sections.,.5, nd.7 6.6 of the text which constitute only prt of the common Mth Finl. Since

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

19. The Fermat-Euler Prime Number Theorem

19. The Fermat-Euler Prime Number Theorem 19. The Fermt-Euler Prime Number Theorem Every prime number of the form 4n 1 cn be written s sum of two squres in only one wy (side from the order of the summnds). This fmous theorem ws discovered bout

More information

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation FUNCTIONS AND EQUATIONS. SETS AND SUBSETS.. Definition of set. A set is ny collection of objects which re clled its elements. If x is n element of the set S, we sy tht x belongs to S nd write If y does

More information

www.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values)

www.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values) www.mthsbo.org.uk CORE SUMMARY NOTES Functions A function is rule which genertes ectl ONE OUTPUT for EVERY INPUT. To be defined full the function hs RULE tells ou how to clculte the output from the input

More information

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials

Module Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials MEI Mthemtics in Ection nd Instry Topic : Proof MEI Structured Mthemtics Mole Summry Sheets C, Methods for Anced Mthemtics (Version B reference to new book) Topic : Nturl Logrithms nd Eponentils Topic

More information

Section 7-4 Translation of Axes

Section 7-4 Translation of Axes 62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the

More information

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324 A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................

More information

Rotating DC Motors Part II

Rotating DC Motors Part II Rotting Motors rt II II.1 Motor Equivlent Circuit The next step in our consiertion of motors is to evelop n equivlent circuit which cn be use to better unerstn motor opertion. The rmtures in rel motors

More information

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS Known for over 500 yers is the fct tht the sum of the squres of the legs of right tringle equls the squre of the hypotenuse. Tht is +b c. A simple proof is

More information

Introduction to Integration Part 2: The Definite Integral

Introduction to Integration Part 2: The Definite Integral Mthemtics Lerning Centre Introduction to Integrtion Prt : The Definite Integrl Mr Brnes c 999 Universit of Sdne Contents Introduction. Objectives...... Finding Ares 3 Ares Under Curves 4 3. Wht is the

More information

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3. The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only

More information

Euler Euler Everywhere Using the Euler-Lagrange Equation to Solve Calculus of Variation Problems

Euler Euler Everywhere Using the Euler-Lagrange Equation to Solve Calculus of Variation Problems Euler Euler Everywhere Using the Euler-Lgrnge Eqution to Solve Clculus of Vrition Problems Jenine Smllwood Principles of Anlysis Professor Flschk My 12, 1998 1 1. Introduction Clculus of vritions is brnch

More information

Derivatives and Rates of Change

Derivatives and Rates of Change Section 2.1 Derivtives nd Rtes of Cnge 2010 Kiryl Tsiscnk Derivtives nd Rtes of Cnge Te Tngent Problem EXAMPLE: Grp te prbol y = x 2 nd te tngent line t te point P(1,1). Solution: We ve: DEFINITION: Te

More information

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1.

Math 314, Homework Assignment 1. 1. Prove that two nonvertical lines are perpendicular if and only if the product of their slopes is 1. Mth 4, Homework Assignment. Prove tht two nonverticl lines re perpendiculr if nd only if the product of their slopes is. Proof. Let l nd l e nonverticl lines in R of slopes m nd m, respectively. Suppose

More information

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the

More information

INTERCHANGING TWO LIMITS. Zoran Kadelburg and Milosav M. Marjanović

INTERCHANGING TWO LIMITS. Zoran Kadelburg and Milosav M. Marjanović THE TEACHING OF MATHEMATICS 2005, Vol. VIII, 1, pp. 15 29 INTERCHANGING TWO LIMITS Zorn Kdelburg nd Milosv M. Mrjnović This pper is dedicted to the memory of our illustrious professor of nlysis Slobodn

More information

Real Analysis and Multivariable Calculus: Graduate Level Problems and Solutions. Igor Yanovsky

Real Analysis and Multivariable Calculus: Graduate Level Problems and Solutions. Igor Yanovsky Rel Anlysis nd Multivrible Clculus: Grdute Level Problems nd Solutions Igor Ynovsky 1 Rel Anlysis nd Multivrible Clculus Igor Ynovsky, 2005 2 Disclimer: This hndbook is intended to ssist grdute students

More information

Applications to Physics and Engineering

Applications to Physics and Engineering Section 7.5 Applictions to Physics nd Engineering Applictions to Physics nd Engineering Work The term work is used in everydy lnguge to men the totl mount of effort required to perform tsk. In physics

More information

The invention of line integrals is motivated by solving problems in fluid flow, forces, electricity and magnetism.

The invention of line integrals is motivated by solving problems in fluid flow, forces, electricity and magnetism. Instrutor: Longfei Li Mth 43 Leture Notes 16. Line Integrls The invention of line integrls is motivted by solving problems in fluid flow, fores, eletriity nd mgnetism. Line Integrls of Funtion We n integrte

More information

Physics 43 Homework Set 9 Chapter 40 Key

Physics 43 Homework Set 9 Chapter 40 Key Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x

More information

PHY 140A: Solid State Physics. Solution to Homework #2

PHY 140A: Solid State Physics. Solution to Homework #2 PHY 140A: Solid Stte Physics Solution to Homework # TA: Xun Ji 1 October 14, 006 1 Emil: jixun@physics.ucl.edu Problem #1 Prove tht the reciprocl lttice for the reciprocl lttice is the originl lttice.

More information

Online Multicommodity Routing with Time Windows

Online Multicommodity Routing with Time Windows Konrd-Zuse-Zentrum für Informtionstechnik Berlin Tkustrße 7 D-14195 Berlin-Dhlem Germny TOBIAS HARKS 1 STEFAN HEINZ MARC E. PFETSCH TJARK VREDEVELD 2 Online Multicommodity Routing with Time Windows 1 Institute

More information

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator AP Clculus Finl Review Sheet When you see the words. This is wht you think of doing. Find the zeros Find roots. Set function =, fctor or use qudrtic eqution if qudrtic, grph to find zeros on clcultor.

More information

Basic Analysis of Autarky and Free Trade Models

Basic Analysis of Autarky and Free Trade Models Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently

More information

Lectures 8 and 9 1 Rectangular waveguides

Lectures 8 and 9 1 Rectangular waveguides 1 Lectures 8 nd 9 1 Rectngulr wveguides y b x z Consider rectngulr wveguide with 0 < x b. There re two types of wves in hollow wveguide with only one conductor; Trnsverse electric wves

More information

COMPONENTS: COMBINED LOADING

COMPONENTS: COMBINED LOADING LECTURE COMPONENTS: COMBINED LOADING Third Edition A. J. Clrk School of Engineering Deprtment of Civil nd Environmentl Engineering 24 Chpter 8.4 by Dr. Ibrhim A. Asskkf SPRING 2003 ENES 220 Mechnics of

More information

Warm-up for Differential Calculus

Warm-up for Differential Calculus Summer Assignment Wrm-up for Differentil Clculus Who should complete this pcket? Students who hve completed Functions or Honors Functions nd will be tking Differentil Clculus in the fll of 015. Due Dte:

More information

Exponential and Logarithmic Functions

Exponential and Logarithmic Functions Nme Chpter Eponentil nd Logrithmic Functions Section. Eponentil Functions nd Their Grphs Objective: In this lesson ou lerned how to recognize, evlute, nd grph eponentil functions. Importnt Vocbulr Define

More information

Module 2. Analysis of Statically Indeterminate Structures by the Matrix Force Method. Version 2 CE IIT, Kharagpur

Module 2. Analysis of Statically Indeterminate Structures by the Matrix Force Method. Version 2 CE IIT, Kharagpur Module Anlysis of Stticlly Indeterminte Structures by the Mtrix Force Method Version CE IIT, Khrgpur esson 9 The Force Method of Anlysis: Bems (Continued) Version CE IIT, Khrgpur Instructionl Objectives

More information

M5A42 APPLIED STOCHASTIC PROCESSES PROBLEM SHEET 1 SOLUTIONS Term 1 2010-2011

M5A42 APPLIED STOCHASTIC PROCESSES PROBLEM SHEET 1 SOLUTIONS Term 1 2010-2011 M5A42 APPLIED STOCHASTIC PROCESSES PROBLEM SHEET 1 SOLUTIONS Term 1 21-211 1. Clculte the men, vrince nd chrcteristic function of the following probbility density functions. ) The exponentil distribution

More information

DIFFERENTIATING UNDER THE INTEGRAL SIGN

DIFFERENTIATING UNDER THE INTEGRAL SIGN DIFFEENTIATING UNDE THE INTEGAL SIGN KEITH CONAD I hd lerned to do integrls by vrious methods shown in book tht my high school physics techer Mr. Bder hd given me. [It] showed how to differentite prmeters

More information

Helicopter Theme and Variations

Helicopter Theme and Variations Helicopter Theme nd Vritions Or, Some Experimentl Designs Employing Pper Helicopters Some possible explntory vribles re: Who drops the helicopter The length of the rotor bldes The height from which the

More information

PROBLEMS 13 - APPLICATIONS OF DERIVATIVES Page 1

PROBLEMS 13 - APPLICATIONS OF DERIVATIVES Page 1 PROBLEMS - APPLICATIONS OF DERIVATIVES Pge ( ) Wter seeps out of conicl filter t the constnt rte of 5 cc / sec. When the height of wter level in the cone is 5 cm, find the rte t which the height decreses.

More information

Numerical Methods of Approximating Definite Integrals

Numerical Methods of Approximating Definite Integrals 6 C H A P T E R Numericl Methods o Approimting Deinite Integrls 6. APPROXIMATING SUMS: L n, R n, T n, AND M n Introduction Not only cn we dierentite ll the bsic unctions we ve encountered, polynomils,

More information

SUBSTITUTION I.. f(ax + b)

SUBSTITUTION I.. f(ax + b) Integrtion SUBSTITUTION I.. f(x + b) Grhm S McDonld nd Silvi C Dll A Tutoril Module for prctising the integrtion of expressions of the form f(x + b) Tble of contents Begin Tutoril c 004 g.s.mcdonld@slford.c.uk

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE. Skandza, Stockholm ABSTRACT

COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE. Skandza, Stockholm ABSTRACT COMPARISON OF SOME METHODS TO FIT A MULTIPLICATIVE TARIFF STRUCTURE TO OBSERVED RISK DATA BY B. AJNE Skndz, Stockholm ABSTRACT Three methods for fitting multiplictive models to observed, cross-clssified

More information

Radius of the Earth - Radii Used in Geodesy James R. Clynch February 2006

Radius of the Earth - Radii Used in Geodesy James R. Clynch February 2006 dius of the Erth - dii Used in Geodesy Jmes. Clynch Februry 006 I. Erth dii Uses There is only one rdius of sphere. The erth is pproximtely sphere nd therefore, for some cses, this pproximtion is dequte.

More information

Econ 4721 Money and Banking Problem Set 2 Answer Key

Econ 4721 Money and Banking Problem Set 2 Answer Key Econ 472 Money nd Bnking Problem Set 2 Answer Key Problem (35 points) Consider n overlpping genertions model in which consumers live for two periods. The number of people born in ech genertion grows in

More information

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn 33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2

. At first sight a! b seems an unwieldy formula but use of the following mnemonic will possibly help. a 1 a 2 a 3 a 1 a 2 7 CHAPTER THREE. Cross Product Given two vectors = (,, nd = (,, in R, the cross product of nd written! is defined to e: " = (!,!,! Note! clled cross is VECTOR (unlike which is sclr. Exmple (,, " (4,5,6

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Decision Rule Extraction from Trained Neural Networks Using Rough Sets

Decision Rule Extraction from Trained Neural Networks Using Rough Sets Decision Rule Extrction from Trined Neurl Networks Using Rough Sets Alin Lzr nd Ishwr K. Sethi Vision nd Neurl Networks Lbortory Deprtment of Computer Science Wyne Stte University Detroit, MI 48 ABSTRACT

More information

addition, there are double entries for the symbols used to signify different parameters. These parameters are explained in this appendix.

addition, there are double entries for the symbols used to signify different parameters. These parameters are explained in this appendix. APPENDIX A: The ellipse August 15, 1997 Becuse of its importnce in both pproximting the erth s shpe nd describing stellite orbits, n informl discussion of the ellipse is presented in this ppendix. The

More information

Exam 1 Study Guide. Differentiation and Anti-differentiation Rules from Calculus I

Exam 1 Study Guide. Differentiation and Anti-differentiation Rules from Calculus I Exm Stuy Guie Mth 2020 - Clculus II, Winter 204 The following is list of importnt concepts from ech section tht will be teste on exm. This is not complete list of the mteril tht you shoul know for the

More information

5.6 POSITIVE INTEGRAL EXPONENTS

5.6 POSITIVE INTEGRAL EXPONENTS 54 (5 ) Chpter 5 Polynoils nd Eponents 5.6 POSITIVE INTEGRAL EXPONENTS In this section The product rule for positive integrl eponents ws presented in Section 5., nd the quotient rule ws presented in Section

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information