$A$ is an $n\times n$ matrix, partitioned as $$A=\begin{bmatrix} A_{11} & A_{12}\\ A_{21} & A_{22} \end{bmatrix},$$ where $A_{11}$ has dimensions $k\times k$ and $A_{11}$ and $A_{22}$ are nonsingular. I've managed to prove that the inverse is: $$A^{-1}=\begin{bmatrix} (A_{11}-A_{12}A_{22}^{-1}A_{21})^{-1} & -A_{11}^{-1}A_{12}(A_{22}-A_{21}A_{11}^{-1}A_{12})^{-1}\\ -A_{22}^{-1}A_{21}(A_{11}-A_{12}A_{22}^{-1}A_{21})^{-1} & (A_{22}-A_{21}A_{11}^{-1}A_{12})^{-1} \end{bmatrix}$$ However, I am having difficulty showing that $A^{-1}A=I$. For example, if I multiply the first row of $A^{-1}$ times the first column of $A$, I get:
$$(A_{11}-A_{12}A_{22}^{-1}A_{21})^{-1}A_{11}-A_{11}^{-1}A_{12}(A_{22}-A_{21}A_{11}^{-1}A_{12})^{-1}A_{21}$$
This should equal a $k\times k$ identity matrix, but I can't seem to show that this is the case.
Any suggestions?