Suppose $A$ and $B$ are $n \times n$ commuting matrix: $AB=BA$. $x$ is an eigenvector of $A$ with the eigenvalue $\lambda$ of geometric multiplicity $k$ i.e. $\ker(\lambda I-A)$ is of dimension $k$. Clearly each nonzero vector $B^i x$ is the eigenvector of $A$. I want to study of the representation of the space $$Span\{x,Bx,B^2x,\ldots\}=\{\Sigma a_iB^{i-1}x \quad \text{where the sum is of finite terms.}\}$$ by finite terms of $\{B^i x\}$. To be more precisely, is $\{x,Bx,...,B^{k-1}x\}$ the basis of this vector space ( or $\{x,Bx,...,B^m x\}$ is a basis for another integer $m$)? I fail to see both the linear independence and the representability of this group of vectors in the space.
In the case where both $A$ and $B$ have $n$ different eigenvalues (or can be diagonalized), $A$ and $B$ can be diagonalized at the same time and the statement above is true. But in general case, it is not true that $A$ and $B$ can be normalized to the Jordan Normal Forms at the same time. That is, $$\exists P \in GL_n \quad s.t. P^{-1}AP=J_A \quad P^{-1}BP=J_B$$ can be false.
Hence I feel difficult to answer this question though Jordan Normal Form.
Any help will be highly appreciated.
Let $m$ denote the minimal index such that $$B^{m+1}x \in \operatorname{span}_F\{x, Bx,\ldots, B^mx\}.$$
Then as a result, $$i \leq m \implies B^ix \not\in \operatorname{span}_F\{x,Bx, \ldots, B^{i-1}x\},$$ and in particular, the set $\mathcal{B} = \{x, Bx, \ldots, B^mx\}$ is linearly independent over $F$.
Since $\mathcal{B}$ is a subset of $\ker(\lambda I - A)$, which has dimension $k$, we conclude $m+1 = |\mathcal{B}| \leq k$, so $m < k$.
If $m = k-1$, then $\mathcal{B}$ spans $\ker(\lambda I - A)$, and therefore is a basis of that subspace. Otherwise, $\operatorname{span}_F(\mathcal{B})$ is some proper subspace of $\ker(\lambda I - A)$, and $\mathcal{B}$ is a basis of that subspace.