Let $F$ be a subfield of the field of complex numbers, and let $A$ be an $n\times n$ matrix over $F$. Let $p$ be the minimal polynomial for $A$. If we regard $A$ as a matrix over $\Bbb{C}$, then $A$ has a minimal polynomial $f$ as an $n\times n$ matrix over $\Bbb{C}$. Use a theorem on linear equations to prove $p=f$. Can you also see how this follows from the cyclic decomposition theorem?
My attempt: Let $A\in M_n(F)$. By theorem 5 section 7.2, $A$ is similar over $F$ to a unique matrix $$P=\begin{bmatrix}P_1& & \\ &\ddots & \\ & &P_r\\ \end{bmatrix}\in M_n(F)$$ where $P_i$ is companion matrix of non scalar monic polynomial $p_i$, and $p_{i+1}|p_i$, for all $1\leq i\leq r-1$. Let $A\in M_n(\Bbb{C})$. By theorem 5 section 7.2, $A$ is similar over $\Bbb{C}$ to a unique matrix $$Q=\begin{bmatrix}Q_1& & \\ &\ddots & \\ & &Q_s\\ \end{bmatrix}\in M_n(\Bbb{C})$$ where $Q_i$ is companion matrix of non scalar monic polynomial $g_i$, and $g_{i+1}|g_i$, for all $1\leq i\leq s-1$. It’s easy to check, $p_1=p$ and $g_1=f$ (here is proof). Since $F\subseteq \Bbb{C}$, we have $P\in M_{n}(\Bbb{C})$ and $A$ is similar over $\Bbb{C}$ to $P$. By uniqueness, $P=Q$. Which implies $r=s$ and $p_i=g_i$. In particular $p_1=g_1$. Hence $p=f$. Is my proof correct?