- #1
Chris L T521
Gold Member
MHB
- 915
- 0
Thanks to those who participated in last week's POTW! Here's this week's problem!
-----
Problem: Given the matrix $A=\begin{pmatrix}2 & 1 & 5\\ 4 & 4 & -4\\ 1 & 3 & 1\end{pmatrix}$,
(a) Find it's $PA=LU$ decomposition where $P$ is a permutation matrix, $L$ is a lower triangular matrix, and $U$ is an upper triangular matrix.
(b) Use its $PA=LU$ decomposition to solve $\begin{pmatrix}2 & 1 & 5\\ 4 & 4 & -4\\ 1 & 3 & 1\end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} = \begin{pmatrix} 5 \\ 0 \\ 6 \end{pmatrix}$
Hint for (b):
-----
-----
Problem: Given the matrix $A=\begin{pmatrix}2 & 1 & 5\\ 4 & 4 & -4\\ 1 & 3 & 1\end{pmatrix}$,
(a) Find it's $PA=LU$ decomposition where $P$ is a permutation matrix, $L$ is a lower triangular matrix, and $U$ is an upper triangular matrix.
(b) Use its $PA=LU$ decomposition to solve $\begin{pmatrix}2 & 1 & 5\\ 4 & 4 & -4\\ 1 & 3 & 1\end{pmatrix} \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} = \begin{pmatrix} 5 \\ 0 \\ 6 \end{pmatrix}$
Hint for (b):
Solve the matrix equations $Lc=Pb$ and $Ux=c$ and then use back substitution.
-----