Let $V$ be a finite dimensional vector space over $\mathbf C$ and $T:V\to V$ be a linear transformation. Let $p(x)=(x-\lambda_1)^{k_1}\cdots(x-\lambda_m)^{k_m}$ be the minimal polynomial of $T$.
Then is it true that the algebraic multiplicity of $\lambda_i$ is $\dim \ker(T-\lambda_i I)^{k_i}$?
I suspect that this is true since on the one hand, by the Primary Decomposition Theorem, we have
$$V=\bigoplus_{i=1}^m \ker(T-\lambda_iI)^{k_i}$$
On the other hand we also have
$$V=\bigoplus_{i=1}^m(T-\lambda_iI)^{\dim V}$$
Now since $\ker (T-\lambda_iI)^{k_i}\subseteq \ker(T-\lambda_iI)^{\dim V}$, we must have from the above two decompositions of $V$, that $\ker(T-\lambda_iI)^{k_i}=\ker(T-\lambda_iI)^{\dim V}$.
From where it follows that $\dim\ker(T-\lambda_iI)^{\dim V}=\dim\ker(T-\lambda_iI)^{k_i}$, validating the assertion.
Am i making a mistake somewhere or is this alright?
Thanks.