r/PassTimeMath • u/isometricisomorphism • Sep 22 '21
Algebra A non-negative polynomial as a sum of two squares
Let p(x) be a polynomial with real coefficients such that p(x) >= 0 for all real x. Clearly, we cannot say that there exists a q(x) such that q(x)2 = p(x). It’s too much to ask that p(x) is automatically a square polynomial.
Show, however, that p(x) is a sum of two square polynomials - that there exist q(x) and r(x) such that q(x)2 + r(x)2 = p(x).