[step:Show that equality of transfer functions is equality of Markov parameters]
Let $X := \mathbb{R}^n$, $U := \mathbb{R}^m$, and $Y := \mathbb{R}^p$. We regard $A: X \to X$, $B: U \to X$, $C: X \to Y$, and $D: U \to Y$ as linear maps represented by the given matrices. When evaluating the transfer function at a complex parameter $\lambda \in \mathbb{C}$, we extend these real linear maps complex-linearly to $X_{\mathbb{C}} := X \otimes_{\mathbb{R}} \mathbb{C}$, $U_{\mathbb{C}} := U \otimes_{\mathbb{R}} \mathbb{C}$, and $Y_{\mathbb{C}} := Y \otimes_{\mathbb{R}} \mathbb{C}$. Define the transfer function as the map
\begin{align*}
G_{A,B,C,D}: \{\lambda \in \mathbb{C} : \lambda I_n-A \text{ is invertible}\} \to \mathcal{L}(U_{\mathbb{C}},Y_{\mathbb{C}}).
\end{align*}
For each $\lambda$ in its domain, this map is given by
\begin{align*}
G_{A,B,C,D}(\lambda)=D+C(\lambda I_n-A)^{-1}B.
\end{align*}
The Markov parameters of the realization are the linear maps $CA^kB: U \to Y$ for $k \in \mathbb{N}\cup\{0\}$.
For $|\lambda|$ sufficiently large, define $w := \lambda^{-1}$. Then $|w|$ is sufficiently small that the spectral radius of $wA$ is strictly less than $1$. Hence $I_n-wA$ is invertible and the Neumann series converges in the finite-dimensional operator norm to its inverse:
\begin{align*}
(I_n-wA)^{-1}=\sum_{k=0}^{\infty} w^k A^k.
\end{align*}
Thus
\begin{align*}
(\lambda I_n-A)^{-1}=w(I_n-wA)^{-1}
\end{align*}
and hence
\begin{align*}
G_{A,B,C,D}(\lambda)=D+\sum_{k=0}^{\infty} CA^kB\,\lambda^{-k-1}.
\end{align*}
By [uniqueness of Laurent series coefficients](/page/Laurent%20Series) for matrix-valued holomorphic functions on a punctured neighbourhood of $\lambda=\infty$, applied entrywise to the Laurent expansions above, if two finite-dimensional realizations have the same transfer function, then their Laurent expansions at $\lambda=\infty$ have the same coefficients. Conversely, if two realizations have equal direct terms and equal Markov parameters $CA^kB$ for every $k \in \mathbb{N}\cup\{0\}$, then the displayed Laurent expansions agree for all sufficiently large $|\lambda|$. Each transfer function entry is a rational function of $\lambda$, hence holomorphic away from the finite set of poles determined by the corresponding characteristic polynomial. Equality on the large-$|\lambda|$ pole-free region therefore implies equality of the corresponding rational matrix entries on the common pole-free domain, by the identity theorem applied entrywise on every connected component of that domain. In particular, if
\begin{align*}
(\hat A,\hat B,\hat C,\hat D) \in \mathbb{R}^{\hat n \times \hat n} \times \mathbb{R}^{\hat n \times m} \times \mathbb{R}^{p \times \hat n} \times \mathbb{R}^{p \times m}
\end{align*}
has the same transfer function, then
\begin{align*}
D=\hat D
\end{align*}
and, for every $k \in \mathbb{N}\cup\{0\}$,
\begin{align*}
CA^kB=\hat C\hat A^k\hat B.
\end{align*}
[/step]