Show that if $D \in \mathbb{C}^{p \times p}$ is invertible, then (19.5)
$$
\left\{D+C\left(\lambda I_n-A\right)^{-1} B\right\}^{-1}=D^{-1}-D^{-1} C\left(\lambda I_n-\left[A-B D^{-1} C\right]\right)^{-1} B D^{-1} \text {. }
$$
Let $C \in \mathbb{C}^{p \times n}, A \in \mathbb{C}^{n \times n}$ and $B \in \mathbb{C}^{n \times q}$. Then the pair $(A, B)$ is said to be controllable if the controllability matrix
$$
\mathfrak{C}=\left[\begin{array}{llll}
B & A B & \cdots & A^{n-1} B
\end{array}\right]
$$
is right invertible, i.e., if
$$
\operatorname{rank} \mathfrak{C}=n
$$
The pair $(C, A)$ is said to be observable if the observability matrix
$$
\mathfrak{O}=\left[\begin{array}{c}
C \\
C A \\
\vdots \\
C A^{n-1}
\end{array}\right]
$$
is left invertible, i.e., if its null space
$$
\mathcal{N}_{\mathfrak{D}}=\{\mathbf{0}\}
$$