I'm trying to find the Jordan Normal Form of the matrix $A = \begin{bmatrix} 1 & 0 & 1 & -1 \\0 & 1 & 1 & 0\\ 0 & 0 & 1 & 1\\ 0 & 0 & 0 & 1\end{bmatrix}$
(That is, a matrix J and a matrix S such that $A = S J S^{-1})$.
Finding the eigenvalues and eigenvectors is no problem. The only eigenvalue is $\lambda$=1 with multiplicity 4. The corresponding eigenvectors are $x = \begin{bmatrix}1\\0\\0\\0\end{bmatrix}$ and $y = \begin{bmatrix}0\\1\\0\\0\end{bmatrix}$.
However, I get stuck after that. In order to find the S and J matrix, I have to determine the consistency of the matrices $(A-I)w = x$ and $(A-I)w = y$. But both of these matrices are inconsistent:
$(A-I)w = x \rightarrow \begin{array}{cccc|c}0 & 0 & 1 & -1 &1\\0 & 0 & 1 & 0 & 0\\0 & 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 & 0\end{array} \rightarrow \begin{array}{cccc|c}0 & 0 & 1 & 0 &1\\0 & 0 & 1 & 0 &0\\0 & 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 & 0\end{array}$
Which is clearly inconsistent since w3 = 0 from row 2 and w3 = 1 from row 1.
Also, $(A-I)w = x \rightarrow \begin{array}{cccc|c}0 & 0 & 1 & -1 &0\\0 & 0 & 1 & 0 & 1\\0 & 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 & 0\end{array} \rightarrow \begin{array}{cccc|c}0 & 0 & 1 & 0 &0\\0 & 0 & 1 & 0 &1\\0 & 0 & 0 & 1 & 0\\ 0 & 0 & 0 & 0 & 0\end{array}$
Which is also clearly inconsistent.
So right now I do not know how to construct either the S or J matrix, since at least one of the systems $(A-I)w = x$ or $(A-I)w = y$ should have had a solution (and then also a solution for $(A-I)^2$ and possibly $(A-I)^3$ if there's one 1x1 and one 3x3 block).
Can someone help me out on how to construct the S and J matrices? Thanks!
Here is another way to determine $J$.
Now the multiplicity of $\lambda=1$ in the minimum polynomial corresponds to the size of the largest simple Jordan block, and so we must have \begin{equation} J=\begin{bmatrix} 1&0&0&0 \\ 1&1&0&0\\ 0&1&1&0 \\ 0&0&0&1 \end{bmatrix}. \end{equation} So now you have $J$ but you still need $S$. We have $AS=SJ$; let $S=[S_1,S_2,S_3,S_4]$ where each $S_i$ is the $i$th column of $S$. Then we have \begin{equation} AS=[AS_1, AS_2,AS_3,AS_4]=SJ=[S_1+S_2,S_2+S_3,S_3,S_4],\end{equation}so equating both sides (starting with the last column): \begin{equation} AS_4=S_4 \Leftrightarrow (A-I)S_4=0,\end{equation}\begin{equation} AS_3=S_3 \Leftrightarrow (A-I)S_3=0,\end{equation}\begin{equation} AS_2=S_2+S_3 \Leftrightarrow (A-I)S_2=S_3 \Leftrightarrow (A-I)^2S_2=0,\end{equation}\begin{equation} AS_1=S_1+S_2 \Leftrightarrow (A-I)S_1=S_2\Leftrightarrow (A-I)^2S_1=S_3 \Leftrightarrow (A-I)^3S_1=0.\end{equation}
So $S_3$ and $S_4$ are two linearly independent eigenvectors of $A$ associated with $\lambda=1$.
From this point I must say thanks to Marc, who's elegant answer switched the light on for me (please if you +1 me, do so for him too). In my answer I just want to expand the general method to find $S$: so here goes...
You can check that \begin{equation} S=\begin{bmatrix} x_2 & x_4-x_1 & x_1 & x_5 \\ x_3 & x_4 & x_1 & 0 \\ x_4 & x_1 & 0 & 0 \\ x_1 & 0 & 0 & 0\end{bmatrix}, \end{equation} is such that $S^{-1}AS=J$