LU Factorization. A m x n matrix A admits an LU factorization if it can be written in the form of A = LU

Similar documents
Eigenvalues and Eigenvectors

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

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

Study Guide for Linear Algebra Exam 2

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

Eigenvalues and Eigenvectors

Linear Equations in Linear Algebra

Eigenvalues for Triangular Matrices. ENGI 7825: Linear Algebra Review Finding Eigenvalues and Diagonalization

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Linear Algebra Practice Problems

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Calculating determinants for larger matrices

Linear Equations in Linear Algebra

Numerical Linear Algebra Homework Assignment - Week 2

Chapter 5 Eigenvalues and Eigenvectors

2. Every linear system with the same number of equations as unknowns has a unique solution.

Linear Algebra: Matrix Eigenvalue Problems

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

LINEAR ALGEBRA SUMMARY SHEET.

Math 3191 Applied Linear Algebra

Math 2331 Linear Algebra

Math Final December 2006 C. Robinson

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

Chapter 1: Systems of Linear Equations

4. Determinants.

Chapter 5. Eigenvalues and Eigenvectors

Eigenvalues for Triangular Matrices. ENGI 7825: Linear Algebra Review Finding Eigenvalues and Diagonalization

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Chapter 3. Determinants and Eigenvalues

ANSWERS. E k E 2 E 1 A = B

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Properties of Linear Transformations from R n to R m

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Cheat Sheet for MATH461

Determine whether the following system has a trivial solution or non-trivial solution:

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Therefore, A and B have the same characteristic polynomial and hence, the same eigenvalues.

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

4. Linear transformations as a vector space 17

MATH 221, Spring Homework 10 Solutions

No books, notes, any calculator, or electronic devices are allowed on this exam. Show all of your steps in each answer to receive a full credit.

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Announcements Monday, October 29

Systems of Algebraic Equations and Systems of Differential Equations

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

Practical Linear Algebra: A Geometry Toolbox

Lec 2: Mathematical Economics

CHAPTER 3. Matrix Eigenvalue Problems

Section Gaussian Elimination

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

Chapter 2 Notes, Linear Algebra 5e Lay

Online Exercises for Linear Algebra XM511

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

Dimension. Eigenvalue and eigenvector

A = 3 1. We conclude that the algebraic multiplicity of the eigenvalues are both one, that is,

Math 205, Summer I, Week 4b:

MAC Module 12 Eigenvalues and Eigenvectors. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 12 Eigenvalues and Eigenvectors

Solving Linear Systems Using Gaussian Elimination

Linear Equations in Linear Algebra

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

Linear Algebra. Rekha Santhanam. April 3, Johns Hopkins Univ. Rekha Santhanam (Johns Hopkins Univ.) Linear Algebra April 3, / 7

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Math 215 HW #9 Solutions

Section 8.2 : Homogeneous Linear Systems

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

Linear Independence x

Eigenvalues and Eigenvectors

City Suburbs. : population distribution after m years

Extra Problems for Math 2050 Linear Algebra I

Chapter 7. Canonical Forms. 7.1 Eigenvalues and Eigenvectors

Linear Algebra: Sample Questions for Exam 2

1 - Systems of Linear Equations

Linear Algebra 1 Exam 1 Solutions 6/12/3

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

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Determinants by Cofactor Expansion (III)

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

Lecture 18: Section 4.3

Announcements Wednesday, November 01

Math 1553, Introduction to Linear Algebra

Recall : Eigenvalues and Eigenvectors

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

Chapter 12: Iterative Methods

Linear algebra II Tutorial solutions #1 A = x 1

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Eigenvalues and Eigenvectors

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

LINEAR ALGEBRA REVIEW

MTH 464: Computational Linear Algebra

Lecture 6: Spanning Set & Linear Independency

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Math 205, Summer I, Week 4b: Continued. Chapter 5, Section 8

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Transcription:

LU Factorization A m n matri A admits an LU factorization if it can be written in the form of Where, A = LU L : is a m m lower triangular matri with s on the diagonal. The matri L is invertible and is called a unit lower triangular matri. L * * * * * *

LU Factorization (Contd.) U : Upper triangular matri. Note all entries in U below the diagonal entries i.e. u,u, and so on are zero. This is true, even when U is not square. The reason for considering a factorization A = LU, is that it drastically speeds up a solution of A = b linear system that uses row reduction, this is particularly true when solving linear systems of large dimensions. U * * * * * * * * * * * * *

Eample: Find an LU Factorization of A 6 7 8 8 Since, A has rows, L should be, whereas since A has columns, U should be L = U A

Eample: (Contd.) Matri U is obtained by simply reducing A to row echelon form using forward elimination process. Note if A is not reducible to row echelon form, it implies LU Factorization does not eists for given matri However there are two methods to populate L, both will be discussed here: Method : L is obtained using the multipliers with negative sign, that are used during forward elimination process i.e. while reducing given matri A to row echelon form.

Eample: (Contd.) * * * L 9 ; Now reducing A to row echelon form, while populating L using the multipliers with negative sign, that are used during forward elimination process R +R R +R R +R * L 7 ; R +R R +R Net pivot column Net pivot column multipliers with negative sign multipliers with negative sign

Eample: (Contd.) L ; R +R multipliers with negative sign U L ; So L and U are as follows:

Eample: (Method ) * * * L 7 6 8 8 ; Now populating L by dividing all entries in a pivot column from pivot position variable, for eample in column dividing,, 6 from pivot position variable. * L 9 ; R +R R +R R +R Net pivot column Now performing elementary row operations along st pivot column i.e. Column

Eample: (Method ) Now performing elementary row operations along net pivot column i.e. Column L 7 ; R +R R +R Net pivot column L U; R +R Now performing elementary row operations along net pivot column i.e. Column

Solving Linear system using LU Factorization. Decompose A into L and U.. So matri equation, A = b can be written as LU = b; Let y = U, so above equation becomes L y = b; Now writing above matri in augmented matri form i.e. [L I b] to find y. Since, U = y, so now writing this equation in augmented matri form i.e. [U I y] to find

Eample : Solve the equation A = b using LU factorization 7 b 6 7 ; A Step : Decomposing A into L and U * L 7 ; Now reducing A to row echelon form, while populating L using the multipliers with negative sign, that are used during forward elimination process R +R R +R Net pivot column multipliers with negative sign

Eample : (Contd.) L 7 ; R +R multipliers with negative sign Method : Now populating L by dividing all entries in a pivot column from pivot position variable, for eample in column dividing, 6 from pivot position variable. * L 7 ; 6 Now performing elementary row operations along st pivot column i.e. Column

Eample : (Contd.) L 7 ; R +R R +R Net pivot column Now performing elementary row operations along nd pivot column i.e. Column L 7 ; U R +R

Eample : (Contd.) Step : Now solving Ly = b in augmented form to find y b L 7 6 7 R +R R +R 6 7 7 6 y R +R

Eample : (Contd.) Step : Now solving U = y in augmented form to find 6 7 y U 7 R +R R +R ½ R R 6 7 8 9 6 6 7R +R / R

Eample : Solve the equation A = b using LU factorization 7 9 b 9 6 7 ; A 7 8 ; U L Step : Decomposing A into L and U

Eample : (Contd.) Step : Now solving Ly = b in augmented form to find y by reducing it to reduced row echelon form Step : Now solving U = y in augmented form to find by reducing it to reduced row echelon form 9 y 8 7 9 b L 6 9 7 y U

Eercise Solve the equation A = b using LU factorization 9 6 Answer

Eigenvalues and eigenvectors The eigenvectors (or characteristic vectors) of a square matri are the nonzero vectors which, after being multiplied by the matri, remain proportional to the original vector (i.e. change only in magnitude, not in direction). For each eigenvector, the corresponding eigenvalue (or characteristic value) is the factor by which the eigenvector changes when multiplied by the matri.

Definition If A is an n n matri, then a nonzero vector in R n is called an eigenvector of A, if A is a scalar multiple of ; that is, A=λ for some scalar λ. The scalar λ is called an eigenvalue of A, and is said to be an eigenvector of A corresponding to λ.

Eample: 6 6 Let A,u and v Are u and v eigenvectors of A? 6 6 6 Au u Thus u is an eigenvector of matri A corresponding to an eigenvalue of.

Eample: (Contd.) v eigenvectors of A? Are u and and v 6,u 6 Let A 9 6 Av Thus v is not an eigenvector of matri A, because Av is not a multiple of v.

Eercise: Is the vector of A 8 an eigenvector A 8 6 Thus is an eigenvector of matri A corresponding to an eigenvalue of.

Eercise: A Where, is an eigenvectorsof A? Verify that ) ( A Thus is an eigenvector of matri A corresponding to an eigenvalue of.

Eercise: Determine which of the indicated column vectors (i.e.,, ) are eigenvector of given matri A. Give the corresponding eigenvalue. and, A i, ) ( Answer (i) : Only is an eigenvector of matri A corresponding to an eigenvalue of., 6 ) ( and, A ii Answer (ii) : Only is an eigenvector of matri A corresponding to an eigenvalue of.

Eercise: (Contd.) Determine which of the indicated column vectors (i.e.,, ) are eigenvector of given matri A. Give the corresponding eigenvalue., ) ( and, A iii Answer (iii) : and are eigenvectors of matri A corresponding to respective eigenvalues of and.

Eigenvalues and Eigenvectors of nn matrices To find the eigenvalues of an n n matri A, we can rewrite A=λ () using the properties of matri algebra as or equivalently, A=λI (A λi) = () Where, I is the multiplicative identity, whereas n

( a a a Eigenvalues and Eigenvectors of nn matrices (A λi) = () For a linear system, Eq: can be rewritten as ) ( a a ) Eq : An obvious solution to Eq: is when a ( a ) = = = (i.e. trivial solution). However, we are seeking only non trivial solutions, as for λ to be an eigenvalue, there must be a nonzero solution of this equation a a

Recall!! A set of vectors is linearly dependent, if and only if we can find a set of scalars (i.e. weights), which are zero) such that (not all of,,, n v nn If such a set of scalars cannot be found i.e. the vector equation has only trivial solution (i.e. all scalars are zero), then set of vectors is said to be linearly independent. (vector equation of homogenoussystem) v, v,, v n

Eample:,, v, v v Let 6 a. Determine if the set {v, v, v } is linearly independent Solution Since, a set of vectors is linearly independent, if and only if the vector equation of homogenous system has only trivial solution. Therefore, we must determine if there is a nontrivial solution for given homogenous system using row operations on the associated augmented matri 6 6 6 R +R R +R / R 6R +R

From row echelon form matri it can be seen that: Eample: (Contd.), : basic variables : free variable Therefore, each nonzero value of determines a nontrivial solution of giver linear system. Hence, v,v,v are linearly dependent (i.e. not linearly independent). b. Find a linear dependence relation among v,v,v To find a linear dependence relation among v,v,v reducing the row echelon matri to reduced row echelon form & Thus R +R

Eample: (Contd.) Now assigning any arbitrary value of, say = will yield:, : basic variables : free variable Substituting these values into vector equation will yield v v v Note this is one (out of infinitely many) possible linear dependence relations among v, v, v.

Characteristic equation Since, in case of linear dependence the determinant of the coefficient matri vanishes, therefore; to find a nonzero solution for Equation, we must have det (A λi)= This is called the characteristic equation of A Eigenvalues of square matri A are roots of the characteristic equation. Hence, an nn matri A has at least one eigenvalue and at most n numerically different eigenvalues

Terminologies Spectrum of A The set of the eigenvalues (or characteristic values) is called the spectrum of A. Spectral radius of A The largest of the absolute values of the eigenvalues of A is called the spectral radius of A. Eigenspace The set of all eigenvectors corresponding to an eigenvalue of A, together with, forms a vectorspace, called the eigenspace of A corresponding to this eigenvalue.

Eigenvalue Problem The process of determining the eigenvalues and eigenvectors of a matri is called an eigenvalue problem.

Eample: Find the e igenvaluesand eigenvectors of A 7 8 From the characteristic equation det (A λi) λ 7 8 λ 7 8 8 8 (det(a I) ) 7 6 6 6 ( 6) ( 6) ( )( 6) Hence, the eigenvalues are λ, and λ 6 λ

Eample: (Contd.) Hence, the eigenvalues are λ and λ 6 Spectrum of A The set of the eigenvalues (or characteristic values) is called the spectrum of A. Therefore, spectrum of A is given by {, 6} Spectral radius of A The largest of the absolute values of the eigenvalues of A is called the spectral radius of A. Therefore, spectral radius of A is 6.

Eample: (Contd.) Now in case of matri there is no need to use GaussJordan elimination. To find the eigenvectors corresponding to we resort to the system (A λi) in equivalent form : 7 7 & (A I) 7 8 7 7 It is apparent from above system that =. Thus, if we choose =, the eigenvector corresponding to eigenvalue of is

Eample: (Contd.) Similarly, to find the eigenvectors corresponding to 6 resort to the system (A λi) in equivalent form : we 7 7 & (A 6I) 7 8 6 7 7 It is apparent from above system that = /7. Thus, if we choose =7, the eigenvector corresponding to eigenvalue of 6 is 7

Eercise: Find the e igenvaluesand eigenvectors of A From the characteristic equation λ det (A λi) λ λ (det(a I) ) 7 6 6 6 ( 6) ( 6) ( )( 6) Hence, the eigenvalues are λ, and λ 6 Corresponding eigenvectors are λ & λ

Eercise: Find the e igenvaluesand eigenvectors of From the characteristic equation det (A λi) (det(a I) ) 8 ( ) ( ) ( )( ) λ, and λ λ Hence, the eigenvalues are λ 8 λ A & 8 Corresponding eigenvectors are λ 8 9 λ

Eercise: Find the eigenvaluesand eigenvectors of A 8 6 The eigenvalue λ λ isan eigenvalueof multipicit y. Corresponding singleeigenvector is λ λ

Eercise: Find the eigenvaluesand eigenvectors of A 7 The eigenvalue λ λ isan eigenvalueof multipicit y. Corresponding singleeigenvector is λ λ

Comple Eigenvalues Let A be a square matri with real entries. If iy, y of A, then its conjugate eigenvalue of A. is a comple eigenvalue is also an If is an eigenvector corresponding to λ, then its iy conjugate is an eigenvector to

Eample: Find the e igenvaluesand eigenvectors of A 6 From the characteristic equation 6 6 det (A λi) λ λ λ 6 From the quadratic formula, we obtain i 9 and i ( det(a I) ) Hence, the eigenvalues are λ i, and λ i

Quadratic formula: Revision In mathematics, a quadratic equation is a polynomial equation of the second degree. The general form is b b a ac ; indicates that both b b ac b b ac & a a are solutions of the Quadratic equation. Since, we have 9 (a ;b ;c 9), ( ) ( ) () ()(9) 6, ( i i, i; and i; & i )

Eample: (Contd.) To find the eigenvectors corresponding to we resort to the system in equivalent form : i ) λi (A 6 i) ( i) ( i i i) ( Now resotingto equivalent form I) (A It is apparent from above system that = ( i). Thus, if we choose =, the eigenvector corresponding to eigenvalue of (+i) is i

Eample: (Contd.) Since, if is an eigenvector corresponding to λ, then its conjugate is an eigenvector to Therefore; an eigenvector corresponding to i is: i

Eercise: Find the eigenvaluesand eigenvectors of A The compleeigenvalues are λ i and λ i Corresponding λ i and eigenvectorsare λ λ i

Eercise: A Find the eigenvaluesand eigenvectors of and compleeigenvalues are The i λ i λ i and i λ λ λ eigenvectorsare Corresponding