Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2014/digital-systems-linear-algebra-introduction-to-formal-proof/6/c/solution

Solve two triangular linear systems, rather than forming an inverse matrix:
For this LU decomposition, forward substitution gives , and . Then back substitution gives
All diagonal entries used as divisors are nonzero. The same LU decomposition can be reused for many right-hand vectors, with only these two triangular solves repeated.

New to topics? Read the docs here!