# About nonnegative polynomials

Do there exist real polynomials $$P(x)$$ and $$Q(x)$$ with nonnegative coefficients such that $$\left(\sum\limits_{k=0}^{20} x^k\right)^2=(x-3)^2P(x)+(x+4)^2 Q(x)?$$ I asked this question here, but I received no answer.

## 1 Answer

This is a simple linear programming problem, which has no solutions.

Here are the calculations, in Mathematica:

• Can you say if $(\sum \limits_{k=0}^7 x^k) \times (\sum\limits_{k=0}^{8} x^k)=(2+x+x^2)P(x)+(1+x+2x^2)Q(x)$ have no solutions too ? Apr 14 at 21:43
• @Dattier : I think such a question can be addressed similarly. Apr 14 at 21:50
• @Dattier : The identity in your comment holds if e.g. $4096Q(x)=3 x^{12} (535 + 501 x)$ and $4096P(x)=1090 x^{13}+2389 x^{12}+4611 x^{11}+5390 x^{10}+5868 x^9+7928 x^8+9008 x^7+7904x^6+6848 x^5+6016 x^4+4864 x^3+3584 x^2+3072 x+2048$. Apr 14 at 21:57
• And if $Q$ and $P$ have for coefficients natural numbers ? Apr 14 at 22:01
• $P(x)=x^3 \left(x^{10}+x^9+3 x^5+x^3+2 x+1\right)$ and $Q(x)=x^{10}+2 x^9+x^7+3 x^5+x+1$ will do (if this was the last question on this page :-)). Apr 15 at 1:06