This is a follow up question to this.
I want to solve the following problem:
Let $n \in \Bbb N \space \text{/{0}} \space \text{and} \space n_1,n_2 \in \Bbb N \space \text{such that} \space n_1+n_2=n$
$$M=\begin{pmatrix}E_{n_1}&B\\O&C\end{pmatrix}$$
where $E_{n_1} \in \Bbb R^{n_1 \times n_1}=\text{identity matrix}, \space B \in \Bbb R^{n_1 \times n_2}, \space O \in \Bbb R^{n_2 \times n_1}= \text{zero matrix}, C\in \Bbb R^{n_2 \times n_2}$
Show that $\det(M)=\det(C)$
On Wikipedia it says:
Suppose A, B, C, and D are matrices of dimension n × n, n × m, m × n, and m × m, respectively. Then,
$\det \begin{pmatrix}A&0\\C&D\end{pmatrix}=\det A \det{C}=\det \begin{pmatrix}A&B\\0&D\end{pmatrix} $
Since I don't want to just say "it says so on wikipedia" I would like to know how to derive the formula. As someone in my previous question suggested, I tried using Laplace's formula but I get a slightly wrong answer. Here is what I did:
$$\det(M) =\sum_{j=1}^n (-1)^{i+j} \space m_{ij} \space \lvert M_{ij} \rvert$$
Expanding the first column:
$$\begin{align} \det(M) & = \sum_{j=1}^2 (-1)^{i+1} \space m_{i1} \space \lvert M_{i1} \rvert \\ & = m_{11} \lvert M_{11} \rvert-m_{21} \lvert M_{22} \rvert \\ & = E_{n_1} \lvert M_{11}\rvert-O \lvert M_{21} \rvert \\ & = E_{n_1} \lvert C\rvert \\ & \not= \det(C) \end{align}$$
Can anybody tell me what I am doing wrong? Do I need to use a different approach like Leibniz's formula?
$$\det(A)=\sum_{\sigma \in S_n}\text{sgn}(\sigma)\prod_{i=1}^{n} a_{\sigma(i),i}$$