Lecture Notes 1: Matrix Algebra Part B: Determinants and Inverses
|
|
- Ariel Phelps
- 7 years ago
- Views:
Transcription
1 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 1 of 75 Lecture Notes 1: Matrix Algebra Part B: Determinants and Inverses Peter J. Hammond revised 2016 September 18th
2 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 2 of 75 Lecture Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
3 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 3 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
4 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 4 of 75 Permutations and Their Signs Definition Given N n = {1,..., n} where n 2, a permutation of N n is a bijective mapping π : N n N n. The family Π n of all permutations of N n includes: the identity mapping ι defined by ι(h) = h for all h N n ; for each π Π n, a unique inverse π 1 Π n for which π 1 π = π π 1 = ι Definition 1. Given any permutation π Π n, an inversion of π is a pair (i, j) N n such that i > j and π(i) < π(j). 2. A permutation π : N n N n is either even or odd according as it has an even or odd number of inversions. 3. The sign or signature of a permutation π, denoted by sgn(π), is defined as: (i) +1 if π is even; (ii) 1 if π is odd.
5 A Product Rule for the Signs of Permutations Theorem For any two permutations π, ρ Π n, one has sgn(π ρ) = sgn(π) sgn(ρ) The proof on the next slides uses the following: Definition First, define the signum or sign function { +1 if x > 0 R \ {0} x s(x) := 1 if x < 0 Next, for each permutation π Π n, let S(π) denote the matrix { 1 if i > j and π(i) < π(j) whose elements satisfy s ij (π) = +1 otherwise Finally, let S(π) := n i=1 n j=1 s ij(π) { 1, +1}. University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 5 of 75
6 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 6 of 75 A Product Formula for the Sign of a Permutation Lemma For all π Π n one has sgn(π) = i>j s(π(i) π(j)) = S(π). Proof. Let p := #{(i, j) N n N n i > j & π(i) < π(j)} denote the number of inversions of π. By definition, sgn(π) = ( 1) p = ±1 according as p is even or odd. But the definitions on the previous slide imply that p = #{(i, j) N n N n i > j & s(π(i) π(j)) = 1} = #{(i, j) N n N n s ij (π) = 1} Therefore sgn(π) = ( 1) p = i>j s(π(i) π(j)) = n n i=1 j=1 s ij(π) = S(π)
7 Proving the Product Rule Suppose the three permutations π, ρ, σ Π n satisfy σ = π ρ. Then sgn(σ) S(σ) sgn(ρ) = = n n s ij (σ) S(ρ) i=1 j=1 s ij (ρ) and also s(σ(i) σ(j)) = s(π(ρ(i)) π(ρ(j))). The definition of the two matrices S(σ) and S(ρ) implies that their elements satisfy s ij (σ)/s ij (ρ) = 1 whenever i j. In particular, s ij (σ)/s ij (ρ) = 1 unless both i > j and also s(σ(i) σ(j)) = s(ρ(i) ρ(j)). Hence, given any i, j N n with i > j, one has s ij (σ)/s ij (ρ) = 1 if and only if s(π(ρ(i)) π(ρ(j))) = s(ρ(i) ρ(j)), or equivalently, if and only if: either ρ(i) > ρ(j) and (ρ(i), ρ(j)) is an inversion of π; or ρ(i) < ρ(j) and (ρ(j), ρ(i)) is an inversion of π. Let p denote the number of inversions of the permutation π. Then sgn(σ)/ sgn(ρ) = ( 1) p = sgn(π), implying that sgn(σ) = sgn(π) sgn(ρ). University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 7 of 75
8 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 8 of 75 Transpositions For each disjoint pair k, l {1, 2,..., n}, the transposition mapping i τ kl (i) on {1, 2,..., n} is the permutation defined by l if i = k; τ kl (i) := k if i = l; i otherwise; That is, τ kl transposes the order of k and l, leaving all i {k, l} unchanged. Evidently τ kl = τ lk and τ kl τ lk = ι, the identity permutation, and so τ τ = ι for every transposition τ. It is also evident that τ has exactly one inversion, so sgn(τ) = 1.
9 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 9 of 75 Transposition is Not Commutative Exercise Show that transpositions defined on a set containing more than two elements may not commute because, for example, τ 12 τ 23 = π 231 τ 23 τ 12 = π 312
10 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 10 of 75 Permutations are Products of Transpositions Theorem Any permutation π Π n on N n := {1, 2,..., n} is the product of at most n 1 transpositions. We will prove the result by induction on n. As the induction hypothesis, suppose the result holds for permutations on N n 1. Any permutation π on N 2 := {1, 2} is either the identity, or the transposition τ 12, so the result holds for n = 2.
11 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 11 of 75 Proof of Induction Step For general n, let j := π 1 (n) denote the element that π moves to the end. By construction, the permutation π τ jn must satisfy π τ jn (n) = π(τ jn (n)) = π(j) = n. So the restriction π of π τ jn to N n 1 is a permutation on N n 1. By the induction hypothesis, for all k N n 1, there exist transpositions τ 1, τ 2,..., τ q such that π(k) = π τ jn (k) = τ 1 τ 2... τ q (k) where q n 2 is the number of transpositions in the product. For p = 1,..., q, because τ p interchanges only elements of N n 1, one can extend its domain to include n by letting τ p (n) = n. Then π τ jn (k) = τ 1 τ 2... τ q (k) for k = n as well, so π = (π τ jn ) τ 1 jn = τ 1 τ 2... τ q τ 1 jn. Hence π is the product of at most q + 1 n 1 transpositions. This completes the proof by induction on n.
12 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 12 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
13 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 13 of 75 Permutation Matrices: Definition Definition For each permutation π Π on {1, 2,..., n}, let P π denote the unique associated n-dimensional permutation matrix which is derived by applying π to the rows of the identity matrix I n. That is, for each i = 1, 2,..., n, the ith row vector of the identity matrix I n is moved to become row π(i) of P π. This definition implies that the only nonzero element in row i of P π occurs not in column j = i, as it would in the identity matrix, but in column j = π 1 (i) where i = π(j). Hence the matrix elements p π ij of P π are given by p π ij = δ i,π(j) for i, j = 1, 2,..., n.
14 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 14 of 75 Permutation Matrices: Examples Example There are two 2 2 permutation matrices, which are given by: ( ) P 12 = I 2 ; P =. 1 0 Their signs are respectively +1 and 1. There are 3! = 6 permutation matrices in 3 dimensions given by: P 123 = I 3 ; P 132 = ; P 213 = ; P 231 = ; P 312 = ; P 321 = Their signs are respectively +1, 1, 1, +1, +1 and 1.
15 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 15 of 75 Permutation Matrices: Exercise Exercise Suppose that π, ρ are permutations in Π, whose composition is the function π ρ defined by Show that: {1, 2,..., n} i (π ρ)(i) = π(ρ(i)) {1, 2,..., n} 1. the mapping i π(ρ(i)) is a permutation on {1, 2,..., n}; 2. the associated permutation matrices satisfy P π ρ = P π P ρ. Then use result 2 to prove by induction on q that, if the permutation π equals the q-fold composition π 1 π 2 π q, then P π equals the q-fold matrix product P π1 P π2 P πq.
16 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 16 of 75 Transposition Matrices A special case of a permutation matrix is a transposition T h,i of rows h and i. As the matrix I with rows h and i transposed, it satisfies δ rs if r {h, i} (T h,i ) rs = δ is if r = h if r = i Exercise Prove that: δ hs 1. any transposition matrix T = T h,i is symmetric; 2. T h,i = T i,h ; 3. T h,i T i,h = T i,h T h,i = I.
17 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 17 of 75 More on Permutation Matrices Theorem Any permutation matrix P = P π satisfies: 1. P = q s=1 Ts for the product of some collection of q n 1 transposition matrices. 2. PP = P P = I Proof. The permutation π is the composition τ 1 τ 2 τ q of q n 1 transpositions τ s (for s S := {1, 2,..., q}). As shown previously, P π = q s=1 Ts where T s = P τ s for s S. Then, because each T s is symmetric, the transpose (P π ) equals the reversed product T q T 2 T 1. But each transposition T s also satisfies T s T s = I, so PP = T 1 T 2 T q T q T 2 T 1 = T 1 T 2 T q 1 T q 1 T 2 T 1 which equals I by induction on q, and similarly P P = I.
18 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 18 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
19 A First Elementary Row Operation Suppose that row r of the m m identity matrix I m is multiplied by a scalar α R, leaving all other rows unchanged. This gives the m m diagonal matrix S r (α) = diag(1, 1,..., 1, α, 1,..., 1) whose diagonal elements are 1, except the rth element which is α. Hence the elements of S r (α) satisfy { δ ij (S r (α)) ij = αδ ij if i r if i = r Exercise For the particular m m matrix S r (α) and the general m n matrix A, show that the transformed m n matrix S r (α)a is the result of multiplying row r of A by the scalar α, leaving all other rows unchanged. University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 19 of 75
20 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 20 of 75 A Second Elementary Row Operation Suppose a multiple of α times row q of the identity matrix I m is added to its rth row, leaving all the other m 1 rows unchanged. Provided that q r, the resulting m m matrix E r+αq equals I m, but with an extra non-zero element equal to α in the (r, q) position. Its elements therefore satisfy (E r+αq ) ij = δ ij + αδ ir δ jq. Exercise For the particular m m matrix E r+αq and the general m n matrix A, show that the transformed m n matrix E r+αq A is the result of adding the multiple of α times its row q to the rth row of matrix A, leaving all other rows unchanged.
21 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 21 of 75 Levi-Civita Lists For any n N, define the set N n := {1, 2,..., n} of the first n natural numbers. Definition A Levi-Civita list j = (j 1, j 2,..., j n ) (N n ) n is a representation of a mapping N n i j i N n := {1, 2,..., n}. This list can be regarded as a mapping from the row numbers of an n n matrix to the column numbers of the same matrix.
22 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 22 of 75 Levi-Civita Symbols Definition The Levi-Civita function (N n ) n j ɛ j { 1, 0, 1} of order n maps each Levi-Civita list into an associated value called its Levi-Civita symbol. This value depends on whether the mapping N n i j i N n is an even or an odd permutation of the ordered list (1, 2,..., n), or is not a permutation at all. Specifically, +1 if i j i is an even permutation ɛ j = ɛ j1 j 2...j n := 1 if i j i is an odd permutation 0 if i j i is not a permutation
23 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 23 of 75 The Levi-Civita Matrix Definition Given the Levi-Civita mapping N n i j i N n := {1, 2,..., n}, the associated n n Levi-Civita matrix L j has elements defined by (L j ) rs = (L j1 j 2...j n ) rs := δ jr,s This implies that the rth row of L j equals row j r of the matrix I n. That is, L j = (e j1, e j2,..., e jn ) is the n n matrix produced by stacking the n row vectors e j r (r = 1, 2,..., n) of the canonical basis on top of each other, with repetitions allowed. For a general n n matrix A, the matrix L j A = L j1 j 2...j n A is the result of stacking the n row vectors a j r (r = 1, 2,..., n) of A on top of each other, with repetitions allowed. Specifically, (L j A) rs = a jr s for all r, s {1, 2,..., n}.
24 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 24 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
25 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 25 of 75 Determinants of Order 2: Definition Consider again the pair of linear equations a 11 x 1 + a 12 x 2 = b 1 a 21 x 1 + a 12 x 2 = b 2 with its associated coefficient matrix ( ) a11 a A = 12 a 21 a 22 Let us define the number D := a 11 a 22 a 21 a 12. Provided that D 0, the equations have a unique solution given by x 1 = 1 D (b 1a 22 b 2 a 12 ), x 2 = 1 D (b 2a 11 b 1 a 21 ) The number D is called the determinant of the matrix A. It is denoted by either det(a), or more concisely, by A.
26 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 26 of 75 Determinants of Order 2: Simple Rule Thus, for any 2 2 matrix A, its determinant D is A = a 11 a 12 a 21 a 22 = a 11a 22 a 21 a 12 For this special case of order 2 determinants, a simple rule is: 1. multiply the diagonal elements together; 2. multiply the off-diagonal elements together; 3. subtract the product of the off-diagonal elements from the product of the diagonal elements. Exercise Show that the determinant satisfies 1 0 A = a 11 a a a
27 Cramer s Rule in the 2 2 Case Using determinant notation, the solution to the equations a 11 x 1 + a 12 x 2 = b 1 a 21 x 1 + a 12 x 2 = b 2 can be written in the alternative form x 1 = 1 D b 1 a 12 b 2 a 22, x 2 = 1 D a 11 b 1 a 21 b 2 This accords with Cramer s rule for the solution to Ax = b, which is the vector x = (x i ) n i=1 each of whose components x i is the fraction with: 1. denominator equal to the determinant D of the coefficient matrix A (provided, of course, that D 0); 2. numerator equal to the determinant of the matrix (A i, b) formed from A by replacing its ith column with the b vector of right-hand side elements, while keeping all the columns in their original order. University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 27 of 75
28 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 28 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
29 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 29 of 75 Determinants of Order 3: Definition Determinants of order 3 can be calculated from those of order 2 according to the formula a A = a 22 a a 32 a 33 a 12 a 21 a 23 a 31 a 33 + a 13 a 21 a 22 a 31 a 32 = 3 j=1 ( 1)1+j a 1j C 1j where, for j = 1, 2, 3, the 2 2 matrix C 1j is the (1, j)-cofactor obtained by removing both row 1 and column j from A. The result is the following sum A = a 11 a 22 a 33 a 11 a 23 a 32 + a 12 a 23 a 31 a 12 a 21 a 33 + a 13 a 21 a 32 a 13 a 22 a 31 of 3! = 6 terms, each the product of 3 elements chosen so that each row and each column is represented just once.
30 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 30 of 75 Determinants of Order 3: Cofactor Expansion The determinant expansion A = a 11 a 22 a 33 a 11 a 23 a 32 + a 12 a 23 a 31 a 12 a 21 a 33 + a 13 a 21 a 32 a 13 a 22 a 31 is very symmetric, suggesting (correctly) that the cofactor expansion along the first row (a 11, a 12, a 13 ) A = 3 j=1 ( 1)1+j a 1j C 1j gives the same answer as the other cofactor expansions A = 3 along, respectively: j=1 ( 1)r+j a rj C rj = 3 the rth row (a r1, a r2, a r3 ) the sth column (a 1s, a 2s, a 3s ) i=1 ( 1)i+s a is C is
31 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 31 of 75 Determinants of Order 3: Alternative Expressions The same result A = a 11 a 22 a 33 a 11 a 23 a 32 + a 12 a 23 a 31 a 12 a 21 a 33 + a 13 a 21 a 32 a 13 a 22 a 31 can be obtained as either of the two expansions 3 3 A = 3 ɛ j j 1 =1 j 2 =1 j 3 =1 1 j 2 j 3 a 1j1 a 2j2 a 3j3 = sgn(π) 3 π Π i=1 a iπ(i) Here ɛ j = ɛ j1 j 2 j 3 { 1, 0, 1} denotes the Levi-Civita symbol associated with the mapping i j i from {1, 2, 3} into itself. Also, Π denotes the set of all 3! = 6 possible permutations on {1, 2, 3}, with typical member π, whose sign is denoted by sgn(π).
32 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 32 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
33 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 33 of 75 The Determinant Function Let D n denote the domain R n n of n n matrices. When n = 1, 2, 3, the determinant mapping D n A A R specifies the determinant A of each n n matrix A as a function of its n row vectors (a i ) n i=1. For a general natural number n N, consider any mapping defined on the domain D n. D n A D(A) = D ((a i ) n i=1) R Notation: Let D(A/b r ) denote the new value D(a 1,..., a r 1, b r, a r+1,..., a n ) of the function D after the rth row a r of the matrix A has been replaced by the new row vector b r.
34 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 34 of 75 Row Multilinearity Definition The function D n A D(A) of A s n rows (a i ) n i=1 is (row) multilinear just in case, for each row number i {1, 2,..., n}, each pair b i, c i R n of new versions of row i, and each pair of scalars λ, µ R, one has D(A/λb i + µc i ) = λd(a/b i ) + µd(a/c i ) Formally, the mapping R n a i D(A/a i ) R is required to be linear, for fixed each row i N n. That is, D is a linear function of the ith row vector a i on its own, when all the other rows a h (h i) are fixed.
35 The Three Characterizing Properties Definition The function D n A D(A) is alternating just in case for every transposition matrix T, one has D(TA) = D(A) i.e., interchanging any two rows reverses its sign. Definition The mapping D n A D(A) is of the determinant type just in case: 1. D is multilinear in its rows; 2. D is alternating; 3. D(I n ) = 1 for the identity matrix I n. Exercise Use the previous definitions of the determinant for n 3 to show that the mapping D n A A R is of the determinant type provided that n 3. University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 35 of 75
36 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 36 of 75 First Implication of Multilinearity in the n n Case Lemma Suppose that D n A D(A) is multilinear in its rows. For any fixed B D n, the value of D(AB) can be expressed as the linear combination D(AB) = n n... j 1 =1 j 2 =1 n a 1j1 a 2j2 a njn D(L j1 j 2...j n B) j n=1 of its values at all possible matrices L j B = L j1 j 2...j n B := (b jr ) n r=1 whose rth row, for each r = 1, 2,..., n, equals the j r th row b jr of the matrix B.
37 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 37 of 75 Characterizing 2 2 Determinants 1. In the case of 2 2 matrices, the lemma tells us that multilinearity implies D(AB) = a 11 a 21 D(b 1, b 1 ) + a 11 a 22 D(b 1, b 2 ) + a 12 a 21 D(b 2, b 1 ) + a 12 a 22 D(b 2, b 2 ) where b 1 = (b 11, b 21 ) and b 2 = (b 12, b 22 ) are the rows of B. 2. If D is also alternating, then D(b 1, b 1 ) = D(b 2, b 2 ) = 0 and D(B) = D(b 1, b 2 ) = D(b 2, b 1 ), implying that D(AB) = a 11 a 22 D(b 1, b 2 ) + a 12 a 21 D(b 2, b 1 ) = (a 11 a 22 a 12 a 21 )D(B) 3. Imposing the additional restriction D(B) = 1 when B = I 2, we obtain the ordinary determinant D(A) = a 11 a 22 a 12 a Then, too, one derives the product rule D(AB) = D(A)D(B).
38 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 38 of 75 First Implication of Multilinearity: Proof Each element of the product C = AB satisfies c ik = n j=1 a ijb jk. Hence each row c i = (c ik ) n k=1 of C can be expressed as the linear combination c i = n j=1 a ijb j of B s rows. For each r = 1, 2,..., n and each arbitrary selection b j1,..., b jr 1 of r 1 rows from B, multilinearity therefore implies that D(b j1,..., b jr 1, c r, c r+1,..., c n ) = n j r =1 a ij r D(b j1,..., b jr 1, b jr, c r+1,..., c n ) This equation can be used to show, by induction on k, that D(C) = n n... j 1 =1 j 2 =1 n a 1j1 a 2j2 a kjk D(b j1,..., b jk, c k+1,..., c n ) j k =1 for k = 1, 2,..., n, including for k = n as the lemma claims.
39 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 39 of 75 Additional Implications of Alternation Lemma Suppose D n A D(A) is both row multilinear and alternating. Then for all possible n n matrices A, B, and for all possible permutation matrices P π, one has: 1. D(AB) = π Π n i=1 a iπ(i)d(p π B) 2. D(P π B) = sgn(π)d(b). 3. Under the additional assumption that D(I n ) = 1, one has: determinant formula: D(A) = π Π sgn(π) n i=1 a iπ(i); product rule: D(AB) = D(A)D(B)
40 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 40 of 75 First Additional Implication of Alternation: Proof Because D is alternating, one has D(B) = 0 whenever two rows of B are equal. It follows that for any matrix (b ji ) n i=1 = L jb whose n rows are all rows of the matrix B, one has D((b ji ) n i=1 ) = 0 unless these rows are all different. But if all the n rows of (b ji ) n i=1 = L jb are all different, there exists a permutation π Π such that L j B = P π B. Hence, after eliminating terms that are zero, one has D(AB) = n n j 1 =1 j 2 =1... n j a n=1 1j 1 a 2j2 a njn D((b jr ) n r=1 ) = n n j 1 =1 j 2 =1... n j a n=1 1j 1 a 2j2 a njn D(L j1 j 2...j n B) = n π Π i=1 a iπ(i)d(p π B) as stated in part 1 of the Lemma.
41 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 41 of 75 Second Additional Implication: Proof Because D is alternating, whenever T is a transposition matrix, one has D(TP π B) = D(P π B). Suppose that π = τ 1 τ q is one possible factorization of the permutation π as the composition of transpositions. But sgn(τ) = 1 for any transposition τ. So sgn(π) = ( 1) q by the product rule for signs of permutations. Note that P π = T 1 T 2 T q where T p denotes the permutation matrix corresponding to the transposition τ p, for each p = 1,..., q It follows that D(P π B) = D(T 1 T 2 T q B) = ( 1) q D(B) = sgn(π)d(b) as required.
42 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 42 of 75 Third Additional Implication: Proof In case D(I n ) = 1, applying parts 1 and 2 of the Lemma (which we have already proved) with B = I n gives immediately D(A) = π Π n i=1 a iπ(i)d(p π ) = π Π sgn(π) n But then, applying parts 1 and 2 of the Lemma for a general matrix B gives n i=1 a iπ(i) D(AB) = a iπ(i)d(p π B) π Π i=1 = sgn(π) n a iπ(i)d(b) = D(A)D(B) π Π i=1 as an implication of the first equality on this slide. This completes the proof of all three parts.
43 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 43 of 75 Formal Definition and Cofactor Expansion Definition The determinant A of any n n matrix A is defined so that D n A A is the unique (row) multilinear and alternating mapping that satisfies I n = 1. Definition For any n n determinant A, its rs-cofactor C rs is the (n 1) (n 1) determinant of the matrix C rs obtained by omitting row r and column s from A. The cofactor expansion of A along any row r or column s is A = n j=1 ( 1)r+j a rj C rj = n i=1 ( 1)i+s a is C is Exercise Prove that these cofactor expansions are valid, using the formula A = π Π n i=1 sgn(π)a iπ(i)
44 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 44 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
45 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 45 of 75 Eight Basic Rules (Rules A H of EMEA, Section 16.4) Let A denote the determinant of any n n matrix A. 1. A = 0 if all the elements in a row (or column) of A are A = A, where A is the transpose of A. 3. If all the elements in a single row (or column) of A are multiplied by a scalar α, so is its determinant. 4. If two rows (or two columns) of A are interchanged, the determinant changes sign, but not its absolute value. 5. If two of the rows (or columns) of A are proportional, then A = The value of the determinant of A is unchanged if any multiple of one row (or one column) is added to a different row (or column) of A. 7. The determinant of the product AB of two n n matrices equals the product A B of their determinants. 8. If α is any scalar, then αa = α n A.
46 The Transpose Rule 2: Verification The transpose rule 2 is key: for any statement about how A depends on the rows of A, there is an equivalent statement about how A depends on the columns of A. Exercise Verify Rule 2 directly for 2 2 and then for 3 3 matrices. Proof of Rule 2 The expansion formula implies that A = π Π sgn(π) n i=1 a iπ(i) = π Π sgn(π) n But the product rule for signs of permutations implies that sgn(π) sgn(π 1 ) = sgn(ι) = 1, with sgn(π) = ±1. Hence sgn(π 1 ) = 1/ sgn(π) = sgn(π). So, because π π 1 is a bijection, A = π 1 Π sgn(π 1 ) n j=1 a jπ 1 (j) = A after using the expansion formula with π replaced by π 1. j=1 a π 1 (j)j University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 46 of 75
47 Verification of Rule 6 Exercise Verify Rule 6 directly for 2 2 and then for 3 3 matrices. Proof of Rule 6 Recall the notation E r+αq for the matrix resulting from adding the multiple of α times row q of I to its rth row. Recall too that E r+αq A is the matrix that results from applying the same row operation to the matrix A. Finally, recall the formula A = n j=1 a rj C rj for the cofactor expansion of A along the rth row. The corresponding cofactor expansion of E r+αq A is then E r+αq A = n j=1 (a rj + αa qj ) C rj = A + α B where B is derived from A by replacing row r with row q. Unless q = r, the matrix B will have its qth row repeated, implying that B = 0 because the determinant is alternating. So q r implies E r+αq A = A for all α, which is Rule 6. University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 47 of 75
48 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 48 of 75 Verification of the Other Rules Apart from Rules 2 and 6, note that we have already proved the product Rule 7, whereas the interchange Rule 4 just restates alternation. Now that we have proved Rule 2, note that Rules 1 and 3 follow from multilinearity, applied in the special case when one row of the matrix is multiplied by a scalar. Also, the proportionality Rule 5 follows from combining Rule 4 with multilinearity. Finally, Rule 8, concerning the effect of multiplying all elements of a matrix by the same scalar, is easily checked because the expansion of A is the sum of many terms, each of which involves the product of exactly n elements of A.
49 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 49 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
50 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 50 of 75 Expansion by Alien Cofactors Expanding along either row r or column s gives A = n j=1 a rj C rj = n when one uses matching cofactors. Expanding by alien cofactors, however, from either the wrong row i r or the wrong column j s, gives 0 = n j=1 a rj C ij = n i=1 a is C is i=1 a is C ij This is because the answer will be the determinant of an alternative matrix in which: either row i has been duplicated and put in row r; or column j has been duplicated and put in column s.
51 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 51 of 75 The Adjugate Matrix Definition The adjugate (or (classical) adjoint ) adj A of an order n square matrix A has elements given by (adj A) ij = C ji. It is therefore the transpose (C + ) of the cofactor matrix C + whose elements (C + ) ij = C ij are the respective cofactors of A.
52 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 52 of 75 Main Property of the Adjugate Matrix Theorem For every n n square matrix A one has (adj A)A = A(adj A) = A I n Proof. The (i, j) elements of the two product matrices are respectively [(adj A)A] ij = n k=1 C ki a kj and [A(adj A)] ij = n k=1 a ik C jk These are both cofactor expansions, which are expansions by: alien cofactors in case i j, implying that both equal 0; matching cofactors in case i = j, implying that they equal A. Hence for each pair (i, j) one has [(adj A)A] ij = [A(adj A)] ij = A δ ij = A (I n ) ij
53 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 53 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
54 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 54 of 75 Minors: Definition Definition Given any m n matrix A, a minor (determinant) of order k is the determinant A i1 i 2...i k,j 1 j 2...j k of a k k submatrix (a ij ), with 1 i 1 < i 2 <... < i k m and 1 j 1 < j 2 <... < j k n, that is formed by selecting all the elements that lie both: in one of the chosen rows i r (r = 1, 2,..., k); in one of the chosen columns j s (s = 1, 2,..., k).
55 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 55 of 75 Minors: Some Examples, and Rank Example 1. In case A is an n n matrix: the whole determinant A is the only minor of order n; each of the n 2 cofactors C ij is a minor of order n In case A is an m n matrix: each element of the mn elements of the matrix is a minor of order 1; the number of minors of order k is ( ) ( ) m n m! n! = k k k!(m k)! k!(n k)! Exercise Verify that the set of elements that make up the minor A i1 i 2...i k,j 1 j 2...j k of order k is completely determined by its k diagonal elements a ih,j h (h = 1, 2,..., k). (These need not be diagonal elements of A).
56 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 56 of 75 Definition of Minor Rank Definition The (minor) rank of a matrix is the dimension of its largest non-zero minor determinant.
57 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 57 of 75 Principal and Leading Principal Minors Definition If A is an n n matrix, the minor A i1 i 2...i k,j 1 j 2...j k of order k is: a principal minor if i h = j h for h = 1, 2,..., k, implying that all its diagonal elements a ih j h are diagonal elements of A; a leading principal minor if its diagonal elements are the leading diagonal elements a hh (h = 1, 2,..., k). Exercise Explain why an n n determinant has: 1. 2 n 1 principal minors; 2. n leading principal minors.
58 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 58 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
59 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 59 of 75 Definition of Inverse Matrix Exercise Suppose that A is any invertible n n matrix for which there exist n n matrices B and C such that AB = CA = I. 1. By writing CAB in two different ways, prove that B = C. 2. Use this result to show that the equal matrices B = C, if they exist, must be unique. Definition The n n matrix X is the unique inverse of the invertible n n matrix A just in case AX = XA = I n. In this case we write X = A 1, so A 1 denotes the unique inverse. Big question: does the inverse exist?
60 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 60 of 75 Existence Conditions Theorem An n n matrix A has an inverse if and only if A 0, which holds if and only if at least one of the equations AX = I n and XA = I n has a solution. Proof. Provided that A 0, the identity (adj A)A = A(adj A) = A I n shows that the matrix X := (1/ A ) adj A is well defined and satisfies XA = AX = I n, so X is the inverse A 1. Conversely, if XA = I n has a solution, then the product rule for determinants implies that 1 = I n = XA = X A. Similarly if AX = I n has a solution. In either case one has A 0. The rest follows from the paragraph above.
61 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 61 of 75 Singularity versus Invertibility So A 1 exists if and only if A 0. Definition 1. In case A = 0, the matrix A is said to be singular; 2. In case A 0, the matrix A is said to be non-singular or invertible.
62 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 62 of 75 Example and Application to Simultaneous Equations Exercise ( ) ( Verify that A = = A 1 2 = C := by using direct multiplication to show that AC = CA = I 2. Example Suppose that a system of n simultaneous equations in n unknowns is expressed in matrix notation as Ax = b. Of course, A must be an n n matrix. Suppose A has an inverse A 1. Premultiplying both sides of the equation Ax = b by this inverse gives A 1 Ax = A 1 b, which simplifies to Ix = A 1 b. Hence the unique solution of the equation is x = A 1 b. )
63 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 63 of 75 Cramer s Rule: Statement Notation Given any m n matrix A, let [A j, b] denote the new m n matrix in which column j has been replaced by the column vector b. Evidently [A j, a j ] = A. Theorem Provided that the n n matrix A is invertible, the simultaneous equation system Ax = b has a unique solution x = A 1 b whose ith component is given by the ratio of determinants x i = [A i, b] / A. This result is known as Cramer s rule.
64 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 64 of 75 Cramer s Rule: Proof Proof. Given the equation Ax = b, each cofactor C ij of the coefficient matrix A is formed by dropping row i and column j of A. It therefore equals the (i, j) cofactor of the matrix [A j, b]. Expanding the determinant by cofactors along column j therefore gives [A j, b] = n i=1 b i C ij = n by definition of the adjugate matrix. i=1 (adj A) jib i Hence the unique solution to the equation system has components x i = (A 1 b) i = 1 n A (adj A) jib i = 1 i=1 A [A i, b] for i = 1, 2,..., n.
65 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 65 of 75 Rule for Inverting Products Theorem Suppose that A and B are two invertible n n matrices. Then the inverse of the matrix product AB exists, and is the reverse product B 1 A 1 of the inverses. Proof. Using the associative law for matrix multiplication repeatedly gives: and (B 1 A 1 )(AB) = B 1 (A 1 A)B = B 1 (I)B = B 1 (IB) = B 1 B = I (AB)(B 1 A 1 ) = A(BB 1 )A 1 = A(I)A 1 = (AI)A 1 = AA 1 = I. These equations confirm that X := B 1 A 1 is the unique matrix satisfying the double equality (AB)X = X(AB) = I.
66 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 66 of 75 Rule for Inverting Chain Products Exercise Prove that, if A, B and C are three invertible n n matrices, then (ABC) 1 = C 1 B 1 A 1. Then use mathematical induction to extend this result in order to find the inverse of the product A 1 A 2 A k of any finite chain of invertible n n matrices.
67 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 67 of 75 Matrices for Elementary Row Operations Example Consider the following two out of the three possible kinds of elementary row operation: 1. of multiplying the rth row by α R, represented by the matrix S r (α); 2. of multiplying the qth row by α R, then adding the result to row r, represented by the matrix E r+αq. Exercise Find the determinants and, when they exist, the inverses of the matrices S r (α) and E r+αq.
68 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 68 of 75 Outline More Special Matrices Permutations and Transpositions Permutation and Transposition Matrices Elementary Row Operations Determinants Determinants of Order 2 Determinants of Order 3 Characterizing the Determinant Function Rules for Determinants Expansion by Alien Cofactors and the Adjugate Matrix Minor Determinants The Inverse Matrix Definition and Existence Orthogonal Matrices
69 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 69 of 75 Inverting Orthogonal Matrices An n-dimensional square matrix Q is said to be orthogonal just in case its columns (q j ) n j=1 form an orthonormal set i.e., they must be pairwise orthogonal unit vectors (of length 1). Theorem A square matrix Q is orthogonal if and only if it satisfies Q Q = I, and so if and only if Q 1 = Q. Proof. The elements of the matrix product Q Q satisfy (Q Q) ij = n k=1 q ik q kj = n k=1 q kiq kj = q i q j where q i (resp. q j ) denotes the ith (resp. jth) column vector of Q. But the columns of Q are orthonormal iff q i q j = δ ij for all i, j = 1, 2,..., n, and so iff Q Q = I.
70 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 70 of 75 Exercises on Orthogonal Matrices Exercise Show that if the matrix Q is orthogonal, then so is Q. Use this result to show that a matrix is orthogonal if and only if its row vectors also form an orthonormal set. Exercise Show that any permutation matrix is orthogonal.
71 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 71 of 75 Rotations in R 2 Example In R 2, consider the anti-clockwise rotation through an angle θ of the unit circle S 1 = {(x 1, x 2 ) R 2 x x 2 2 = 1}. It maps: 1. the first unit vector (1, 0) of the canonical basis to the column vector (cos θ, sin θ) ; 2. the second unit vector (0, 1) of the canonical basis to the column vector ( sin θ, cos θ). So the rotation can be represented by the rotation matrix ( ) cos θ sin θ R θ := sin θ cos θ which has these vectors as its columns.
72 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 72 of 75 Rotations in R 2 Are Orthogonal Matrices Because sin( θ) = sin(θ) and cos( θ) = cos(θ), the transpose of R θ satisfies R θ = R θ, and so is the clockwise rotation through an angle θ of the unit circle S 1. Since clockwise and anti-clockwise rotations are inverse operations, it is no surprise that R θ R θ = I. We verify this algebraically by using matrix multiplication ( ) ( ) ( ) R cos θ sin θ cos θ sin θ 1 0 θ R θ = = = I sin θ cos θ sin θ cos θ 0 1 because cos 2 θ + sin 2 θ = 1, thus verifying orthogonality. Similarly ( R θ R cos θ sin θ θ = sin θ cos θ ) ( ) cos θ sin θ = sin θ cos θ ( ) 1 0 = I 0 1
73 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 73 of 75 The Unit Sphere in R 3 In R 3, the three unit vectors (1, 0, 0), (0, 1, 0) and (0, 0, 1) of the canonical basis represent respectively 1. one point (1, 0, 0) on the equatorial great circle, whose latitude is 0, and whose longitude is also 0 (the Greenwich Meridian); 2. a second point (0, 1, 0) on the equatorial great circle, whose latitude is also 0, and whose longitude is 90 East; 3. the North pole (0, 0, 1) at latitude 90 North, whose longitude is undefined. The unit sphere is the set S 2 = {(x 1, x 2, x 3 ) R 3 x x x 2 3 = 1} = {x R 3 x 2 = 1}
74 Spherical or Polar Coordinates in R 3 x = r sin ϕ cos θ, y = r sin ϕ sin θ, z = r cos ϕ r = ( ) x 2 + y 2 + z 2, θ = arctan(y/x), ϕ = arctan x 2 + y 2 /z Spherical coordinates (r, θ, φ) as often used in ϕ is the polarmathematics: angle radial (η = 1 distance r, azimuthal angle θ, and 2π ϕ is latitude ); More details Dmcq Own work θ is the azimuthal angle ( longitude ). 1/2 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 74 of 75
75 University of Warwick, EC9A0 Maths for Economists Peter J. Hammond 75 of 75 Orthogonal Matrices: Rotations in R 3 Example A rotation in R 3 is described by two angles, denoted by θ and η. Representing a rotation through the angle θ about the z-axis: cos θ sin θ 0 R θ := sin θ cos θ Representing a rotation through the angle η about the y-axis: cos η 0 sin η S η := sin η 0 cos η Exercise Calculate the two matrix products R θ S η and S η R θ. Show that they are equal iff either θ = 0 or η = 0.
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 +
More informationMATRIX 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
More information1 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
More informationSimilarity 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
More informationNotes 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
More informationLecture 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
More informationLinear 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
More informationDecember 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
More informationLectures notes on orthogonal matrices (with exercises) 92.222 - Linear Algebra II - Spring 2004 by D. Klain
Lectures notes on orthogonal matrices (with exercises) 92.222 - Linear Algebra II - Spring 2004 by D. Klain 1. Orthogonal matrices and orthonormal sets An n n real-valued matrix A is said to be an orthogonal
More informationMAT188H1S Lec0101 Burbulla
Winter 206 Linear Transformations A linear transformation T : R m R n is a function that takes vectors in R m to vectors in R n such that and T (u + v) T (u) + T (v) T (k v) k T (v), for all vectors u
More information13 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
More informationNOTES 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
More informationMatrix 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
More information26. Determinants I. 1. Prehistory
26. Determinants I 26.1 Prehistory 26.2 Definitions 26.3 Uniqueness and other properties 26.4 Existence Both as a careful review of a more pedestrian viewpoint, and as a transition to a coordinate-independent
More informationMathematics 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
More informationUniversity 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
More informationa 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
More informationChapter 6. Orthogonality
6.3 Orthogonal Matrices 1 Chapter 6. Orthogonality 6.3 Orthogonal Matrices Definition 6.4. An n n matrix A is orthogonal if A T A = I. Note. We will see that the columns of an orthogonal matrix must be
More informationIntroduction to Matrices for Engineers
Introduction to Matrices for Engineers C.T.J. Dodson, School of Mathematics, Manchester Universit 1 What is a Matrix? A matrix is a rectangular arra of elements, usuall numbers, e.g. 1 0-8 4 0-1 1 0 11
More informationMATH10212 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
More informationSection 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,
More informationUsing 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
More informationChapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6
Chapter 7 Matrices Definition An m n matrix is an array of numbers set out in m rows and n columns Examples (i ( 1 1 5 2 0 6 has 2 rows and 3 columns and so it is a 2 3 matrix (ii 1 0 7 1 2 3 3 1 is a
More informationChapter 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
More informationSystems 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
More informationLecture 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
More informationContinued 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
More informationLINEAR ALGEBRA. September 23, 2010
LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................
More information5.3 The Cross Product in R 3
53 The Cross Product in R 3 Definition 531 Let u = [u 1, u 2, u 3 ] and v = [v 1, v 2, v 3 ] Then the vector given by [u 2 v 3 u 3 v 2, u 3 v 1 u 1 v 3, u 1 v 2 u 2 v 1 ] is called the cross product (or
More informationThe 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
More information7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes
The Inverse of a Matrix 7.4 Introduction In number arithmetic every number a 0 has a reciprocal b written as a or such that a ba = ab =. Similarly a square matrix A may have an inverse B = A where AB =
More informationLinear 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
More informationMatrix 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
More informationDirect 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
More informationThe 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
More information1 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
More informationThe Matrix Elements of a 3 3 Orthogonal Matrix Revisited
Physics 116A Winter 2011 The Matrix Elements of a 3 3 Orthogonal Matrix Revisited 1. Introduction In a class handout entitled, Three-Dimensional Proper and Improper Rotation Matrices, I provided a derivation
More informationName: 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
More informationNotes on Linear Algebra. Peter J. Cameron
Notes on Linear Algebra Peter J. Cameron ii Preface Linear algebra has two aspects. Abstractly, it is the study of vector spaces over fields, and their linear maps and bilinear forms. Concretely, it is
More informationMatrices 2. Solving Square Systems of Linear Equations; Inverse Matrices
Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,
More informationMatrix 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
More informationα = 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
More information5. 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
More informationIntroduction 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
More informationAu = = = 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
More informationSYSTEMS 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
More informationInner products on R n, and more
Inner products on R n, and more Peyam Ryan Tabrizian Friday, April 12th, 2013 1 Introduction You might be wondering: Are there inner products on R n that are not the usual dot product x y = x 1 y 1 + +
More informationLinear 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
More informationLinear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)
MAT067 University of California, Davis Winter 2007 Linear Maps Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007) As we have discussed in the lecture on What is Linear Algebra? one of
More informationx1 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
More information1 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
More information1 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
More information9 MATRICES AND TRANSFORMATIONS
9 MATRICES AND TRANSFORMATIONS Chapter 9 Matrices and Transformations Objectives After studying this chapter you should be able to handle matrix (and vector) algebra with confidence, and understand the
More informationLinear Algebra: Determinants, Inverses, Rank
D Linear Algebra: Determinants, Inverses, Rank D 1 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
More informationLINEAR 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,
More information15.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
More informationDiscrete Convolution and the Discrete Fourier Transform
Discrete Convolution and the Discrete Fourier Transform Discrete Convolution First of all we need to introduce what we might call the wraparound convention Because the complex numbers w j e i πj N have
More informationCONTROLLABILITY. 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
More informationLinear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka kosecka@cs.gmu.edu http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
More information1 Determinants and the Solvability of Linear Systems
1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped
More informationLecture 14: Section 3.3
Lecture 14: Section 3.3 Shuanglin Shao October 23, 2013 Definition. Two nonzero vectors u and v in R n are said to be orthogonal (or perpendicular) if u v = 0. We will also agree that the zero vector in
More informationA linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form
Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...
More informationUnified Lecture # 4 Vectors
Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,
More informationISOMETRIES OF R n KEITH CONRAD
ISOMETRIES OF R n KEITH CONRAD 1. Introduction An isometry of R n is a function h: R n R n that preserves the distance between vectors: h(v) h(w) = v w for all v and w in R n, where (x 1,..., x n ) = x
More informationLecture 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
More informationUnit 18 Determinants
Unit 18 Determinants Every square matrix has a number associated with it, called its determinant. In this section, we determine how to calculate this number, and also look at some of the properties of
More informationGENERATING SETS KEITH CONRAD
GENERATING SETS KEITH CONRAD 1 Introduction In R n, every vector can be written as a unique linear combination of the standard basis e 1,, e n A notion weaker than a basis is a spanning set: a set of vectors
More information[1] Diagonal factorization
8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:
More information( ) which must be a vector
MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are
More informationSolution 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
More informationT ( 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)
More informationMath 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
More informationOrthogonal Projections
Orthogonal Projections and Reflections (with exercises) by D. Klain Version.. Corrections and comments are welcome! Orthogonal Projections Let X,..., X k be a family of linearly independent (column) vectors
More informationTypical 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
More informationRotation Matrices and Homogeneous Transformations
Rotation Matrices and Homogeneous Transformations A coordinate frame in an n-dimensional space is defined by n mutually orthogonal unit vectors. In particular, for a two-dimensional (2D) space, i.e., n
More informationNotes 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,
More informationF 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
More information8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes
Solution by Inverse Matrix Method 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix algebra allows us
More informationDETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH
DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH CHRISTOPHER RH HANUSA AND THOMAS ZASLAVSKY Abstract We investigate the least common multiple of all subdeterminants,
More informationA Primer on Index Notation
A Primer on John Crimaldi August 28, 2006 1. Index versus Index notation (a.k.a. Cartesian notation) is a powerful tool for manipulating multidimensional equations. However, there are times when the more
More informationVector Math Computer Graphics Scott D. Anderson
Vector Math Computer Graphics Scott D. Anderson 1 Dot Product The notation v w means the dot product or scalar product or inner product of two vectors, v and w. In abstract mathematics, we can talk about
More information8 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
More informationNumerical Analysis Lecture Notes
Numerical Analysis Lecture Notes Peter J. Olver 5. Inner Products and Norms The norm of a vector is a measure of its size. Besides the familiar Euclidean norm based on the dot product, there are a number
More informationEigenvalues 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
More informationThe 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
More informationPYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
More informationPhysics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus
Chapter 1 Matrices, Vectors, and Vector Calculus In this chapter, we will focus on the mathematical tools required for the course. The main concepts that will be covered are: Coordinate transformations
More informationLecture 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
More informationA 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
More informationSolving simultaneous equations using the inverse matrix
Solving simultaneous equations using the inverse matrix 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix
More informationAdding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors
1 Chapter 13. VECTORS IN THREE DIMENSIONAL SPACE Let s begin with some names and notation for things: R is the set (collection) of real numbers. We write x R to mean that x is a real number. A real number
More informationMatrix algebra for beginners, Part I matrices, determinants, inverses
Matrix algebra for beginners, Part I matrices, determinants, inverses Jeremy Gunawardena Department of Systems Biology Harvard Medical School 200 Longwood Avenue, Cambridge, MA 02115, USA jeremy@hmsharvardedu
More informationMATH 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
More informationSection 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
More informationOrthogonal 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
More informationChapter 7. Permutation Groups
Chapter 7 Permutation Groups () We started the study of groups by considering planar isometries In the previous chapter, we learnt that finite groups of planar isometries can only be cyclic or dihedral
More information1 Symmetries of regular polyhedra
1230, notes 5 1 Symmetries of regular polyhedra Symmetry groups Recall: Group axioms: Suppose that (G, ) is a group and a, b, c are elements of G. Then (i) a b G (ii) (a b) c = a (b c) (iii) There is an
More informationCITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION
No: CITY UNIVERSITY LONDON BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION ENGINEERING MATHEMATICS 2 (resit) EX2005 Date: August
More informationElementary 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
More informationSection 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
More information