Roots of a product of polynomials