LU Decomposition - Linear Algebra
12 cards. Flip a card to check yourself, or study the whole deck card by card.
Card 1 of 12
Study these flashcards All 12 cards in this deck
- When row swaps are needed during elimination, what form does the factorization take?
- PA=LU, where P is a permutation matrix recording the row swaps.
- Solve Ly=b for L=[[1,0],[2,1]] and b=(3,8).
- y=(3,2). Forward substitution: y1=3, then 2(3)+y2=8 gives y2=2.
- Elimination on A uses R2→R2−3R1. With L unit lower triangular, what entry goes in position (2,1) of L?
- 3. Each entry of L below the diagonal is the multiplier used to clear the matching position of A.
- What is the main computational advantage of an LU decomposition?
- Factor A once, then solve Ax=b for many different b using only two cheap triangular solves each.
- If A=LU with L unit lower triangular and U having diagonal entries 2, 3 and −1, what is detA?
- −6. detA=detL⋅detU=1⋅(2)(3)(−1)=−6.
- What does it mean for L in an LU decomposition to be unit lower triangular?
- Every diagonal entry of L is 1 and every entry above the diagonal is 0.
- Solve Ux=y for U=[[2,1],[0,3]] and y=(4,6).
- x=(1,2). Back substitution: 3x2=6 gives x2=2, then 2x1+2=4 gives x1=1.
- Given A=LU, how do you solve Ax=b?
- Solve Ly=b by forward substitution, then solve Ux=y by back substitution.
- Why does [[0,1],[1,0]] have no LU decomposition?
- Its (1,1) entry is 0, so in LU either l11 or u11 is 0; either choice makes the (1,2) or (2,1) entry 0, not 1. A row swap (PA=LU) is needed.
- What is the LU decomposition of [[2,1],[4,5]] with L unit lower triangular?
- L=[[1,0],[2,1]] and U=[[2,1],[0,3]]. R2→R2−2R1 turns (4,5) into (0,3).
- In the usual LU construction, where does the matrix U come from?
- It is the echelon form reached by Gaussian elimination using only row replacements, with no row swaps.
- What is an LU decomposition of a matrix A?
- A factorization A=LU with L lower triangular (often with 1s on its diagonal) and U upper triangular.