edited by
1,248 views
1 votes
1 votes

$\begin{pmatrix}
4&3 \\
6&3 
\end{pmatrix}$

What is the sum of all the elements of the $L$ and $U$ matrices as obtained in the L U decomposition?

  1. $16$
  2. $10$
  3. $9$
  4. $6$

edited by

4 Answers

Best answer
2 votes
2 votes

Answer is 9

selected by
1 votes
1 votes
$\begin{bmatrix} 4 & 3\\ 6 & 3 \end{bmatrix} = \begin{bmatrix} l11 & 0\\ l21 & l22 \end{bmatrix}\begin{bmatrix} u11 & u12\\ 0 & u22 \end{bmatrix} \\ \\ \text{We get following equations :} \\l11*u11 + 0*0 = 4 \\l11*u12 + 0*u22 = 3 \\l21*u11 + l22*0 = 6 \\l21*u12 + l22*u22 = 3 \\ \\ \text{After solving above equations, we get,} \\ l21 = 1.5 \\ u11 = 4 \\ u12 = 3 \\ u22 = -1.5 \\ \\ \text{Substitute this value in above LU decomposed materix, we get} \\ \begin{bmatrix} 4 & 3\\ 6 & 3 \end{bmatrix} = \begin{bmatrix} 1 & 0\\ 1.5 & 1 \end{bmatrix}\begin{bmatrix} 4 & 3\\ 0 & -1.5 \end{bmatrix} \\ \\ \text{Summing all the values in LU matrix, we get sum = 9}$
edited by

No related questions found