I came across a question on SE Math and was reading a proof on Sylvester's Determinant Theorem posted by anon. But I have a few doubts as I'm reading it. I will re-produce from the pdf file on the part that I don't understand so that it makes it easier for reference.
In Theorem 9, it says if matrix $A$ and $D$ are invertible, then in the block matrix below, $$ \begin{vmatrix} A_{m \times m} & B_{m \times n}\\ C_{n \times m} & D_{n \times n} \end{vmatrix} = \left | A \right |\left | D-CA^{-1}B \right | = \left | D \right |\left | A-BD^{-1}C \right | $$
The proof given to the claim was: $$\begin{align*} \begin{bmatrix} A_{m \times m} & B_{m \times n}\\ C_{n \times m} & D_{n \times n} \end{bmatrix} &= \begin{bmatrix} A_{m \times m} & 0_{m \times n}\\ C_{n \times m} & I_{n \times n} \end{bmatrix} \begin{bmatrix} I_{m \times m} & A^{-1}B_{m \times n}\\ C_{n \times m} & D-CA^{-1}B_{n \times n} \end{bmatrix}\\ &= \begin{bmatrix} I_{m \times m} & B_{m \times n}\\ 0_{n \times m} & D_{n \times n} \end{bmatrix} \begin{bmatrix} A-BD^{-1}C_{m \times m} & 0_{m \times n}\\ D^{-1}C_{n \times m} & I_{n \times n} \end{bmatrix} \end{align*}$$
First, I don't understand how $\begin{bmatrix} A_{m \times m} & 0_{m \times n}\\ C_{n \times m} & I_{n \times n} \end{bmatrix} \begin{bmatrix} I_{m \times m} & A^{-1}B_{m \times n}\\ C_{n \times m} & D-CA^{-1}B_{n \times n} \end{bmatrix}$ was derived from $\begin{bmatrix} A_{m \times m} & B_{m \times n}\\ C_{n \times m} & D_{n \times n} \end{bmatrix}$.
Second, when I did a multiplication between the matrices, $$ \begin{align*} &\begin{bmatrix} A_{m \times m} & 0_{m \times n}\\ C_{n \times m} & I_{n \times n} \end{bmatrix} \begin{bmatrix} I_{m \times m} & A^{-1}B_{m \times n}\\ C_{n \times m} & D-CA^{-1}B_{n \times n} \end{bmatrix} =\\ &\begin{bmatrix} A_{m \times m}I_{m \times m}+0_{m \times n}C_{n \times m} & A_{m \times m}A^{-1}B_{m \times n}+0_{m \times n}(D-CA^{-1}B_{m \times n})\\ C_{n \times m}I_{m \times m}+I_{m \times m}C_{n \times m} & C_{n \times m}A^{-1}B_{m \times n}+I_{n \times n}(D-CA^{-1}B_{m \times n}) \end{bmatrix}=\\ &\begin{bmatrix} A_{m \times m} & B_{m \times n}\\\ 2C_{n \times m} & D_{n \times n} \end{bmatrix}\neq \begin{bmatrix} A_{m \times m} & B_{m \times n}\\ C_{n \times m} & D_{n \times n} \end{bmatrix} \end{align*}$$ It's weird that in my multiplication doesn't get back the original matrix.
How was the first equation being derived by sort of "splitting" the matrix into 2 matrices? Also, why doesn't my multiplication get back the original matrix?
Thanks for any help.
You need three items to get the result and they are quite straightforward to see:
Hence if there is a matrix in the form of $$\begin{bmatrix}1&\sin(2.74)&8&-14\\&2&-3&\sqrt{2}\\&&3&\tan(\frac{\pi}{10})\\&&&4 \end{bmatrix} $$ and zero in the lower part. The determinant is simply $1\times 2\times 3\times 4$. You can see it by yourself if you run down along the first column to compute the determinant.
What this means is that multiplying a row by $\frac{b}{a}$ is replaced $BA^{-1}$ or $A^{-1}B$ depending on the particular case.
Then, you simply eliminate row and column entries just as you would do with two by two case. Let me give you the scalar case and you can fill up the rest for the block matrices: I have a matrix
$$ \begin{bmatrix} a&b\\c&d \end{bmatrix} $$
First row is OK but I want to get rid of $c$. So I take the first row $[1 \quad 0]$ and I take $-\frac{c}{a}$ multiple of the first row which gives me $[-c\quad -\frac{cb}{a}]$ and then add it to the second row.
$$ \begin{bmatrix} 1&0\\-\frac{c}{a}&1 \end{bmatrix} \begin{bmatrix} a&b\\c&d \end{bmatrix} = \begin{bmatrix} a&b\\0&d-\frac{cb}{a} \end{bmatrix} $$ Then perform a similar column operation, to get rid of $b$ $$ \begin{bmatrix} a&b\\0&d-\frac{cb}{a} \end{bmatrix} \begin{bmatrix} 1&\frac{-b}{a}\\0&1 \end{bmatrix} = \begin{bmatrix} a&0\\0&d-\frac{cb}{a} \end{bmatrix} $$ Regrouped together, $$ \begin{bmatrix} 1&0\\-\frac{c}{a}&1 \end{bmatrix} \begin{bmatrix} a&b\\c&d \end{bmatrix} \begin{bmatrix} 1&\frac{-b}{a}\\0&1 \end{bmatrix}= \begin{bmatrix} a&0\\0&d-\frac{cb}{a} \end{bmatrix} $$ Replace them with block matrices, respect the order and take the determinant of the last expression using the previous items and you are done.