Matrix Inverses and Subspaces of $$\\mathbb{R}^n$$
Criteria and Formulas for Matrix Invertibility
Recall of Invertibility for 2x2 Matrices: * For a matrix A=(aamp;bcamp;d), the matrix is invertible if and only if the determinant is non-zero. * Determinant Formula:det(A)=ad−bc=0.
Fact: Calculation of the Inverse for a 2x2 Matrix: * If A=(aamp;bcamp;d) is invertible, then the inverse matrix A−1 is calculated as: * A−1=ad−bc1(damp;−b−camp;a).
Example Case Study: * Let A=(1amp;23amp;4). * First, calculate the determinant: det(A)=(1×4)−(2×3)=4−6=−2. * Since det(A)=−2=0, matrix A is invertible. * Applying the formula: A−1=−21(4amp;−2−3amp;1)=(−2amp;123amp;−21).
Verification (Check): * Multiplying A by its inverse: (1amp;23amp;4)(−2amp;123amp;−21)=(−2+3amp;1−1−6+6amp;3−2)=(1amp;00amp;1).
Properties and Computation of Matrix Inverses
Fact on Matrice Multiplicity: * For any n×n matrices A and B, the following statement holds true: AB=In⟺BA=In.
Inverse of a Product: * The inverse of a product of two invertible matrices is the product of their inverses in reverse order: * (AB)−1=B−1A−1.
Computing the Inverse using Gauss-Jordan Elimination: * We compute A−1 by executing the Gauss-Jordan algorithm on matrix A and the identity matrix In simultaneously. * This is represented as performing row operations on the augmented matrix [A∣In] until it reaches the form [In∣A−1].
Step-by-Step Example of Inversion: * Given matrix A=(1amp;1amp;10amp;1amp;1−1amp;1amp;−1). * Augmented Matrix:(1amp;1amp;1amp;∣amp;1amp;0amp;00amp;1amp;1amp;∣amp;0amp;1amp;0−1amp;1amp;−1amp;∣amp;0amp;0amp;1). * Step 1: Add Row 1 to Row 3 (R3+R1→R3): * (1amp;1amp;1amp;∣amp;1amp;0amp;00amp;1amp;1amp;∣amp;0amp;1amp;00amp;2amp;0amp;∣amp;1amp;0amp;1). * Step 2: Subtract 2×, Row 2 from Row 3 (R3−2R2→R3): * (1amp;1amp;1amp;∣amp;1amp;0amp;00amp;1amp;1amp;∣amp;0amp;1amp;00amp;0amp;−2amp;∣amp;1amp;−2amp;1). * Step 3: Multiply Row 3 by −21 (R3×(−21)→R3): * (1amp;1amp;1amp;∣amp;1amp;0amp;00amp;1amp;1amp;∣amp;0amp;1amp;00amp;0amp;1amp;∣amp;−21amp;1amp;−21). * Step 4: Subtract Row 3 from Row 2 (R2−R3→R2) and subtract Row 3 from Row 1 (R1−R3→R1): * (1amp;1amp;0amp;∣amp;23amp;−1amp;210amp;1amp;0amp;∣amp;21amp;0amp;210amp;0amp;1amp;∣amp;−21amp;1amp;−21). * Step 5: Subtract Row 2 from Row 1 (R1−R2→R1): * (1amp;0amp;0amp;∣amp;1amp;−1amp;00amp;1amp;0amp;∣amp;21amp;0amp;210amp;0amp;1amp;∣amp;−21amp;1amp;−21). * Result: The inverse matrix is A−1=(1amp;−1amp;021amp;0amp;21−21amp;1amp;−21).
Final Check: * Multiplying A and the resulting A−1 yields (1amp;0amp;00amp;1amp;00amp;0amp;1).
Subspaces of Rn and the Concept of Images
Definition of the Image of a Function: * For a function f:X→Y, the image, denoted as Im(f), is defined as the set of all outputs resulting from inputs in the domain X. * Im(f)=f(x):x∈X. * Alternatively expressed as: Im(f)=y∈Y:y=f(x) for some x∈X.
Remark on Terminology: * The image of a function is also commonly referred to as the range of f.
The Image of a Matrix: * The image of an n×m matrix A is defined as the image of the linear transformation T defined by that matrix. * Im(A)=Im(T). * Given an n×m matrix A=(v1amp;v2amp;…amp;vm), where vi are the columns and x∈Rm: * Im(A)=Ax:x∈Rn. * This is the set of all linear combinations of the column vectors: Im(A)=x1v1+⋯+xmvm:x1,…,xm∈R.
Definition of Span: * The set of all linear combinations of vectors v1,…,vm is called the span of these vectors.
Questions & Discussion
Question regarding Projections: * Q: What is the image of the projection projL:R2→R2 onto the line L? * A: The image is the line L itself!
Example Analysis of Matrix Images: * Consider matrix A=(1amp;0amp;10amp;1amp;0). * Im(A)=x1(10)+x2(01)+x3(10):x1,x2,x3∈R. * This simplifies to (x1+x3x2). * In the plane, this represents the entirety of the x1−x2 plane (the entirety of R2) because any vector (ab) can be achieved by choosing appropriate weights for the columns.
Problem-Solving - Membership in the Image: * Q: Is the vector (12) in the image of the matrix A=(0amp;12amp;3)? * A: To determine this, we check if there exists a vector x=(x1x2) such that Ax=b, i.e., (0amp;12amp;3)(x1x2)=(12). * This yields the linear system: 1. 0⋅x1+1⋅x2=1⟹x2=1. 2. 2⋅x1+3⋅x2=2. * Substituting x2=1 into the second equation: 2x1+3(1)=2⟹2x1=−1⟹x1=−21. * Conclusion: YES, the vector is in the image because it is the image of the vector x=(−1/21).