Definition (algebraic and geometric multiplicity)

Let $\lambda\in \mathbb{F}$ be an eigenvalue of $\alpha\in \mathcal{L}(V,V)$ where $V$ is a finite-dimensional vector space. Define

It is common to define $a_\lambda = 0 = g_{\lambda}$ if $\lambda$ is not an eigenvalue of $\alpha$.