Problem

Source: Iranian National Olympiad (3rd Round) 2006

Tags: algebra, polynomial, algebra proposed



$p(x)$ is a real polynomial that for each $x\geq 0$, $p(x)\geq 0$. Prove that there are real polynomials $A(x),B(x)$ that $p(x)=A(x)^{2}+xB(x)^{2}$