Find all polynomials $P(x) \in \mathbb{R}[x]$ satisfying
$$ P(x+1)-2P(x)+P(x-1)=6x $$
My attempt :
Since $ P(x+1)+P(x-1)-2P(x)=6x $, so $P(x)$ is not constant polynomial.
Let $P(x+1)-P(x)= Q(x)$
so $Q(x)-Q(x-1)=6x, \;\; \forall x \in \mathbb{R}$
by induction, $Q(x+n)-Q(x)= 6((x+n)+(x+n-1)+...+(x+1))$
Continue from dxiv's answer,
$Q(n)-Q(0) = 6(n+(n-1)+...+1)$
$Q(n)=Q(0) + 6(n+(n-1)+...+1)=Q(0) + 3n(n+1) $
so $P(n) = Q(n-1) + Q(n-2)+ ...+Q(0)+P(0)$
$= \displaystyle\sum^{n-1}_{i=1}3i(i+1) + nQ(0)+P(0)$
$= \displaystyle\sum^{n-1}_{i=1}3i(i+1) + nP(1)- nP(0)+P(0)$
$= \displaystyle\sum^{n-1}_{i=1}3i(i+1) + nP(1)-(n-1)P(0)$
$= 3\displaystyle\sum^{n-1}_{i=1}(i^2+i) + nP(1)-(n-1)P(0)$
$= n^3-n + nP(1)-(n-1)P(0)\;\; \forall x \in \mathbb{N}$
Since $P(x)-x^3-x(P(1)-1)+(n-1)P(0)$ has infinitely many roots so
$P(x)-x^3-x(P(1)-1)+(n-1)P(0) = 0$, we get
$P(x)=x^3+x(P(1)-1)-(n-1)P(0)\;\; \forall x \in \mathbb{R}$
As $P(1)-1$ and $(n-1)P(0)$ are in $\mathbb{R}$, we obtain
$P(x)=x^3+cx+d,\; \forall x \in \mathbb{R}$ and $c,d$ are real constants.
How to proceed and how to extend from N to R?Two real polynomials which coincide on an infinite set (like $\mathbb{N}$) are necessarily identical. That's because their difference, which is obviously a polynomial, has infinitely many roots, therefore it can only be the $0$ polynomial. – dxiv Aug 05 '17 at 04:37has infinite rootsI'd word that as "has infinitely many roots" but that's the idea, yes. – dxiv Aug 05 '17 at 07:55