Given and , Sylvester’s equation has a unique solution for all if and only if and have no common eigenvalues. Remark. Fix and . Then the transformation is linear on the finite-dimensional vector space , so either:
(i) is invertible, and for all there exists a unique such that ; or
(ii) is not invertible and hence does not have full rank, so has no solution for some .