Questions: LU Decomposition

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

You need to solve Ax = b for 1,000 different right-hand side vectors b, using the same coefficient matrix A. Which approach is most computationally efficient?

ARun Gaussian elimination 1,000 times, once per right-hand side
BCompute A⁻¹ explicitly, then multiply each b by A⁻¹
CFactor A = LU once, then solve Ly = b and Ux = y for each new b
DUse iterative methods like conjugate gradient for each right-hand side
Question 2 Multiple Choice

Why is partial pivoting essential for numerical stability in LU decomposition?

AIt reduces the number of arithmetic operations from O(n³) to O(n² log n)
BIt prevents small diagonal entries from acting as divisors, which would amplify floating-point rounding errors
CIt ensures L and U are both orthogonal matrices, improving conditioning
DIt allows the factorization to be computed without storing L separately from U
Question 3 True / False

LU decomposition should be recomputed from scratch whenever the right-hand side vector b changes.

TTrue
FFalse
Question 4 True / False

In PA = LU decomposition, the permutation matrix P records the row swaps performed during partial pivoting.

TTrue
FFalse
Question 5 Short Answer

Why are triangular systems (lower- or upper-triangular) particularly easy to solve, and how does this relate to why LU decomposition is useful?

Think about your answer, then reveal below.