Using an argument related to an obstacle problem for trigonometric polynomials, we prove that any real valued polynomial is the difference of two positive polynomials of the same degree with the control of L-1-norm. This fact has an application to weak factorization of polynomials.