

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Elementary matrices Matrices that represent the elementary row operations:
20 November 2026 11:
The condition for being able to perform LU decomposition on a square matrix is (square matrix, no row swaps to get ref) To actually get a LU decomposition: Example: To get A to ref we want to get 1 as the leading digit (top left) therefore, divide by 2. This gives the elementary matrix cor responding to scaling a row by 1/2. we find the inverse of that. (matrix is identity matrix with 1/2 in top left - the inverse is the same but 1/top left, giving 2 in the top left) We then want to make 1 in the bottom right. To do this, we have 1 and - 2 in the top row, so subtract 3 lots of this from row 2 to get 0 4 in the bottom row. This operation gives E2 = identity matrix with - 3 in bottom left, E2^-1 = identity with 3 in the bottom left We have 0 4 on the bottom row, so divide it by 4 to get 0 1. this does the same as the first operation, and gets the ref of A , which is the upper triangular matrix U We then have the three inverse elementary matrices The product of these matrices gives the lower triangular matrix L We can then check this is correct by multiplying L and U In summary: U is the product of all the elementary matrices applied to A (ref of A): E1 * E2 * E3 * A = U L is the product of all the inverse elementary matrices applied to A: E1^ - 1 * E2^-1 * E3^-1 * A = L As we can see, multiplying L and U means multiplying each Ex with Ex^ - 1, cancelling out to give A (this isnt on the exam - to calculate, but understanding of this is tested) LU decomposition method fails when row swaps must be made to get ref(A) To get around this we can permute rows in advance e.g. a permutation matrix made from permutating the rows of the identity matrix: It is invertible with inverse being the transpose of itself Imma leave this here With LU decomposition