Applications of LU factorisation

  1. Solving linear systems: to solve $A\v x = \v b$ where $A$ is non-singular and square, factorise $A=LU$ (in $O(n^3)$ time), solve $L\v y = \v b$ by forward substitution (in $O(n^2)$ time) and solve $U\v x = \v y$ by backward substitution (in $O(n^2)$ time).

    This is better than Gaussian elimination ($O(n^3)$ time) if we need to solve $A\v x=\v b$ for the same $A$ but many different $\v b$.

  2. Finding determinant of $A$: $\det A = \det L \det U = 1\cdot \prod_{i=1}^{n} u_{ii}$.

  3. Inverting $A$: solve $A\v a\inv_k = \v e_k$ for each $k$.