Description
Problem 1: Compute LU factorization of the matrix
π΄ = [
3 0 β2 β2
0 β1 3 β1
β2 0 3 0
2 β2 1 2
]
Problem 2:
Solve the following system of equations by both LU factorization and QR factorization:
2π₯1 β π₯3 = β7
2π₯1 + 2π₯2 + 3π₯3 = 1
π₯1 + π₯2 + 3π₯3 = 2
Problem 3:
Let π΄ be nonsingular π Γ π matrix. Show that π΄ has LU factorization π΄ = πΏπ (no
pivoting) with the diagonal terms of the matrix π all nonzero if and only if for each 1 β€
π β€ π the upper left π Γ π submatrix π΄1:π,1:π is nonsingular.
(Hint: Use induction argument).
Problem 4:
Compute the LU factorization with partial pivoting, (i.e., find P, L, U such that
PA = LU
) for the following matrix
π΄ = [
β1 β2 β1 β2
3 β1 1 β1
3 0 2 β1
0 1 β1 0
]