Mark Yourself Question
A stored factorization is PA = LU, where P = [[0,1],[1,0]], L = [[1,0],[2,1]], and U = [[5,1],[0,3]]. For each right-hand side, solve Ax=b: (a) ba=[7,4]T; (b) bb=[1,10]T. Name the computation reused between (a) and (b).
Unlock full course notes by signing up
LU Factorization: difficulty 3
For A = [[0,2],[3,4]], a row swap gives P = [[0,1],[1,0]] and the factors satisfy PA = LU with L = I and U = [[3,4],[0,2]]. Solve Ax = [6,11]T. State why using the unpermuted right-hand side would be wrong.