5 questions to test your understanding
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?
Why is partial pivoting essential for numerical stability in LU decomposition?
LU decomposition should be recomputed from scratch whenever the right-hand side vector b changes.
In PA = LU decomposition, the permutation matrix P records the row swaps performed during partial pivoting.
Why are triangular systems (lower- or upper-triangular) particularly easy to solve, and how does this relate to why LU decomposition is useful?