Let $A$ be a square matrix. Prove the equivalence of the following two statements:
(1). No two Jordan block of the Jordan normal form of $A$ corresponding to the same eigenvalue of $A$;
(2). A matrix $B$ commutes with $A$ if and only if $B=p(A)$ for some polynomial $p$.
My try: From cyclic vector theorem, (2) is equivalent to $A$ has a cyclic vector $v$, i.e., $\{v,Av,...,A^{n-1}v\}$ is a basis of vector space. By Rational canonical form, $A$ is then similar to $C(\mu)$, where $\mu$ is the minimal polynomial of $A$ and $C$ is the companion matrix. This means $A$ has only one invariant factor $\mu$ and thus equivalent to (1).
Can we prove the equivalence of (1) and (2) directly?