Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linear Algebra Lecturer: Xia Liao

Similar presentations


Presentation on theme: "Linear Algebra Lecturer: Xia Liao"β€” Presentation transcript:

1 Linear Algebra Lecturer: Xia Liao
Homepage: Time: every Tuesday 1-2, Thursday 3-4

2 Invertible matrices

3 Algorithm for computing invertible matrices

4

5 Elementary matrices Elementary matrices are special invertible matrices. They are called elementary matrices because they are related to elementary row operations. There are 3 types of elementary matrices, just as there are 3 types of elementary operations. Recall on page 6 the three elementary operations are called (1) replacement, (2) interchange, (3) scaling.

6 Elementary matrices Given Compute 𝐸 1 𝐴, 𝐸 2 𝐴, 𝐸 3 𝐴, and describe by words the effects on the rows of 𝐴.

7 Elementary matrices

8 Elementary matrices There is a slightly different way to look at the computations: 𝐴= π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 β†’ 𝑅 1 𝑅 2 𝑅 3 where 𝑅 1 is the 1st row of 𝐴, i.e. 𝑅 1 = π‘Ž 𝑏 𝑐 , etc. 𝐸 1 𝐴 can be computed as βˆ’4 0 1 𝑅 1 𝑅 2 𝑅 3 = 𝑅 1 𝑅 2 βˆ’4 𝑅 1 +𝑅 3 This computation agrees with the computations on the previous slide, yet perhaps more illustrative about the nature of left multiplication by 𝐸 1 .

9 Elementary matrices Left multiplication by 𝐸 2 and 𝐸 3 on 𝐴 can be understood in the same way. 𝐸 2 𝐴= 𝑅 1 𝑅 2 𝑅 3 = 𝑅 2 𝑅 1 𝑅 3 𝐸 3 𝐴= 𝑅 1 𝑅 2 𝑅 3 = 𝑅 1 𝑅 2 5𝑅 3

10 Elementary matrices Exercises:
Let 𝐴 be a 3Γ—4 matrix. Describe the elementary matrices which give the following effects: 𝑅 3 β†’2 𝑅 2 + 𝑅 3 𝑅 2 β†’ 𝑅 2 +2 𝑅 3 Interchange 𝑅 2 and 𝑅 3

11 Solution of 1: We are looking for a 3Γ—3 matrix 𝐸= π‘Ž 11 π‘Ž 12 π‘Ž 13 π‘Ž 21 π‘Ž 22 π‘Ž 23 π‘Ž 31 π‘Ž 32 π‘Ž 33 such that π‘Ž 11 π‘Ž 12 π‘Ž 13 π‘Ž 21 π‘Ž 22 π‘Ž 23 π‘Ž 31 π‘Ž 32 π‘Ž 33 𝑅 1 𝑅 2 𝑅 3 = 𝑅 1 𝑅 2 2 𝑅 2 + 𝑅 3 How do you choose the 9 entries of 𝐸?

12 By the definition of matrix-vector product, π‘Ž 11 π‘Ž 12 π‘Ž 13 π‘Ž 21 π‘Ž 22 π‘Ž 23 π‘Ž 31 π‘Ž 32 π‘Ž 33 𝑅 1 𝑅 2 𝑅 3 = π‘Ž 11 𝑅 1 + π‘Ž 12 𝑅 2 + π‘Ž 13 𝑅 3 π‘Ž 21 𝑅 1 + π‘Ž 22 𝑅 2 + π‘Ž 23 𝑅 3 π‘Ž 31 𝑅 1 + π‘Ž 32 𝑅 2 + π‘Ž 33 𝑅 3 So we have π‘Ž 11 𝑅 1 + π‘Ž 12 𝑅 2 + π‘Ž 13 𝑅 3 π‘Ž 21 𝑅 1 + π‘Ž 22 𝑅 2 + π‘Ž 23 𝑅 3 π‘Ž 31 𝑅 1 + π‘Ž 32 𝑅 2 + π‘Ž 33 𝑅 3 = 𝑅 1 𝑅 2 2 𝑅 2 + 𝑅 3 Therefore we can let π‘Ž 11 =1, π‘Ž 12 =0, π‘Ž 13 =0, etc. The matrix we look for is

13 There are some variants of these problems. For example, 1
There are some variants of these problems. For example, 1. Let 𝐴 be a 4Γ—4 invertible matrix. Let 𝐡 be the matrix obtained by interchanging the 2nd and the 3rd row of 𝐴. (1) Prove 𝐡 is invertible; (2) Compute 𝐴 𝐡 βˆ’ Compute π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖

14 Column operations Up to this point, we have been emphasizing row operations, but elementary matrices can also be used to describe column operations. Given Compute 𝐴𝐸 1 , 𝐴𝐸 2 , 𝐴𝐸 3 , and describe by words the effects on the columns of 𝐴.

15 𝐴𝐸 1 = π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 βˆ’4 0 1 = π‘Žβˆ’4𝑐 𝑏 𝑐 π‘‘βˆ’4𝑓 𝑒 𝑓 π‘”βˆ’4𝑖 β„Ž 𝑖 𝐴𝐸 2 = π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 = 𝑏 π‘Ž 𝑐 𝑒 𝑑 𝑓 β„Ž 𝑔 𝑖 𝐴𝐸 3 = π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 = π‘Ž 𝑏 5𝑐 𝑑 𝑒 5𝑓 𝑔 β„Ž 5𝑖

16 Column operations Analogously, one can understand the operations in the following way. Let 𝐢 1 , 𝐢 2 , 𝐢 3 be 3 columns of 𝐴. We can write π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 = 𝐢 1 𝐢 2 𝐢 3 And the product 𝐴 𝐸 1 can be computed as 𝐢 1 𝐢 2 𝐢 βˆ’4 0 1 = 𝐢 1 βˆ’4 𝐢 3 𝐢 2 𝐢 3 This computation might be more illustrative in showing the effect of multiplying 𝐸 1 on the right of a matrix.

17 Exercise: 1. How do you understand π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖 2. Compute π‘Ž 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 β„Ž 𝑖

18 The proof of the algorithm for finding the invertible matrix
Suppose we can apply 𝑛 elementary row operations to transform a matrix 𝐴 into the identity matrix. Our aim is to describe this process by elementary matrices. Suppose the 1st elementary row operation corresponds to an elementary matrix 𝐸 1 . So the 1st elementary row operation changes our matrix from 𝐴 to 𝐸 1 𝐴. Let the 2nd elementary row operation corresponds to an elementary matrix 𝐸 2 . So the 2nd elementary row operation changes our matrix from 𝐸 1 𝐴 to 𝐸 2 𝐸 1 𝐴.

19 The proof of the algorithm for finding the invertible matrix
Performing 𝑛 elementary row operations, our matrix 𝐴 is changed into 𝐸 𝑛 𝐸 π‘›βˆ’1 … 𝐸 1 𝐴, where 𝐸 𝑖 is the matrix of the elementary row operation in step i. We have supposed that 𝐴 is changed into 𝐼 after these elementary row operations. Therefore 𝐼= 𝐸 𝑛 𝐸 π‘›βˆ’1 … 𝐸 1 𝐴 If we right multiply 𝐴 βˆ’1 on both sides, we obtain 𝐴 βˆ’1 = 𝐸 𝑛 𝐸 π‘›βˆ’1 … 𝐸 1 Note that the RHS can be written as 𝐸 𝑛 𝐸 π‘›βˆ’1 … 𝐸 1 𝐼 So 𝐴 βˆ’1 = 𝐸 𝑛 𝐸 π‘›βˆ’1 … 𝐸 1 𝐼. If we interpret this equation by elementary row operations, we immediately see that the elementary row operations that change 𝐴 into 𝐼 simultaneously change 𝐼 into 𝐴 βˆ’1 .

20 Characterization of invertible matrices

21 Proof of equivalence

22 Applications of invertible matrix theorem

23 Significance of invertible matrix theorem
It brings connections among important concepts, i.e. linear independence of columns of a matrix 𝐴, uniqueness and existence of solutions of matrix equations of the form 𝐴𝒙=𝒃. Caution: The theorem applies only to square matrices.

24 Invertible linear transformations
Recall that matrices are related to linear transformations. Any linear transformation 𝑇: ℝ 𝑛 β†’ ℝ π‘š has an associated matrix 𝐴 𝑇 of size π‘šΓ—π‘›. Any matrix 𝐴 of size π‘šΓ—π‘› defines a linear transformation 𝑇: ℝ 𝑛 β†’ ℝ π‘š via the matrix-vector product. Under this correspondence, invertible matrices corresponds to invertible transformations!

25 Invertible functions We were familiar with functions. Let 𝑓: π‘Ž,𝑏 β†’(𝑐,𝑑) and 𝑔: 𝑐,𝑑 β†’(π‘Ž,𝑏) be two functions defined on open intervals. If 𝑓 𝑔 π‘₯ =π‘₯ for any π‘₯∈(π‘Ž,𝑏) and 𝑔 𝑓 π‘₯ =π‘₯ for any π‘₯∈ 𝑐,𝑑 , then 𝑓,𝑔 are called invertible. The following functions are regarded as functions from ℝ to ℝ. Which ones of them are invertible? 𝑦= sin π‘₯ , 𝑦= tan π‘₯ , 𝑦= π‘₯ 2 , 𝑦= 𝑒 π‘₯ , 𝑦=3π‘₯, 𝑦= π‘₯ 3 , 𝑦= π‘₯ 5 +1

26 Invertible transformations
Invertible matrices corresponds to invertible transformations! If 𝐴 were the matrix of 𝑇, then the matrix of 𝑆 would be 𝐴 βˆ’1 . The equality A βˆ’1 𝐴=𝐴 𝐴 βˆ’1 =𝐼 implies that 𝐴 βˆ’1 𝐴π‘₯=𝐴 𝐴 βˆ’1 π‘₯=π‘₯ for any π‘₯∈ ℝ 𝑛 . Compare with (1) and (2) above.

27 Mental/conceptual image of invertible transformations

28 Exercises: P123: HW: P123:5-8


Download ppt "Linear Algebra Lecturer: Xia Liao"

Similar presentations


Ads by Google