A common solution to a pair of linear matrix equations over a principal ideal domain

Abstract A necessary and sufficient condition for the existence of a common solution to a pair of linear matrix equations over a principal ideal domain is obtained. The equations are of the type A i = B i XC i for i = 1,2. The solvability condition is that the equations each have a solution and a bilateral linear matrix equation made up of the matrices A i , B i , and C i has a solution.