Theorem
The Primary Decomposition Theorem
Let T be an operator on a finite-dimensional complex vector space V with distinct eigenvalues \lambda_1,\dots,\lambda_m and minimal polynomial m_T(x) = (x-\lambda_1)^{d_1}\cdots(x-\lambda_m)^{d_m}. Then V decomposes as a direct sum of the generalized eigenspaces: V = G_{\lambda_1} \oplus G_{\lambda_2} \oplus \cdots \oplus G_{\lambda_m}, where G_{\lambda_i} = \ker\big((T-\lambda_iI)^{d_i}\big), and each G_{\lambda_i} is T-invariant.
Show proof
For i=1,\dots,m, let q_i(x) = m_T(x)/(x-\lambda_i)^{d_i} — the minimal polynomial with the i-th factor removed. The polynomials q_1,\dots,q_m have no common root (each root of m_T is missing from exactly one q_i), so they're coprime as a set; by the polynomial version of Bézout's identity, there exist polynomials r_1,\dots,r_m with \sum_i r_i(x)q_i(x) = 1.
Substituting T: \sum_i r_i(T)q_i(T) = I. Define P_i = r_i(T)q_i(T), so \sum_iP_i = I. Each P_i maps V into G_{\lambda_i}: for any \mathbf v, (T-\lambda_iI)^{d_i}P_i\mathbf v = r_i(T)\big[(T-\lambda_iI)^{d_i}q_i(T)\big]\mathbf v = r_i(T)m_T(T) \mathbf v = \mathbf 0, since (T-\lambda_iI)^{d_i}q_i(x) = m_T(x) by construction and m_T(T)=0.
So every \mathbf v = \sum_i P_i\mathbf v is a sum of vectors from the generalized eigenspaces — V = \sum_iG_{\lambda_i}. For the sum to be DIRECT, suppose \sum_i\mathbf w_i = \mathbf 0 with \mathbf w_i\in G_{\lambda_i}. Applying P_j to both sides: for i\ne j, q_j contains the factor (x-\lambda_i)^{d_i} (since i\ne j means (x-\lambda_i)^{d_i} divides q_j), so q_j(T)\mathbf w_i = \mathbf 0 for \mathbf w_i \in G_{\lambda_i}, giving P_j\mathbf w_i = \mathbf 0 for i \ne j. So P_j\big(\sum_i\mathbf w_i\big) = P_j\mathbf w_j, and since the left side is P_j(\mathbf 0)=\mathbf 0, this forces \mathbf w_j = P_j\mathbf w_j = \mathbf 0 (using that P_j acts as the identity on G_{\lambda_j} itself, a direct consequence of \sum_iP_i=I applied within G_{\lambda_j}). Every \mathbf w_j is forced to zero, confirming directness. T-invariance of each G_{\lambda_i} follows since T commutes with (T-\lambda_iI)^{d_i}. \blacksquare