The rational canonical form, or Frobenius normal form, of a square matrix is a block diagonal matrix which is similar to the matrix and where the blocks are companion matrices. The blocks are C(d1),C(d2),…, C(dk), where d1,d2,…,dk are monic polynomials such that di divides di+1 and C(di) denotes the companion matrix of di. The minimal polynomial equals dk and the characteristic polynomial equals the product d1d2…dk. See Jordan normal form, Structure theorem (for modules).