Consider the following theorem:
Let $\mathrm{\mathbf{A}}\in\mathbb{C}^{n\times n}$ be an upper triangular block matrix with $2\times2$ blocks ($p=2$), i. e.,
$\mathrm{\mathbf{A}}=\left(\begin{array}{cc} \mathrm{\mathbf{A}_{11}} & \mathrm{\mathbf{A}_{12}}\\ 0 & \mathrm{\mathbf{A}_{22}} \end{array}\right)$.
Then $\mathrm{\mathbf{A}}$ is invertible if and only if $\mathbf{A}_{11}$ and $\mathbf{A}_{22}$ are invertible matrices.
(a) Prove the theorem.
(b) Generalize the theorem to $\mathrm{\mathbf{A}}\in\mathbb{C}^{n\times n}$ upper triangular block matrix with $p\times p$ blocks, i. e.,
$\mathrm{\mathbf{A}}=\left(\begin{array}{cccc} \mathrm{\mathbf{A}_{11}} & \mathrm{\mathbf{A}_{12}} & \cdots & \mathrm{\mathbf{A}}_{1n}\\ & \mathrm{\mathbf{A}_{22}} & \cdots & \mathrm{\mathbf{A}}_{2n}\\ & & \ddots & \vdots\\ & & & \mathrm{\mathbf{A}}_{nn} \end{array}\right)$,
and prove. (Note that it's not necessary to calculate the inverse matrix)
MY ATTEMPT
(a) In this case $\mathrm{\mathbf{A}^{-1}}\in\mathbb{C}^{n\times n}$ is
$\mathrm{\mathbf{A}}^{-1}=\left(\begin{array}{cc} \mathrm{\mathbf{A}_{11}^{-1}} & \mathrm{-\mathrm{\mathbf{A}_{11}^{-1}}\mathbf{A}_{12}}\mathrm{\mathbf{A}_{22}^{-1}}\\ 0 & \mathrm{\mathbf{A}_{22}^{-1}} \end{array}\right)$. Therefore, $\mathrm{\mathbf{A}}$ is invertible if and only if $\mathbf{A}_{11}$ is invertible and $\mathbf{A}_{22}$ is invertible. $\square$
(b) I think I have to use induction on the number of blocks ($p$), but I don't know how to do
Can you help me? Thanks.