Elementary Matrices
Explore how elementary matrices correspond to fundamental row operations such as swaps, scaling, and sums. Understand how to construct these matrices from identity matrices, use them to transform and decompose matrices, and combine them into elimination matrices for efficient processing. Learn to compute inverses of these matrices to reverse operations, gaining core skills for matrix manipulations in data science contexts.
An elementary matrix is a square matrix that represents an elementary row operation. These matrices help us automate matrix transformations and decompositions.
Creation of an elementary matrix
To create an elementary matrix, , we start with the identity matrix, , and apply the desired elementary row operation to it. The resultant matrix is the elementary matrix corresponding to the given operation.
Row swap
An elementary matrix for row swap is an identity matrix with the two rows interchanged. These matrices are also called permutation matrices, represented by , where and represent the two rows to be swapped. For example, the elementary matrix to swap the second and third rows is as follows:
...
Row scaling
An elementary matrix to scale (up or down) the ...