Miscellaneous Results, Solving Equations, and Generalized Inverses. opyright c 2012 Dan Nettleton (Iowa State University) Statistics / 51

Similar documents
Constraints on Solutions to the Normal Equations. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 41

Preliminary Linear Algebra 1. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 100

General Linear Test of a General Linear Hypothesis. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 35

Preliminaries. Copyright c 2018 Dan Nettleton (Iowa State University) Statistics / 38

Determinants. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 25

Estimation of the Response Mean. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 27

Chapter 1. Matrix Algebra

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Distributions of Quadratic Forms. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 31

Estimable Functions and Their Least Squares Estimators. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 51

ML and REML Variance Component Estimation. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 58

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36

Scheffé s Method. opyright c 2012 Dan Nettleton (Iowa State University) Statistics / 37

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

Recall the convention that, for us, all vectors are column vectors.

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Likelihood Ratio Test of a General Linear Hypothesis. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 42

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Xβ is a linear combination of the columns of X: Copyright c 2010 Dan Nettleton (Iowa State University) Statistics / 25 X =

Lecture Notes: Matrix Inverse. 1 Inverse Definition. 2 Inverse Existence and Uniqueness

Matrix Algebra, part 2

ANOVA Variance Component Estimation. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 32

Ep Matrices and Its Weighted Generalized Inverse

Math 102 Final Exam - Dec 14 - PCYNH pm Fall Name Student No. Section A0

ANOVA Variance Component Estimation. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 32

STAT200C: Review of Linear Algebra

ELE/MCE 503 Linear Algebra Facts Fall 2018

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

On the necessary and sufficient condition for the extended Wedderburn-Guttman theorem

Lecture Summaries for Linear Algebra M51A

Chap 3. Linear Algebra

MTH Midterm 2 Review Questions - Solutions

ACI-matrices all of whose completions have the same rank

Paul Schrimpf. September 10, 2013

Elementary operation matrices: row addition

MATH 532: Linear Algebra

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

7.6 The Inverse of a Square Matrix

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

Solutions to Exam I MATH 304, section 6

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

The Gauss-Markov Model. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 61

The Aitken Model. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 41

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

Linear Algebra Formulas. Ben Lee

Discrete Optimization 23

Estimating Estimable Functions of β. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 17

MATH2210 Notebook 2 Spring 2018

Math 407: Linear Optimization

1 Determinants. 1.1 Determinant

Mathematical Foundations of Applied Statistics: Matrix Algebra

CHARACTERIZATIONS. is pd/psd. Possible for all pd/psd matrices! Generating a pd/psd matrix: Choose any B Mn, then

MATH 320: PRACTICE PROBLEMS FOR THE FINAL AND SOLUTIONS

Notes on Row Reduction

MTH 102A - Linear Algebra II Semester

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Math 240 Calculus III

(1) for all (2) for all and all

EE731 Lecture Notes: Matrix Computations for Signal Processing

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

GATE Engineering Mathematics SAMPLE STUDY MATERIAL. Postal Correspondence Course GATE. Engineering. Mathematics GATE ENGINEERING MATHEMATICS

The skew-symmetric orthogonal solutions of the matrix equation AX = B

Necessary And Sufficient Conditions For Existence of the LU Factorization of an Arbitrary Matrix.

MATH 223 FINAL EXAM APRIL, 2005

Foundations of Matrix Analysis

Matrices and systems of linear equations

Fall 2016 MATH*1160 Final Exam

Math 2174: Practice Midterm 1

Lecture Notes in Linear Algebra

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Calculation in the special cases n = 2 and n = 3:

New concepts: rank-nullity theorem Inverse matrix Gauss-Jordan algorithm to nd inverse

Math 242 fall 2008 notes on problem session for week of This is a short overview of problems that we covered.

Ma/CS 6b Class 20: Spectral Graph Theory

Vector spaces. EE 387, Notes 8, Handout #12

Chapter 1 Vector Spaces

CPE 310: Numerical Analysis for Engineers

MA 511, Session 10. The Four Fundamental Subspaces of a Matrix

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

MA 265 FINAL EXAM Fall 2012

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

Chapter 2: Matrix Algebra

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

4. Matrix inverses. left and right inverse. linear independence. nonsingular matrices. matrices with linearly independent columns

MATH 511 ADVANCED LINEAR ALGEBRA SPRING 2006

Topological Data Analysis - Spring 2018

3. The F Test for Comparing Reduced vs. Full Models. opyright c 2018 Dan Nettleton (Iowa State University) 3. Statistics / 43

Row Space and Column Space of a Matrix

MATH 2360 REVIEW PROBLEMS

Part I True or False. (One point each. A wrong answer is subject to one point deduction.)

Practice Midterm 1 Solutions, MATH 54, Linear Algebra and Differential Equations, Fall 2014

ELEMENTS OF MATRIX ALGEBRA

9. The determinant. Notation: Also: A matrix, det(a) = A IR determinant of A. Calculation in the special cases n = 2 and n = 3:

On the Solution of Constrained and Weighted Linear Least Squares Problems

Matrix operations Linear Algebra with Computer Science Application

Computational Methods. Systems of Linear Equations

Math 315: Linear Algebra Solutions to Assignment 7

HUA S MATRIX EQUALITY AND SCHUR COMPLEMENTS

Transcription:

Miscellaneous Results, Solving Equations, and Generalized Inverses opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 1 / 51

Result A.7: Suppose S and T are vector spaces. If S T and dim(s) = dim(t ), then S = T. opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 2 / 51

Result A.8: Suppose m n A and b satisfy m 1 Then m n A = m n 0 and b = 0. m 1 m 1 Ax + b = 0 x R n. m n m 1 Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 4 / 51

Corollary A.1: If m n B and m n C satisfy Bx = Cx x R n, then B = C. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 6 / 51

Corollary A.2: Suppose m n A has full column rank. Then AB = AC = B = C. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 8 / 51

Lemma A.1: C C = 0 = C = 0. Proof of Lemma A.1: Let c i denote the i th column of C. Then the i th diagonal element of C C is c i c i. C C = 0, c i c i = 0 i = 1,..., n. Now c i c i = 0 i = c i = 0 i = C = 0. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 10 / 51

Another Result on the Rank of a Product Suppose rank( m n A ) = n and rank( C ) = k. Then k l rank( B ) = rank(abc). n k Proof: HW problem. Corollaries: If A is full-column rank, rank(ab) = rank(b). If C is full-row rank, rank(bc) = rank(b). opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 11 / 51

Solving Equations: Consider a system of linear equations Ax = c, where m n A is a known matrix and c is a known vector. m 1 opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 12 / 51

We seek a solution vector x that satisfies Ax = c. If m = n so that m n A is a square and if m n A is nonsingular, then A 1 Ax = A 1 c = x = A 1 c is the unique solution to Ax = c. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 13 / 51

If m n A is singular or not square, Ax = c may have no solution or infinitely many solutions or a unique solution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 14 / 51

A system of equations Ax = c is consistent if there exists a solution x such that Ax = c. A systems of equation Ax = c is inconsistent if Ax c x R n. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 15 / 51

Result A.9: A system of equations Ax = c is consistent iff c C(A). Provide an example m n A, c Ax = c is inconsistent. m 1 Provide an example m n A, c Ax = c is consistent. m 1 Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 16 / 51

Generalized Inverse A matrix G is a generalized inverse (GI) of a matrix A iff AGA = A. Every matrix has at least one GI. We will use A to denote a GI of a matrix A. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 19 / 51

If A is nonsingular, then A 1 is the unique GI of A. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 20 / 51

Result A.10: Suppose rank( m n A) = r. If A can be partitioned as A = where rank( r r C) = r, then C r r E (m r) r G = n m D r (n r) F (m r) (n r) [ ] C 1 0 0 0, is a GI of m n A. opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 22 / 51

Proof of Result A.10: [ ] [ ] C D C 1 0 AG = E F 0 0 [ ] I 0 =. EC 1 0 [ ] [ ] [ ] I 0 C D C D AGA = =. EC 1 0 E F E EC 1 D We need to show EC 1 D = F. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 23 / 51

First note that rank( r r C) = r = rank([c, D]) = r [C, D] has at least r LI columns and at most r LI rows. (rank([c, D]) r and rank([c, D]) r = rank([c, D]) = r.) Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 24 / 51

([ ]) C D Now rank = r = each row of [E, F] is a LC of the rows of E F [C, D]. Thus a matrix K K[C, D] = [E, F] [KC, KD] = [E, F] KC = E, KD = F. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 25 / 51

Now KC = E K = EC 1. Together with KD = F, this implies EC 1 D = F. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 26 / 51

Permutation Matrix A matrix n n P is a permutation matrix if the rows of P are the same as the rows of n n I but not necessarily in the same order. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 27 / 51

Example: 0 1 0 P = 1 0 0. 0 0 1 1 2 3 4 5 6 7 8 If A = 5 6 7 8, then PA = 1 2 3 4. 9 10 11 12 9 10 11 12 Order of rows of PA are permuted relative to order of rows of A. opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 28 / 51

Example: 0 1 0 [ ] P = 1 0 0 1 2 3, B =. 4 5 6 0 0 1 [ ] 2 1 3 Then BP =. 5 4 6 Order of columns of BP are permuted relative to order of columns of B. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 29 / 51

A Permutation Matrix is Nonsingular The rows (and columns) of a permutation matrix are the same as those of the identity matrix. Thus, a permutation matrix has full rank and is therefore nonsingular. Furthermore, if P = [p 1,..., p n ] is a permutation matrix, P 1 = P p 0 if i j ip j = 1 if i = j. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 30 / 51

Result A.11: Suppose rank( m n A) = r. There exist permutation matrices m m P and Q such n n that [ ] C D PAQ =, E F where rank( r r C) = r. Furthermore, is a GI of A. [ ] C 1 0 G = Q P 0 0 opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 31 / 51

Proof of Result A.11: Because rank(a) = r, there exists a set of r rows of A that are LI. Let P be a permutation matrix, the first r rows of PA are LI. Let H be the matrix consisting of the first r rows of PA. Then rank(h) = r. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 32 / 51

This implies that a set of r columns of H that are LI. Let Q be a permutation matrix the first r columns of HQ are LI. Then the submatrix consisting of the first r rows and first r columns of PAQ has rank r. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 33 / 51

[ ] C D Thus we can partition PAQ as, where rank( E F r r C) = r. [ ] [ ] C 1 0 C D By Result A.10, is a GI for PAQ =. 0 0 E F Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 34 / 51

[ ] [ ] C D C D PAQ = A = P 1 Q 1 E F E F [ ] C 1 0 AQ PA = 0 0 [ ] [ ] [ C D C = P 1 Q 1 1 0 C Q PP 1 E F 0 0 E [ ] [ ] [ ] C D C = P 1 1 0 C D Q 1 E F 0 0 E F [ ] C D = P 1 Q 1 = A. E F ] D F Q 1 Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 35 / 51

Use Result A.11 to find a GI for 1 1 3 4 A = 2 2 6 8. 3 3 0 12 Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 36 / 51

Algorithm for finding a GI of A: 1. Find an r r nonsingular submatrix of A, where r = rank(a). Call this matrix W. 2. Compute (W 1 ). 3. Replace each element of W in A with the corresponding elements of (W 1 ). 4. Replace all other elements in A with zeros. 5. Transpose resulting matrix to get A. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 42 / 51

Result A.12: Let Ax = c be a consistent system of equations, and let G be any GI of A. Then Gc is a solution to Ax = c, i.e., AGc = c. opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 43 / 51

Result A.13: Let Ax = c be a consistent system of equations, and let G be any GI of A. Then x is a solution to Ax = c iff z x = Gc + (I GA)z. opyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 45 / 51

Prove that a consistent system of equations Ax = c has a unique solution if and only if A is full-column rank and infinitely many solutions if and only if A is less than full-column rank. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 48 / 51