arxiv:cs.na/ v2 14 Oct 2003

Size: px
Start display at page:

Download "arxiv:cs.na/ v2 14 Oct 2003"

Transcription

1 arxiv:cs.na/0300 v 4 Oct 003 Smoothed Analysis of the Condition Numbers and Growth Factors of Matrices Arvind Sankar Department of Mathematics Massachusetts Institute of Technology Shang-Hua Teng Department of Computer Science Boston University and Akamai Technologies Inc. October 4, 003 Abstract Daniel A. Spielman Department of Mathematics Massachusetts Institute of Technology Let A be any matrix and let A be a slight random perturbation of A. We prove that it is unlikely that A has large condition number. Using this result, we prove it is unlikely that A has large growth factor under Gaussian elimination without pivoting. By combining these results, we bound the smoothed precision needed by Gaussian elimination without pivoting. Our results improve the average-case analysis of Gaussian elimination without pivoting performed by Yeung and Chan (SIAM J. Matrix Anal. Appl., 997). Partially supported by NSF grant CCR-0487 Partially supported by an Alfred P. Sloan Foundation Fellowship, and NSF grant CCR-0487 Partially supported by an Alfred P. Sloan Foundation Fellowship, and NSF grant CCR

2 Introduction Spielman and Teng [ST0], introduced the smoothed analysis of algorithms as a means of explaining the success of algorithms and heuristics that could not be well understood through traditional worst-case and average-case analyses. Smoothed analysis is a hybrid of worst-case and average-case analyses in which one measures the maximum over inputs of the expected value of a function on slight random perturbations of that input. For example, the smoothed complexity of an algorithm is the maximum over its inputs of the expected running time of the algorithm under slight perturbations of that input. If an algorithm has low smoothed complexity and its inputs are subject to noise, then it is unlikely that one will encounter an input on which the algorithm performs poorly. (See also the Smoothed Analysis Homepage [Smo]) Smoothed analysis is motivated by the existence of algorithms and heuristics that are known to work well in practice, but which are known to have poor worst-case performance. Average-case analysis was introduced in an attempt to explain the success of such heuristics. However, averagecase analyses are often unsatisfying as the random inputs they consider may bare little resemblance to the inputs actually encountered in practice. Smoothed analysis attempts to overcome this objection by proving a bound that holds in every neighborhood of inputs. In this paper, we prove that perturbations of arbitrary matrices are unlikely to have large condition numbers or large growth factors under Gaussian Elimination without pivoting. As a consequence, we conclude that the smoothed precision necessary for Gaussian elimination is logarithmic. We obtain similar results for perturbations that affect only the non-zero and diagonal entries of symmetric matrices. We hope that these results will be a first step toward a smoothed analysis of Gaussian elimination with partial pivoting an algorithm that is widely used in practice but known to have poor worst-case performance. In the rest of this section, we recall the definitions of the condition numbers and growth factors of matrices, review prior work on their average-case analysis, and formally state our results. In Section 3, we perform a smoothed analysis of the condition number of a matrix. In Section 4, we use the results of Section 3 to obtain a smoothed analysis of the growth factors of Gaussian elimination without pivoting. In Section 5, we combine these results to obtain a smoothed bound on the precision needed by Gaussian elimination without pivoting. Definitions of zero-preserving perturbations and our results on perturbations that only affect the non-zero and diagonal entries of symmetric matrices appear in Section 6. In the conclusions, we mention how our results may be extended to larger families of perturbations, present some counter-examples, and suggest future directions for research. Other conjectures and open questions appear in the body of the paper.. Condition numbers and growth factors For a square matrix A, the condition number of A is defined by κ(a) = A A,

3 where we recall A = Ñ Ü x = Ax. The condition number measures how much the solution to a system Ax = b changes as one makes slight changes to A and b. A consequence is that if ones solves the linear system using fewer than ÐÓ (κ(a)) bits of precision, one is likely to obtain a result far from a solution. The simplest and most implemented method of solving linear systems is Gaussian elimination. Natural implementations of Gaussian elimination use O ( n 3) arithmetic operations to solve a system of n linear equations in n variables. If the coefficients of these equations are specified using b bits, in the worst case it suffices to perform the elimination using O(bn) bits of precision [GLS9]. This high precision may be necessary because the elimination may produce large intermediate entries. However, in practice one usually obtains accurate answers using much less precision. We show O(b + ÐÓ n) digits of precision usually suffice. In fact, it is rare to find an implementation of Gaussian elimination that uses anything more than double precision, and high-precision solvers are rarely used or needed in practice [TB97, TS90] (for example, LAPACK uses 64 bits [ABB + 99]). Since Wilkinson s seminal work [Wil6], it has been understood that it suffices to carry out Gaussian elimination with b + ÐÓ (5nκ(A) L U / A + 3) bits of accuracy to obtain a solution that is accurate to b bits. In this formula, L and U are the LU-decomposition of A; that is, U is the upper-triangular matrix and L is the lower-triangular matrix with s on the diagonal for which A = LU.. Prior work The average-case behaviors of the condition numbers and growth factors of matrices have been studied both analytically and experimentally. In his paper, The probability that a numerical analysis problem is difficult, Demmel [Dem88] proved that it is unlikely that a Gaussian random matrix centered at the origin has large condition number. Demmel s bounds on the condition number were improved by Edelman [Ede88]. Average-case analysis of growth factors began with the experimental work of Trefethen and Schreiber [TS90], who found that Gaussian random matrices rarely have large growth factors under partial or full pivoting. Yeung and Chan [YC97] studied the growth factors of Gaussian elimination without pivoting. They define ρ U and ρ L by ρ U (A) = U / A, and ρ L (A) = L, where LU = A is the LU-factorization of A obtained without pivoting. They prove Theorem. (Yeung-Chan). Ì Ö Ü Ø ÓÒ Ø ÒØ c > 0 Ò 0 < b < Ù Ø Ø G Ò n n Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò Ò Ñ Ò 0 Ò LU = G

4 Ø Ä͹ ØÓÖ Þ Ø ÓÒ Ó G Ø Ò [ρ L (G) > x] [ρ U (G) > x] cn3 x, Ò ( Ñ Ò cn 7/ x, n ) + cn5/ x + b n. As it is generally believed that partial pivoting is better than no pivoting, their result provides some intuition for the experimental results of Trefethen and Schreiber demonstrating that random matrices rarely have large growth factors under partial pivoting. However, we note that it is difficult to make this intuition rigorous as there are matrices A for which no pivoting has L Ñ Ü U Ñ Ü / A Ñ Ü = while partial pivoting has growth factor n. (See also [Hig90]) The running times of many numerical algorithms depend on the condition numbers of their inputs. For example, the number of iterations taken by the method of conjugate gradients is the square root of the condition number. Similarly, the running times of interior-points methods can be bounded in terms of condition numbers [Ren95]. Blum [Blu89] suggested that a complexity theory of numerical algorithms should be parameterized by the condition number of an input in addition to the input size. Smale [Sma97] proposed a complexity theory of numerical algorithms in which one:. proves a bound on the running time of an algorithm solving a problem in terms of its condition number, and then. proves that it is unlikely that a random problem instance has large condition number. This program is analogous to the average-case complexity of Theoretical Computer Science..3 Our results To better model the inputs that occur in practice, we propose replacing step of Smale s program with. prove that for every input instance it is unlikely that a slight random perturbation of that instance has large condition number. That is, we propose to bound the smoothed value of the condition number. Our first result in this program is presented in Section 3, where we improve upon Demmel s [Dem88] and Edelman s [Ede88] results to show that a slight Gaussian perturbation of an arbitrary matrix is unlikely to have large condition number. In particular, we let A be an arbitrary n n matrix of norm at most n and we bound the probability that κ( A + G) is large, where G is a matrix of independent Gaussian random variables of variance σ and mean 0. We bound this probability in terms of σ and n. In contrast with the average-case analysis of Demmel and Edelman, our analysis can 3

5 be interpreted as demonstrating that if there is a little bit of imprecision or noise in the entries of a matrix, then it is unlikely it is ill-conditioned. On the other hand, Edelman [Ede9] writes of random matrices: What is a mistake is to psychologically link a random matrix with the intuitive notion of a typical matrix or the vague concept of any old matrix. ½ The reader might also be interested in recent work on the smoothed analysis of the condition numbers of linear programs [BD0, DST0]. In Section 4, we use results from Section 3 to perform a smoothed analysis of the growth factors of Gaussian elimination without pivoting. If one specializes our results to perturbations of the zero matrix, then one obtains a bound ρ U that improves the bound obtained by Yeung and Chan by a factor of n and which agrees with their experimental observations. The result obtained for ρ L is comparable to that obtained by Yeung and Chan. However, while Yeung and Chan compute the density functions of the distribution of the elements in L and U, such precise estimates are not immediately available in our model. As a result, the techniques we develop are applicable to a wide variety of models of perturbations beyond the Gaussian. For example, one could use our techniques to obtain results of a similar nature if G were a matrix of random variables chosen uniformly in [,]. We comment further upon this in the conclusions section of the paper. The less effect a perturbation has, the more meaningful the results of smoothed analysis are. As many matrices encountered in practice are sparse or have structure, it would be best to consider perturbations that respect their sparsity pattern or structure. Our first result in this direction appears in Section 6, in which we consider the condition numbers and growth factors of perturbations of symmetric matrices that only alter their non-zero and diagonal elements. We prove results similar to those proved for dense perturbations of arbitrary matrices. Notation Definition.. ÓÖ Ñ ØÖ Ü A Û Ö ÐÐ Ø Ø A Ñ Ü = Ñ Ü A i,j, i,j A = A = Ñ Ü x Ax / x, A = Ñ Ü x Ax / x For a collection of vectors a,...,a k, we let Span(a,...,a k ) denote the vector space spanned by these vectors. For integers a b, we let a : b denote the set of integers {x: a x b}. For a matrix A we let A a:b,c:d denote the submatrix of A indexed by rows in a : b and columns in c : d. In Section 4, we will use the following properties of matrix norms and vector norms. ½ We thank Alan Edelman for suggesting the name smoothed analysis. 4

6 Proposition. (vector norms). ÓÖ ÒÝ Ú ØÓÖ a Ò R n a / n a a º Proposition.3 ( A ). Û Ö a,...,a n Ö Ø ÖÓÛ Ó Aº A = Ñ Ü a i, i 3 Smoothed analysis of the condition number of a matrix In his paper, The probability that a numerical analysis problem is difficult, Demmel [Dem88] proved that it is unlikely that a Gaussian random matrix centered at the origin has large condition number. Demmel s bounds on the condition number were improved by Edelman [Ede88]. In this section, we present the smoothed analogue of this bound. That is, we show that for every matrix it is unlikely that a slight perturbation of that matrix has large condition number. For more information on the condition number of a matrix, we refer the reader to one of [GL83, TB97, Dem97]. As bounds on the norm of a random matrix are standard, we focus on the norm of the inverse. Recall that / A = Ñ Ò x Ax / x. The first step in the proof is to bound the probability that A v is small for a fixed unit vector v. This result is also used later (in Section 4.) in studying the growth factor. Using this result and an averaging argument, we then bound the probability that A is large. Lemma 3. (Projection of A ). Ä Ø A Ò Ö ØÖ ÖÝ ÕÙ Ö Ñ ØÖ Ü Ò R n n Ò A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ä Ø v Ò Ö ØÖ ÖÝ ÙÒ Ø Ú ØÓÖº Ì Ò ] A [ v > x < π xσ Proof. First observe that by multiplying A by an orthogonal matrix, we may assume that v = e. In this case, A v = (A, ) :, the length of the first column of A. The first column of A, by the definition of the matrix inverse, is a vector orthogonal to A :n,:, i.e., every row but the first. Also, it has inner product with the first row. Hence its length is the reciprocal of the length of the projection of the first row onto the subspace orthogonal to the rest of the rows. This projection is a -dimensional Gaussian random variable of variance σ, and the probability that it is smaller than /x in absolute value is at most /x σ e t /σ dt π π xσ, which completes the proof. /x 5

7 Theorem 3. (Smallest singular value). Ä Ø A Ò Ö ØÖ ÖÝ ÕÙ Ö Ñ ØÖ Ü Ò R n n Ò A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò [ ] A n x.35 xσ Proof. We apply Lemma 3. to a uniformly distributed random unit vector v and obtain [ ] A v x A,v π xσ Now let u be the unit vector such that A u = A (this is unique with probability ). From the inequality A v A u,v, we have that for any c > 0, So, A A,v [ ] A x [ A v x ] c n [ A x A,v [ ] A x = A ] c and u v n [ ] c u v. A,v n [ A,v A v x c [ n] A,v u v c ] n n π xσ [ c A,v u v c ] (by (3.)) n n π xσ [ ], (by Lemma B.) c g g c where g is a standard normal variable. Choosing c = 0.57, and evaluating the error function numerically, we get [ ] A n x.35 A xσ. (3.) Theorem 3.3 (Condition number). Ä Ø A Ò n n Ñ ØÖ Ü Ø Ý Ò A n Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò ( 9.4n + ) ÐÓ (x)/n [κ(a) x]. xσ 6

8 Proof. As observed by Davidson and Szarek [DS0, Theorem II.7], one can apply inequality (.4) of [LT9] to show that for all k 0, [ A A n + k ] e k /. We rephrase this bound as [ A A n + ] ÐÓ (/ǫ) ǫ, for all ǫ. By assumption, A n; so, [ A n + ] ÐÓ (/ǫ) ǫ. From the result of Theorem 3., we have [ A.35 ] n ǫ. ǫσ Combining these two bounds, we find [ A A 4.7n +.35 ] n ÐÓ (/ǫ) ǫ. ǫσ We would like to express this probability in the form of [ A ] A x, for x. By substituting x = 4.7n +.35 n ÐÓ (/ǫ), ǫσ we observe that for ǫ = which holds here, since σ. Therefore, we conclude ( 4.7n +.35 ) n ÐÓ (/ǫ) xσ [ ] A A x ( 9.4n + ) ÐÓ (x)/n σ ( 9.4n + ) ÐÓ (x)/n xσ ( 9.4n + ) ÐÓ (x)/n xσ. 7

9 We also conjecture that the + ÐÓ (x)/n term should be unnecessary because those matrices for which A is large are less likely to have A large as well. Conjecture. Ä Ø A n n Ñ ØÖ Ü Ø Ý Ò A Ñ Ü Ò Ð Ø A Ñ ØÖ Ü Ó Ò ¹ Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò [κ(a) x] O(n/xσ). 4 Growth Factor of Gaussian Elimination without Pivoting We now turn to proving a bound on the growth factor. With probability, none of the diagonal entries that occur during elimination will be 0. So, in the spirit of Yeung and Chan, we analyze the growth factor of Gaussian elimination without pivoting. When we specialize our smoothed analyses to the case A = 0, we improve the bounds of Yeung and Chan by a factor of n. Our improved bound on ρ U agrees with their experimental analyses. 4. Growth in U We recall that ρ U (A) = U U i,: = Ñ Ü, A i A and so we need to bound the l -norm of each row of U. We denote the upper triangular segment of the kth row of U by u = U k,k:n, and observe that u can be obtained from the formula: where u = a T b T C D (4.) a T = A k,k:n b T = A k,:k C = A :k,:k D = A :k,k:n. This expression for u follows immediately from ( ) ( ) ( ) C D L:k,:k 0 U:k,:k U A :k,: = = :k,k:n L k,:k 0 u b T a T In this section, we give two bounds on ρ U (A). The first will have a better dependence on σ, and second will have a better dependence on n. It is the later bound, Theorem 4.3, that agrees with the experiments of Yeung and Chan [YC97] when specialized to the average-case. 8

10 4.. First bound Theorem 4. (First bound on ρ U (A)). Ä Ø A Ò n n Ñ ØÖ Ü Ø Ý Ò A Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò [ρ U (A) > + x] n(n + ). π xσ Proof. From (4.), u = a T b T C D a T + b T C D a T + b T C D (as D = D T ) A ( + b T C ) (4.) We now bound the probability b T C is large. By Proposition., b T C k b T C. Therefore, [ [ b T C b > x] T C > x/ k (k )σ k ] + k b,c b,c π xσ π xσ, where the second inequality follows from Lemma 4. below and the last inequality follows from the assumption σ. We now apply a union bound over the n rows of U to obtain n k [ρ U (A) > + x] π xσ n(n + ). π xσ k= Lemma 4.. Ä Ø C Ò Ö ØÖ ÖÝ ÕÙ Ö Ñ ØÖ Ü Ò R d d Ò C Ö Ò ÓÑ Ñ ØÖ Ü Ó Ò Ô Ò¹ ÒØ Ù Ò Ú Ö Ð Ó Ú Ö Ò σ ÒØ Ö Ø Cº Ä Ø b Ú ØÓÖ Ò R d Ù Ø Ø b Ò Ð Ø b Ö Ò ÓÑ Ù Ò Ú ØÓÖ Ó Ú Ö Ò σ ÒØ Ö Ø bº Ì Ò [ b T C x] b,c π σ d + Proof. Let ^b be the unit vector in the direction of b. By applying Lemma 3., we obtain for all b, [ [ b T C > x] = ^b T C > x ] C C b π xσ b. xσ 9

11 Therefore, we have [ [ [ ] b T C > x] ] b = b T C > x b,c C π xσ b[ b ]. ] It is known [KJ8, p. 77] that b [ b σ d+ b. As [X] [X ] for every positive random variable X, we have b [ b ] σ d + b σ d Second Bound for ρ U (A) In this section, we establish an upper bound on ρ U (A) which dominates the bound in Theorem 4. for σ n 3/. If we specialize the parameters in this bound to A = 0 and σ =, we improve the average-case bound proved by Yeung and Chan [YC97] by a factor of n. Moreover, the resulting bound agrees with their experimental results. Theorem 4.3 (Second bound on ρ U (A)). Ä Ø A Ò n n Ñ ØÖ Ü Ø Ý Ò A Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º ÓÖ n [ρ U (A) > + x] π x ( 3 n3/ + n σ ) n σ Proof. We will first consider the case k n. By (4.) and Proposition., we have u a + b T C D a + k b T C D. Therefore, for all k n, u a + k b T C D A A + k b T C D A + k b T C D A n,:. We now observe that for fixed b and C, (b T C )D is a Gaussian random vector of variance b T C σ centered at (b T C ) D, where D is the center of D. We have D A, by the assumptions of the theorem; so, b T C D b T C D b T C. 0

12 Thus, if we let t = (b T C D)/ b T C, then for any fixed b and C, t is a Gaussian random vector of variance σ centered at a point of norm at most. We also have [ ] [ b T C D b x T C t x]. b,c,d It follows from Lemma 4. that [ b T C x] b,c Hence, we may apply Corollary C.5 to show [ b T C t x] b,c,t = b,c,t σ (k ) + π xσ σ (k ) + σ (n k + ) + π xσ Note that A n,: is a Gaussian random vector in R n of variance σ. As A n,: is independent of b, C and D, we can again apply Lemma C.4 to show k b [ T C D ] k σ x (k ) + σ [ ] (n k + ) + A n,: π xσ A n,: ) k ( + nσ π xσ nσ, by Lemma A.4. From the proof of Theorem 4., we have that for k = n n [ u / A > + x] π xσ. (4.3) Applying a union bound over the choices for k, we obtain [ρ U (A) > + x] = n ) k ( + nσ π xσ nσ + n π xσ k= ( n + n ) σ n + π 3 x π xσ ( π x 3 n3/ + n σ + 4 ) n 3 σ

13 4. Growth in L Let L be the lower-triangular part of the LU-factorization of A. We have L (k+):n,k = A (k ) (k+):n,k /A(k ) k,k, where we let A (k) denote the matrix remaining after the first k columns have been eliminated. We will show that it is unlikely that L (k+):n,k is large by proving that it is unlikely that is large while A (k ) is small. A (k ) (k+):n,k k,k Theorem 4.4 (ρ L (A)). Ä Ø A Ò n¹ ݹn Ñ ØÖ Ü ÓÖ Û A Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò ( n [ρ L (A) > x] π x σ + ) ÐÓ n + π ÐÓ n Proof. We have L (k+):n,k = A(k ) (k+):n,k A (k ) k,k = A (k+):n,k A (k+):n,:(k ) A :(k ),:(k ) A :(k ),k A k,k A k,:(k ) A :(k ),:(k ) A :(k ),k = A (k+):n,k A (k+):n,:(k ) v A k,k A k,:(k ) v, where we let v = A :(k ),:(k ) A :(k ),k. Since A, and all the terms A(k+):n,k, A (k+):n,:(k ), A k,k, A k,:(k ) and v are independent, we can apply Lemma 4.5 to show that ] [ L (k+):n,k > x π x ( σ + ÐÓ n + ) π ÐÓ n The theorem now follows by applying a union bound over the n choices for k and observing that L is at most n times the largest entry in L. Lemma 4.5 (Vector Ratio). Ä Ø a Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Û Ø Ñ Ò a Ó ÓÐÙØ Ú ÐÙ Ø ÑÓ Ø b Ù Ò Ö Ò ÓÑ d¹ú ØÓÖ Ó Ú Ö Ò σ ÒØ Ö Ø ÔÓ ÒØ b Ó ÒÓÖÑ Ø ÑÓ Ø x Ù Ò Ö Ò ÓÑ n¹ú ØÓÖ Ó Ú Ö Ò σ ÒØ Ö Ø ÔÓ ÒØ Ó ÒÓÖÑ Ø ÑÓ Ø

14 Y Ù Ò Ö Ò ÓÑ n¹ ݹd Ñ ØÖ Ü Ó Ú Ö Ò σ ÒØ Ö Ø Ñ ØÖ Ü Ó ÒÓÖÑ Ø ÑÓ Ø Ò Ð Ø v Ò Ö ØÖ ÖÝ d¹ú ØÓÖº Á a b x Ò Y Ö Ò Ô Ò ÒØ Ò σ Ø Ò ] x + Yv [ a + b T > x v π x ( σ + ÐÓ n + ) π ÐÓ n Proof. We begin by observing that a + b T v and each component of x + Yv is a Gaussian random variable of variance σ (+ v ) whose mean has absolute value at most + v, and that all these variables are independent. By Lemma A.3, ( )( ) [ x + Yv ] + v + σ ( + v ) ÐÓ n +. π ÐÓ n On the other hand, Lemma A. implies [ ] a + b T v > x. (4.4) π xσ + v Thus, we can apply Corollary C.4 to show [ x + Yv a + b T v ] + v + > x π ( σ ) ( + v ÐÓ n + xσ + v ( ) ( σ + v ÐÓ n + = + v π x + σ + v σ + v ( π x σ + ) ÐÓ n + π ÐÓ n πðó n ) πðó n ) 5 Smoothed Analysis of Gaussian Elimination We now combine the results from the previous sections to bound the smoothed precision needed to obtain b-bit answers using Gaussian elimination without pivoting. 3

15 Theorem 5. (Smoothed precision of Gaussian elimination). ÓÖ n > e 4 Ð Ø A Ò n¹ ݹn Ñ ØÖ Ü ÓÖ Û A Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ /4º Ì Ò Ø ÜÔ Ø ÒÙÑ Ö Ó Ø Ó ÔÖ ÓÒ Ò ÖÝ ØÓ ÓÐÚ Ax = b ØÓ b Ø Ó ÙÖ Ý Ù Ò Ù Ò Ð Ñ Ò Ø ÓÒ Û Ø ÓÙØ Ô ÚÓØ Ò Ø ÑÓ Ø b + 7 ( ) ÐÓ n + 3 ÐÓ + ÐÓ ( + nσ) + ÐÓ σ ÐÓ n + ÐÓ n Proof. By Wilkinson s theorem, we need the machine precision, ǫ mach, to satisfy 5 b nρ L (A)ρ U (A)κ(A)ǫ mach =.33 + b + ÐÓ n + ÐÓ (ρ L (A)) + ÐÓ (ρ U (A)) + ÐÓ (κ(a)) ÐÓ (/ǫ mach ). We will apply Lemma C.6 to bound these log-terms. For any matrix A satisfying A, Theorem 4. implies ( ) [ÐÓ ρ U (A)] ÐÓ n + ÐÓ + 0., σ and Theorem 4.4 implies [ÐÓ ρ L (A)] ÐÓ n + ÐÓ ( σ + ÐÓ n ( + )) +.6 ÐÓ n using σ and n > e4, Theorem 3. implies ÐÓ n + ÐÓ ( σ [ ] A ÐÓ ) + ÐÓ ÐÓ n + ÐÓ n +.6 ÐÓ n + ÐÓ ( σ ) +.68, and, [ÐÓ ( A )] ÐÓ ( + nσ) follows from the well-known fact that the expectation of A A is at most nσ (c.f., [Seg00]) and that [ÐÓ (X)] ÐÓ [X] for every positive random variable X. Thus, the expected number of digits of precision needed is at most b + 7 ( ) ÐÓ n + 3 ÐÓ + ÐÓ ( + nσ) + ÐÓ σ ÐÓ n + ÐÓ n The following conjecture would further improve the coefficient of ÐÓ (/σ). 4

16 Conjecture. Ä Ø A n¹ ݹn Ñ ØÖ Ü ÓÖ Û A Ò Ð Ø A Ñ ØÖ Ü Ó Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ì Ò ÓÖ ÓÑ ÓÒ Ø ÒØ c Ò c º [ρ L (A)ρ U (A)κ(A) > x] nc ÐÓ c (x), xσ 6 Zero-preserving perturbations of symmetric matrices with diagonals Many matrices that occur in practice are symmetric and sparse. Moreover, many matrix algorithms take advantage of this structure. Thus, it is natural to study the smoothed analysis of algorithms under perturbations that respect symmetry and non-zero structure. In this section, we study the condition numbers and growth factors of Gaussian elimination without pivoting of symmetric matrices under perturbations that only alter their diagonal and non-zero entries. Definition 6. (Zero-preserving perturbations). Ä Ø T Ñ ØÖ Üº Ï Ò Þ ÖÓ¹ ÔÖ ÖÚ Ò Ô ÖØÙÖ Ø ÓÒ Ó T Ó Ú Ö Ò σ ØÓ Ø Ñ ØÖ Ü T Ó Ø Ò Ý Ò Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ñ Ò ¼ Ò Ú Ö Ò σ ØÓ Ø ÒÓÒ¹Þ ÖÓ ÒØÖ Ó Tº In the lemmas and theorems of this section, when we express a symmetric matrix A as T+D+T T, we mean that T is lower-triangular with zeros on the diagonal and D is a diagonal matrix. By making a zero-preserving perturbation to T, we preserve the symmetry of the matrix. The main results of this section are that the smoothed condition number and growth factors of symmetric matrices under zero-preserving perturbations to T and diagonal perturbations to D have distributions similar those proved in Sections 3 and 4 for dense matrices under dense perturbations. 6. Bounding the condition number We begin by recalling that the singular values and vectors of symmetric matrices are the eigenvalues and eigenvectors. Lemma 6.. Ä Ø A = T + D + T T Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Üº Ä Ø T Þ ÖÓ¹ ÔÖ ÖÚ Ò Ô ÖØÙÖ Ø ÓÒ Ó T Ó Ú Ö Ò σ Ð Ø G D ÓÒ Ð Ñ ØÖ Ü Ó Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Ò Ñ Ò ¼ Ò Ð Ø D = D + G D º Ì Ò ÓÖ A = T + D + T T Proof. [ ] (T + D + T T ) x [ ] A x Ñ Ü T 5 π n3/ /xσ. [ ] ((T + D + T T ) + G D ) x. G D

17 The proof now follow from Lemma 6.3, taking T + D + T T as the base matrix. Lemma 6.3. Ä Ø A Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Ü Ð Ø G D ÓÒ Ð Ñ ØÖ Ü Ó Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Ò Ñ Ò ¼ Ò Ð Ø A = A + G D º Ì Ò [ ] A x π n3/ /xσ. Proof. Let x,...,x n be the diagonal entries of G D, and let g = n n x i, and i= y i = x i g. Then, [ ] ( A + G D ) x y,...,y n,g [ ] ( = A + diag(y,...,y n ) + gi) x y,...,y n,g [ ] ( Ñ Ü A + diag(y,...,y n ) + gi) x. y,...,y n g The proof now follows from Proposition 6.4 and Lemma 6.5. Proposition 6.4. Ä Ø x,...,x n Ò Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Û Ø Ñ Ò a,...,a n Ö Ô Ø Ú Ðݺ Ä Ø g = n n x i, Ò i= y i = x i g. Ì Ò g Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ /n Û Ø Ñ Ò (/n) a i Ò Ô Ò ÒØ Ó y,...,y n º Lemma 6.5. Ä Ø A Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Ü Ò Ð Ø g Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ñ Ò 0 Ò Ú Ö Ò σ /nº Ä Ø A = A + giº Ì Ò [ ] A x π n3/ /xσ. Proof. Let λ,...,λ n be the eigenvalues of A. Then, ( A + gi) = Ñ Ò λ i + g. i 6

18 By Lemma A., [ λ i g < ǫ] < [ ] Ñ Ò λ i g < ǫ < i nǫ/σ; so, π π n3/ ǫ/σ. As in Section 3, we can now prove: Theorem 6.6 (Condition number of symmetric matrices). Ä Ø A = T + D + T T Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Ü Ø Ý Ò A º Ä Ø σ Ð Ø T Þ ÖÓ¹ÔÖ ÖÚ Ò Ô ÖØÙÖ Ø ÓÒ Ó T Ó Ú Ö Ò σ Ð Ø G D ÓÒ Ð Ñ ØÖ Ü Ó Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Ò Ñ Ò 0 Ò Ð Ø D = D + G D º Ì Ò ÓÖ A = T + D + T T n [κ(a) x] 4 π xσ ( + ) ÐÓ (x)/n Proof. As in the proof of Theorem 3.3, we can apply the techniques used in the proof of [DS0, Theorem II.7], to show [ A A ] d + k < e k /. The rest of the proof follows the outline of the proof of Theorem 3.3, using Lemma 6. instead of Theorem Bounding entries in U In this section, we will prove: Theorem 6.7 (ρ U (A) of symmetric matrices). Ä Ø A = T + D + T T Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Ü Ø Ý Ò A º Ä Ø σ Ð Ø T Þ ÖÓ¹ÔÖ ÖÚ Ò Ô ÖØÙÖ Ø ÓÒ Ó T Ó Ú Ö Ò σ Ð Ø G D ÓÒ Ð Ñ ØÖ Ü Ó Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Ò Ñ Ò 0 Ò Ð Ø D = D + G D º Ì Ò ÓÖ A = T + D + T T [ρ U (A) > + x] n 7/ 7 π xσ Proof. We proceed as in the proof of Theorem 4., where we derived (4.) U k,k:n + A k,:k A A :k,:k + k A k,:k A :k,:k + A k A k,:k :k,:k 7

19 Hence [ Uk,k:n A ] [ A > + x A k,:k (k ) [ A k,:k ] π xσ + jσ (k ) π xσ where j is the number of non-zeros in A k,:k, k(k ). π xσ :k,:k > Applying a union bound over k, n [ρ U (A) > x] k(k ) π xσ k= n 7/ 7 π xσ. ] x k, by Lemmas 6. and C.4, 6.3 Bounding entries in L As in Section 4., we derive a bound on the growth factor of L. As before, we will show that it is unlikely that A (k ) j,k is large while A (k ) k,k is small. However, our techniques must differ from those used in Section 4., as the proof in that section made critical use of the independence of A k,:(k ) and A :(k ),k. Theorem 6.8 (ρ L (A) of symmetric matrices). Ä Ø σ º Ä Ø A = T + D+ T T Ò Ö ØÖ ÖÝ n¹ ݹn ÝÑÑ ØÖ Ñ ØÖ Ü Ø Ý Ò A º Ä Ø T Þ ÖÓ¹ÔÖ ÖÚ Ò Ô ÖØÙÖ Ø ÓÒ Ó T Ó Ú Ö Ò σ Ð Ø G D ÓÒ Ð Ñ ØÖ Ü Ó Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò σ Ò Ñ Ò 0 Ò Ð Ø D = D + G D º Ì Ò ÓÖ A = T + D + T T Proof. Using Lemma 6.9, we obtain for all k [ρ L (A) > x] 3.n4 xσ ÐÓ 3/( e π/xσ ). [ j > k : L j,k > x] [ L(k+):n,k > x ] 3.n xσ ÐÓ 3/( e π/xσ ). 8

20 Applying a union bound over the choices for k, we then have [ j,k : L j,k > x] 3.n3 xσ ÐÓ 3/( e π/xσ ). The result now follows from the fact that L is at most n times the largest entry in L. Lemma 6.9. ÍÒ Ö Ø ÓÒ Ø ÓÒ Ó Ì ÓÖ Ñ º Proof. We recall that [ L(k+):n,k > x ] 3.n xσ ÐÓ 3/( e π/xσ ). L k+:n,k = A k+:n,k A k+:n,:k A :k,:k A :k,k A k,k A k,:k A :k,:k A :k,k Because of the symmetry of A, A k,:k is the same as A :k,k, so we can no longer use the proof that worked in Section 4.. Instead we will bound the tails of the numerator and denominator separately. Consider the numerator first. Setting v = A :k,:k A :k,k, the numerator can be written A k+:n,:k ( v T A k+:n,:k,a :k,:k ). We will now prove [ ) v T A k+:n,:k( ] ( n ( + σ ) ÐÓ (xσ)) + n > x. (6.) π xσ It suffices to prove this for all x for which the right-hand side is less than, so in particular it suffices to consider x for which x + σ, (6.) ÐÓ (xσ) and xσ. We divide this probability accordingly to a parameter c, which we will set so that c cσ = ÐÓ (xσ). We have A k+:n,:k,a :k,:k A :(k ),:k + A k+:n,:k [ v T ) A k+:n,:k( ] > x [( ) ] v T > cx [ ( ) v T A k+:n,:k > ( ) v T ( ) v T c < cx] (6.3) (6.4) 9

21 ( ) Once v is fixed, each component of A v T k+:n,:k is a Gaussian random vector of variance ( + v )σ ( + v ) σ and mean at most A ( ) ( ) v T k+:n,:k v T. So, ( v T ) A k+:n,:k > ( v T ) c implies some term in the numerator is more than /c standard deviations from its mean, and we can therefore apply Lemma A. and a union bound to derive (6.4) π ne ( c cσ ) c cσ n π xσ ÐÓ (xσ). To bound (6.4), we note that Lemma 6. and Corollary C.5 imply [ ] A A :k,:k A n :k,k > y :(k ),:k π yσ, and so So, A :(k ),:k [( ) v T [ A > cx] A :(k ),:k n π (cx )σ π :k,:k A :k,k n ( + σ ÐÓ (xσ)), by (6.). xσ ( ) n (6.) π xσ ÐÓ (xσ) + n ( + σ ÐÓ (xσ)) xσ ( n ( + σ ) ÐÓ (xσ)) + n, π xσ ] > cx by the assumption xσ, which proves (6.). As for the denominator, we note that A k,k is a independent of all the other terms, and hence [ ] Ak,k A k,:k A :k,:k A :k,k < /x π xσ, 0

22 by Lemma A.. Applying Corollary C.3 with ( ) α = n + n π β = 4n σ γ = π π to combine this inequality with (6.), we derive the bound ( (( πxσ n + n ) ) σ/3 n + n ÐÓ 3/( )) π/xσ n ( πxσ )( σ/3 ÐÓ 3/( ) ) π/xσ + as σ. 7 Conclusions and open problems 7. Generality of results 3.n xσ ÐÓ 3/( e π/xσ ), With the exception of the proof of Theorem 3., the only properties of Gaussian random vectors that we used in Sections 3 and 4 are. there is a constant c for which the probability that a Gaussian random vector has distance less than ǫ to a hyperplane is at most cǫ, and. it is exponentially unlikely that a Gaussian random vector lies far from its mean. Moreover, a result similar to Theorem 3. but with an extra factor of d could be proved using just fact. In fact, results of a character similar to ours would still hold if the second condition were reduced to a polynomial probability. Many other families of perturbations share these properties. For example, similar results would hold if we let A = A + U, where U is a matrix of variables independently uniformly chosen in [ σ,σ], or if A = A + S, where the columns of S are chosen uniformly among those vectors of norm at most σ.

23 7. Counter-Examples The results of sections 3 and 4 do not extend to zero-preserving perturbations. For example, the following matrix remains ill-conditioned under zero-preserving perturbations A symmetric matrix that remains ill-conditioned under zero-preserving perturbations that do not alter the diagonal can be obtained by locating the above matrix in the upper-right quadrant, and its transpose in the lower-left quadrant: The following matrix maintains large growth factor under zero-preserving perturbations, regardless of whether partial pivoting or no pivoting is used. 7.3 Open Problems Questions that naturally follow from this work are: What is the probability that the perturbation of an arbitrary matrix has large growth factors under Gaussian elimination with partial pivoting.

24 Can zero-preserving perturbations of symmetric matrices have large growth factors under partial pivoting? Can zero-preserving perturbations of arbitrary matrices have large growth factors under complete pivoting? For the first question, we point out that experimental data of Trefethen and Bau[TB97, p. 68] suggest that the probability that the perturbation of an arbitrary matrix has large growth factor under partial pivoting may be exponentially smaller than without pivoting. This leads us to conjecture: Conjecture 3. Ä Ø A Ò n¹ ݹn Ñ ØÖ Ü ÓÖ Û A Ò Ð Ø A Ñ ØÖ Ü Ó Ò¹ Ô Ò ÒØ Ù Ò Ö Ò ÓÑ Ú Ö Ð ÒØ Ö Ø A Ó Ú Ö Ò σ º Ä Ø U Ø ÙÔÔ Ö¹ØÖ Ò ÙÐ Ö Ñ ØÖ Ü Ó Ø Ò ÖÓÑ Ø Ä͹ ØÓÖ Þ Ø ÓÒ Ó A Û Ø Ô ÖØ Ð Ô ÚÓØ Ò º Ì Ö Ü Ø ÓÐÙØ ÓÒ Ø ÒØ k k Ò α ÓÖ Û [ U Ñ Ü / A Ñ Ü > x + ] n k e αxk σ Finally, we ask whether similar analyses can be performed for other algorithms of Numerical Analysis. One might start by extending Smale s program by analyzing the smoothed values of other condition numbers. 8 Acknowledgments We thank Alan Edelman for suggesting we examine growth factors, and for his continuing support of our efforts. We thank Juan Cuesta and Mario Wschebor for pointing out some mistakes in an early draft of this paper. References [ABB + 99] E. Anderson, Z. Bai, C. Bischof, J. Demmel, J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, S. Ostrouchov, and D. Sorensen. LAPACK Users Guide, Third Edition. SIAM, Philadelphia, 999. [AS64] [BD0] Milton Abramowitz and Irene A. Stegun, editors. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, volume 55 of Applied mathematics series. U. S. Department of Commerce, Washington, DC, USA, 964. Tenth printing, with corrections (December 97). Avrim Blum and John Dunagan. Smoothed analysis of the perceptron algorithm for linear programming. In SODA 0, pages , 00. 3

25 [Blu89] [Dem88] Lenore Blum. Lectures on a theory of computation and complexity over the reals (or an arbitrary ring). In Erica Jen, editor, The Proceedings of the 989 Complex Systems Summer School, Santa Fe, New Mexico, volume, pages 47, June 989. James Demmel. The probability that a numerical analysis problem is difficult. Math. Comp., pages , 988. [Dem97] James Demmel. Applied Numerical Linear Algebra. SIAM, 997. [DS0] K. R. Davidson and S. J. Szarek. Handbook on the Geometry of Banach spaces, chapter Local operator theory, random matrices, and Banach spaces, pages Elsevier Science, 00. [DST0] John Dunagan, Daniel A. Spielman, and Shang-Hua Teng. Smoothed analysis of Renegar s condition number for linear programming. Available at spielman/smoothedanalysis, 00. [Ede88] [Ede9] [GL83] [GLS9] Alan Edelman. Eigenvalues and condition numbers of random matrices. SIAM J. Matrix Anal. Appl., 9(4): , 988. Alan Edelman. Eigenvalue roulette and random test matrices. In Marc S. Moonen, Gene H. Golub, and Bart L. R. De Moor, editors, Linear Algebra for Large Scale and Real-Time Applications, NATO ASI Series, pages Gene H. Golub and Charles F. Van Loan. Matrix Computations. Johns Hopkins Series in the Mathematical Sciences. The Johns Hopkins University Press and North Oxford Academic, Baltimore, MD, USA and Oxford, England, 983. Martin Grotschel, Laszlo Lovasz, and Alexander Schrijver. Geometric Algorithms and Combinatorial Optimization. Springer-Verlag, 99. [Hig90] Nick Higham. How accurate is Gaussian elimination? In Numerical Analysis 989, Proceedings of the 3th Dundee Conference, volume 8 of Pitman Research Notes in Mathematics, pages 37 54, 990. [JKB95] [KJ8] [LT9] N. Johnson, S. Kotz, and N. Balakrishnan. Continuous Univariate Distributions, volume. Wiley-Interscience, 995. Samuel Kotz and Norman L. Johnson, editors. Encyclopedia of Statistical Sciences, volume 6. John Wiley & Sons, 98. Michel Ledoux and Michel Talagrand. Probability in Banach Spaces. Springer-Verlag, 99. 4

26 [Ren95] [Seg00] J. Renegar. Incorporating condition measures into the complexity theory of linear programming. SIAM J. Optim., 5(3):506 54, 995. Yoav Seginer. The expected norm of random matrices. Combinatorics, Probability and Computing, 9:49 66, 000. [Sma97] Steve Smale. Complexity theory and numerical analysis. Acta Numerica, pages 53 55, 997. [Smo] [ST0] spielman/smoothedanalysis. Daniel Spielman and Shang-Hua Teng. Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time. In Proceedings of the 33rd Annual ACM Symposium on the Theory of Computing (STOC 0), pages , 00. [TB97] L. N. Trefethen and D. Bau. Numerical Linear Algebra. SIAM, Philadelphia, PA, 997. [TS90] [Wil6] [YC97] Lloyd N. Trefethen and Robert S. Schreiber. Average-case stability of Gaussian elimination. SIAM Journal on Matrix Analysis and Applications, (3): , 990. J. H. Wilkinson. Error analysis of direct methods of matrix inversion. J. Assoc. Comput. Mach., 8:6 330, 96. Man-Chung Yeung and Tony F. Chan. Probabilistic analysis of Gaussian elimination without pivoting. SIAM J. Matrix Anal. Appl., 8():499 57, 997. A Gaussian random variables We recall that the probability density function of a d-dimensional Gaussian random vector with covariance matrix σ I d and mean µ is given by n(µ,σ I d )(x) = (πσ ) d/e σ dist(x,µ) Lemma A.. Ä Ø x ÙÒ Ú Ö Ø Ù Ò Ö Ò ÓÑ Ú Ö Ð ØÖ ÙØ N(0,)º Ì Ò ÓÖ ÐÐ k > º Proof. We have [x k] e k. π k [x k] = π k e x dx 5

27 putting t = x, e t π k k dt = e k. π k Lemma A.. Ä Ø x d¹ Ñ Ò ÓÒ Ð Ù Ò Ö Ò ÓÑ Ú ØÓÖ Ó Ú Ö Ò σ Ò Ð Ø H ÝÔ ÖÔÐ Ò º Ì Ò [dist (x,h) ǫ] /πǫ/σ. Lemma A.3. Ä Ø g,...,g n Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ñ Ò ¼ Ò Ú Ö Ò º Ì Ò [ ] Ñ Ü g i ÐÓ n +. i π ÐÓ n Proof. applying Lemma A., [ ] Ñ Ü g i i = [ t=0 ÐÓ n t=0 Ñ Ü g i t i dt + ] dt ÐÓ n n [ g t] dt ÐÓ n + n e t dt ÐÓ n π t ÐÓ n + n ÐÓ n π e t dt ÐÓ n ÐÓ n) ÐÓ n + n e ( ÐÓ n π ÐÓ n = ÐÓ n + π ÐÓ n Lemma A.4 (Expectation of reciprocal of the L norm of a Gaussian vector). Ä Ø a Ò n¹ Ñ Ò ÓÒ Ð Ù Ò Ö Ò ÓÑ Ú ØÓÖ Ó Ú Ö Ò σ ÓÖ n º Ì Ò [ ] a nσ 6

28 Proof. Let a = (a,...,a n ). Without loss of generality, we assume σ =. For general σ, we can simply scale the bound by the factor /σ. It is also clear that the expectation of / a is maximized if the mean of a is zero, so we will make this assumption. Recall that the Laplace transform of a positive random variable X is defined by [ L[X](t) = X e tx] and the expectation of the reciprocal of a random variable is simply the integral of its Laplace transform. Let X be the absolute value of a standard normal random variable. The Laplace transform of X is given by L[X](t) = e tx e x dx π 0 = π e t e (x+t) dx 0 = π e t e x dx t ( ) = e t t Ö. We now set a constant c =.4 and set α to satisfy ( ) c/π = e c/π (c/π) Ö. α ) As e Ö ( t t is convex, we have the upper bound ( ) e t t Ö t α, for 0 t c/π. For t > c/π, we apply the upper bound ( ) e t t Ö π t. 7

29 We now have for n. [ ] = a 0 c/π 0 ( e t Ö (t/ )) n dt α n + + n, ( α) t n dt + (/c) (n )/ π n c/π ( ) n dt π t B Random point on sphere Lemma B.. Ä Ø u,...,u d ÙÒ Ø Ú ØÓÖ Ó Ò ÙÒ ÓÖÑÐÝ Ø Ö Ò ÓÑ Ò R d º Ì Ò ÓÖ c [ ] c u [ g c ], d Û Ö g Ù Ò Ö Ò ÓÑ Ú Ö Ð Ó Ú Ö Ò Ò Ñ Ò 0º Proof. We may obtain a random unit vector by choosing d Gaussian random variables of variance and mean 0, x,...,x d, and setting u i = x i. x + + x d We have We now note that [ u c ] [ x = d x + + c ] x d d (d )x = [ x + x d (d )x [ x + c x d t d = (d )x x + x d ] (d )c d c ], since c. 8

30 is the random variable distributed according to the t-distribution with d degrees of freedom. The lemma now follows from the fact (c.f. [JKB95, Chapter 8, Section ] or [AS64, 6.7.5]) that, for c > 0, [ t d > c ] [ g > c ], and that the distributions of t d and g are symmetric about the origin. C Combination Lemma Lemma C.. Ä Ø A Ò B ØÛÓ ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð º ÙÑ ½º [A x] f(x)º ¾º [B x A] g(x)º Û Ö g ÑÓÒÓØÓÒ ÐÐÝ Ö Ò Ò Ð Ñ x g(x) = 0º Ì Ò [AB x] 0 ( x f ( g t) (t))dt Proof. Let µ A denote the probability measure associated with A. We have integrating by parts, [AB x] = = = [B x/t A] dµ A(t) B ( x g dµ A (t) t) [A t] d ( x ) dt g dt t f(t) d ( x ) dt g dt t ( x f ( g t) (t))dt Corollary C. (linear-linear). Ä Ø A Ò B ØÛÓ ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð º ÙÑ ½º [A x] α x Ò ¾º [B x A] β x 9

31 ÓÖ ÓÑ α,β > 0º Ì Ò [AB x] αβ x ( ( )) x + ÐÒ αβ Proof. As the probability of an event can be at most, ( α ) [A x] Ñ Ò x, = f(x), and ( ) β [B x] Ñ Ò x, = g(x). Applying Lemma C. while observing g (t) = 0 for t [0,β], and f(x/t) = for t x/α, we obtain [AB x] β 0 = αβ x = αβ x αt x 0dt + x/α β ( + ÐÒ x/α β dt t + αβ x ( x αβ αt x )). β t dt + x/α β t dt Corollary C.3. Ä Ø A Ò B ØÛÓ ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð º ÙÑ ( ) ½º [A x] Ñ Ò º ¾º [B x A] γ xσ º, α+β ÐÒxσ σx ÓÖ ÓÑ α Ò β,γ,σ > 0º Ì Ò Proof. Define f and g by [AB x] αγ xσ f(x) = g(x) = Applying Lemma C. while observing ( ( β + 3α + )ln 3/ ( xσ { for x α σ α+β ÐÒxσ xσ for x > α σ { for x γ σ γ xσ for x > γ σ 30 γ )).

32 g (t) = 0 for t [ 0, γ σ], and f(x/t) = for t xσ/α, we obtain [AB x] = xσ/α γ/σ xσ/α γ/σ (substituting s = ÐÒ(xσ/t), t = xσe s ) α + β ÐÒ(xσ/t) xσ/t γ t σ dt + α + β ÐÒ(xσ/t) γ αγ xσ dt + t xσ xσ/α γ σt dt as α. = ÐÒα α + βs γ ÐÒ(xσ /γ) xσ xσe s xσ( se s )ds + αγ xσ ÐÒ(xσ /γ) = γ xσ = αγ xσ αγ xσ ÐÒα ( + ÐÒ ( + s(α + βs)ds + αγ xσ ( ) xσ + β ( xσ (ÐÒ 3/ αγ 3α γ ( ) ( )) β xσ 3α + ln 3/, γ ) )) ÐÒ 3/ α Lemma C.4 (linear-bounded expectation). Ä Ø A B Ò C ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð Ù Ø Ø [A x] α x, ÓÖ ÓÑ α > 0 Ò Ì Ò A, [B x A] [C x]. [AB x] α x [C]. Proof. Let g(x) be the distribution function of C. By Lemma C., we have ( ) αt [AB x] ( ( g) (t)) dt x = α x 0 0 = α x [C]. t(g (t)) dt 3

33 Corollary C.5 (linear-chi). Ä Ø A ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð Ù Ø Ø ½º [A x] α x º ÓÖ ÓÑ α > 0º ÓÖ Ú ÖÝ A Ð Ø b d¹ Ñ Ò ÓÒ Ð Ù Ò Ö Ò ÓÑ Ú ØÓÖ ÔÓ ÐÝ Ô Ò Ò ÙÔÓÒ Aµ Ó Ú Ö Ò Ø ÑÓ Ø σ ÒØ Ö Ø ÔÓ ÒØ Ó ÒÓÖÑ Ø ÑÓ Ø k Ò Ð Ø B = b º Ì Ò [AB x] α σ d + k x Proof. As [B] [B ], and it is known [KJ8, p. 77] that the expected value of B the non-central χ -distribution with non-centrality parameter b is d + b, the corollary follows from Lemma C.4. Lemma C.6 (Linear to log). Ä Ø A ÔÓ Ø Ú Ö Ò ÓÑ Ú Ö Ð º ÙÑ A [A x] α x, ÓÖ ÓÑ α º Ì Ò A [ÐÓ A] ÐÓ α +. Proof. A [ÐÓ A] = = x=0 A ÐÓ α x=0 [ÐÓ A x]dx = dx + x=ðó α x=0 Ñ Ò(, α e x)dx αe x dx = ÐÓ α +. 3

arxiv:cs/ v4 [cs.na] 21 Nov 2005

arxiv:cs/ v4 [cs.na] 21 Nov 2005 arxiv:cs/0300v4 [cs.na] Nov 005 Smoothed Analysis of the Condition Numbers and Growth Factors of Matrices Arvind Sankar Department of Mathematics Massachusetts Institute of Technology Shang-Hua Teng Department

More information

Exponentials of Symmetric Matrices through Tridiagonal Reductions

Exponentials of Symmetric Matrices through Tridiagonal Reductions Exponentials of Symmetric Matrices through Tridiagonal Reductions Ya Yan Lu Department of Mathematics City University of Hong Kong Kowloon, Hong Kong Abstract A simple and efficient numerical algorithm

More information

Lecture 16: Modern Classification (I) - Separating Hyperplanes

Lecture 16: Modern Classification (I) - Separating Hyperplanes Lecture 16: Modern Classification (I) - Separating Hyperplanes Outline 1 2 Separating Hyperplane Binary SVM for Separable Case Bayes Rule for Binary Problems Consider the simplest case: two classes are

More information

On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination

On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination J.M. Peña 1 Introduction Gaussian elimination (GE) with a given pivoting strategy, for nonsingular matrices

More information

LAPACK-Style Codes for Pivoted Cholesky and QR Updating

LAPACK-Style Codes for Pivoted Cholesky and QR Updating LAPACK-Style Codes for Pivoted Cholesky and QR Updating Sven Hammarling 1, Nicholas J. Higham 2, and Craig Lucas 3 1 NAG Ltd.,Wilkinson House, Jordan Hill Road, Oxford, OX2 8DR, England, sven@nag.co.uk,

More information

Numerical Linear Algebra

Numerical Linear Algebra Numerical Linear Algebra Decompositions, numerical aspects Gerard Sleijpen and Martin van Gijzen September 27, 2017 1 Delft University of Technology Program Lecture 2 LU-decomposition Basic algorithm Cost

More information

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects

Program Lecture 2. Numerical Linear Algebra. Gaussian elimination (2) Gaussian elimination. Decompositions, numerical aspects Numerical Linear Algebra Decompositions, numerical aspects Program Lecture 2 LU-decomposition Basic algorithm Cost Stability Pivoting Cholesky decomposition Sparse matrices and reorderings Gerard Sleijpen

More information

The Smoothed Analysis of Algorithms. Daniel A. Spielman. Program in Applied Mathematics Yale University

The Smoothed Analysis of Algorithms. Daniel A. Spielman. Program in Applied Mathematics Yale University The Smoothed Analysis of Algorithms Daniel A. Spielman Dept. of Computer Science Program in Applied Mathematics Yale University Outline Why? Definitions (by formula, by picture, by example) Examples: Perceptron

More information

LAPACK-Style Codes for Pivoted Cholesky and QR Updating. Hammarling, Sven and Higham, Nicholas J. and Lucas, Craig. MIMS EPrint: 2006.

LAPACK-Style Codes for Pivoted Cholesky and QR Updating. Hammarling, Sven and Higham, Nicholas J. and Lucas, Craig. MIMS EPrint: 2006. LAPACK-Style Codes for Pivoted Cholesky and QR Updating Hammarling, Sven and Higham, Nicholas J. and Lucas, Craig 2007 MIMS EPrint: 2006.385 Manchester Institute for Mathematical Sciences School of Mathematics

More information

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

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

More information

LU Factorization. LU factorization is the most common way of solving linear systems! Ax = b LUx = b

LU Factorization. LU factorization is the most common way of solving linear systems! Ax = b LUx = b AM 205: lecture 7 Last time: LU factorization Today s lecture: Cholesky factorization, timing, QR factorization Reminder: assignment 1 due at 5 PM on Friday September 22 LU Factorization LU factorization

More information

Key words. conjugate gradients, normwise backward error, incremental norm estimation.

Key words. conjugate gradients, normwise backward error, incremental norm estimation. Proceedings of ALGORITMY 2016 pp. 323 332 ON ERROR ESTIMATION IN THE CONJUGATE GRADIENT METHOD: NORMWISE BACKWARD ERROR PETR TICHÝ Abstract. Using an idea of Duff and Vömel [BIT, 42 (2002), pp. 300 322

More information

Scientific Computing

Scientific Computing Scientific Computing Direct solution methods Martin van Gijzen Delft University of Technology October 3, 2018 1 Program October 3 Matrix norms LU decomposition Basic algorithm Cost Stability Pivoting Pivoting

More information

ETNA Kent State University

ETNA Kent State University Electronic Transactions on Numerical Analysis. Volume 17, pp. 76-92, 2004. Copyright 2004,. ISSN 1068-9613. ETNA STRONG RANK REVEALING CHOLESKY FACTORIZATION M. GU AND L. MIRANIAN Ý Abstract. For any symmetric

More information

14.2 QR Factorization with Column Pivoting

14.2 QR Factorization with Column Pivoting page 531 Chapter 14 Special Topics Background Material Needed Vector and Matrix Norms (Section 25) Rounding Errors in Basic Floating Point Operations (Section 33 37) Forward Elimination and Back Substitution

More information

OUTLINE 1. Introduction 1.1 Notation 1.2 Special matrices 2. Gaussian Elimination 2.1 Vector and matrix norms 2.2 Finite precision arithmetic 2.3 Fact

OUTLINE 1. Introduction 1.1 Notation 1.2 Special matrices 2. Gaussian Elimination 2.1 Vector and matrix norms 2.2 Finite precision arithmetic 2.3 Fact Computational Linear Algebra Course: (MATH: 6800, CSCI: 6800) Semester: Fall 1998 Instructors: { Joseph E. Flaherty, aherje@cs.rpi.edu { Franklin T. Luk, luk@cs.rpi.edu { Wesley Turner, turnerw@cs.rpi.edu

More information

We first repeat some well known facts about condition numbers for normwise and componentwise perturbations. Consider the matrix

We first repeat some well known facts about condition numbers for normwise and componentwise perturbations. Consider the matrix BIT 39(1), pp. 143 151, 1999 ILL-CONDITIONEDNESS NEEDS NOT BE COMPONENTWISE NEAR TO ILL-POSEDNESS FOR LEAST SQUARES PROBLEMS SIEGFRIED M. RUMP Abstract. The condition number of a problem measures the sensitivity

More information

Smoothed Analysis of Termination of Linear Programming Algorithms

Smoothed Analysis of Termination of Linear Programming Algorithms Mathematical Programming manuscript No. (will be inserted by the editor) Daniel A. Spielman Shang-Hua Teng Smoothed Analysis of Termination of Linear Programming Algorithms Received: date / Revised version:

More information

arxiv: v1 [math.pr] 22 May 2008

arxiv: v1 [math.pr] 22 May 2008 THE LEAST SINGULAR VALUE OF A RANDOM SQUARE MATRIX IS O(n 1/2 ) arxiv:0805.3407v1 [math.pr] 22 May 2008 MARK RUDELSON AND ROMAN VERSHYNIN Abstract. Let A be a matrix whose entries are real i.i.d. centered

More information

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 6

CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 6 CME 302: NUMERICAL LINEAR ALGEBRA FALL 2005/06 LECTURE 6 GENE H GOLUB Issues with Floating-point Arithmetic We conclude our discussion of floating-point arithmetic by highlighting two issues that frequently

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra) AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 1: Course Overview & Matrix-Vector Multiplication Xiangmin Jiao SUNY Stony Brook Xiangmin Jiao Numerical Analysis I 1 / 20 Outline 1 Course

More information

Some preconditioners for systems of linear inequalities

Some preconditioners for systems of linear inequalities Some preconditioners for systems of linear inequalities Javier Peña Vera oshchina Negar Soheili June 0, 03 Abstract We show that a combination of two simple preprocessing steps would generally improve

More information

Dense LU factorization and its error analysis

Dense LU factorization and its error analysis Dense LU factorization and its error analysis Laura Grigori INRIA and LJLL, UPMC February 2016 Plan Basis of floating point arithmetic and stability analysis Notation, results, proofs taken from [N.J.Higham,

More information

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses

Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses Multilevel Preconditioning of Graph-Laplacians: Polynomial Approximation of the Pivot Blocks Inverses P. Boyanova 1, I. Georgiev 34, S. Margenov, L. Zikatanov 5 1 Uppsala University, Box 337, 751 05 Uppsala,

More information

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra. DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1

More information

2 Hallén s integral equation for the thin wire dipole antenna

2 Hallén s integral equation for the thin wire dipole antenna Ú Ð Ð ÓÒÐ Ò Ø ØØÔ»» Ѻ Ö Ùº º Ö ÁÒغ º ÁÒ Ù ØÖ Ð Å Ø Ñ Ø ÎÓк ÆÓº ¾ ¾¼½½µ ½ ¹½ ¾ ÆÙÑ Ö Ð Ñ Ø Ó ÓÖ Ò ÐÝ Ó Ö Ø ÓÒ ÖÓÑ Ø Ò Û Ö ÔÓÐ ÒØ ÒÒ Ëº À Ø ÑÞ ¹Î ÖÑ ÞÝ Ö Åº Æ Ö¹ÅÓ Êº Ë Þ ¹Ë Ò µ Ô ÖØÑ ÒØ Ó Ð ØÖ Ð Ò Ò

More information

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2. APPENDIX A Background Mathematics A. Linear Algebra A.. Vector algebra Let x denote the n-dimensional column vector with components 0 x x 2 B C @. A x n Definition 6 (scalar product). The scalar product

More information

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C. Lecture 9 Approximations of Laplace s Equation, Finite Element Method Mathématiques appliquées (MATH54-1) B. Dewals, C. Geuzaine V1.2 23/11/218 1 Learning objectives of this lecture Apply the finite difference

More information

OPTIMAL SCALING FOR P -NORMS AND COMPONENTWISE DISTANCE TO SINGULARITY

OPTIMAL SCALING FOR P -NORMS AND COMPONENTWISE DISTANCE TO SINGULARITY published in IMA Journal of Numerical Analysis (IMAJNA), Vol. 23, 1-9, 23. OPTIMAL SCALING FOR P -NORMS AND COMPONENTWISE DISTANCE TO SINGULARITY SIEGFRIED M. RUMP Abstract. In this note we give lower

More information

ON THE COMPLETE PIVOTING CONJECTURE FOR A HADAMARD MATRIX OF ORDER 12 ALAN EDELMAN 1. Department of Mathematics. and Lawrence Berkeley Laboratory

ON THE COMPLETE PIVOTING CONJECTURE FOR A HADAMARD MATRIX OF ORDER 12 ALAN EDELMAN 1. Department of Mathematics. and Lawrence Berkeley Laboratory ON THE COMPLETE PIVOTING CONJECTURE FOR A HADAMARD MATRIX OF ORDER 12 ALAN EDELMAN 1 Department of Mathematics and Lawrence Berkeley Laboratory University of California Berkeley, California 94720 edelman@math.berkeley.edu

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

A Note on Eigenvalues of Perturbed Hermitian Matrices

A Note on Eigenvalues of Perturbed Hermitian Matrices A Note on Eigenvalues of Perturbed Hermitian Matrices Chi-Kwong Li Ren-Cang Li July 2004 Let ( H1 E A = E H 2 Abstract and à = ( H1 H 2 be Hermitian matrices with eigenvalues λ 1 λ k and λ 1 λ k, respectively.

More information

Self-Testing Polynomial Functions Efficiently and over Rational Domains

Self-Testing Polynomial Functions Efficiently and over Rational Domains Chapter 1 Self-Testing Polynomial Functions Efficiently and over Rational Domains Ronitt Rubinfeld Madhu Sudan Ý Abstract In this paper we give the first self-testers and checkers for polynomials over

More information

A Method for Constructing Diagonally Dominant Preconditioners based on Jacobi Rotations

A Method for Constructing Diagonally Dominant Preconditioners based on Jacobi Rotations A Method for Constructing Diagonally Dominant Preconditioners based on Jacobi Rotations Jin Yun Yuan Plamen Y. Yalamov Abstract A method is presented to make a given matrix strictly diagonally dominant

More information

Applied Numerical Linear Algebra. Lecture 8

Applied Numerical Linear Algebra. Lecture 8 Applied Numerical Linear Algebra. Lecture 8 1/ 45 Perturbation Theory for the Least Squares Problem When A is not square, we define its condition number with respect to the 2-norm to be k 2 (A) σ max (A)/σ

More information

Throughout these notes we assume V, W are finite dimensional inner product spaces over C.

Throughout these notes we assume V, W are finite dimensional inner product spaces over C. Math 342 - Linear Algebra II Notes Throughout these notes we assume V, W are finite dimensional inner product spaces over C 1 Upper Triangular Representation Proposition: Let T L(V ) There exists an orthonormal

More information

AM 205: lecture 8. Last time: Cholesky factorization, QR factorization Today: how to compute the QR factorization, the Singular Value Decomposition

AM 205: lecture 8. Last time: Cholesky factorization, QR factorization Today: how to compute the QR factorization, the Singular Value Decomposition AM 205: lecture 8 Last time: Cholesky factorization, QR factorization Today: how to compute the QR factorization, the Singular Value Decomposition QR Factorization A matrix A R m n, m n, can be factorized

More information

Computing least squares condition numbers on hybrid multicore/gpu systems

Computing least squares condition numbers on hybrid multicore/gpu systems Computing least squares condition numbers on hybrid multicore/gpu systems M. Baboulin and J. Dongarra and R. Lacroix Abstract This paper presents an efficient computation for least squares conditioning

More information

Matrix decompositions

Matrix decompositions Matrix decompositions How can we solve Ax = b? 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x = The variables x 1, x, and x only appear as linear terms (no powers

More information

The Nearest Doubly Stochastic Matrix to a Real Matrix with the same First Moment

The Nearest Doubly Stochastic Matrix to a Real Matrix with the same First Moment he Nearest Doubly Stochastic Matrix to a Real Matrix with the same First Moment William Glunt 1, homas L. Hayden 2 and Robert Reams 2 1 Department of Mathematics and Computer Science, Austin Peay State

More information

Using Godunov s Two-Sided Sturm Sequences to Accurately Compute Singular Vectors of Bidiagonal Matrices.

Using Godunov s Two-Sided Sturm Sequences to Accurately Compute Singular Vectors of Bidiagonal Matrices. Using Godunov s Two-Sided Sturm Sequences to Accurately Compute Singular Vectors of Bidiagonal Matrices. A.M. Matsekh E.P. Shurina 1 Introduction We present a hybrid scheme for computing singular vectors

More information

S.F. Xu (Department of Mathematics, Peking University, Beijing)

S.F. Xu (Department of Mathematics, Peking University, Beijing) Journal of Computational Mathematics, Vol.14, No.1, 1996, 23 31. A SMALLEST SINGULAR VALUE METHOD FOR SOLVING INVERSE EIGENVALUE PROBLEMS 1) S.F. Xu (Department of Mathematics, Peking University, Beijing)

More information

I-v k e k. (I-e k h kt ) = Stability of Gauss-Huard Elimination for Solving Linear Systems. 1 x 1 x x x x

I-v k e k. (I-e k h kt ) = Stability of Gauss-Huard Elimination for Solving Linear Systems. 1 x 1 x x x x Technical Report CS-93-08 Department of Computer Systems Faculty of Mathematics and Computer Science University of Amsterdam Stability of Gauss-Huard Elimination for Solving Linear Systems T. J. Dekker

More information

CHAPTER 11. A Revision. 1. The Computers and Numbers therein

CHAPTER 11. A Revision. 1. The Computers and Numbers therein CHAPTER A Revision. The Computers and Numbers therein Traditional computer science begins with a finite alphabet. By stringing elements of the alphabet one after another, one obtains strings. A set of

More information

arxiv: v2 [math.na] 27 Dec 2016

arxiv: v2 [math.na] 27 Dec 2016 An algorithm for constructing Equiangular vectors Azim rivaz a,, Danial Sadeghi a a Department of Mathematics, Shahid Bahonar University of Kerman, Kerman 76169-14111, IRAN arxiv:1412.7552v2 [math.na]

More information

Linear Algebra and Eigenproblems

Linear Algebra and Eigenproblems Appendix A A Linear Algebra and Eigenproblems A working knowledge of linear algebra is key to understanding many of the issues raised in this work. In particular, many of the discussions of the details

More information

The Conjugate Gradient Method for Solving Linear Systems of Equations

The Conjugate Gradient Method for Solving Linear Systems of Equations The Conjugate Gradient Method for Solving Linear Systems of Equations Mike Rambo Mentor: Hans de Moor May 2016 Department of Mathematics, Saint Mary s College of California Contents 1 Introduction 2 2

More information

Lecture 11: Regression Methods I (Linear Regression)

Lecture 11: Regression Methods I (Linear Regression) Lecture 11: Regression Methods I (Linear Regression) Fall, 2017 1 / 40 Outline Linear Model Introduction 1 Regression: Supervised Learning with Continuous Responses 2 Linear Models and Multiple Linear

More information

CONVEX OPTIMIZATION OVER POSITIVE POLYNOMIALS AND FILTER DESIGN. Y. Genin, Y. Hachez, Yu. Nesterov, P. Van Dooren

CONVEX OPTIMIZATION OVER POSITIVE POLYNOMIALS AND FILTER DESIGN. Y. Genin, Y. Hachez, Yu. Nesterov, P. Van Dooren CONVEX OPTIMIZATION OVER POSITIVE POLYNOMIALS AND FILTER DESIGN Y. Genin, Y. Hachez, Yu. Nesterov, P. Van Dooren CESAME, Université catholique de Louvain Bâtiment Euler, Avenue G. Lemaître 4-6 B-1348 Louvain-la-Neuve,

More information

Iterative solvers for linear equations

Iterative solvers for linear equations Spectral Graph Theory Lecture 15 Iterative solvers for linear equations Daniel A. Spielman October 1, 009 15.1 Overview In this and the next lecture, I will discuss iterative algorithms for solving linear

More information

Algebra C Numerical Linear Algebra Sample Exam Problems

Algebra C Numerical Linear Algebra Sample Exam Problems Algebra C Numerical Linear Algebra Sample Exam Problems Notation. Denote by V a finite-dimensional Hilbert space with inner product (, ) and corresponding norm. The abbreviation SPD is used for symmetric

More information

MATH 425-Spring 2010 HOMEWORK ASSIGNMENTS

MATH 425-Spring 2010 HOMEWORK ASSIGNMENTS MATH 425-Spring 2010 HOMEWORK ASSIGNMENTS Instructor: Shmuel Friedland Department of Mathematics, Statistics and Computer Science email: friedlan@uic.edu Last update April 18, 2010 1 HOMEWORK ASSIGNMENT

More information

Lecture 11: Regression Methods I (Linear Regression)

Lecture 11: Regression Methods I (Linear Regression) Lecture 11: Regression Methods I (Linear Regression) 1 / 43 Outline 1 Regression: Supervised Learning with Continuous Responses 2 Linear Models and Multiple Linear Regression Ordinary Least Squares Statistical

More information

Chapter 12 Block LU Factorization

Chapter 12 Block LU Factorization Chapter 12 Block LU Factorization Block algorithms are advantageous for at least two important reasons. First, they work with blocks of data having b 2 elements, performing O(b 3 ) operations. The O(b)

More information

Numerical Methods I Solving Square Linear Systems: GEM and LU factorization

Numerical Methods I Solving Square Linear Systems: GEM and LU factorization Numerical Methods I Solving Square Linear Systems: GEM and LU factorization Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 September 18th,

More information

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4

Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math 365 Week #4 Linear Algebra Linear Algebra : Matrix decompositions Monday, February 11th Math Week # 1 Saturday, February 1, 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x

More information

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm

Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm Math 405: Numerical Methods for Differential Equations 2016 W1 Topics 10: Matrix Eigenvalues and the Symmetric QR Algorithm References: Trefethen & Bau textbook Eigenvalue problem: given a matrix A, find

More information

Random matrices: Distribution of the least singular value (via Property Testing)

Random matrices: Distribution of the least singular value (via Property Testing) Random matrices: Distribution of the least singular value (via Property Testing) Van H. Vu Department of Mathematics Rutgers vanvu@math.rutgers.edu (joint work with T. Tao, UCLA) 1 Let ξ be a real or complex-valued

More information

EECS 275 Matrix Computation

EECS 275 Matrix Computation EECS 275 Matrix Computation Ming-Hsuan Yang Electrical Engineering and Computer Science University of California at Merced Merced, CA 95344 http://faculty.ucmerced.edu/mhyang Lecture 6 1 / 22 Overview

More information

NAG Library Routine Document F08UBF (DSBGVX)

NAG Library Routine Document F08UBF (DSBGVX) NAG Library Routine Document (DSBGVX) Note: before using this routine, please read the Users Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent

More information

For δa E, this motivates the definition of the Bauer-Skeel condition number ([2], [3], [14], [15])

For δa E, this motivates the definition of the Bauer-Skeel condition number ([2], [3], [14], [15]) LAA 278, pp.2-32, 998 STRUCTURED PERTURBATIONS AND SYMMETRIC MATRICES SIEGFRIED M. RUMP Abstract. For a given n by n matrix the ratio between the componentwise distance to the nearest singular matrix and

More information

Background on Chevalley Groups Constructed from a Root System

Background on Chevalley Groups Constructed from a Root System Background on Chevalley Groups Constructed from a Root System Paul Tokorcheck Department of Mathematics University of California, Santa Cruz 10 October 2011 Abstract In 1955, Claude Chevalley described

More information

A fast randomized algorithm for overdetermined linear least-squares regression

A fast randomized algorithm for overdetermined linear least-squares regression A fast randomized algorithm for overdetermined linear least-squares regression Vladimir Rokhlin and Mark Tygert Technical Report YALEU/DCS/TR-1403 April 28, 2008 Abstract We introduce a randomized algorithm

More information

Eigenvalue Problems and Singular Value Decomposition

Eigenvalue Problems and Singular Value Decomposition Eigenvalue Problems and Singular Value Decomposition Sanzheng Qiao Department of Computing and Software McMaster University August, 2012 Outline 1 Eigenvalue Problems 2 Singular Value Decomposition 3 Software

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences) Lecture 19: Computing the SVD; Sparse Linear Systems Xiangmin Jiao Stony Brook University Xiangmin Jiao Numerical

More information

AM205: Assignment 2. i=1

AM205: Assignment 2. i=1 AM05: Assignment Question 1 [10 points] (a) [4 points] For p 1, the p-norm for a vector x R n is defined as: ( n ) 1/p x p x i p ( ) i=1 This definition is in fact meaningful for p < 1 as well, although

More information

Cholesky factorisation of linear systems coming from finite difference approximations of singularly perturbed problems

Cholesky factorisation of linear systems coming from finite difference approximations of singularly perturbed problems Cholesky factorisation of linear systems coming from finite difference approximations of singularly perturbed problems Thái Anh Nhan and Niall Madden Abstract We consider the solution of large linear systems

More information

ON ORTHOGONAL REDUCTION TO HESSENBERG FORM WITH SMALL BANDWIDTH

ON ORTHOGONAL REDUCTION TO HESSENBERG FORM WITH SMALL BANDWIDTH ON ORTHOGONAL REDUCTION TO HESSENBERG FORM WITH SMALL BANDWIDTH V. FABER, J. LIESEN, AND P. TICHÝ Abstract. Numerous algorithms in numerical linear algebra are based on the reduction of a given matrix

More information

Numerical Methods - Numerical Linear Algebra

Numerical Methods - Numerical Linear Algebra Numerical Methods - Numerical Linear Algebra Y. K. Goh Universiti Tunku Abdul Rahman 2013 Y. K. Goh (UTAR) Numerical Methods - Numerical Linear Algebra I 2013 1 / 62 Outline 1 Motivation 2 Solving Linear

More information

Lecture Note 7: Iterative methods for solving linear systems. Xiaoqun Zhang Shanghai Jiao Tong University

Lecture Note 7: Iterative methods for solving linear systems. Xiaoqun Zhang Shanghai Jiao Tong University Lecture Note 7: Iterative methods for solving linear systems Xiaoqun Zhang Shanghai Jiao Tong University Last updated: December 24, 2014 1.1 Review on linear algebra Norms of vectors and matrices vector

More information

Matrix decompositions

Matrix decompositions Matrix decompositions How can we solve Ax = b? 1 Linear algebra Typical linear system of equations : x 1 x +x = x 1 +x +9x = 0 x 1 +x x = The variables x 1, x, and x only appear as linear terms (no powers

More information

Randomized Simultaneous Messages: Solution of a Problem of Yao in Communication Complexity

Randomized Simultaneous Messages: Solution of a Problem of Yao in Communication Complexity Randomized Simultaneous Messages: Solution of a Problem of Yao in Communication Complexity László Babai Peter G. Kimmel Department of Computer Science The University of Chicago 1100 East 58th Street Chicago,

More information

Methods for sparse analysis of high-dimensional data, II

Methods for sparse analysis of high-dimensional data, II Methods for sparse analysis of high-dimensional data, II Rachel Ward May 23, 2011 High dimensional data with low-dimensional structure 300 by 300 pixel images = 90, 000 dimensions 2 / 47 High dimensional

More information

Institute for Computational Mathematics Hong Kong Baptist University

Institute for Computational Mathematics Hong Kong Baptist University Institute for Computational Mathematics Hong Kong Baptist University ICM Research Report 08-0 How to find a good submatrix S. A. Goreinov, I. V. Oseledets, D. V. Savostyanov, E. E. Tyrtyshnikov, N. L.

More information

MAT 2037 LINEAR ALGEBRA I web:

MAT 2037 LINEAR ALGEBRA I web: MAT 237 LINEAR ALGEBRA I 2625 Dokuz Eylül University, Faculty of Science, Department of Mathematics web: Instructor: Engin Mermut http://kisideuedutr/enginmermut/ HOMEWORK 2 MATRIX ALGEBRA Textbook: Linear

More information

Module 6.6: nag nsym gen eig Nonsymmetric Generalized Eigenvalue Problems. Contents

Module 6.6: nag nsym gen eig Nonsymmetric Generalized Eigenvalue Problems. Contents Eigenvalue and Least-squares Problems Module Contents Module 6.6: nag nsym gen eig Nonsymmetric Generalized Eigenvalue Problems nag nsym gen eig provides procedures for solving nonsymmetric generalized

More information

Gaussian Elimination for Linear Systems

Gaussian Elimination for Linear Systems Gaussian Elimination for Linear Systems Tsung-Ming Huang Department of Mathematics National Taiwan Normal University October 3, 2011 1/56 Outline 1 Elementary matrices 2 LR-factorization 3 Gaussian elimination

More information

EECS 275 Matrix Computation

EECS 275 Matrix Computation EECS 275 Matrix Computation Ming-Hsuan Yang Electrical Engineering and Computer Science University of California at Merced Merced, CA 95344 http://faculty.ucmerced.edu/mhyang Lecture 12 1 / 18 Overview

More information

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel LECTURE NOTES on ELEMENTARY NUMERICAL METHODS Eusebius Doedel TABLE OF CONTENTS Vector and Matrix Norms 1 Banach Lemma 20 The Numerical Solution of Linear Systems 25 Gauss Elimination 25 Operation Count

More information

Numerical Methods I Eigenvalue Problems

Numerical Methods I Eigenvalue Problems Numerical Methods I Eigenvalue Problems Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 MATH-GA 2011.003 / CSCI-GA 2945.003, Fall 2014 October 2nd, 2014 A. Donev (Courant Institute) Lecture

More information

UPPER AND LOWER BOUNDS FOR THE TAILS OF THE DISTRIBUTION OF THE CONDITION NUMBER OF A GAUSSIAN MATRIX

UPPER AND LOWER BOUNDS FOR THE TAILS OF THE DISTRIBUTION OF THE CONDITION NUMBER OF A GAUSSIAN MATRIX UPPER AND LOWER BOUNDS FOR THE TAILS OF THE DISTRIBUTION OF THE CONDITION NUMBER OF A GAUSSIAN MATRIX JEAN-MARC AZAïS AND MARIO WSCHEBOR Abstract. Let A be an m m real random matrix with i.i.d. standard

More information

Course Notes: Week 1

Course Notes: Week 1 Course Notes: Week 1 Math 270C: Applied Numerical Linear Algebra 1 Lecture 1: Introduction (3/28/11) We will focus on iterative methods for solving linear systems of equations (and some discussion of eigenvalues

More information

Grothendieck s Inequality

Grothendieck s Inequality Grothendieck s Inequality Leqi Zhu 1 Introduction Let A = (A ij ) R m n be an m n matrix. Then A defines a linear operator between normed spaces (R m, p ) and (R n, q ), for 1 p, q. The (p q)-norm of A

More information

Generalized interval arithmetic on compact matrix Lie groups

Generalized interval arithmetic on compact matrix Lie groups myjournal manuscript No. (will be inserted by the editor) Generalized interval arithmetic on compact matrix Lie groups Hermann Schichl, Mihály Csaba Markót, Arnold Neumaier Faculty of Mathematics, University

More information

F(jω) = a(jω p 1 )(jω p 2 ) Û Ö p i = b± b 2 4ac. ω c = Y X (jω) = 1. 6R 2 C 2 (jω) 2 +7RCjω+1. 1 (6jωRC+1)(jωRC+1) RC, 1. RC = p 1, p

F(jω) = a(jω p 1 )(jω p 2 ) Û Ö p i = b± b 2 4ac. ω c = Y X (jω) = 1. 6R 2 C 2 (jω) 2 +7RCjω+1. 1 (6jωRC+1)(jωRC+1) RC, 1. RC = p 1, p ÓÖ Ò ÊÄ Ò Ò Û Ò Ò Ö Ý ½¾ Ù Ö ÓÖ ÖÓÑ Ö ÓÒ Ò ÄÈ ÐØ Ö ½¾ ½¾ ½» ½½ ÓÖ Ò ÊÄ Ò Ò Û Ò Ò Ö Ý ¾ Á b 2 < 4ac Û ÒÒÓØ ÓÖ Þ Û Ö Ð Ó ÒØ Ó Û Ð Ú ÕÙ Ö º ËÓÑ Ñ ÐÐ ÕÙ Ö Ö ÓÒ Ò º Ù Ö ÓÖ ½¾ ÓÖ Ù Ö ÕÙ Ö ÓÖ Ò ØÖ Ò Ö ÙÒØ ÓÒ

More information

ANONSINGULAR tridiagonal linear system of the form

ANONSINGULAR tridiagonal linear system of the form Generalized Diagonal Pivoting Methods for Tridiagonal Systems without Interchanges Jennifer B. Erway, Roummel F. Marcia, and Joseph A. Tyson Abstract It has been shown that a nonsingular symmetric tridiagonal

More information

Analysis of Block LDL T Factorizations for Symmetric Indefinite Matrices

Analysis of Block LDL T Factorizations for Symmetric Indefinite Matrices Analysis of Block LDL T Factorizations for Symmetric Indefinite Matrices Haw-ren Fang August 24, 2007 Abstract We consider the block LDL T factorizations for symmetric indefinite matrices in the form LBL

More information

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP) MATH 20F: LINEAR ALGEBRA LECTURE B00 (T KEMP) Definition 01 If T (x) = Ax is a linear transformation from R n to R m then Nul (T ) = {x R n : T (x) = 0} = Nul (A) Ran (T ) = {Ax R m : x R n } = {b R m

More information

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

More information

Lecture 2 INF-MAT : , LU, symmetric LU, Positve (semi)definite, Cholesky, Semi-Cholesky

Lecture 2 INF-MAT : , LU, symmetric LU, Positve (semi)definite, Cholesky, Semi-Cholesky Lecture 2 INF-MAT 4350 2009: 7.1-7.6, LU, symmetric LU, Positve (semi)definite, Cholesky, Semi-Cholesky Tom Lyche and Michael Floater Centre of Mathematics for Applications, Department of Informatics,

More information

Applied Mathematics 205. Unit II: Numerical Linear Algebra. Lecturer: Dr. David Knezevic

Applied Mathematics 205. Unit II: Numerical Linear Algebra. Lecturer: Dr. David Knezevic Applied Mathematics 205 Unit II: Numerical Linear Algebra Lecturer: Dr. David Knezevic Unit II: Numerical Linear Algebra Chapter II.3: QR Factorization, SVD 2 / 66 QR Factorization 3 / 66 QR Factorization

More information

Tikhonov Regularization of Large Symmetric Problems

Tikhonov Regularization of Large Symmetric Problems NUMERICAL LINEAR ALGEBRA WITH APPLICATIONS Numer. Linear Algebra Appl. 2000; 00:1 11 [Version: 2000/03/22 v1.0] Tihonov Regularization of Large Symmetric Problems D. Calvetti 1, L. Reichel 2 and A. Shuibi

More information

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White

Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White Introduction to Simulation - Lecture 2 Boundary Value Problems - Solving 3-D Finite-Difference problems Jacob White Thanks to Deepak Ramaswamy, Michal Rewienski, and Karen Veroy Outline Reminder about

More information

Componentwise perturbation analysis for matrix inversion or the solution of linear systems leads to the Bauer-Skeel condition number ([2], [13])

Componentwise perturbation analysis for matrix inversion or the solution of linear systems leads to the Bauer-Skeel condition number ([2], [13]) SIAM Review 4():02 2, 999 ILL-CONDITIONED MATRICES ARE COMPONENTWISE NEAR TO SINGULARITY SIEGFRIED M. RUMP Abstract. For a square matrix normed to, the normwise distance to singularity is well known to

More information

Solution of Linear Equations

Solution of Linear Equations Solution of Linear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 7, 07 We have discussed general methods for solving arbitrary equations, and looked at the special class of polynomial equations A subclass

More information

1 Tridiagonal matrices

1 Tridiagonal matrices Lecture Notes: β-ensembles Bálint Virág Notes with Diane Holcomb 1 Tridiagonal matrices Definition 1. Suppose you have a symmetric matrix A, we can define its spectral measure (at the first coordinate

More information

Lecture 5 Singular value decomposition

Lecture 5 Singular value decomposition Lecture 5 Singular value decomposition Weinan E 1,2 and Tiejun Li 2 1 Department of Mathematics, Princeton University, weinan@princeton.edu 2 School of Mathematical Sciences, Peking University, tieli@pku.edu.cn

More information

Interval solutions for interval algebraic equations

Interval solutions for interval algebraic equations Mathematics and Computers in Simulation 66 (2004) 207 217 Interval solutions for interval algebraic equations B.T. Polyak, S.A. Nazin Institute of Control Sciences, Russian Academy of Sciences, 65 Profsoyuznaya

More information

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT Math Camp II Basic Linear Algebra Yiqing Xu MIT Aug 26, 2014 1 Solving Systems of Linear Equations 2 Vectors and Vector Spaces 3 Matrices 4 Least Squares Systems of Linear Equations Definition A linear

More information

Class notes: Approximation

Class notes: Approximation Class notes: Approximation Introduction Vector spaces, linear independence, subspace The goal of Numerical Analysis is to compute approximations We want to approximate eg numbers in R or C vectors in R

More information