

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The gaussian elimination method for solving linear systems of equations and finding matrix inverses. It includes examples and explanations of the steps involved in the process. The document also discusses the importance of invertible matrices and the uniqueness of their inverses.
Typology: Slides
1 / 2
This page cannot be seen from the preview
Don't miss anything!


M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 1
Suppose that we want to solve
x 1 x 2 x 3
We apply Gaussian elimination. To keep track of the operations, we use, e.g., R 2 = R 2 − 2 ∗ R 1 , which means that the new row 2 is computed by subtracting 2 times row 1 from row 2.
The original system (1) is equivalent to
x 1 x 2 x 3
The system (2) can be solved by backsubstitution. We get the solution x 3 = 8/4 = 2, x 2 = (4− 1 ∗2)/1 = 2, x 1 = (2− 4 ∗ 2 −(−2)∗2)/2 = − 1. M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 2
M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 3
M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 4
A square matrix S ∈ Rn×n^ is invertible if there exists a matrix X ∈ Rn×n^ such that XS = I and SX = I. The matrix X is called the inverse of S and is denoted by S−^1. I (^) An invertible matrix is also called non-singular. A matrix is called non-invertible or singular if it is not invertible. I (^) A matrix S ∈ Rn×n^ cannot have two different inverses. In fact, if X, Y ∈ Rn×n^ are two matrices with XS = I and SY = I, then X = XI = X(SY ) = (XS)Y = IY = Y. I (^) The property SX = I (right inverse) is important for the existence of a solution. In fact, if there is a matrix X with SX = I, then x = Xf satisfies Sx = SXf = If = f , i.e., x = Xf is a solution to the linear system. I (^) The property XS = I (left inverse) is important for the uniqueness of the solution. In fact, if there is a matrix X with XS = I and if x and y satisfy Sx = f and Sy = f , then S(x − y) = Sx − Sy = f − f = 0 and x − y = X0 = 0. I (^) It can be shown that if the square matrix S has a left inverse XS = I, then X is also a right inverse, SX = I, and vice versa. I (^) If S is invertible, then for every f the linear system Sx = f has the unique solution x = S−^1 f. I (^) We will see later that if for every f the linear system Sx = f has a unique solution x, then S is invertible. M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 5
M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 6
Suppose that we want the inverse of
S =
2 4 − 2 4 9 − 3 − 2 − 3 7
(^).
We can use Gaussian Elimination to solve the systems SX:, 1 = e 1 , SX:, 2 = e 2 , SX:, 3 = e 3 for the three columns of X = S−^1
2 4 − 2 1 0 0 4 9 − 3 0 1 0 − 2 − 3 7 0 0 1
(^) →
2 4 − 2 1 0 0 0 1 1 − 2 1 0 0 1 5 1 0 1
→
2 4 − 2 1 0 0 0 1 1 − 2 1 0 0 0 4 3 − 1 1
→
2 4 0 5 / 2 − 1 / 2 1 / 2 0 1 0 − 11 / 4 5 / 4 − 1 / 4 0 0 1 3 / 4 − 1 / 4 1 / 4
(^) →
1 0 0 27 / 4 − 11 / 4 3 / 4 0 1 0 − 11 / 4 5 / 4 − 1 / 4 0 0 1 3 / 4 − 1 / 4 1 / 4
(^).
S−^1 =^14
27 − 11 3 − 11 5 − 1 3 − 1 1
(^).
M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 7
M. Heinkenschloss - CAAM335 Matrix Analysis Gaussian Elimination and Matrix Inverse (updated September 3, 2010) – 8