Problem.
Let f(x) be a polynomial with real coefficients such that f(x)>0 for all real x. Prove that there are real polynomials p(x) and q(x) such that f(x)=p2(x)+q2(x)
My solution attempt:
The polynomial has no real roots since f(x)>0 for all real x. Suppose f(x) has corresponding complex roots and count them as pairs
z1,z1ˉ,...,zl,z1ˉ And clearly degf=2l in this case. Now suppose zj=aj+ibj for j=1,...,l. Then by the fundamental theorem of algebra
f(x)
f(x)=an(x−z1)(x−z1ˉ)⋅⋅⋅(x−zl)(x−zlˉ)f(x)=an(x2−(z1+z1ˉ)x+z1z1ˉ)⋅⋅⋅(x2−(zl+zlˉ)x+zlzlˉ)f(x)=an(x2−2a1x+a12+b12)⋅⋅⋅(x2−2alx+al2+bl2)
Hence f(x) can be prime factored into real second-degree polynomials of the form
f(x)=anj=1∏l(x−aj)2+bj2
And we notice that each term is always positive because it's a sum of squares, therefore f(x)>0 provided an>0. However, there remains to prove that the expansion of this expression can be written as p2(x)+q2(x) and I'm not sure how to continue.
Let f(x) be a polynomial with real coefficients such that f(x)>0 for all real x. Prove that there are real polynomials p(x) and q(x) such that f(x)=p2(x)+q2(x)
My solution attempt:
The polynomial has no real roots since f(x)>0 for all real x. Suppose f(x) has corresponding complex roots and count them as pairs
z1,z1ˉ,...,zl,z1ˉ And clearly degf=2l in this case. Now suppose zj=aj+ibj for j=1,...,l. Then by the fundamental theorem of algebra
f(x)
f(x)=an(x−z1)(x−z1ˉ)⋅⋅⋅(x−zl)(x−zlˉ)f(x)=an(x2−(z1+z1ˉ)x+z1z1ˉ)⋅⋅⋅(x2−(zl+zlˉ)x+zlzlˉ)f(x)=an(x2−2a1x+a12+b12)⋅⋅⋅(x2−2alx+al2+bl2)
Hence f(x) can be prime factored into real second-degree polynomials of the form
f(x)=anj=1∏l(x−aj)2+bj2
And we notice that each term is always positive because it's a sum of squares, therefore f(x)>0 provided an>0. However, there remains to prove that the expansion of this expression can be written as p2(x)+q2(x) and I'm not sure how to continue.