1. Use the LU factorization of A to solve the linear system Ax=b.
A=LU=1−32011001−700210235=−721−142−552−312,b=3−14
x1=3
−3x1+x2=−1
2x1+x2+x3=4
x2=8
x3=−10
2. Find the LU factorization of the following matrices:
A=[28−1−1]
[20−13]
B=24−2−11401−1
200−13001−2
3. Find the LDU factorization of
B=24−2−11401−1
L = \begin{bmatrix} 1 & 0 & 0 \\ 2 & 1 & 0 \\ -1 & 1 & 1 \end{bmatrix}
$$ $$ D = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & -2 \end{bmatrix} $$ $$ U = \begin{bmatrix} 1 & -\frac{1}{2} & 0 \\ 0 & 1 & \frac{1}{3} \\ 0 & 0 & 1 \end{bmatrix} $$