The primary decomposition theorem for linear maps starts with a linear map on a finite-dimensional vector space over a field . Factor its minimal polynomial as
where the are distinct monic polynomials that are irreducible polynomials and . Define . Then
Thus the direct sum separates the irreducible polynomial factors into uniquely determined invariant subspaces. The statement works even when the minimal polynomial does not split into linear polynomials over .
Wheel factorization 2026-10-20
Choose a modulus that is a product of small primes. Every prime not dividing must be coprime to , so a search can restrict candidates to the corresponding residue classes modulo . For several linear polynomials, discard each residue class in which any required value is divisible by a selected prime. The surviving residue classes can be combined using the Chinese remainder theorem.