A matrix of the form
$$A=\begin{bmatrix} A_{11} & A_{12}\\ 0 & A_{22} \end{bmatrix}$$
is said to be block upper triangular. Assume that $A_{11}$ is $p \times p$, $A_{22}$ is $q \times q$ and $A$ is invertible. Find a formula for $A^{-1}$.
Could anyone help on this?
An easy one to remember is the following surprising result: $$\begin{bmatrix}I & X \\ & I\end{bmatrix}^{-1} = \begin{bmatrix}I & -X \\ & I\end{bmatrix}$$ which is straightforward to verify by multiplying it out, or understand by just thinking about it.
You can get your desired inverse by factoring out the diagonal blocks, $$\begin{bmatrix}A_{11} & A_{12} \\ & A_{22}\end{bmatrix} = \begin{bmatrix}A_{11} \\ & I\end{bmatrix}\begin{bmatrix}I & A_{11}^{-1}A_{12}A_{22}^{-1} \\ & I\end{bmatrix}\begin{bmatrix}I \\ & A_{22}\end{bmatrix},$$ then applying the identity above. Doing so yields the following explicit formula for the inverse: \begin{align} \begin{bmatrix}A_{11} & A_{12} \\ & A_{22}\end{bmatrix}^{-1} &= \begin{bmatrix}I \\ & A_{22}^{-1}\end{bmatrix}\begin{bmatrix}I & -A_{11}^{-1}A_{12}A_{22}^{-1} \\ & I\end{bmatrix}\begin{bmatrix}A_{11}^{-1} \\ & I\end{bmatrix} \\ &= \begin{bmatrix}A_{11}^{-1} & -A_{11}^{-1}A_{12}A_{22}^{-1} \\ & A_{22}^{-1}\end{bmatrix}. \end{align} In some numerical methods, it is prefferable to keep it in the factored form rather than multiplying the matrices together at the end.