Determine the Jordan Canonical Form of the following matrix: $$A=\begin{bmatrix} 1 & 2 & 3\\ 0 & 4 & 5\\ 0 & 0 & 4\\ \end{bmatrix}$$
I am trying to determine the Jordan Basis first. For that purpose I am trying to find out the generalized Eigenvectors of this matrix.
Corresponding to $1$, Let $U_1$ be the generalized eigenspace. My calculations show that $$U_1=span\{(1,0,0)^t\}$$ and $U_2$ be the corresponding generalized eigenspace for $4$. I found out $$U_2=span\{(1,0,-9)^t,(0,1,6)^t\}$$All I need to do now is find the Jordan basis. Since $(A-\lambda_i I)|_{U_i }$ is nilpotent, all I need to do is find the basis for each such $i$.
I am confused from here on what to take as the jordan basis. I am sure that $(1,0,0)^t$ will feature as the first column. I am not sure about the other two.
Thanks for the help!!
First compute \begin{align*} A-4\,I &= \begin{bmatrix}-3&2&3\\ 0&0&5\\ 0&0&0\end{bmatrix} & (A-4\,I)^2 &= \begin{bmatrix}9&-6&1\\ 0&0&0\\ 0&0&0\end{bmatrix} & (A-4\,I)^3 &= \begin{bmatrix}-27&18&-3\\ 0&0&0\\ 0&0&0\end{bmatrix} \end{align*} so $\DeclareMathOperator{rank}{rank}$ \begin{align*} \rank\left(A-4\,I\right) &=2 & \rank\left((A-4\,I)^2\right) &=1 & \rank\left((A-4\,I)^3\right) &=1 \end{align*}
This tells us that the smallest value of $k$ so that $\DeclareMathOperator{null}{null}\null\left((A-4\,I)^k\right)\DeclareMathOperator{Span}{Span}$ stabilizes is $k=2$. This is called the index of nilpotency for the eigenvalue $\lambda=4$.
Now, note that $$ \null\left(A-4\,I\right)=\Span\left\{ v_1= \begin{bmatrix}2\\3\\0\end{bmatrix} \right\} $$ We wish to extend this basis for $\null\left(A-4\,I\right)$ to a basis $\left\{v_1,v_2\right\}$ for $\null\left((A-4\,I)^2\right)$ such that $(A-4\,I)v_2=v_1$. That is, $v_2$ must satisfy \begin{align*} (A-4\,I)^2 v_2 &= \vec 0 & (A-4\,I)v_2 &= v_1 \end{align*} One checks that $$ v_2=\begin{bmatrix}-1/15\\0\\3/5\end{bmatrix} $$ satisfies these equations.
Hence our Jordan form is $A=PJP^{-1}$ where \begin{align*} P&=\begin{bmatrix}1&2&-1/15\\0&3&0\\ 0&0&3/5\end{bmatrix} & J&=\begin{bmatrix}1&0&0\\0&4&1\\0&0&4\end{bmatrix} \end{align*}