This came up in a problem I was working on.
Problem:Let $V$ be an $n$ dimensional vector space over a field $F$. Let $T:V\rightarrow V$ be a linear operator and let $W$ be a $T$ invariant subspace of $V$. Prove or give a counter example to the following:
Let $U$ be another subspace of $V$ such that $V=W\oplus U$. Then $U$ is also $T$ invariant.
Solution Well this is false. I came up with a counter example after spending an embarrassing amount of time guessing and checking. Consider the operator $$ \left(\begin{array}{ccc}1 & -1 & \\0 & 1 &\end{array}\right)$$
This does the job because $V=\langle e_1 \rangle \oplus \langle e_2 \rangle$ and the last summand isn't $T$ invertible.
My question is I feel like I've spent too much time on this. I absolutely used no linear algebra knowledge to come up with this. I remotely remember my professor working on $\mathbb{R}^2$ to pull a counter example out of his hat on an unrelated problem. So I just kept plugging away numbers until something worked. Even my grandmother who evidently has never taken linear algebra could have done that. So what I ask is: How would you smart people do this problem?. How do you come up with a counter example for this particular problem. Can you explain the Linear Algebra behind your thought process?. What geometric intuition helps here? (and in general for counterexamples of this nature).
I hope my question makes sense.
Thank you for your comments and answers.
A very helpful intuition to have in this situation is the notion of Eigenspaces. Certainly, any operator will be invariant over an Eigenspace, which means that diagonalizable matrices won't make for a good counterexample here.
A generally useful matrix to have as a counterexample in many instances (see first answer), including this one, is $$ \begin{pmatrix} 0 & 1\\ 0 & 0 \end{pmatrix} $$
A useful habit to form, in any field of mathematics, is to collect (as my professor once put it) a "zoo" of mathematical counterexamples. If you're working in graph theory, keep in mind the Petersen graph. If you're working in topology, keep in mind the topologist's sine curve and the Hawaiian earing. If you're working in linear algebra, keep this matrix in mind.
The more populated and the more diverse your zoo, the better your intuition will be for these and other problems. With surprising frequency, you'll be able to pick the right counterexample out of your zoo and plug it straight in. Other times, you might be able to use one or several counterexamples to build another.