I'm trying to solve the following problem:
Let $T$ be a linear transformation on a finite dimensional vector space $W$. Suppose the minimal polynomial of $T$ is $p=g_1g_2$, where $g_1, g_2$ are relatively prime, show that
(a) $W=W_1 \oplus W_2$, where $W_i=\{\alpha \in V|g_i (T)\alpha=0\}$.
(b) $W_1, W_2$ are $T$-invariant.
(c) If $T_i$ is the restriction of $T$ on $W_i$, then the minimal polynomial of $T_i$ is $g_i$.
I have solved (a) and (b), basically using the idea that polynomials in $T$ commute with $T$, and that there exist polynomial $r_1, r_2$ such that $g_1r_1+g_2r_2=1$. However, how should I proceed to show (c)? by (a) we have $g_i(T_i)=0$, so the minimal polynomial of $T_i$ divides $g_1$.