The linear system

with the quadratic cost function

is considered. The following equivalent conditions are shown to be necessary and sufficient for the existence of a solution to the optimization problem: 1) the existence of a positive definite solution for the algebraic matrix Riccati equation; 2) the existence of a vector

such that the matrix

is asymptotically stables and 3) the cancellations in the vector

are only of stable factors.