Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices

Similar documents
Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 7. Inverse matrices

Eigenvalues and eigenvectors

Special types of matrices

and let s calculate the image of some vectors under the transformation T.

Roberto s Notes on Linear Algebra Chapter 9: Orthogonality Section 2. Orthogonal matrices

Number of solutions of a system

Using matrices to represent linear systems

Roberto s Notes on Linear Algebra Chapter 11: Vector spaces Section 1. Vector space axioms

Roberto s Notes on Linear Algebra Chapter 4: Matrix Algebra Section 4. Matrix products

Dependence and independence

Cofactors and Laplace s expansion theorem

MAT1302F Mathematical Methods II Lecture 19

Final Exam Practice Problems Answers Math 24 Winter 2012

Name Solutions Linear Algebra; Test 3. Throughout the test simplify all answers except where stated otherwise.

MATH 320, WEEK 7: Matrices, Matrix Operations

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Row and column spaces

Math Spring 2011 Final Exam

Usually, when we first formulate a problem in mathematics, we use the most familiar

c 1 v 1 + c 2 v 2 = 0 c 1 λ 1 v 1 + c 2 λ 1 v 2 = 0

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

Linear Algebra Practice Problems

Matrices. 1 a a2 1 b b 2 1 c c π

Jordan normal form notes (version date: 11/21/07)

Eigenvalues & Eigenvectors

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

1 Matrices and Systems of Linear Equations. a 1n a 2n

1 Matrices and Systems of Linear Equations

Linear Algebra, Summer 2011, pt. 2

MAT 1302B Mathematical Methods II

Math 123, Week 2: Matrix Operations, Inverses

MATRICES. a m,1 a m,n A =

LS.1 Review of Linear Algebra

(v, w) = arccos( < v, w >

Chapter 2 Notes, Linear Algebra 5e Lay

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Basic methods to solve equations

Definition of geometric vectors

The Cayley-Hamilton Theorem and the Jordan Decomposition

Basic matrix operations

Section 29: What s an Inverse?

MITOCW ocw f99-lec05_300k

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

M. Matrices and Linear Algebra

Linear Independence Reading: Lay 1.7

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra

k is a product of elementary matrices.

12. Perturbed Matrices

LINEAR ALGEBRA REVIEW

REVIEW FOR EXAM III SIMILARITY AND DIAGONALIZATION

Vector, Matrix, and Tensor Derivatives

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

Matrix Multiplication

Differential Equations

Linear Algebra Basics

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Lesson U2.1 Study Guide

Sec. 1 Simplifying Rational Expressions: +

MAT 2037 LINEAR ALGEBRA I web:

Determinants and Scalar Multiplication

Review problems for MA 54, Fall 2004.

Image Registration Lecture 2: Vectors and Matrices

1300 Linear Algebra and Vector Geometry

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

Introduction to Matrices

MITOCW ocw f99-lec17_300k

Conceptual Questions for Review

Linear Algebra March 16, 2019

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors

4. Linear transformations as a vector space 17

Lecture 8: Determinants I

LS.2 Homogeneous Linear Systems with Constant Coefficients

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

Basic Linear Algebra in MATLAB

Matrices and Matrix Algebra.

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Recitation 8: Graphs and Adjacency Matrices

Inverses and Determinants

Linear Algebra- Final Exam Review

Notes on the Matrix-Tree theorem and Cayley s tree enumerator

Lecture 2j Inner Product Spaces (pages )

Chapter 5. Eigenvalues and Eigenvectors

CS 246 Review of Linear Algebra 01/17/19

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

Math 205, Summer I, Week 4b:

MITOCW ocw-18_02-f07-lec02_220k

Chapter 4 & 5: Vector Spaces & Linear Transformations

Elementary Linear Transform Theory

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

v = ( 2)

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Matrix Basic Concepts

Transcription:

Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3 Diagonal matrices What you need to know already: Basic definition, properties and operations of matrix. What you can learn here: The key properties of diagonal matrices that make them nice. By now we have done many things with matrices: developed algebra operations, used them to solve systems, to determine basis and dimensions, eigenvectors, etc. We have also run into many of their difficulties: lack of commutativity in the product, difficulty of computation for inverses and eigenspaces, etc. In this section we shall look more closely at a type of matrices that are nice, in the sense that they have very nice properties that reduce or eliminate some of the above difficulties. Of course I am referring to diagonal matrices, and just in case you forgot, here is their definition again. Definition A square matrix A is said to be a diagonal matrix if its only non-zero entries are those along the main diagonal. That is, a matrix A is diagonal if aij 0 whenever i j. I remember them. Aren t they kind of boring? It depends on what you mean by boring. I see them as being nice, and I will provide several arguments supporting my claim. Ok, I am curious about them. But I am also curious about why in the middle of a chapter that started on eigenstuff, you now turn to diagonal matrices. Is there a connection, or should this chapter better be called odds and ends? Oh, there is a connection! In fact it is a strong and very surprising one. But in order to lead you to it I have to prepare the ground by discussing the properties of diagonal matrices first. And when the connection will be ready to appear, I guarantee that it will be a big surprise indeed. But don t peek ahead, or you ll spoil it. OK, so what are these great properties? Here is the first. The product of two nn diagonal matrices is done entry by entry and generates an nn diagonal matrix. Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 1

Proof We notice that the dot product of the i-th row of a diagonal matrix with the j- th row of another diagonal matrix is given by: 0 a 0 i 0 bj 0 This is different from 0 only if i j, otherwise all terms of the dot product are 0. Therefore, their product is: a1 0 0 b1 0 0 a1b 1 0 0 0 a2 0 0 b2 0 0 a2b2 0 0 0 an 0 0 bn 0 0 anbn Proof The determinant of a diagonal matrix is given by the product of its diagonal entries. If no diagonal entry of the matrix is 0, then the matrix is in REF form and the conclusion follows. If one of the diagonal entries is 0, then its row is the zero vector and the conclusion follows again. So, aren t powers of diagonal matrices also diagonal? Certainly, since powers are product. But there is more. The product of diagonal matrices is commutative. The eigenvalues of a diagonal matrix are its diagonal entries. The algebraic multiplicity of each eigenvalue equals the number of times such value appears on the diagonal. Proof That is an immediate consequence of the fact that for diagonal matrices the product is done entry-by-entry, by using the usual product. And here is another simple and nice property. No need for a proof: I can see that! I thought so. But just for fun, I will give you a proof of the next fact. By the way, is this the surprising connection? Oh no, this is just a little and trivial intermediate step. The surprise will come in a later section. Oh, patience again, eh? Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 2

Proof The eigenvectors of an eigenvalue of a diagonal matrix can have any scalar in the positions occupied in the matrix by that eigenvalue, but must have 0 s elsewhere. If A is diagonal and is one of its eigenvalues, the entries of the matrix AI are 0 off the diagonal, as well as on all diagonal positions occupied by the eigenvalue. The other positions will have a non-zero value, so that their corresponding variable in the homogeneous system will need to have a value of 0, while the variable in the eigenvalues positions are free. And since for each occurrence of the eigenvalue we have one different scalar, which we can see as a free variable, it follows that: For any eigenvalue of a diagonal matrix, the algebraic multiplicity is equal to the geometric multiplicity. It sounds convincing, but very abstract and possibly confusing. Can we see an example? Example: 1 0 0 0 0 0 3 0 0 0 0 0 3 0 0 0 0 0 2 0 0 0 0 0 3 The following matrix is diagonal and its eigenvalues are 1, 2 and 3. To find the eigenvectors of 1, we look at the matrix 0 0 0 0 0 0 2 0 0 0 AI 0 0 2 0 0 0 0 0 1 0 0 0 0 0 2 AI: Notice that what have accomplished is to set all the diagonal entries that equaled the eigenvalue to now equal 0. (And if we had any zeros on the diagonal before, they would now be non-zero entries) By seeing this as representing a homogeneous system, we conclude that the last four variables must equal 0, while the first one is free (no leading coefficient). Therefore, the eigenvectors are of the form x 0000, as described in the statement. For the eigenvalue 2, the matrix AI is: 1 0 0 0 0 0 1 0 0 0 A2I 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 Again, we notice that we have a free variable, this time the fourth one, where the eigenvalue was, while all others must equal 0. Therefore, the eigenvectors are 0 0 0 x 0. Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 3

Finally, for the eigenvalue 3, we have: 2 0 0 0 0 0 0 0 0 0 A3I 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 This time the first and fourth variables must equal 0, while the others are all free. Therefore, its eigenvectors are of the form 0 x y 0 z. I see! It did look messy, but it is very simple! That is the whole point: diagonal matrices are nice! I wish all matrices were like that: it sure would make things easier! So does everyone else, and that is why in the next section we ll try to develop a way to change matrices to a diagonal form. Try not: Do or do not! Alas, this is a situation where even Yoda would agree to compromise. The method we shall develop will make many matrices diagonal, but not all of them. Some matrices simply prefer to remain complicated. The point of this section was to bring this important type of matrices to your attention. Practicing on them is extremely simple, so the Learning questions are very few. Yeah! Long live diagonal matrices! Summary Diagonal matrices are very nice! What else is there to say? Well, review the details of the section, this is a summary! Common errors to avoid Just because diagonal matrices have certain nice properties, do not think every matrix has them, nor that no other matrix does! That s why they are special, but not unique. Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 4

Learning questions for Section LA 10-3 Review questions: 1. Identify the nice properties that hold for diagonal matrices. Memory questions: 1. Is the product of diagonal matrices commutative? 2. How are diagonal matrices multiplied together? 3. What are the eigenvalues of a diagonal matrix? 4. What number provides the algebraic multiplicity of an eigenvalue of a diagonal matrix? Theory questions: 1. What is the geometric multiplicity of an eigenvalue of a diagonal matrix? Templated questions: 1. Construct a small diagonal matrix (no larger than 66) and compute the eigenspace for each of its eigenvectors. You may want to use a random number generator to decide on the diagonal entries. What questions do you have for your instructor? Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 5

Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3: Diagonal matrices Page 6