The LQ-optimal state feedback of a finite-dimensional linear timeinvariant system determines a coprime factorization NM −1 of the transfer function. We show that the same is true also for infinite-dimensional systems over arbitrary Hilbert spaces, in the sense that the factorization is weakly coprime, i.e., N f, M f ∈ H 2 ⇒ f ∈ H 2 for every function f . The factorization need not be Bézout coprime. We prove that every proper quotient of two bounded holomorphic operator-valued functions can be presented as the quotient of two bounded holomorphic weakly coprime functions. This result was already known for matrix-valued functions with the classical definition gcd(N , M) = I , which we prove equivalent to our definition. We give necessary and sufficient conditions and further results for weak coprimeness and for Bézout coprimeness. We then establish a variant of the inner-outer factorization with the inner factor being "weakly left-invertible". Most of our results hold also for continuous-time systems and many are new also in the scalar-valued case.