On relative errors of floating-point operations: optimal bounds and applications

Size: px
Start display at page:

Download "On relative errors of floating-point operations: optimal bounds and applications"

Transcription

1 On relative errors of floating-point operations: optimal bonds and applications Clade-Pierre Jeannerod, Siegfried M. Rmp To cite this version: Clade-Pierre Jeannerod, Siegfried M. Rmp. On relative errors of floating-point operations: optimal bonds and applications <hal v2> HAL Id: hal Sbmitted on 21 Dec 2015 (v2), last revised 3 Nov 2016 (v4) HAL is a mlti-disciplinary open access archive for the deposit and dissemination of scientific research docments, whether they are pblished or not. The docments may come from teaching and research instittions in France or abroad, or from pblic or private research centers. L archive overte plridisciplinaire HAL, est destinée a dépôt et à la diffsion de docments scientifiqes de nivea recherche, pbliés o non, émanant des établissements d enseignement et de recherche français o étrangers, des laboratoires pblics o privés.

2 ON RELATIVE ERRORS OF FLOATING-POINT OPERATIONS: OPTIMAL BOUNDS AND APPLICATIONS CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP Abstract. Ronding error analyses of nmerical algorithms are most often carried ot via repeated applications of the so-called standard models of floating-point arithmetic. Given a rondto-nearest fnction fl and barring nderflow and overflow, sch models bond the relative errors E 1 (t) = t fl(t) / t and E 2 (t) = t fl(t) / fl(t) by the nit rondoff. This paper investigates the possibility of refining these bonds, both in the case of an arbitrary real t and in the case where t is the exact reslt of an arithmetic operation on some floating-point nmbers. We provide explicit and attainable bonds on E 1 (t), which are all less than or eqal to /(1 + ) and, therefore, smaller than. For E 2 (t) the bond is attainable whenever t = x ± y or t = xy or, in base β > 2, t = x/y with x, y two floating-point nmbers. However, for division in base 2 as well as for sqare root, smaller bonds are derived, which are also shown to be attainable. This set of sharp bonds is then applied to the ronding error analysis of varios nmerical algorithms: in all cases, we obtain either mch shorter proofs of the best-known error bonds for sch algorithms, or improvements on these bonds themselves. Key words. floating-point arithmetic, ronding to nearest, relative error, nit in the first place AMS sbject classifications. 65G50 1. Introdction. Let F be a standard set of finite floating-point nmbers defined by a radix β, a precision p, and two extremal exponents e min and e max. Let also fl : R F {± } denote any rond-to-nearest fnction, sch that for all t R and if no overflow occrs, t fl(t) = min t f. (1.1) f F In particlar, no specific tie-breaking strategy is assmed for the fnction fl. Or first goal is to provide optimal bonds on the relative errors prodced when applying this ronding fnction, both in the case of an arbitrary real t and in the case where t is the exact reslt of an arithmetic operation on some floating-point nmbers. Here and hereafter, optimal means that each of or bonds is attained for at least one vale of t, which we shall give explicitly. Or second goal is to illstrate the interest of sch bonds for the ronding error analysis of nmerical algorithms: we provide several application examples for which these bonds yield analyses that are shorter or sharper. Classically, two relative errors can be defined, depending on whether the exact vale or the ronded vale is sed to divide the absolte error in (1.1): the error relative to t is E 1 (t) = while the error relative to fl(t) is E 2 (t) = t fl(t) t t fl(t) fl(t) if t 0, if fl(t) 0. INRIA, Laboratoire LIP (CNRS, ENS de Lyon, INRIA, UCBL), Université de Lyon, 46 allée d Italie Lyon cedex 07, France (clade-pierre.jeannerod@ens-lyon.fr). Institte for Reliable Compting, Hambrg University of Technology, Schwarzenbergstraße 95, Hambrg 21071, Germany, and Faclty of Science and Engineering, Waseda University, Okbo, Shinjk-k, Tokyo , Japan (rmp@t-harbrg.de). 1

3 2 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP In each case the relative error is ndefined if the denominator is zero. Or bonds on E 1 (t) and E 2 (t) are smmarized in Table 1 below, where x and y denote elements of F, and where = 1 2 β1 p is the nit rondoff associated with fl and F. All these bonds are attained for specific inpt vales, which we shall describe later on in the paper. Table 1.1 Optimal relative error bonds for varios kinds of inpt t. t bond on E 1 (t) bond on E 2 (t) real nmber x ± y xy x/y { 2 2 for β = 2 and p 3, { for β = 2 and p 3, for even β 2 for even β 2 1+ x It is easily verified that the bonds appearing Table 1 satisfy the ordering < < 1 + < <. The only differences between all these expressions are in the constants of their O( 2 ) terms, as can be seen from the following expansions at = 0: = 32 + O( 3 ), = O( 3 ), 1 + = 2 + O( 3 ), = O( 3 ). In particlar, the first row in Table 1 shows that an optimal bond for E 1 (t) is generally /(1 + ), ths refining the so-called first standard model of floating-point arithmetic. In contrast, it trns ot that the second model, giving E 2 (t), cannot be improved withot frther assmptions on t. These reslts abot the standard models will be explored in Section 2. In Section 3 we establish the other bonds in Table 1 and provide in each case a proof of optimality. Finally, Section 4 illstrates with some examples the two main benefits of sch refined bonds: in some cases, more concise and slightly sharper bonds can be obtained and, in other ones, shorter proofs of existing bonds can be given. Notation and assmptions. Throghot this paper, t R and x, y F, and we assme t belongs to the normal range of F, that is, β emin t (β β 1 p )β emax.

4 OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS 3 Also, all or reslts hold nder the cstomary assmptions that β is even and p 2, and that nderflow and overflow do not occr when applying the ronding fnction fl. Finally, the common tool sed to establish all the error bonds in Table 1 is the fnction fp : R Z from [10], called nit in the first place and defined as follows: fp(0) = 0 and, if r R\{0}, fp(r) is the largest integer power of β sch that fp(r) r. Hence, in particlar, fp(t) t < βfp(t) and fp(t) fl(t) βfp(t). (1.2) 2. Preliminaries: floating-point arithmetic models The two standard models. In nmerical analysis, the most common way of modeling IEEE floating-point arithmetic is to bond both relative errors E 1 and E 2 by the nit rondoff. This is sally expressed by means of the following two relations, called the standard models of floating-point arithmetic [4, p. 40]: fl(t) = t (1 + δ 1 ), δ 1 (first standard model), = t/(1 + δ 2 ), δ 2 (second standard model). Using the fp-fnction, these two models are easily derived as follows. First, recall from (1.2) that t belongs to the interval [fp(t), β fp(t)), which contains (β 1)β p 1 eqally-spaced elements of F. The distance between two sch consective elements is ths β fp(t) fp(t) (β 1)β = 2 fp(t), and ronding to nearest implies that the absolte p 1 error is bonded as t fl(t) fp(t). Then, dividing by either t or fl(t) gives immediately E 1 (t) fp(t) t and E 2 (t) fp(t) fl(t). (2.1) Finally, the lower bonds in (1.2) imply that the two ratios in (2.1) are at most 1. Hence E 1 (t) and E 2 (t), and the two standard models follow. From (2.1) we can also dedce the classical phenomenon of wobbling precision [4, p. 39]: when t and fl(t) come close to βfp(t), then the relative errors E 1 (t) and E 2 (t) can be almost as small as /β. The bond given by the second standard model is best possible. Indeed, if the fnction fl is sch that ties are ronded to even, then this bond is attained for t = 1 +, since in this case fl(1 + ) = 1. If ties are ronded to away, then it is easily checked that the strict ineqality δ 2 < holds; bt the vale is best possible in the sense that for every ɛ R sch that 0 < ɛ, setting t = 1 + ɛ implies fl(t) = 1 and δ 2 = ɛ. In contrast, the bond given by the first standard model is never attained: no matter what the tie-breaking strategy, we have in fact the strict ineqality δ 1 <. This was already remarked in [4, p. 38] and, to see this, it sffices to note that t fp(t) implies that the first ineqality in (2.1) becomes strict, and that otherwise fl(t) = t and ths δ 1 = 0. An attainable bond for δ 1 is described in the next paragraph, which refines [4, Theorem 2.2].

5 4 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP 2.2. A refinement of the first standard model. The following reslt refines the first standard model by giving a bond that can be attained no matter what the tie-breaking strategy. This bond has most probably been known since a long time, as it already appears in Dekker s 1971 paper [3, pp ] in the special case of floating-point addition and mltiplication in radix 2. Bt a general version and its optimality featre do not seem to have been reported elsewhere. Theorem 2.1. If t is a real nmber in the normal range of F then fl(t) = t (1 + δ 1 ), δ Frthermore, this bond is attained if and only if 0 t = (1 + )fp(t). Proof. If t = (1 + )fp(t) then fl( t ) is either fp(t) or (1 + 2)fp(t). Recalling (for example from [8, Lemma 2.1]) that t fl(t) = t fl( t ), we dedce that in both cases t fl(t) = fp(t), from which the eqality E 1 (t) = /(1 + ) follows. If t < (1 + )fp(t), then fl(t) = fp(t) t and ths t fl(t) = t fp(t). Conseqently, E 1 (t) = 1 fp(t)/ t, which is strictly less than 1 1/(1+) = /(1+). If t > (1 + )fp(t), the strict ineqality E 1 (t) < /(1 + ) follows from the first bond in (2.1). In the same way as in the proof above, we can check that when ronding ties to even, the bond in the second standard model is attained if and only if the nonzero real t has the form t = (1 + )fp(t). To smmarize, we have seen how to derive the bonds appearing in the first row of Table 1, that is, E 1 (t) and E 2 (t), (2.2) 1 + and characterized their optimality when t can be any real nmber in the normal range of F. In the next section we examine whether these bonds can or cannot be refined frther when t is the exact reslt of a basic arithmetic operation on floating-point nmbers. 3. Optimal error bonds for floating-point operations. We establish here optimal bonds on both E 1 and E 2 for the operations of addition, sbtraction, mltiplication, fsed mltiply-add, division, and sqare root. In some of or proofs, it will be convenient to se the following straightforward property abot the invariance of relative errors nder scaling by an integer power of the radix. Property 3.1. Let t R and e Z be sch that both t and tβ e lie in the normal range of F. Then E 1 (t) = E 1 (tβ e ) and, if t is not a midpoint, E 2 (t) = E 2 (tβ e ). Proof. If t is not a midpoint then its scaled conterpart tβ e cannot be a midpoint either, so fl(tβ e ) = fl(t)β e independent of the way the ronding fnction fl breaks ties. Hence the two claimed eqalities. Let s now show that the first eqality still holds if t is a midpoint. In this case, t fl(t) = fp(t) and, tβ e being also halfway between two consective floating-point nmbers, tβ e fl(tβ e ) = fp(tβ e ). Now, fp(tβ e ) = fp(t)β e, and we conclde that E 1 (tβ e ) = fp(t)/ t = E 1 (t). In case of midpoints, scaling invariance is lost for E 2 when the ronding fnction fl breaks ties according to the fp of sch midpoints. Fortnately, this does not occr for any of the IEEE rondings: their tie-breaking strategies being independent of fp(t), we always have fl(tβ e ) = fl(t)β e.

6 OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS Addition, sbtraction, and fsed mltiply-add. When t = x + y for some x, y in F, the bonds in (2.2) remain optimal, as they can be attained for (x, y) = (1, ) F 2. The same holds for sbtraction as well as for higher-level operations encompassing addition, like the fsed mltiply-add operation Mltiplication. When t = xy, the theorem below shows that the bonds in (2.2) remain optimal nless the base β and precision p are sch that β = 2 and 2 p + 1 is a Fermat prime. Theorem 3.2. Let β 2 be even, p 2, and x, y F be sch that xy lies in the normal range of F. We have the following, depending on the vale of the base β: If β = 2 then the bonds in (2.2) are optimal if and only if 2 p + 1 is not prime; frthermore, if D is a non-trivial divisor of 2 p + 1, then these bonds are attained for t = xy with ( ) (2 + 2)fp(D) D (x, y) =,. D fp(d) If β > 2 then the bonds in (2.2) are optimal, and attained for t = xy with (x, y) = (2 + 2, 2 1 ). Proof. Recalling Theorem 2.1, we see that for t = xy the optimality of the bonds in (2.2) is eqivalent to the existence of x, y F sch that xy = (1 + )fp(xy). When β > 2, taking x = and y = 2 1 gives xy = 1 + and fp(xy) = 1, from which xy = (1 + )fp(xy) follows. Frthermore, it is easily checked that sch vales of x and y are in F. (Note however that F when β = 2.) Let s now consider the case β = 2. With no loss of generality, we can assme 1 x, y < 2. This implies fp(xy) {1, 2} and, since x, y {1, 1 + 2, 1 + 4,...} and > 0, the prodct xy cannot be eqal to 1 +. Hence, optimality is eqivalent to the existence of x, y F [1, 2) sch that xy = 2 + 2, that is, eqivalent to the existence of integers X, Y sch that XY = (2 p + 1) 2 p 1 and 2 p 1 X, Y < 2 p. (3.1) If 2 p + 1 is prime, then either X or Y mst be larger than 2 p, so (3.1) has no soltion. If 2 p +1 is composite, one can constrct a soltion (X 0, Y 0 ) to (3.1) as follows. Let D denote a non-trivial divisor of 2 p + 1, and let X 0 = 2p +1 D fp(d) and Y 0 = D 2p 1 fp(d). Clearly, X 0 is an integer and the prodct X 0 Y 0 has the desired shape. Ths, it remains to check that Y 0 Z and that both X 0 and Y 0 are in the range [2 p 1, 2 p ). Since 2 p +1 is odd, D mst be odd too, which implies Hence fp(d) + 1 D < 2fp(D) and D < 2 p. (3.2) Conseqently, fp(d) 2 p 1, so that fp(d) divides 2 p 1 and Y 0 is an integer. Frthermore, (3.2) leads to 2 p 1 < 2p +1 2 < X 0 (2 p + 1)(1 1 D ) < 2p and 2 p 1 < Y 0 < 2 p, so that X 0 and Y 0 satisfy the range constraint in (3.1). Finally, mltiplying X 0 and Y 0 by 2 = 2 1 p gives x 0 = (2 + 2)fp(D)/D and y 0 = D/fp(D) in F [1, 2) and sch that x 0 y 0 = = (1 + )fp(x 0 y 0 ). For the so-called basic binary formats of the IEEE standard [5], we have p {24, 53, 113}. These are special cases of the following two sitations, where an explicit vale of a non-trivial divisor of 2 p + 1 can be obtained:

7 6 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP If β = 2 and p is odd (for example, p = 53 or p = 113), then 3 divides 2 p + 1 and ths (x, y) = ( 4+4 3, 3 2 ) is in F 2 and sch that xy = If β = 2 and p 0 mod 3 (for example, p = 24), then 2 p + 1 can be factored as (2 p/3 + 1)(2 2p/3 2 p/3 + 1), so that (x, y) = (2 2 1/ /3, 1 + 1/3 ) is in F 2 and satisfies xy = Crrently, the only known Fermat primes are 2 2l + 1 with l {0, 1, 2, 3, 4}, so that besides p {2, 4, 8, 16}, no precision is known for which the bonds are not sharp. However, for IEEE floating-point arithmetic, we can go beyond Theorem 3.2 by proving that optimality is garanteed for any precision p. Indeed, for all the binary formats other than the basic ones seen above, the IEEE standard assmes p has a special form, and the lemma below shows that in this case 2 p + 1 cannot be a Fermat prime. Lemma 3.3. Let j and k be two integers sch that j 4 and k = 32j, and let p = k d + 13 with d an integer nearest to 4 log 2 k. Then 2 p + 1 is not prime. Proof. If 2 p +1 is prime then p mst be an integer power of two, so that it sffices to check that the latter never occrs for or particlar vales of p. If j {4, 5, 6, 7} then p {113, 144, 175, 206}. Hence in this case p is not an integer power of two. Assme now that j 8. Writing d = 4m + i for integers m, i with 0 i 3, we have 4m + i log 2 k 4m + i If i 0, this implies 2 m+1/8 k 2 m+7/8 and then 2 m+1/8 4m + 10 p 2 m+7/8 4m Since the assmption j 8 implies k 2 8 and ths m 8, it follows that 2 m < p < 2 m+1. Conseqently, p cannot be an integer power of two when i 0. On the other hand, when i = 0, we see that p = 32j 4m + 13 mst be odd, and ths cannot be an integer power of two neither. Corollary 3.4. When t = xy, the bonds in (2.2) are optimal for all the floating-point formats of the IEEE standard Division. This section focses on the largest possible relative errors committed when ronding x/y with x, y in F. As the two theorems below show, the bonds in (2.2) can be refined frther in base 2, bt remain optimal for other bases. Theorem 3.5. Let β 2 be even, p 3, and x, y F be sch that x/y lies in the normal range of F. Then E 1 (x/y) 2 2 if β = 2,

8 and OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS 7 E 1 (x/y) 1 + if β > 2. The bond for β = 2 is attained at (x, y) = (1, 1 ) and, assming ties are ronded to even, the bond for β > 2 is attained at (x, y) = (2 + 2, 2). Proof. Consider first the case where β = 2. Writing t = x/y, we can assme that t > 0 with x, y > 0; applying Property 3.1, we can assme frther that 1 t < 2, and since E 1 (t) is zero for t = 1, we are left with handling t sch that 1 < t < 2. The lower bond on t implies x > y, which for x and y in F is eqivalent to x y + 2 fp(y). Hence, sing y (2 2)fp(y), t fp(y) y = 1 1. (3.3) Since 1/(1 ) is strictly larger than the midpoint 1 +, we dedce that fl(t) {1 + 2, 1 + 4,...}. (3.4) If fl(t) then t and, applying (2.1) together with fp(t) = 1, we obtain E 1 (t) 1+3 ; this bond is at most 22 as soon as 1 6, which holds for β = 2 and p 3. If fl(t) = then either fl(t) t 1 + 3, in which case E 1 (t) = t 1+3, or fl(t) > t, in which case (3.3) gives E 1(t) = 1+2 t This concldes the proof of the bond on E 1 (t) when β = 2. This bond is attained at x = 1 and y = 1, since we then have x, y F as well as x/y = 1/(1 ) and fl(x/y) = Consider now β > 2. In this case, the pper bond on E 1 (t) is the one already established for any real t in the normal range of F. To prove that this bond is attained when dividing x = by y = 2, it sffices to check that x, y F and that x/y = 1 +. Theorem 3.6. Let β 2 be even, p 3, and x, y F be sch that x/y lies in the normal range of F. Then and E 2 (x/y) if β = 2, E 2 (x/y) if β > 2. The bond for β = 2 is attained at (x, y) = (1, 1 ) and, assming ties are ronded to even, the bond for β > 2 is attained at (x, y) = (2 + 2, 2). Proof. The attainability of the two bonds can be shown in exactly the same way as for Theorem 3.5. Frthermore, when β > 2 the pper bond on E 2 is the general one already established earlier. The rest of the proof ths establishes the bond when β = 2. 2 We can assme x, y > 0 and let t = x/y. Since t is not a midpoint [7], we can apply Property 3.1 and proceed as in the proof of Theorem 3.5 to restrict to the sitation where 1 < t < 2, for which (3.3) and (3.4) are tre.

9 8 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP If fl(t) then, applying (2.1) together with fp(t) = 1, we obtain E 2 (t) 1+4. This bond at most as soon as 1 2 6, which holds for β = 2 and p 3. Assme now that fl(t) = If t fl(t) then E 2 (t) = 1 t, and we dedce from (3.3) that E 2 (t) 1 (1 )(1+2) = , as wanted. If t > fl(t) then 2 E 2 (t) = t (3.5) with < t < This pper bond on t, which we have sed to bond E 1 (t) in Theorem 3.5 is now not enogh to bond E 2 (t) as wanted. We can improve it as follows. The range of t implies y + 2 fp(y) < x < y + 6 fp(y) and, since x is in F, we dedce that x = y + 4 fp(y). On the other hand, the floating-point nmber y can be written y = (1 + 2k)fp(y), k {0, 1,..., 2 p 1 1} k 2p 1 Conseqently, t = 1 + and the condition t < is eqivalent to k > 3. Since k is an integer, the latter ineqality is eqivalent to k 2p Hence 2k and we arrive at the pper bond t = O( 3 ). (3.6) 2(1 ) (2+)(1+2) From (3.5) and (3.6) it follows that E 2 (t), which is less than 22 for β = 2 and p 3. This concldes the proof of the bond on E 2 (t) when β = Sqare root. Finally, we show how to refine frther the bonds (2.2) on E 1 (t) and E 2 (t) in the special case where t = x for some positive floating-point nmber x, thereby establishing the bonds in the last row of Table 1. Theorem 3.7. Let β 2 be even, p 2, and x F >0. Then E 1 ( x) , and this bond is attained for x = Proof. Defining t = x, we distingish between the following two cases: If t (1 + )fp(t) then t 2 = x (1 + 4)fp(t), so that t fp(t). This implies E 1 (t) ϕ with ϕ = 1+4, and it can be checked that ϕ when 1/2. If t < (1 + )fp(t) then fl(t) = fp(t) and de to the fact that t 2 is a floating-point nmber, t fp(t). Therefore, E 1 (t) = 1 fp(t)/t Frthermore, x = implies fl( x) = 1, and ths the bond is attained for this vale of x. Theorem 3.8. Let β 2 be even, p 2, and x F >0. Then E 2 ( x) , and this bond is attained for x = Proof. Writing t = x we have t > 0 and fl(t) fp(t) > 0 and we consider the following two sbcases:

10 OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS 9 If fl(t) = fp(t) then t is at most (1+)fp(t), which implies t fp(t) since t 2 = x is in F. Hence E 2 (t) = t/fl(t) If fl(t) > fp(t) then fl(t) (1 + 2)fp(t). On the other hand, t fl(t) fp(t), so that E 2 (t) 1+2 < for positive. Frthermore, x = implies fl( x) = 1, and ths the bond is attained for this vale of x. 4. Application examples. We now illstrate with a few examples the two main benefits of the refinements presented in the previos section: in some cases, more concise and slightly sharper bonds can be obtained and, in other ones, mch shorter proofs of existing bonds can be given. In both cases, the derivations are (relatively) straightforward and do not involve fp-based discssions Example 1: Small arithmetic expressions. Ronding error analyses as those done in [4] typically involve bonds on θ n, where θ n is an expression of the form θ n = n i=1 (1 + δ i) 1 with δ i a relative error term associated with a single floating-point operation. Using the classical bond δ i given by the first standard model, it is easily checked that for all n, n θ n (1 + ) n 1. (4.1) Note that only the pper bond has the form n + O( 2 ), that is, contains terms nonlinear in. From (4.1) it follows that θ n (1 + ) n 1 and, assming n < 1, this bond itself is sally bonded above by the classical fraction γ n = n/(1 n). By applying Theorem 2.1, we can replace δ i by δ i /(1 + ), which immediately leads to the refined enclosre n 1 + θ n ( ) n 1. (4.2) Althogh the pper bond in (4.2) still has O( 2 ) terms in general, it is bonded by n as long as n 3. Conseqently, by jst applying the refinement of the first standard model, we can replace γ n = n+o( 2 ) by n in every error analysis where θ n appears with n 3. This is the case when evalating small arithmetic expressions like the prodct x 1 x 2 x 3 x 4 (sing any parenthesization) or the sms ((x 1 + x 2 ) + x 3 ) + x 4 and ((x 1 +x 2 )+(x 3 +x 4 ))+((x 5 +x 6 )+(x 7 +x 8 )) (sing these specific parenthesizations); in each case the forward error bond classically involves γ 3, which we now replace by Example 2: Leading principal minors of a tridiagonal matrix. Consider the tridiagonal matrix d 1 e 1 c 2 d 2 e 2 A = F n n, en 1 and let µ 1, µ 2,..., µ n be the seqence of its n leading principal minors. Writing µ 1 = 0 and µ 0 = 1, those minors are ths defined by the linear recrrence c n d n µ k = d k µ k 1 c k e k 1 µ k 2, 1 k n.

11 10 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP Assming the (first) standard model of floating-point arithmetic and barring nderflow and overflow, Wilkinson shows in [11, 3] that the evalation of this recrrence prodces floating-point nmbers µ 1,..., µ n sch that µ k = d k (1 + ɛ k ) µ k 1 c k (1 + ɛ k)e k 1 (1 + ɛ k) µ k 2, where (1 ) 2 1 ɛ k (1 + ) 2 1 and (1 ) 3/2 1 ɛ k, ɛ k (1 + )3/2 1. In other words, the compted µ k are the leading principal minors of a nearby tridiagonal matrix A + A = [a ij (1 + δ ij )] that satisfies 2 < δ ii and 3 2 < δ ij O(2 ) if i j. (4.3) Notice that the terms 2 and O( 2 ) come exclsively from the pper bonds on ɛ k, ɛ k, ɛ k. By sing Theorem 2.1, which says δ /(1 + ) instead of jst δ, these pper bonds are straightforwardly improved to ɛ k ( )2 1 < 2 and ɛ k, ɛ k ( )3/2 1 < 3 2. Conseqently, Wilkinson s bonds in (4.3) can be replaced by the following more concise and slightly sharper ones: δ ii < 2 and δ ij < 3 2 if i j Example 3: Eclidean norm of an n-dimensional vector. Given x 1,..., x n in F, let the norm r = x x2 n be evalated in floating-point in the sal way: form the sqares fl(x 2 i ), sm them p in any order into ŝ, and retrn r = fl ( ŝ ). By applying the first standard model, all we can say is ŝ = ( n i=1 x2 i )(1 + θ) with (1 ) n 1 θ (1 + ) n 1, and r = ŝ (1 + δ) with δ. Conseqently, r = r(1 + ɛ), where ɛ = 1 + θ (1 + δ) 1 satisfies (1 ) n/2+1 1 ɛ (1 + ) n/ Althogh the lower bond has absolte vale at most (n/2 + 1) (see Lemma A.1), the pper bond is strictly larger than this, so the standard model gives only (n/2 + 1) ɛ (n/2 + 1) + O( 2 ). (4.4) To avoid the O( 2 ) term above, we can simply apply Lemma 2.1, which says δ /(1 + ), together with the improved bond for inner prodcts from [8], which says θ n. Indeed, from these two bonds we dedce that ɛ is pper bonded by 1 + n (1 + /(1 + )) 1, and the latter qantity is easily checked to be at most (n/2 + 1). Ths, recalling the lower bond in (4.4), we conclde that ɛ (n/2 + 1). (4.5) In particlar, evalating the hypotense x x2 2 in floating-point prodces a relative error of at most 2. Of corse, the bond in (4.5) also applies when scaling by integer powers of the base is introdced to avoid nderflow and overflow.

12 OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS Example 4: Cholesky factorization. We consider A F n n symmetric and its trianglarization in floating-point arithmetic sing the classical Cholesky algorithm. If the algorithm rns to completion, then by sing the two standard models the traditional ronding error analysis concldes that the compted factor R satisfies R T R = A + A with A γ n+1 R T R ; see for example [4, Theorem 10.3]. Here γ n+1 = (n+1) 1 (n+1) has the form (n+1)+o(2 ) and reqires n + 1 < 1. It was shown in [9] that both the qadratic term in and the restriction on n can be removed, reslting in the improved backward error bond A (n + 1) R T R. In the proof of [9, Theorem 4.4], one of the ingredients sed to sppress the O( 2 ) term is the following property: ( a F 0 and b = fl ( a )) b 2 a 2b 2. (4.6) In [9] it is shown that this property may not hold if only the (second) standard model is assmed, and that in this case all we can say is (2 + 2 )b 2 b 2 a 2b 2. Frthermore, a proof of (4.6) is given, which is abot 10 lines long and based on a fp-based case analysis. Instead, or refinement of the second standard model for sqare root provides a mch shorter argment: sing Theorem 3.8, we see that b(1 + δ) = a with δ ; hence b 2 a = (2 + δ)δ b 2 and the range of δ leads to (2 + δ)δ [ , 2 ] [ 2, 2], from which (4.6) follows immediately Example 5: Complex mltiplication with an FMA. Given a, b, c, d F, consider the complex prodct z = (a + ib)(c + id). Varios approximations ẑ = R + i Î to z can be obtained, depending on how R = ac bd and I = ad + bc are evalated in floating-point. It was shown in [1] that the conventional way, which ses 4 mltiplications and 2 additions, gives ẑ = z(1 + ɛ) with ɛ C sch that ɛ < 5, and that the constant 5 is, at least in base 2, best possible. Assme now that an FMA is available, so that we compte, say, R = fl(ac fl(bd)) and Î = fl(ad + fl(bc)). For this algorithm and its variants 1 it was shown in [6] that the bond 5 can be redced frther to 2, and that the latter is essentially optimal. The fact that 2 is an pper bond is established in [6, Theorem 3.1], whose proof is rather long. As we shall see, a mch more concise proof can be obtained by applying directly the refined version of the first standard model. 1 There are three other ways to insert the innermost ronding fl, all giving the same error as the one here.

13 12 CLAUDE-PIERRE JEANNEROD AND SIEGFRIED M. RUMP Denoting by δ 1,..., δ 4 the for ronding errors involved, we have R = (ac bd(1 + δ 1 ))(1 + δ 2 ) = R + Rδ 2 bdδ 1 (1 + δ 2 ) and, similarly, Î = I + Iδ 4 + bcδ 3 (1 + δ 4 ). Now let λ, µ R be sch that δ 2, δ 4 λ and δ 1 (1 + δ 2 ), δ 3 (1 + δ 4 ) µ. This implies R R λ R + µ bd and I Î λ I + µ bc, from which we dedce z ẑ 2 = (R R) 2 + (I Î)2 λ 2 z 2 + 2λµA + µ 2 B, (4.7) where A = R bd + I bc and B = (bd) 2 + (bc) 2. It trns ot that A, B z 2. (4.8) For B, this bond simply follows from the eqality z 2 = (ac) 2 +(bd) 2 +(ad) 2 +(bc) 2. For A, define π = abcd and notice that A = π (bd) 2 + π + (bc) 2 is eqal to either B or ±(2π + (bc) 2 (bd) 2 ); frthermore, in the latter case we have A 2 π + (bc) 2 (bd) 2 min { (ac) 2 + (bd) 2, (ad) 2 + (bc) 2} + max { (bc) 2, (bd) 2} z 2. Ths, combining (4.7) and (4.8), z ẑ (λ + µ) z. Since or refined model gives δ i /(1 + ) for all i, we can take λ = /(1 + ) and µ = /(1 + ) (1 + /(1 + )), which are both less than. Hence, barring nderflow and overflow and since z = 0 implies ẑ = 0, we conclde that ẑ = z(1 + ɛ), ɛ 2+32 (1+) 2 < 2. Note that 2+32 (1+) has the form O( 4 ) as 0. Ths, or approach not 2 only yields a mch shorter proof of the bond 2 of [6], bt it also improves slightly on that bond. Appendix A. A sefl ineqality. We give below a slight variant of the generalized Bernolli ineqality [2, p. 10, Exercise 18(d)]. A detailed proof is given for the sake of completeness. Lemma A.1. Let, x R be sch that 0 < 1 and x 1. Then (1 ) x 1 x. Proof. We show that for each, the difference f (x) := (1 ) x 1 + x is nonnegative over [1, + ). Since f (1) = 0, it sffices to check that f (x) 0 for all x 1. We have f (x) = ln(1 ) (1 ) x +, where ln(1 ) 0 and x (1 ) x is decreasing over [1, + ). Therefore, f is increasing over [1, + ), and all we need is f (1) 0 for all [0, 1). This is tre becase g() := f (1) = ln(1 ) (1 ) + satisfies g(0) = 0 and g () = ln(1 ) 0.

14 OPTIMAL RELATIVE ERROR BOUNDS AND APPLICATIONS 13 REFERENCES [1] R. P. Brent, C. Percival, and P. Zimmermann, Error bonds on complex floating-point mltiplication, Math. Comp., 76 (2007), pp [2] N. L. Carothers, Real analysis, Cambridge University Press, [3] T. J. Dekker, A floating-point techniqe for extending the available precision, Nmer. Math., 18 (1971), pp [4] N. J. Higham, Accracy and Stability of Nmerical Algorithms, SIAM, Philadelphia, second ed., [5] IEEE Compter Society, IEEE Standard for Floating-Point Arithmetic, IEEE Standard , Ag available at [6] C.-P. Jeannerod, P. Kornerp, N. Lovet, and J.-M. Mller, Error bonds on complex floating-point mltiplication with an FMA, Sept Sbmitted to Math. Comp. [7] C.-P. Jeannerod, N. Lovet, J.-M. Mller, and A. Panhalex, Midpoints and exact points of some algebraic fnctions in floating-point arithmetic, IEEE Trans. Compt., 60 (2011), pp [8] C.-P. Jeannerod and S. M. Rmp, Improved error bonds for inner prodcts in floating-point arithmetic, SIAM J. Matrix Anal. Appl., 34 (2013), pp [9] S. M. Rmp and C.-P. Jeannerod, Improved backward error bonds for LU and Cholesky factorizations, Jly Sbmitted to SIAM J. Matrix Anal. Appl. [10] S. M. Rmp, T. Ogita, and S. Oishi, Accrate floating-point smmation, Part I: Faithfl ronding, SIAM J. Sci. Compt., 31 (2008), pp [11] J. H. Wilkinson, Error analysis of floating-point comptation, Nmer. Math., 2 (1960), pp

On relative errors of floating-point operations: optimal bounds and applications

On relative errors of floating-point operations: optimal bounds and applications On relative errors of floating-point operations: optimal bonds and applications Clade-Pierre Jeannerod, Siegfried M. Rmp To cite this version: Clade-Pierre Jeannerod, Siegfried M. Rmp. On relative errors

More information

Constructive Root Bound for k-ary Rational Input Numbers

Constructive Root Bound for k-ary Rational Input Numbers Constrctive Root Bond for k-ary Rational Inpt Nmbers Sylvain Pion, Chee Yap To cite this version: Sylvain Pion, Chee Yap. Constrctive Root Bond for k-ary Rational Inpt Nmbers. 19th Annal ACM Symposim on

More information

Section 7.4: Integration of Rational Functions by Partial Fractions

Section 7.4: Integration of Rational Functions by Partial Fractions Section 7.4: Integration of Rational Fnctions by Partial Fractions This is abot as complicated as it gets. The Method of Partial Fractions Ecept for a few very special cases, crrently we have no way to

More information

Worst-case analysis of the LPT algorithm for single processor scheduling with time restrictions

Worst-case analysis of the LPT algorithm for single processor scheduling with time restrictions OR Spectrm 06 38:53 540 DOI 0.007/s009-06-043-5 REGULAR ARTICLE Worst-case analysis of the LPT algorithm for single processor schedling with time restrictions Oliver ran Fan Chng Ron Graham Received: Janary

More information

On the circuit complexity of the standard and the Karatsuba methods of multiplying integers

On the circuit complexity of the standard and the Karatsuba methods of multiplying integers On the circit complexity of the standard and the Karatsba methods of mltiplying integers arxiv:1602.02362v1 [cs.ds] 7 Feb 2016 Igor S. Sergeev The goal of the present paper is to obtain accrate estimates

More information

Vectors in Rn un. This definition of norm is an extension of the Pythagorean Theorem. Consider the vector u = (5, 8) in R 2

Vectors in Rn un. This definition of norm is an extension of the Pythagorean Theorem. Consider the vector u = (5, 8) in R 2 MATH 307 Vectors in Rn Dr. Neal, WKU Matrices of dimension 1 n can be thoght of as coordinates, or ectors, in n- dimensional space R n. We can perform special calclations on these ectors. In particlar,

More information

OPTIMUM EXPRESSION FOR COMPUTATION OF THE GRAVITY FIELD OF A POLYHEDRAL BODY WITH LINEARLY INCREASING DENSITY 1

OPTIMUM EXPRESSION FOR COMPUTATION OF THE GRAVITY FIELD OF A POLYHEDRAL BODY WITH LINEARLY INCREASING DENSITY 1 OPTIMUM EXPRESSION FOR COMPUTATION OF THE GRAVITY FIEL OF A POLYHERAL BOY WITH LINEARLY INCREASING ENSITY 1 V. POHÁNKA2 Abstract The formla for the comptation of the gravity field of a polyhedral body

More information

Classify by number of ports and examine the possible structures that result. Using only one-port elements, no more than two elements can be assembled.

Classify by number of ports and examine the possible structures that result. Using only one-port elements, no more than two elements can be assembled. Jnction elements in network models. Classify by nmber of ports and examine the possible strctres that reslt. Using only one-port elements, no more than two elements can be assembled. Combining two two-ports

More information

The Lehmer matrix and its recursive analogue

The Lehmer matrix and its recursive analogue The Lehmer matrix and its recrsive analoge Emrah Kilic, Pantelimon Stănică TOBB Economics and Technology University, Mathematics Department 0660 Sogtoz, Ankara, Trkey; ekilic@etedtr Naval Postgradate School,

More information

1 The space of linear transformations from R n to R m :

1 The space of linear transformations from R n to R m : Math 540 Spring 20 Notes #4 Higher deriaties, Taylor s theorem The space of linear transformations from R n to R m We hae discssed linear transformations mapping R n to R m We can add sch linear transformations

More information

4.2 First-Order Logic

4.2 First-Order Logic 64 First-Order Logic and Type Theory The problem can be seen in the two qestionable rles In the existential introdction, the term a has not yet been introdced into the derivation and its se can therefore

More information

The Classical Relative Error Bounds for Computing a2 + b 2 and c/ a 2 + b 2 in Binary Floating-Point Arithmetic are Asymptotically Optimal

The Classical Relative Error Bounds for Computing a2 + b 2 and c/ a 2 + b 2 in Binary Floating-Point Arithmetic are Asymptotically Optimal -1- The Classical Relative Error Bounds for Computing a2 + b 2 and c/ a 2 + b 2 in Binary Floating-Point Arithmetic are Asymptotically Optimal Claude-Pierre Jeannerod Jean-Michel Muller Antoine Plet Inria,

More information

The Brauer Manin obstruction

The Brauer Manin obstruction The Braer Manin obstrction Martin Bright 17 April 2008 1 Definitions Let X be a smooth, geometrically irredcible ariety oer a field k. Recall that the defining property of an Azmaya algebra A is that,

More information

B-469 Simplified Copositive and Lagrangian Relaxations for Linearly Constrained Quadratic Optimization Problems in Continuous and Binary Variables

B-469 Simplified Copositive and Lagrangian Relaxations for Linearly Constrained Quadratic Optimization Problems in Continuous and Binary Variables B-469 Simplified Copositive and Lagrangian Relaxations for Linearly Constrained Qadratic Optimization Problems in Continos and Binary Variables Naohiko Arima, Snyong Kim and Masakaz Kojima October 2012,

More information

Lecture Notes: Finite Element Analysis, J.E. Akin, Rice University

Lecture Notes: Finite Element Analysis, J.E. Akin, Rice University 9. TRUSS ANALYSIS... 1 9.1 PLANAR TRUSS... 1 9. SPACE TRUSS... 11 9.3 SUMMARY... 1 9.4 EXERCISES... 15 9. Trss analysis 9.1 Planar trss: The differential eqation for the eqilibrim of an elastic bar (above)

More information

Nonlinear parametric optimization using cylindrical algebraic decomposition

Nonlinear parametric optimization using cylindrical algebraic decomposition Proceedings of the 44th IEEE Conference on Decision and Control, and the Eropean Control Conference 2005 Seville, Spain, December 12-15, 2005 TC08.5 Nonlinear parametric optimization sing cylindrical algebraic

More information

A generalized Alon-Boppana bound and weak Ramanujan graphs

A generalized Alon-Boppana bound and weak Ramanujan graphs A generalized Alon-Boppana bond and weak Ramanjan graphs Fan Chng Department of Mathematics University of California, San Diego La Jolla, CA, U.S.A. fan@csd.ed Sbmitted: Feb 0, 206; Accepted: Jne 22, 206;

More information

When are Two Numerical Polynomials Relatively Prime?

When are Two Numerical Polynomials Relatively Prime? J Symbolic Comptation (1998) 26, 677 689 Article No sy980234 When are Two Nmerical Polynomials Relatively Prime? BERNHARD BECKERMANN AND GEORGE LABAHN Laboratoire d Analyse Nmériqe et d Optimisation, Université

More information

A generalized Alon-Boppana bound and weak Ramanujan graphs

A generalized Alon-Boppana bound and weak Ramanujan graphs A generalized Alon-Boppana bond and weak Ramanjan graphs Fan Chng Abstract A basic eigenvale bond de to Alon and Boppana holds only for reglar graphs. In this paper we give a generalized Alon-Boppana bond

More information

An Investigation into Estimating Type B Degrees of Freedom

An Investigation into Estimating Type B Degrees of Freedom An Investigation into Estimating Type B Degrees of H. Castrp President, Integrated Sciences Grop Jne, 00 Backgrond The degrees of freedom associated with an ncertainty estimate qantifies the amont of information

More information

Lecture Notes On THEORY OF COMPUTATION MODULE - 2 UNIT - 2

Lecture Notes On THEORY OF COMPUTATION MODULE - 2 UNIT - 2 BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA Lectre Notes On THEORY OF COMPUTATION MODULE - 2 UNIT - 2 Prepared by, Dr. Sbhend Kmar Rath, BPUT, Odisha. Tring Machine- Miscellany UNIT 2 TURING MACHINE

More information

The Cryptanalysis of a New Public-Key Cryptosystem based on Modular Knapsacks

The Cryptanalysis of a New Public-Key Cryptosystem based on Modular Knapsacks The Cryptanalysis of a New Pblic-Key Cryptosystem based on Modlar Knapsacks Yeow Meng Chee Antoine Jox National Compter Systems DMI-GRECC Center for Information Technology 45 re d Ulm 73 Science Park Drive,

More information

Gradient Projection Anti-windup Scheme on Constrained Planar LTI Systems. Justin Teo and Jonathan P. How

Gradient Projection Anti-windup Scheme on Constrained Planar LTI Systems. Justin Teo and Jonathan P. How 1 Gradient Projection Anti-windp Scheme on Constrained Planar LTI Systems Jstin Teo and Jonathan P. How Technical Report ACL1 1 Aerospace Controls Laboratory Department of Aeronatics and Astronatics Massachsetts

More information

Chapter 2 Difficulties associated with corners

Chapter 2 Difficulties associated with corners Chapter Difficlties associated with corners This chapter is aimed at resolving the problems revealed in Chapter, which are cased b corners and/or discontinos bondar conditions. The first section introdces

More information

Affine Invariant Total Variation Models

Affine Invariant Total Variation Models Affine Invariant Total Variation Models Helen Balinsky, Alexander Balinsky Media Technologies aboratory HP aboratories Bristol HP-7-94 Jne 6, 7* Total Variation, affine restoration, Sobolev ineqality,

More information

Decoder Error Probability of MRD Codes

Decoder Error Probability of MRD Codes Decoder Error Probability of MRD Codes Maximilien Gadolea Department of Electrical and Compter Engineering Lehigh University Bethlehem, PA 18015 USA E-mail: magc@lehighed Zhiyan Yan Department of Electrical

More information

Formules relatives aux probabilités qui dépendent de très grands nombers

Formules relatives aux probabilités qui dépendent de très grands nombers Formles relatives ax probabilités qi dépendent de très grands nombers M. Poisson Comptes rends II (836) pp. 603-63 In the most important applications of the theory of probabilities, the chances of events

More information

Cubic graphs have bounded slope parameter

Cubic graphs have bounded slope parameter Cbic graphs have bonded slope parameter B. Keszegh, J. Pach, D. Pálvölgyi, and G. Tóth Agst 25, 2009 Abstract We show that every finite connected graph G with maximm degree three and with at least one

More information

Decoder Error Probability of MRD Codes

Decoder Error Probability of MRD Codes Decoder Error Probability of MRD Codes Maximilien Gadolea Department of Electrical and Compter Engineering Lehigh University Bethlehem, PA 18015 USA E-mail: magc@lehigh.ed Zhiyan Yan Department of Electrical

More information

Fixed points for discrete logarithms

Fixed points for discrete logarithms Fixed points for discrete logarithms Mariana Levin 1, Carl Pomerance 2, and and K. Sondararajan 3 1 Gradate Grop in Science and Mathematics Edcation University of California Berkeley, CA 94720, USA levin@berkeley.ed

More information

Network Coding for Multiple Unicasts: An Approach based on Linear Optimization

Network Coding for Multiple Unicasts: An Approach based on Linear Optimization Network Coding for Mltiple Unicasts: An Approach based on Linear Optimization Danail Traskov, Niranjan Ratnakar, Desmond S. Ln, Ralf Koetter, and Mriel Médard Abstract In this paper we consider the application

More information

CRITERIA FOR TOEPLITZ OPERATORS ON THE SPHERE. Jingbo Xia

CRITERIA FOR TOEPLITZ OPERATORS ON THE SPHERE. Jingbo Xia CRITERIA FOR TOEPLITZ OPERATORS ON THE SPHERE Jingbo Xia Abstract. Let H 2 (S) be the Hardy space on the nit sphere S in C n. We show that a set of inner fnctions Λ is sfficient for the prpose of determining

More information

Move Blocking Strategies in Receding Horizon Control

Move Blocking Strategies in Receding Horizon Control Move Blocking Strategies in Receding Horizon Control Raphael Cagienard, Pascal Grieder, Eric C. Kerrigan and Manfred Morari Abstract In order to deal with the comptational brden of optimal control, it

More information

Control Systems

Control Systems 6.5 Control Systems Last Time: Introdction Motivation Corse Overview Project Math. Descriptions of Systems ~ Review Classification of Systems Linear Systems LTI Systems The notion of state and state variables

More information

Formally Verified Approximations of Definite Integrals

Formally Verified Approximations of Definite Integrals Formally Verified Approximations of Definite Integrals Assia Mahbobi, Gillame Melqiond, Thomas Sibt-Pinote To cite this version: Assia Mahbobi, Gillame Melqiond, Thomas Sibt-Pinote. Formally Verified Approximations

More information

Remarks on strongly convex stochastic processes

Remarks on strongly convex stochastic processes Aeqat. Math. 86 (01), 91 98 c The Athor(s) 01. This article is pblished with open access at Springerlink.com 0001-9054/1/010091-8 pblished online November 7, 01 DOI 10.1007/s00010-01-016-9 Aeqationes Mathematicae

More information

The Dual of the Maximum Likelihood Method

The Dual of the Maximum Likelihood Method Department of Agricltral and Resorce Economics University of California, Davis The Dal of the Maximm Likelihood Method by Qirino Paris Working Paper No. 12-002 2012 Copyright @ 2012 by Qirino Paris All

More information

FOUNTAIN codes [3], [4] provide an efficient solution

FOUNTAIN codes [3], [4] provide an efficient solution Inactivation Decoding of LT and Raptor Codes: Analysis and Code Design Francisco Lázaro, Stdent Member, IEEE, Gianligi Liva, Senior Member, IEEE, Gerhard Bach, Fellow, IEEE arxiv:176.5814v1 [cs.it 19 Jn

More information

On the tree cover number of a graph

On the tree cover number of a graph On the tree cover nmber of a graph Chassidy Bozeman Minerva Catral Brendan Cook Oscar E. González Carolyn Reinhart Abstract Given a graph G, the tree cover nmber of the graph, denoted T (G), is the minimm

More information

UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL

UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL 8th International DAAAM Baltic Conference "INDUSTRIAL ENGINEERING - 19-1 April 01, Tallinn, Estonia UNCERTAINTY FOCUSED STRENGTH ANALYSIS MODEL Põdra, P. & Laaneots, R. Abstract: Strength analysis is a

More information

Subcritical bifurcation to innitely many rotating waves. Arnd Scheel. Freie Universitat Berlin. Arnimallee Berlin, Germany

Subcritical bifurcation to innitely many rotating waves. Arnd Scheel. Freie Universitat Berlin. Arnimallee Berlin, Germany Sbcritical bifrcation to innitely many rotating waves Arnd Scheel Institt fr Mathematik I Freie Universitat Berlin Arnimallee 2-6 14195 Berlin, Germany 1 Abstract We consider the eqation 00 + 1 r 0 k2

More information

CONTENTS. INTRODUCTION MEQ curriculum objectives for vectors (8% of year). page 2 What is a vector? What is a scalar? page 3, 4

CONTENTS. INTRODUCTION MEQ curriculum objectives for vectors (8% of year). page 2 What is a vector? What is a scalar? page 3, 4 CONTENTS INTRODUCTION MEQ crriclm objectives for vectors (8% of year). page 2 What is a vector? What is a scalar? page 3, 4 VECTOR CONCEPTS FROM GEOMETRIC AND ALGEBRAIC PERSPECTIVES page 1 Representation

More information

A Note on Irreducible Polynomials and Identity Testing

A Note on Irreducible Polynomials and Identity Testing A Note on Irrecible Polynomials an Ientity Testing Chanan Saha Department of Compter Science an Engineering Inian Institte of Technology Kanpr Abstract We show that, given a finite fiel F q an an integer

More information

A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem

A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem A Note on Johnson, Minkoff and Phillips Algorithm for the Prize-Collecting Steiner Tree Problem Palo Feofiloff Cristina G. Fernandes Carlos E. Ferreira José Coelho de Pina September 04 Abstract The primal-dal

More information

Assignment Fall 2014

Assignment Fall 2014 Assignment 5.086 Fall 04 De: Wednesday, 0 December at 5 PM. Upload yor soltion to corse website as a zip file YOURNAME_ASSIGNMENT_5 which incldes the script for each qestion as well as all Matlab fnctions

More information

Introdction Finite elds play an increasingly important role in modern digital commnication systems. Typical areas of applications are cryptographic sc

Introdction Finite elds play an increasingly important role in modern digital commnication systems. Typical areas of applications are cryptographic sc A New Architectre for a Parallel Finite Field Mltiplier with Low Complexity Based on Composite Fields Christof Paar y IEEE Transactions on Compters, Jly 996, vol 45, no 7, pp 856-86 Abstract In this paper

More information

9. Tensor product and Hom

9. Tensor product and Hom 9. Tensor prodct and Hom Starting from two R-modles we can define two other R-modles, namely M R N and Hom R (M, N), that are very mch related. The defining properties of these modles are simple, bt those

More information

Characterizations of probability distributions via bivariate regression of record values

Characterizations of probability distributions via bivariate regression of record values Metrika (2008) 68:51 64 DOI 10.1007/s00184-007-0142-7 Characterizations of probability distribtions via bivariate regression of record vales George P. Yanev M. Ahsanllah M. I. Beg Received: 4 October 2006

More information

CHANNEL SELECTION WITH RAYLEIGH FADING: A MULTI-ARMED BANDIT FRAMEWORK. Wassim Jouini and Christophe Moy

CHANNEL SELECTION WITH RAYLEIGH FADING: A MULTI-ARMED BANDIT FRAMEWORK. Wassim Jouini and Christophe Moy CHANNEL SELECTION WITH RAYLEIGH FADING: A MULTI-ARMED BANDIT FRAMEWORK Wassim Joini and Christophe Moy SUPELEC, IETR, SCEE, Avene de la Bolaie, CS 47601, 5576 Cesson Sévigné, France. INSERM U96 - IFR140-

More information

Analysis of the average depth in a suffix tree under a Markov model

Analysis of the average depth in a suffix tree under a Markov model Analysis of the average depth in a sffix tree nder a Markov model Jlien Fayolle, Mark Daniel Ward To cite this version: Jlien Fayolle, Mark Daniel Ward. Analysis of the average depth in a sffix tree nder

More information

Sources of Non Stationarity in the Semivariogram

Sources of Non Stationarity in the Semivariogram Sorces of Non Stationarity in the Semivariogram Migel A. Cba and Oy Leangthong Traditional ncertainty characterization techniqes sch as Simple Kriging or Seqential Gassian Simlation rely on stationary

More information

4 Exact laminar boundary layer solutions

4 Exact laminar boundary layer solutions 4 Eact laminar bondary layer soltions 4.1 Bondary layer on a flat plate (Blasis 1908 In Sec. 3, we derived the bondary layer eqations for 2D incompressible flow of constant viscosity past a weakly crved

More information

Optimal Control of a Heterogeneous Two Server System with Consideration for Power and Performance

Optimal Control of a Heterogeneous Two Server System with Consideration for Power and Performance Optimal Control of a Heterogeneos Two Server System with Consideration for Power and Performance by Jiazheng Li A thesis presented to the University of Waterloo in flfilment of the thesis reqirement for

More information

The Linear Quadratic Regulator

The Linear Quadratic Regulator 10 The Linear Qadratic Reglator 10.1 Problem formlation This chapter concerns optimal control of dynamical systems. Most of this development concerns linear models with a particlarly simple notion of optimality.

More information

Sign-reductions, p-adic valuations, binomial coefficients modulo p k and triangular symmetries

Sign-reductions, p-adic valuations, binomial coefficients modulo p k and triangular symmetries Sign-redctions, p-adic valations, binomial coefficients modlo p k and trianglar symmetries Mihai Prnesc Abstract According to a classical reslt of E. Kmmer, the p-adic valation v p applied to a binomial

More information

Some extensions of Alon s Nullstellensatz

Some extensions of Alon s Nullstellensatz Some extensions of Alon s Nllstellensatz arxiv:1103.4768v2 [math.co] 15 Ag 2011 Géza Kós Compter and Atomation Research Institte, Hngarian Acad. Sci; Dept. of Analysis, Eötvös Loránd Univ., Bdapest kosgeza@szta.h

More information

Universal Scheme for Optimal Search and Stop

Universal Scheme for Optimal Search and Stop Universal Scheme for Optimal Search and Stop Sirin Nitinawarat Qalcomm Technologies, Inc. 5775 Morehose Drive San Diego, CA 92121, USA Email: sirin.nitinawarat@gmail.com Vengopal V. Veeravalli Coordinated

More information

Discontinuous Fluctuation Distribution for Time-Dependent Problems

Discontinuous Fluctuation Distribution for Time-Dependent Problems Discontinos Flctation Distribtion for Time-Dependent Problems Matthew Hbbard School of Compting, University of Leeds, Leeds, LS2 9JT, UK meh@comp.leeds.ac.k Introdction For some years now, the flctation

More information

A Single Species in One Spatial Dimension

A Single Species in One Spatial Dimension Lectre 6 A Single Species in One Spatial Dimension Reading: Material similar to that in this section of the corse appears in Sections 1. and 13.5 of James D. Mrray (), Mathematical Biology I: An introction,

More information

The Heat Equation and the Li-Yau Harnack Inequality

The Heat Equation and the Li-Yau Harnack Inequality The Heat Eqation and the Li-Ya Harnack Ineqality Blake Hartley VIGRE Research Paper Abstract In this paper, we develop the necessary mathematics for nderstanding the Li-Ya Harnack ineqality. We begin with

More information

L 1 -smoothing for the Ornstein-Uhlenbeck semigroup

L 1 -smoothing for the Ornstein-Uhlenbeck semigroup L -smoothing for the Ornstein-Uhlenbeck semigrop K. Ball, F. Barthe, W. Bednorz, K. Oleszkiewicz and P. Wolff September, 00 Abstract Given a probability density, we estimate the rate of decay of the measre

More information

On oriented arc-coloring of subcubic graphs

On oriented arc-coloring of subcubic graphs On oriented arc-coloring of sbcbic graphs Alexandre Pinlo Alexandre.Pinlo@labri.fr LaBRI, Université Bordeax I, 351, Cors de la Libération, 33405 Talence, France Janary 17, 2006 Abstract. A homomorphism

More information

Chem 4501 Introduction to Thermodynamics, 3 Credits Kinetics, and Statistical Mechanics. Fall Semester Homework Problem Set Number 10 Solutions

Chem 4501 Introduction to Thermodynamics, 3 Credits Kinetics, and Statistical Mechanics. Fall Semester Homework Problem Set Number 10 Solutions Chem 4501 Introdction to Thermodynamics, 3 Credits Kinetics, and Statistical Mechanics Fall Semester 2017 Homework Problem Set Nmber 10 Soltions 1. McQarrie and Simon, 10-4. Paraphrase: Apply Eler s theorem

More information

Conditions for Approaching the Origin without Intersecting the x-axis in the Liénard Plane

Conditions for Approaching the Origin without Intersecting the x-axis in the Liénard Plane Filomat 3:2 (27), 376 377 https://doi.org/.2298/fil7276a Pblished by Faclty of Sciences and Mathematics, University of Niš, Serbia Available at: http://www.pmf.ni.ac.rs/filomat Conditions for Approaching

More information

Setting The K Value And Polarization Mode Of The Delta Undulator

Setting The K Value And Polarization Mode Of The Delta Undulator LCLS-TN-4- Setting The Vale And Polarization Mode Of The Delta Undlator Zachary Wolf, Heinz-Dieter Nhn SLAC September 4, 04 Abstract This note provides the details for setting the longitdinal positions

More information

Execution time certification for gradient-based optimization in model predictive control

Execution time certification for gradient-based optimization in model predictive control Exection time certification for gradient-based optimization in model predictive control Giselsson, Ponts Pblished in: [Host pblication title missing] 2012 Link to pblication Citation for pblished version

More information

Scheduling parallel jobs to minimize the makespan

Scheduling parallel jobs to minimize the makespan J Sched (006) 9:433 45 DOI 10.1007/s10951-006-8497-6 Schedling parallel jobs to minimize the makespan Berit Johannes C Springer Science + Bsiness Media, LLC 006 Abstract We consider the NP-hard problem

More information

The Replenishment Policy for an Inventory System with a Fixed Ordering Cost and a Proportional Penalty Cost under Poisson Arrival Demands

The Replenishment Policy for an Inventory System with a Fixed Ordering Cost and a Proportional Penalty Cost under Poisson Arrival Demands Scientiae Mathematicae Japonicae Online, e-211, 161 167 161 The Replenishment Policy for an Inventory System with a Fixed Ordering Cost and a Proportional Penalty Cost nder Poisson Arrival Demands Hitoshi

More information

1. Tractable and Intractable Computational Problems So far in the course we have seen many problems that have polynomial-time solutions; that is, on

1. Tractable and Intractable Computational Problems So far in the course we have seen many problems that have polynomial-time solutions; that is, on . Tractable and Intractable Comptational Problems So far in the corse we have seen many problems that have polynomial-time soltions; that is, on a problem instance of size n, the rnning time T (n) = O(n

More information

Discussion of The Forward Search: Theory and Data Analysis by Anthony C. Atkinson, Marco Riani, and Andrea Ceroli

Discussion of The Forward Search: Theory and Data Analysis by Anthony C. Atkinson, Marco Riani, and Andrea Ceroli 1 Introdction Discssion of The Forward Search: Theory and Data Analysis by Anthony C. Atkinson, Marco Riani, and Andrea Ceroli Søren Johansen Department of Economics, University of Copenhagen and CREATES,

More information

Graphs and Their. Applications (6) K.M. Koh* F.M. Dong and E.G. Tay. 17 The Number of Spanning Trees

Graphs and Their. Applications (6) K.M. Koh* F.M. Dong and E.G. Tay. 17 The Number of Spanning Trees Graphs and Their Applications (6) by K.M. Koh* Department of Mathematics National University of Singapore, Singapore 1 ~ 7543 F.M. Dong and E.G. Tay Mathematics and Mathematics EdOOation National Institte

More information

Fault-tolerant control design with respect to actuator health degradation: An LMI approach

Fault-tolerant control design with respect to actuator health degradation: An LMI approach Falt-tolerant control design with respect to actator health degradation: An LMI approach Ahmed Khelassi, Didier Theilliol, Philippe Weber, Jean-Christophe Ponsart To cite this version: Ahmed Khelassi,

More information

Technical Note. ODiSI-B Sensor Strain Gage Factor Uncertainty

Technical Note. ODiSI-B Sensor Strain Gage Factor Uncertainty Technical Note EN-FY160 Revision November 30, 016 ODiSI-B Sensor Strain Gage Factor Uncertainty Abstract Lna has pdated or strain sensor calibration tool to spport NIST-traceable measrements, to compte

More information

Joint Transfer of Energy and Information in a Two-hop Relay Channel

Joint Transfer of Energy and Information in a Two-hop Relay Channel Joint Transfer of Energy and Information in a Two-hop Relay Channel Ali H. Abdollahi Bafghi, Mahtab Mirmohseni, and Mohammad Reza Aref Information Systems and Secrity Lab (ISSL Department of Electrical

More information

MEAN VALUE ESTIMATES OF z Ω(n) WHEN z 2.

MEAN VALUE ESTIMATES OF z Ω(n) WHEN z 2. MEAN VALUE ESTIMATES OF z Ωn WHEN z 2 KIM, SUNGJIN 1 Introdction Let n i m pei i be the prime factorization of n We denote Ωn by i m e i Then, for any fixed complex nmber z, we obtain a completely mltiplicative

More information

Elements of Coordinate System Transformations

Elements of Coordinate System Transformations B Elements of Coordinate System Transformations Coordinate system transformation is a powerfl tool for solving many geometrical and kinematic problems that pertain to the design of gear ctting tools and

More information

Restricted Three-Body Problem in Different Coordinate Systems

Restricted Three-Body Problem in Different Coordinate Systems Applied Mathematics 3 949-953 http://dx.doi.org/.436/am..394 Pblished Online September (http://www.scirp.org/jornal/am) Restricted Three-Body Problem in Different Coordinate Systems II-In Sidereal Spherical

More information

On Symmetric Norm Inequalities And Hermitian Block-Matrices

On Symmetric Norm Inequalities And Hermitian Block-Matrices On Symmetric Norm Inequalities And Hermitian lock-matrices Antoine Mhanna To cite this version: Antoine Mhanna On Symmetric Norm Inequalities And Hermitian lock-matrices 015 HAL Id: hal-0131860

More information

PhysicsAndMathsTutor.com

PhysicsAndMathsTutor.com C Integration - By sbstittion PhysicsAndMathsTtor.com. Using the sbstittion cos +, or otherwise, show that e cos + sin d e(e ) (Total marks). (a) Using the sbstittion cos, or otherwise, find the eact vale

More information

EXERCISES WAVE EQUATION. In Problems 1 and 2 solve the heat equation (1) subject to the given conditions. Assume a rod of length L.

EXERCISES WAVE EQUATION. In Problems 1 and 2 solve the heat equation (1) subject to the given conditions. Assume a rod of length L. .4 WAVE EQUATION 445 EXERCISES.3 In Problems and solve the heat eqation () sbject to the given conditions. Assme a rod of length.. (, t), (, t) (, ),, > >. (, t), (, t) (, ) ( ) 3. Find the temperatre

More information

Efficiency Increase and Input Power Decrease of Converted Prototype Pump Performance

Efficiency Increase and Input Power Decrease of Converted Prototype Pump Performance International Jornal of Flid Machinery and Systems DOI: http://dx.doi.org/10.593/ijfms.016.9.3.05 Vol. 9, No. 3, Jly-September 016 ISSN (Online): 188-9554 Original Paper Efficiency Increase and Inpt Power

More information

TIME ACCURATE FAST THREE-STEP WAVELET-GALERKIN METHOD FOR PARTIAL DIFFERENTIAL EQUATIONS

TIME ACCURATE FAST THREE-STEP WAVELET-GALERKIN METHOD FOR PARTIAL DIFFERENTIAL EQUATIONS International Jornal of Wavelets, Mltiresoltion and Information Processing Vol. 4, No. (26) 65 79 c World Scientific Pblishing Company TIME ACCURATE FAST THREE-STEP WAVELET-GALERKIN METHOD FOR PARTIAL

More information

Discussion Papers Department of Economics University of Copenhagen

Discussion Papers Department of Economics University of Copenhagen Discssion Papers Department of Economics University of Copenhagen No. 10-06 Discssion of The Forward Search: Theory and Data Analysis, by Anthony C. Atkinson, Marco Riani, and Andrea Ceroli Søren Johansen,

More information

A Characterization of the Domain of Beta-Divergence and Its Connection to Bregman Variational Model

A Characterization of the Domain of Beta-Divergence and Its Connection to Bregman Variational Model entropy Article A Characterization of the Domain of Beta-Divergence and Its Connection to Bregman Variational Model Hyenkyn Woo School of Liberal Arts, Korea University of Technology and Edcation, Cheonan

More information

arxiv: v2 [cs.ds] 17 Oct 2014

arxiv: v2 [cs.ds] 17 Oct 2014 On Uniform Capacitated k-median Beyond the Natral LP Relaxation Shi Li Toyota Technological Institte at Chicago shili@ttic.ed arxiv:1409.6739v2 [cs.ds] 17 Oct 2014 Abstract In this paper, we stdy the niform

More information

A Context free language associated with interval maps

A Context free language associated with interval maps A Context free language associated with interval maps M Archana, V Kannan To cite this version: M Archana, V Kannan. A Context free language associated with interval maps. Discrete Mathematics and Theoretical

More information

Lecture 3. (2) Last time: 3D space. The dot product. Dan Nichols January 30, 2018

Lecture 3. (2) Last time: 3D space. The dot product. Dan Nichols January 30, 2018 Lectre 3 The dot prodct Dan Nichols nichols@math.mass.ed MATH 33, Spring 018 Uniersity of Massachsetts Janary 30, 018 () Last time: 3D space Right-hand rle, the three coordinate planes 3D coordinate system:

More information

Pulses on a Struck String

Pulses on a Struck String 8.03 at ESG Spplemental Notes Plses on a Strck String These notes investigate specific eamples of transverse motion on a stretched string in cases where the string is at some time ndisplaced, bt with a

More information

Modelling by Differential Equations from Properties of Phenomenon to its Investigation

Modelling by Differential Equations from Properties of Phenomenon to its Investigation Modelling by Differential Eqations from Properties of Phenomenon to its Investigation V. Kleiza and O. Prvinis Kanas University of Technology, Lithania Abstract The Panevezys camps of Kanas University

More information

3.1 The Basic Two-Level Model - The Formulas

3.1 The Basic Two-Level Model - The Formulas CHAPTER 3 3 THE BASIC MULTILEVEL MODEL AND EXTENSIONS In the previos Chapter we introdced a nmber of models and we cleared ot the advantages of Mltilevel Models in the analysis of hierarchically nested

More information

A Regulator for Continuous Sedimentation in Ideal Clarifier-Thickener Units

A Regulator for Continuous Sedimentation in Ideal Clarifier-Thickener Units A Reglator for Continos Sedimentation in Ideal Clarifier-Thickener Units STEFAN DIEHL Centre for Mathematical Sciences, Lnd University, P.O. Box, SE- Lnd, Sweden e-mail: diehl@maths.lth.se) Abstract. The

More information

Downloaded 07/06/18 to Redistribution subject to SIAM license or copyright; see

Downloaded 07/06/18 to Redistribution subject to SIAM license or copyright; see SIAM J. SCI. COMPUT. Vol. 4, No., pp. A4 A7 c 8 Society for Indstrial and Applied Mathematics Downloaded 7/6/8 to 8.83.63.. Redistribtion sbject to SIAM license or copyright; see http://www.siam.org/jornals/ojsa.php

More information

Graph-Modeled Data Clustering: Fixed-Parameter Algorithms for Clique Generation

Graph-Modeled Data Clustering: Fixed-Parameter Algorithms for Clique Generation Graph-Modeled Data Clstering: Fied-Parameter Algorithms for Cliqe Generation Jens Gramm Jiong Go Falk Hüffner Rolf Niedermeier Wilhelm-Schickard-Institt für Informatik, Universität Tübingen, Sand 13, D-72076

More information

Chapter 5 Computational Methods for Mixed Models

Chapter 5 Computational Methods for Mixed Models Chapter 5 Comptational Methods for Mixed Models In this chapter we describe some of the details of the comptational methods for fitting linear mixed models, as implemented in the lme4 package, and the

More information

MAXIMUM AND ANTI-MAXIMUM PRINCIPLES FOR THE P-LAPLACIAN WITH A NONLINEAR BOUNDARY CONDITION. 1. Introduction. ν = λ u p 2 u.

MAXIMUM AND ANTI-MAXIMUM PRINCIPLES FOR THE P-LAPLACIAN WITH A NONLINEAR BOUNDARY CONDITION. 1. Introduction. ν = λ u p 2 u. 2005-Ojda International Conference on Nonlinear Analysis. Electronic Jornal of Differential Eqations, Conference 14, 2006, pp. 95 107. ISSN: 1072-6691. URL: http://ejde.math.txstate.ed or http://ejde.math.nt.ed

More information

Math 116 First Midterm October 14, 2009

Math 116 First Midterm October 14, 2009 Math 116 First Midterm October 14, 9 Name: EXAM SOLUTIONS Instrctor: Section: 1. Do not open this exam ntil yo are told to do so.. This exam has 1 pages inclding this cover. There are 9 problems. Note

More information

A new simple recursive algorithm for finding prime numbers using Rosser s theorem

A new simple recursive algorithm for finding prime numbers using Rosser s theorem A new simple recursive algorithm for finding prime numbers using Rosser s theorem Rédoane Daoudi To cite this version: Rédoane Daoudi. A new simple recursive algorithm for finding prime numbers using Rosser

More information

Department of Industrial Engineering Statistical Quality Control presented by Dr. Eng. Abed Schokry

Department of Industrial Engineering Statistical Quality Control presented by Dr. Eng. Abed Schokry Department of Indstrial Engineering Statistical Qality Control presented by Dr. Eng. Abed Schokry Department of Indstrial Engineering Statistical Qality Control C and U Chart presented by Dr. Eng. Abed

More information

We automate the bivariate change-of-variables technique for bivariate continuous random variables with

We automate the bivariate change-of-variables technique for bivariate continuous random variables with INFORMS Jornal on Compting Vol. 4, No., Winter 0, pp. 9 ISSN 09-9856 (print) ISSN 56-558 (online) http://dx.doi.org/0.87/ijoc.046 0 INFORMS Atomating Biariate Transformations Jeff X. Yang, John H. Drew,

More information

APPENDIX B MATRIX NOTATION. The Definition of Matrix Notation is the Definition of Matrix Multiplication B.1 INTRODUCTION

APPENDIX B MATRIX NOTATION. The Definition of Matrix Notation is the Definition of Matrix Multiplication B.1 INTRODUCTION APPENDIX B MAIX NOAION he Deinition o Matrix Notation is the Deinition o Matrix Mltiplication B. INODUCION { XE "Matrix Mltiplication" }{ XE "Matrix Notation" }he se o matrix notations is not necessary

More information