Linear Algebra: Determinants, Inverses, Rank
|
|
|
- Vivien Sherilyn Golden
- 9 years ago
- Views:
Transcription
1 D Linear Algebra: Determinants, Inverses, Rank D 1
2 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK TABLE OF CONTENTS Page D.1. Introduction D 3 D.2. Determinants D 3 D.2.1. Some Properties of Determinants D 3 D.2.2. Cramer s Rule D 5 D.2.3. Homogeneous Systems D 6 D.3. Singular Matrices, Rank D 6 D.3.1. Rank Deficiency D 7 D.3.2. Rank of Matrix Sums and Products D 7 D.3.3. Singular Systems: Particular and Homogeneous Solutions.. D 7 D.3.4. Rank of Rectangular Matrices D 8 D.4. Matrix Inversion D 8 D.4.1. Explicit Computation of Inverses D 9 D.4.2. Some Properties of the Inverse D 10 D.5. The Inverse of a Sum of Matrices D 11 D.6. The Sherman-Morrison and Related Formulas D 12 D.6.1. The Sherman-Morrison Formula D 12 D.6.2. The Woodbury Formula D 12 D.6.3. Formulas for Modified Determinants D 13 D. Notes and Bibliography D 13 D. Exercises D 14 D 2
3 D.2 DETERMINANTS D.1. Introduction This Chapter discusses more specialized properties of matrices, such as determinants, inverses and rank. These apply only to square matrices unless extension to rectangular matrices is explicitly stated. D.2. Determinants The determinant of a square matrix A = [a ij ] is a number denoted by A or det(a), through which important properties such as singularity can be briefly characterized. This number is defined as the following function of the matrix elements: A =det(a) =± a 1 j1 a 2 j2... a njn, (D.1) where the column indices j 1, j 2,... j n are taken from the set {1, 2,...n}, with no repetitions allowed. The plus (minus) sign is taken if the permutation ( j 1 j 2... j n ) is even (odd). Example D.1. For a 2 2 matrix, a 11 a 12 = a11 a a 21 a 22 a 12 a 21. (D.2) 22 Example D.2. Fora3 3 matrix, a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a = a 11 a 22 a 33 + a 12 a 23 a 31 + a 13 a 21 a 32 a 13 a 22 a 31 a 12 a 21 a 33 a 11 a 23 a (D.3) Remark D.1. The concept of determinant is not applicable to rectangular matrices or to vectors. Thus the notation x for a vector x can be reserved for its magnitude (as in Appendix A) without risk of confusion. Remark D.2. Inasmuch as the product (D.1) contains n! terms, the calculation of A from the definition is impractical for general matrices whose order exceeds 3 or 4. For example, if n = 10, the product (D.1) contains 10! = 3, 628, 800 terms, each involving 9 multiplications, so over 30 million floating-point operations would be required to evaluate A according to that definition. A more practical method based on matrix decomposition is described in Remark D.3. D.2.1. Some Properties of Determinants Some useful rules associated with the calculus of determinants are listed next. I. Rows and columns can be interchanged without affecting the value of a determinant. Consequently A = A T. (D.4) II. If two rows, or two columns, are interchanged the sign of the determinant is reversed. For example: = (D.5) D 3
4 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK III. IV. If a row (or column) is changed by adding to or subtracting from its elements the corresponding elements of any other row (or column) the determinant remains unaltered. For example: = = = 10. (D.6) If the elements in any row (or column) have a common factor α then the determinant equals the determinant of the corresponding matrix in which α = 1, multiplied by α. For example: = = 2 ( 10) = 20. (D.7) V. When at least one row (or column) of a matrix is a linear combination of the other rows (or columns) the determinant is zero. Conversely, if the determinant is zero, then at least one row and one column are linearly dependent on the other rows and columns, respectively. For example, consider (D.8) This determinant is zero because the first column is a linear combination of the second and third columns: column 1 = column 2 + column 3. (D.9) Similarly, there is a linear dependence between the rows which is given by the relation row 1 = 7 8 row row 3. 5 (D.10) VI. The determinant of an upper triangular or lower triangular matrix is the product of the main diagonal entries. For example, = = 24. (D.11) This rule is easily verified from the definition (D.1) because all terms vanish except j 1 = 1, j 2 = 2,... j n = n, which is the product of the main diagonal entries. Diagonal matrices are a particular case of this rule. VII. The determinant of the product of two square matrices is the product of the individual determinants: AB = A B. (D.12) The proof requires the concept of triangular decomposition, which is covered in the Remark below. This rule can be generalized to any number of factors. One immediate application is to matrix powers: A 2 = A A = A 2, and more generally A n = A n for integer n. VIII. The determinant of the transpose of a matrix is the same as that of the original matrix: A T = A. (D.13) This rule can be directly verified from the definition of determinant, and also as direct consequence of Rule I. D 4
5 D.2 DETERMINANTS Remark D.3. Rules VI and VII are the key to the practical evaluation of determinants. Any square nonsingular matrix A (where the qualifier nonsingular is explained in D.3) can be decomposed as the product of two triangular factors A = LU, (D.14) in which L is unit lower triangular and U is upper triangular. This is called a LU triangularization, LU factorization or LU decomposition. It can be carried out in O(n 3 ) floating point operations. According to rule VII: A = L U. (D.15) According to rule VI, L =1 and U =u 11 u u nn. The last operation requires only O(n) operations. Thus the evaluation of A is dominated by the effort involved in computing the factorization (D.14). For n = 10, that effort is approximately 10 3 = 1000 floating-point operations, compared to approximately from the naive application of the definition (D.1), as noted in Remark D.2. Thus the LU-based method is roughly 30, 000 times faster for that modest matrix order, and the ratio increases exponentially for large n. D.2.2. Cramer s Rule Cramer s rule provides a recipe for solving linear algebraic equations directly in terms of determinants. Let the simultaneous equations be as usual denoted as Ax= y, (D.16) in which A is a given n n matrix, y isagivenn 1 vector, and x is the n 1 vector of unknowns. The explicit form of (D.16) is Equation (A.1) of Appendix A, with n = m. The explicit solution for the components x 1, x 2..., x n of x in terms of determinants is y 1 a 12 a a 1n a 11 y 1 a a 1n y 2 a 22 a a 2n a y 2 a a 2n y x 1 = n a n2 a n3... a nn a, x A 2 = n1 y n a n3... a nn,... (D.17) A The rule can be remembered as follows: in the numerator of the quotient for x j, replace the j th column of A by the right-hand side y. This method of solving simultaneous equations is known as Cramer s rule. Because the explicit computation of determinants is impractical for n > 3 as explained in Remark C.3, direct use of the rule has practical value only for n = 2 and n = 3 (it is marginal for n = 4). But such small-order systems arise often in finite element calculations at the Gauss point level; consequently implementors should be aware of this rule for such applications. Example D.3. Solve the 3 3 linear system [ ][ x1 x 2 x 3 D 5 ] = [ ], (D.18)
6 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK by Cramer s rule: x 1 = = 6 6 = 1, x 2 = = 6 6 = 1, x 3 = = 6 6 = 1. (D.19) Example D.4. Solve the 2 2 linear algebraic system [ ][ ] [ ] 2 + β β x1 5 = β 1 + β x 2 0 by Cramer s rule: 5 β 0 1+ β x 1 = 2 + β β β 1 + β = 5 + 5β 2 + 3β, x 2 = 2 + β 5 β β β β 1 + β (D.20) = 5β 2 + 3β. (D.21) Remark D.4. Creamer s rule importance has grown in symbolic computations carried out by computer algebra systems. This happens when the entries of A and y are algebraic expressions. For example the example system (D.20). In such cases Cramer s rule may be competitive with factorization methods for up to moderate matrix orders, for example n 20. The reason is that determinantal products may be simplified on the fly. D.2.3. Homogeneous Systems One immediate consequence of Cramer s rule is what happens if y 1 = y 2 =...= y n = 0. (D.22) The linear equation systems with a null right hand side Ax = 0, (D.23) is called a homogeneous system. From the rule (D.17) we see that if A is nonzero, all solution components are zero, and consequently the only possible solution is the trivial one x = 0. The case in which A vanishes is discussed in the next section. D.3. Singular Matrices, Rank If the determinant A of a n n square matrix A A n is zero, then the matrix is said to be singular. This means that at least one row and one column are linearly dependent on the others. If this row and column are removed, we are left with another matrix, say A n 1, to which we can apply the same criterion. If the determinant A n 1 is zero, we can remove another row and column from it to get A n 2, and so on. Suppose that we eventually arrive at an r r matrix A r whose determinant is nonzero. Then matrix A is said to have rank r, and we write rank(a) = r. If the determinant of A is nonzero, then A is said to be nonsingular. The rank of a nonsingular n n matrix is equal to n. D 6
7 D.3 SINGULAR MATRICES, RANK Obviously the rank of A T is the same as that of A since it is only necessary to transpose row and column in the definition. The notion of rank can be extended to rectangular matrices as outlined in section C.2.4 below. That extension, however, is not important for the material covered here. Example D.5. The 3 3 matrix has rank r = 3 because A = 3 0. A = [ 3 2 ] , (D.24) Example D.6. The matrix [ 3 2 ] 1 A = 1 2 1, (D.25) already used as an example in C.1.1 is singular because its first row and column may be expressed as linear combinations of the others through the relations (D.9) and (D.10). Removing the first row and column we are left with a 2 2 matrix whose determinant is 2 3 ( 1) ( 1) = 5 0. Consequently (D.25) has rank r = 2. D.3.1. Rank Deficiency If the square matrix A is supposed to be of rank r but in fact has a smaller rank r < r, the matrix is said to be rank deficient. The number r r > 0 is called the rank deficiency. Example D.7. Suppose that the unconstrained master stiffness matrix K of a finite element has order n, and that the element possesses b independent rigid body modes. Then the expected rank of K is r = n b. If the actual rank is less than r, the finite element model is said to be rank-deficient. This is usually undesirable. Example D.8. An an illustration of the foregoing rule, consider the two-node, 4-DOF, Bernoulli-Euler plane beam element stiffness derived in Chapter 12: 12 6L 12 6L K = EI 4L 2 6L 2L 2 L L, (D.26) symm 4L 2 in which EI and L are nonzero scalars. It may be verified that this 4 4 matrix has rank 2. The number of rigid body modes is 2, and the expected rank is r = 4 2 = 2. Consequently this model is rank sufficient. D.3.2. Rank of Matrix Sums and Products In finite element analysis matrices are often built through sum and product combinations of simpler matrices. Two important rules apply to rank propagation through those combinations. The rank of the product of two square matrices A and B cannot exceed the smallest rank of the multiplicand matrices. That is, if the rank of A is r a and the rank of B is r b, rank(ab) min(r a, r b ). (D.27) Regarding sums: the rank of a matrix sum cannot exceed the sum of ranks of the summand matrices. That is, if the rank of A is r a and the rank of B is r b, rank(a + B) r a + r b. (D.28) D 7
8 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK D.3.3. Singular Systems: Particular and Homogeneous Solutions Having introduced the notion of rank we can now discuss what happens to the linear system (D.16) when the determinant of A vanishes, meaning that its rank is less than n. If so, (D.16) has either no solution or an infinite number of solutions. Cramer s rule is of limited or no help in this situation. To discuss this case further we note that if A =0 and the rank of A is r = n d, where d 1is the rank deficiency, then there exist d nonzero independent vectors z i, i = 1,...d such that Az i = 0. (D.29) These d vectors, suitably orthonormalized, are called null eigenvectors of A, and form a basis for its null space. Let Z denote the n d matrix obtained by collecting the z i as columns. If y in (D.16) is in the range of A, that is, there exists an nonzero x p such that y = Ax p, its general solution is x = x p + x h = x p + Zw, (D.30) where w is an arbitrary d 1 weighting vector. This statement can be easily verified by substituting this solution into Ax = y and noting that AZ vanishes. The components x p and x h are called the particular and homogeneous portions respectively, of the total solution x. (The terminology: homogeneous solution and particular solution, are often used.) If y = 0 only the homogeneous portion remains. If y is not in the range of A, system (D.16) does not generally have a solution in the conventional sense, although least-square solutions can usually be constructed. The reader is referred to the many textbooks in linear algebra for further details. D.3.4. Rank of Rectangular Matrices The notion of rank can be extended to rectangular matrices, real or complex, as follows. Let A be m n. Its column range space R(A) is the subspace spanned by Ax where x is the set of all complex n-vectors. Mathematically: R(A) ={Ax : x C n }. The rank r of A is the dimension of R(A). The null space N (A) of A is the set of n-vectors z such that Az = 0. The dimension of N (A) is n r. Using these definitions, the product and sum rules (D.27) and (D.28) generalize to the case of rectangular (but conforming) A and B. So does the treatment of linear equation systems Ax = y in which A is rectangular. Such systems often arise in the fitting of observation and measurement data. In finite element methods, rectangular matrices appear in change of basis through congruential transformations, and in the treatment of multifreedom constraints. D 8
9 D.4 MATRIX INVERSION D.4. Matrix Inversion The inverse of a square nonsingular matrix A is represented by the symbol A 1 and is defined by the relation AA 1 = I. (D.31) The most important application of the concept of inverse is the solution of linear systems. Suppose that, in the usual notation, we have Ax= y. (D.32) Premultiplying both sides by A 1 we get the inverse relationship x = A 1 y. (D.33) More generally, consider the matrix equation for multiple (m) right-hand sides: A n n X = Y, n m n m which reduces to (D.32) for m = 1. The inverse relation that gives X as function of Y is X = A 1 Y. (D.34) (D.35) In particular, the solution of AX= I, (D.36) is X = A 1. Practical methods for computing inverses are based on directly solving this equation; see Remark D.4. D.4.1. Explicit Computation of Inverses The explicit calculation of matrix inverses is seldom needed in large matrix computations. But occasionally the need arises for the explicit inverse of small matrices that appear in element level computations. For example, the inversion of Jacobian matrices at Gauss points, or of constitutive matrices. A general formula for elements of the inverse can be obtained by specializing Cramer s rule to (?). Let B = [b ij ] = A 1. Then b ij = A ji A, (D.37) in which A ji denotes the so-called adjoint of entry a ij of A. The adjoint A ji is defined as the determinant of the submatrix of order (n 1) (n 1) obtained by deleting the j th row and i th column of A, multiplied by ( 1) i+ j. This direct inversion procedure is useful only for small matrix orders, say 2 or 3. In the examples below the explicit inversion formulas for second and third order matrices are listed. Example D.9. For order n = 2: A = in which A is given by (D.2). [ ] a11 a 12, A 1 = 1 [ ] a22 a 12, (D.38) a 21 a 22 A a 21 a 22 D 9
10 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK Example D.10. For order n = 3: [ ] [ ] a11 a 12 a 13 A = a 21 a 22 a 23, A 1 = 1 b11 b 12 b 13 b a 31 a 32 a A 21 b 22 b 23, (D.39) 33 b 31 b 32 b 33 where b 11 = a 22 a 23, b21 = a 12 a 13, b31 = a 12 a 13, a 32 a 33 a 32 a 33 a 22 a 23 b 12 = a 21 a 23, b22 = a 11 a 13, b32 = a 11 a 13, a 31 a 33 a 31 a 33 a 21 a 23 b 13 = a 21 a 22, b23 = a 11 a 12, b33 = a 11 a 12, a 31 a 32 a 31 a 32 a 21 a 22 in which A is given by (D.3). (D.40) Example D.11. A = [ ] , A 1 = [ 1 4 ] (D.41) If the order exceeds 3, the general inversion formula based on Cramer s rule becomes rapidly useless because it displays combinatorial complexity as noted in a previous Remark. For numerical work it is preferable to solve (D.36) after A is factored. Those techniques are described in detail in linear algebra books; see also Remark C.4. D.4.2. Some Properties of the Inverse I. Assuming that A 1 exists, the The inverse of its transpose is equal to the transpose of the inverse: (A T ) 1 = (A 1 ) T, (D.42) because (AA 1 ) = (AA 1 ) T = (A 1 ) T A T = I. (D.43) II. The inverse of a symmetric matrix is also symmetric. Because of the previous rule, (A T ) 1 = A 1 = (A 1 ) T, hence A 1 is also symmetric. III. The inverse of a matrix product is the reverse product of the inverses of the factors: (AB) 1 = B 1 A 1. (D.44) This is easily verified by substituting both sides of (D.39) into (D.31). This property generalizes to an arbitrary number of factors. IV. For a diagonal matrix D in which all diagonal entries are nonzero, D 1 is again a diagonal matrix with entries 1/d ii. The verification is straightforward. D 10
11 V. If S is a block diagonal matrix: S S S = 0 0 S S nn D.5THE INVERSE OF A SUM OF MATRICES = diag [ S ii ], (D.45) then the inverse matrix is also block diagonal and is given by S S S 1 = 0 0 S = diag [ S 1 ii ]. (D.46) S 1 nn VI. The inverse of an upper triangular matrix is also an upper triangular matrix. The inverse of a lower triangular matrix is also a lower triangular matrix. Both inverses can be computed in O(n 2 ) floating-point operations. Remark D.5. The practical numerical calculation of inverses is based on triangular factorization. Given a nonsingular n n matrix A, calculate its LU factorization A = LU, which can be obtained in O(n 3 ) operations. Then solve the linear triangular systems: UY = I, LX = Y, (D.47) and the computed inverse A 1 appears in X. One can overwrite I with Y and Y with X. The whole process can be completed in O(n 3 ) floating-point operations. For symmetric matrices the alternative decomposition A = LDL T, where L is unit lower triangular and D is diagonal, is generally preferred to save computing time and storage. D.5. The Inverse of a Sum of Matrices The formula for the inverse of a matrix product: (AB) 1 = B 1 A 1 is not too different from its scalar counterpart: (ab) 1 = (1/a)(1/b) = (1/b)(1/a), except that factor order matters. On the other hand, formulas for matrix sum inverses in terms of the summands are considerably more involved, and there are many variants. We consider here the expression of (A + B) 1 where both A and B are square and A is nonsingular. We begin from the identity introduced by Henderson and Searle in their review article [349]: (I + P) 1 = (I + P) 1 (I + P P) = I (I + P) 1 P, (D.48) in which P is a square matrix. Using (D.48) we may develop (A + B) 1 as follows: (A + B) 1 = ( A(I + A 1 B) 1) 1 = (I + A 1 B) 1 A 1 B = ( I (I + A 1 B) 1 A 1) A 1 = A 1 (I + A 1 B) 1 A 1 BA 1. (D.49) D 11
12 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK Here B may be singular. If B = 0, it reduces to A 1 = A 1. The check B = β A also works. The last expression in (D.49) may be further transformed by matrix manipulations as (A + B) 1 = A 1 (I + A 1 B) 1 A 1 BA 1 = A 1 A 1 (I + BA 1 ) 1 BA 1 = A 1 A 1 B (I + A 1 B) 1 A 1 = A 1 A 1 BA 1 (I + BA 1 ) 1. (D.50) In all of these forms B may be singular (or null). If B is also invertible, the third expresion in (D.50) may be transformed to the a commonly used variant (A + B) 1 = A 1 A 1 (A 1 + B 1 ) 1 A 1. (D.51) The case of singular A may be handled using the notion of generalized inverses. This is a topic beyond the scope of this course, which may be studied, e.g., in the textbooks [78,121,617]. The special case of B being of low rank merges with the Sherman-Morrison and Woodbury formulas, covered below. D.6. The Sherman-Morrison and Related Formulas The Sherman-Morrison formula gives the inverse of a matrix modified by a rank-one matrix. The Woodbury formula extends the Sherman-Morrison formula to a modification of arbitrary rank. In structural analysis these formulas are of interest for problems of structural modifications, in which a finite-element (or, in general, a discrete model) is changed by an amount expressable as a low-rank correction to the original model. D.6.1. The Sherman-Morrison Formula Let A be a square n n invertible matrix, whereas u and v are two n-vectors and β an arbitrary scalar. Assume that σ = 1 + β v T A 1 u 0. Then ( A + β uv T ) 1 = A 1 β σ A 1 uv T A 1. (D.52) When β = 1 this is called the Sherman-Morrison formula after [667]. (For a history of this remarkable expression and its extensions, which are quite important in many applications such as statistics and probability, see the review paper by Henderson and Searle cited previously.) Since any rank-one correction to A can be written as βuv T, (D.52) gives the rank-one change to its inverse. The proof is by direct multiplication, as in Exercise D.5. For practical computation of the change one solves the linear systems Aa = u and Ab = v for a and b, using the known A 1. Compute σ = 1 + βv T a.ifσ 0, the change to A 1 is the dyadic (β/σ )ab T. D 12
13 D. Notes and Bibliography D.6.2. The Woodbury Formula Let again A be a square n n invertible matrix, whereas U and V are two n k matrices with k n and β an arbitrary scalar. Assume that the k k matrix Σ = I k + β V T A 1 U, in which I k denotes the k k identity matrix, is invertible. Then ( A + βuv T ) 1 = A 1 β A 1 UΣ 1 V T A 1. (D.53) This is called the Woodbury formula, after [810]. It reduces to (D.52) if k = 1, in which case Σ σ is a scalar. The proof is by direct multiplication. D.6.3. Formulas for Modified Determinants Let à denote the adjoint of A. Taking the determinants from both sides of A + βuv T one obtains If A is invertible, replacing à = A A 1 this becomes A + βuv T = A +β v T Ãu. (D.54) A + β uv T = A (1 + β v T A 1 u). (D.55) Similarly, one can show that if A is invertible, and U and V are n k matrices, A + β UV T = A I k + β V T A 1 U. (D.56) Notes and Bibliography Much of the material summarized here is available in expanded form in linear algebra textbooks. For example, Bellman [68] and Strang [699]. For inverses of matrix sums, there are two SIAM Review articles: [325,349]. For an historical account of the topic and its close relation to the Schur complement, see the bibliography in Appendix P. D 13
14 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK Exercises for Appendix D: Determinants, Inverses, Rank EXERCISE D.1 If A is a square matrix of order n and c a scalar, show that det(ca) = c n det A. EXERCISE D.2 Let u and v denote real n-vectors normalized to unit length, so that u T u = 1 and v T v = 1, and let I denote the n n identity matrix. Show that det(i uv T ) = 1 v T u (ED.1) EXERCISE D.3 Let u denote a real n-vector normalized to unit length, so that u T u = 1 and I denote the n n identity matrix. Show that H = I 2uu T (ED.2) is orthogonal: H T H = I, and idempotent: H 2 = H. This matrix is called a elementary Hermitian, a Householder matrix, orareflector. It is a fundamental ingredient of many linear algebra algorithms; for example the QR algorithm for finding eigenvalues. EXERCISE D.4 The trace of a n n square matrix A, denoted trace(a) is the sum n coefficients. Show that if the entries of A are real, n n trace(a T A) = i=1 j=1 a 2 ij i=1 a ii EXERCISE D.5 Prove the Sherman-Morrison formula (D.53) by direct matrix multiplication. of its diagonal (ED.3) EXERCISE D.6 Prove the Sherman-Morrison formula (D.53) for β = 1 by considering the following block bordered system [ ][ ] [ ] A U B In V T = (ED.4) I k C 0 in which I k and I n denote the identy matrices of orders k and n, respectively. Solve (D.56) two ways: eliminating first B and then C, and eliminating first C and then B. Equate the results for B. EXERCISE D.7 Show that the eigenvalues of a real symmetric square matrix are real, and that the eigenvectors are real vectors. EXERCISE D.8 Let the n real eigenvalues λ i of a real n n symmetric matrix A be classified into two subsets: r eigenvalues are nonzero whereas n r are zero. Show that A has rank r. EXERCISE D.9 Show that if A is p.d., Ax = 0 implies that x = 0. EXERCISE D.10 Show that for any real m n matrix A, A T A exists and is nonnegative. EXERCISE D.11 Show that a triangular matrix is normal if and only if it is diagonal. EXERCISE D.12 Let A be a real orthogonal matrix. Show that all of its eigenvalues λ i, which are generally complex, have unit modulus. EXERCISE D.13 Let A and T be real n n matrices, with T nonsingular. Show that T 1 AT and A have the same eigenvalues. (This is called a similarity transformation in linear algebra). EXERCISE D.14 (Tough) Let A be m n and B be n m. Show that the nonzero eigenvalues of AB are the same as those of BA (Kahan). EXERCISE D.15 Let A be real skew-symmetric, that is, A = A T. Show that all eigenvalues of A are purely imaginary or zero. D 14
15 Exercises EXERCISE D.16 Let A be real skew-symmetric, that is, A = A T. Show that U = (I + A) 1 (I A), called a Cayley transformation, is orthogonal. EXERCISE D.17 Let P be a real square matrix that satisfies P 2 = P. (ED.5) Such matrices are called idempotent, and also orthogonal projectors. Show that all eigenvalues of P are either zero or one. EXERCISE D.18 The necessary and sufficient condition for two square matrices to commute is that they have the same eigenvectors. EXERCISE D.19 A matrix whose elements are equal on any line parallel to the main diagonal is called a Toeplitz matrix. (They arise in finite difference or finite element discretizations of regular one-dimensional grids.) Show that if T 1 and T 2 are any two Toeplitz matrices, they commute: T 1 T 2 = T 2 T 1. Hint: do a Fourier transform to show that the eigenvectors of any Toeplitz matrix are of the form {e iωnh }; then apply the previous Exercise. D 15
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
LINEAR ALGEBRA. September 23, 2010
LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................
1 Introduction to Matrices
1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns
Introduction to Matrix Algebra
Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary
13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.
3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms
Linear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka [email protected] http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
Notes on Determinant
ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without
a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.
MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column
8 Square matrices continued: Determinants
8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You
Applied Linear Algebra I Review page 1
Applied Linear Algebra Review 1 I. Determinants A. Definition of a determinant 1. Using sum a. Permutations i. Sign of a permutation ii. Cycle 2. Uniqueness of the determinant function in terms of properties
Similarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
Orthogonal Diagonalization of Symmetric Matrices
MATH10212 Linear Algebra Brief lecture notes 57 Gram Schmidt Process enables us to find an orthogonal basis of a subspace. Let u 1,..., u k be a basis of a subspace V of R n. We begin the process of finding
3 Orthogonal Vectors and Matrices
3 Orthogonal Vectors and Matrices The linear algebra portion of this course focuses on three matrix factorizations: QR factorization, singular valued decomposition (SVD), and LU factorization The first
Vector and Matrix Norms
Chapter 1 Vector and Matrix Norms 11 Vector Spaces Let F be a field (such as the real numbers, R, or complex numbers, C) with elements called scalars A Vector Space, V, over the field F is a non-empty
Solving Linear Systems, Continued and The Inverse of a Matrix
, Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing
Solution of Linear Systems
Chapter 3 Solution of Linear Systems In this chapter we study algorithms for possibly the most commonly occurring problem in scientific computing, the solution of linear systems of equations. We start
CS3220 Lecture Notes: QR factorization and orthogonal transformations
CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss
α = u v. In other words, Orthogonal Projection
Orthogonal Projection Given any nonzero vector v, it is possible to decompose an arbitrary vector u into a component that points in the direction of v and one that points in a direction orthogonal to v
Section 6.1 - Inner Products and Norms
Section 6.1 - Inner Products and Norms Definition. Let V be a vector space over F {R, C}. An inner product on V is a function that assigns, to every ordered pair of vectors x and y in V, a scalar in F,
Linear Algebra Notes for Marsden and Tromba Vector Calculus
Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of
Chapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
Lecture 4: Partitioned Matrices and Determinants
Lecture 4: Partitioned Matrices and Determinants 1 Elementary row operations Recall the elementary operations on the rows of a matrix, equivalent to premultiplying by an elementary matrix E: (1) multiplying
Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.
Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry
Numerical Analysis Lecture Notes
Numerical Analysis Lecture Notes Peter J. Olver 6. Eigenvalues and Singular Values In this section, we collect together the basic facts about eigenvalues and eigenvectors. From a geometrical viewpoint,
1 VECTOR SPACES AND SUBSPACES
1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such
by the matrix A results in a vector which is a reflection of the given
Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that
Lecture 1: Schur s Unitary Triangularization Theorem
Lecture 1: Schur s Unitary Triangularization Theorem This lecture introduces the notion of unitary equivalence and presents Schur s theorem and some of its consequences It roughly corresponds to Sections
The Characteristic Polynomial
Physics 116A Winter 2011 The Characteristic Polynomial 1 Coefficients of the characteristic polynomial Consider the eigenvalue problem for an n n matrix A, A v = λ v, v 0 (1) The solution to this problem
Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013
Notes on Orthogonal and Symmetric Matrices MENU, Winter 201 These notes summarize the main properties and uses of orthogonal and symmetric matrices. We covered quite a bit of material regarding these topics,
Operation Count; Numerical Linear Algebra
10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point
Linear Algebra: Vectors
A Linear Algebra: Vectors A Appendix A: LINEAR ALGEBRA: VECTORS TABLE OF CONTENTS Page A Motivation A 3 A2 Vectors A 3 A2 Notational Conventions A 4 A22 Visualization A 5 A23 Special Vectors A 5 A3 Vector
Lecture 5: Singular Value Decomposition SVD (1)
EEM3L1: Numerical and Analytical Techniques Lecture 5: Singular Value Decomposition SVD (1) EE3L1, slide 1, Version 4: 25-Sep-02 Motivation for SVD (1) SVD = Singular Value Decomposition Consider the system
University of Lille I PC first year list of exercises n 7. Review
University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients
Methods for Finding Bases
Methods for Finding Bases Bases for the subspaces of a matrix Row-reduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,
Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i.
Math 5A HW4 Solutions September 5, 202 University of California, Los Angeles Problem 4..3b Calculate the determinant, 5 2i 6 + 4i 3 + i 7i Solution: The textbook s instructions give us, (5 2i)7i (6 + 4i)(
Continued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation
7 Gaussian Elimination and LU Factorization
7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method
Inner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj
Section 5. l j v j = [ u u j u m ] l jj = l jj u j + + l mj u m. l mj Section 5. 5.. Not orthogonal, the column vectors fail to be perpendicular to each other. 5..2 his matrix is orthogonal. Check that
Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.
ORTHOGONAL MATRICES Informally, an orthogonal n n matrix is the n-dimensional analogue of the rotation matrices R θ in R 2. When does a linear transformation of R 3 (or R n ) deserve to be called a rotation?
Factorization Theorems
Chapter 7 Factorization Theorems This chapter highlights a few of the many factorization theorems for matrices While some factorization results are relatively direct, others are iterative While some factorization
Matrix Differentiation
1 Introduction Matrix Differentiation ( and some other stuff ) Randal J. Barnes Department of Civil Engineering, University of Minnesota Minneapolis, Minnesota, USA Throughout this presentation I have
Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.
Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that
Solving Systems of Linear Equations
LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how
160 CHAPTER 4. VECTOR SPACES
160 CHAPTER 4. VECTOR SPACES 4. Rank and Nullity In this section, we look at relationships between the row space, column space, null space of a matrix and its transpose. We will derive fundamental results
Solution to Homework 2
Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if
The Determinant: a Means to Calculate Volume
The Determinant: a Means to Calculate Volume Bo Peng August 20, 2007 Abstract This paper gives a definition of the determinant and lists many of its well-known properties Volumes of parallelepipeds are
Systems of Linear Equations
Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and
Notes on Symmetric Matrices
CPSC 536N: Randomized Algorithms 2011-12 Term 2 Notes on Symmetric Matrices Prof. Nick Harvey University of British Columbia 1 Symmetric Matrices We review some basic results concerning symmetric matrices.
Recall that two vectors in are perpendicular or orthogonal provided that their dot
Orthogonal Complements and Projections Recall that two vectors in are perpendicular or orthogonal provided that their dot product vanishes That is, if and only if Example 1 The vectors in are orthogonal
15.062 Data Mining: Algorithms and Applications Matrix Math Review
.6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop
A note on companion matrices
Linear Algebra and its Applications 372 (2003) 325 33 www.elsevier.com/locate/laa A note on companion matrices Miroslav Fiedler Academy of Sciences of the Czech Republic Institute of Computer Science Pod
SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison
SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections
MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.
MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar
Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University
Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009, 2011, 2014 Preface The title of the book sounds a bit mysterious. Why should anyone
Inner Product Spaces and Orthogonality
Inner Product Spaces and Orthogonality week 3-4 Fall 2006 Dot product of R n The inner product or dot product of R n is a function, defined by u, v a b + a 2 b 2 + + a n b n for u a, a 2,, a n T, v b,
3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.
Exercise 1 1. Let A be an n n orthogonal matrix. Then prove that (a) the rows of A form an orthonormal basis of R n. (b) the columns of A form an orthonormal basis of R n. (c) for any two vectors x,y R
Name: Section Registered In:
Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are
F Matrix Calculus F 1
F Matrix Calculus F 1 Appendix F: MATRIX CALCULUS TABLE OF CONTENTS Page F1 Introduction F 3 F2 The Derivatives of Vector Functions F 3 F21 Derivative of Vector with Respect to Vector F 3 F22 Derivative
LS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
Eigenvalues and Eigenvectors
Chapter 6 Eigenvalues and Eigenvectors 6. Introduction to Eigenvalues Linear equations Ax D b come from steady state problems. Eigenvalues have their greatest importance in dynamic problems. The solution
Similar matrices and Jordan form
Similar matrices and Jordan form We ve nearly covered the entire heart of linear algebra once we ve finished singular value decompositions we ll have seen all the most central topics. A T A is positive
4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION
4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION STEVEN HEILMAN Contents 1. Review 1 2. Diagonal Matrices 1 3. Eigenvectors and Eigenvalues 2 4. Characteristic Polynomial 4 5. Diagonalizability 6 6. Appendix:
Lecture 2 Matrix Operations
Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or
Using row reduction to calculate the inverse and the determinant of a square matrix
Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible
Math 312 Homework 1 Solutions
Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please
Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components
Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components The eigenvalues and eigenvectors of a square matrix play a key role in some important operations in statistics. In particular, they
The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression
The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression The SVD is the most generally applicable of the orthogonal-diagonal-orthogonal type matrix decompositions Every
x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.
Cross product 1 Chapter 7 Cross product We are getting ready to study integration in several variables. Until now we have been doing only differential calculus. One outcome of this study will be our ability
Linear Algebraic Equations, SVD, and the Pseudo-Inverse
Linear Algebraic Equations, SVD, and the Pseudo-Inverse Philip N. Sabes October, 21 1 A Little Background 1.1 Singular values and matrix inversion For non-smmetric matrices, the eigenvalues and singular
NOTES ON LINEAR TRANSFORMATIONS
NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all
ASEN 3112 - Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1
19 MDOF Dynamic Systems ASEN 3112 Lecture 1 Slide 1 A Two-DOF Mass-Spring-Dashpot Dynamic System Consider the lumped-parameter, mass-spring-dashpot dynamic system shown in the Figure. It has two point
DATA ANALYSIS II. Matrix Algorithms
DATA ANALYSIS II Matrix Algorithms Similarity Matrix Given a dataset D = {x i }, i=1,..,n consisting of n points in R d, let A denote the n n symmetric similarity matrix between the points, given as where
Lecture notes on linear algebra
Lecture notes on linear algebra David Lerner Department of Mathematics University of Kansas These are notes of a course given in Fall, 2007 and 2008 to the Honors sections of our elementary linear algebra
1 2 3 1 1 2 x = + x 2 + x 4 1 0 1
(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which
Direct Methods for Solving Linear Systems. Matrix Factorization
Direct Methods for Solving Linear Systems Matrix Factorization Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011
I. GROUPS: BASIC DEFINITIONS AND EXAMPLES
I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called
Lecture L3 - Vectors, Matrices and Coordinate Transformations
S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between
Elementary Matrices and The LU Factorization
lementary Matrices and The LU Factorization Definition: ny matrix obtained by performing a single elementary row operation (RO) on the identity (unit) matrix is called an elementary matrix. There are three
Lecture 3: Finding integer solutions to systems of linear equations
Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture
1 Sets and Set Notation.
LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most
5. Orthogonal matrices
L Vandenberghe EE133A (Spring 2016) 5 Orthogonal matrices matrices with orthonormal columns orthogonal matrices tall matrices with orthonormal columns complex matrices with orthonormal columns 5-1 Orthonormal
LINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
CONTROLLABILITY. Chapter 2. 2.1 Reachable Set and Controllability. Suppose we have a linear system described by the state equation
Chapter 2 CONTROLLABILITY 2 Reachable Set and Controllability Suppose we have a linear system described by the state equation ẋ Ax + Bu (2) x() x Consider the following problem For a given vector x in
MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.
MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column
Mathematics Course 111: Algebra I Part IV: Vector Spaces
Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are
4.5 Linear Dependence and Linear Independence
4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then
October 3rd, 2012. Linear Algebra & Properties of the Covariance Matrix
Linear Algebra & Properties of the Covariance Matrix October 3rd, 2012 Estimation of r and C Let rn 1, rn, t..., rn T be the historical return rates on the n th asset. rn 1 rṇ 2 r n =. r T n n = 1, 2,...,
T ( a i x i ) = a i T (x i ).
Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0
More than you wanted to know about quadratic forms
CALIFORNIA INSTITUTE OF TECHNOLOGY Division of the Humanities and Social Sciences More than you wanted to know about quadratic forms KC Border Contents 1 Quadratic forms 1 1.1 Quadratic forms on the unit
Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University
Linear Algebra Done Wrong Sergei Treil Department of Mathematics, Brown University Copyright c Sergei Treil, 2004, 2009, 2011, 2014 Preface The title of the book sounds a bit mysterious. Why should anyone
SOLVING LINEAR SYSTEMS
SOLVING LINEAR SYSTEMS Linear systems Ax = b occur widely in applied mathematics They occur as direct formulations of real world problems; but more often, they occur as a part of the numerical analysis
6. Cholesky factorization
6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix
Least-Squares Intersection of Lines
Least-Squares Intersection of Lines Johannes Traa - UIUC 2013 This write-up derives the least-squares solution for the intersection of lines. In the general case, a set of lines will not intersect at a
Typical Linear Equation Set and Corresponding Matrices
EWE: Engineering With Excel Larsen Page 1 4. Matrix Operations in Excel. Matrix Manipulations: Vectors, Matrices, and Arrays. How Excel Handles Matrix Math. Basic Matrix Operations. Solving Systems of
Matrix Representations of Linear Transformations and Changes of Coordinates
Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under
