Let Q be the field of rational numbers. Give an example of a linear operator T: $Q^3 \rightarrow Q^3$ having the property that the only T-invariant subspaces are the whole space and the zero subspace.
My initial instinct is to go for rotations in three dimensions, but I can't seem to prove that that has no nontrivial T-invariant subspaces. Since the characteristic polynomial has degree three, and eigenvalues come in complex pairs, wouldn't that imply that there is a least one real eigenvalue, so that there must be at least one nontrivial T-invariant subspace, namely the eigenspace?
edit: ok, based on John B's comment, $ \begin{bmatrix}0&-2&0\\1&0&-2\\-1&-1&0\end{bmatrix}$ has characteristic polynomial $x^3 -4$, which has no rational roots. So this operator has no one dimensional T-invariant subspaces. How about the case for two dimensional subspaces?