Let $m \neq 0 $ be an integer. Find all polynomials $P(x) $ with real coefficients such that \[ (x^3 - mx^2 +1 ) P(x+1) + (x^3+mx^2+1) P(x-1) =2(x^3 - mx +1 ) P(x) \] for all real number $x$.
Problem
Source: IMO Shortlist 2013, Algebra 6
Tags: algebra, polynomial, IMO Shortlist
12.07.2014 13:05
Does anybody have solutions?
12.07.2014 17:06
Obviously $P(x)=cx$ is a solution. We will show there are no other solutions. Suppose $P$ is a solution with degree $n>1$. We can rewrite it as $(x^3+1)(P(x+1)+P(x-1)-2P(x))=mx(xP(x+1)-xP(x-1)-2P(x))$. Compare the coefficients of $x^{n+1}$ on both sides, we get $n=2m$. So $m>0$. We can verify there is no solution when $m=1,n=2$. Now consider $m\ge2$. Let $a,b$ be the largest real root of $x^3-mx^2+1$ and $x^3+mx^2+1$, respectively. We can verify $a\in (m-1,m),b\in (-m-1,-m)$. Also $a-2m$ can not be a root of $x^3+mx^2+1$. If $P$ is a solution, so is $P(x)-\frac{P(a)}ax$. So we can assume $P(a)=0$ wlog. Let $x=a,a-1,\cdots,a-2m+1$, we get $P(a-i)=0,i=1,2,\cdots,2m$. So $P$ has at least $2m+1=n+1$ distinct roots. Absurd!
11.10.2016 00:20
The above solution is quite clever, but mine is perhaps easier to find. The key step is as follows. If $Q(x) = xP(x+1) - (x+1)P(x)$, it must be true that \[ (x^3 - mx^2 + 1)Q(x) = (x^3 + mx^2 + 1)Q(x - 1) \]. This can be shown by an expansion, for when we multiply this out it becomes the original relation multiplied by $x$. There are many finishes from here, but this is the one I think is nicest. By Descarte's Rule of Signs, if $a > 0$, then $x^3 + ax^2 + 1$ has only one real root. Moreover, if $a \le -2$, $R(x) = x^3 + ax^2 + 1$ must have three real roots, as $R(-a)$ is positive, $R(1)$ is negative, $R(0)$ is positive, and $R(a)$ is negative, so there are at least two real roots and since the number of nonreal roots it even all three roots are real. Hence, for $|m| \neq 1$ it must be true that $Q$ is identitcally zero. For $|m| = 1$, any root of $x^3 + mx^2 + 1$ must be root of $Q(x)$, as it cannot be a root of $x^3 - mx^2 + 1$. Any root of $x^3 - mx^2 + 1$ also must be a root of $Q(x-1)$, which means that the roots of $x^3 - x^2 + 1$ differ from the roots of $x^3 + x^2 + 1$ by one each, which we can easily see to be wrong (just plug in $x + 1$ and $x - 1$ into $x^3 - x^2 + 1$ and compare with $x^3 + x^2 + 1$). Therefore, in both cases we conclude that $Q$ has infinite roots and is therefore identically zero. If $xP(x+1) = (x+1)P(x)$, it must be true that $P(x+1)$ has $-1$ as a root, so $P(x) = xQ(x)$, and $Q(x) = Q(x+1)$ for all $x$. If $Q$ has a finite, nonzero number of roots, let $r$ be the largest root, but then $r + 1$ is a root. Therefore, the only possibilities are for $Q$ to either be nonzero or zero, so it must be constant and $P(x) = cx$ for all $x$.
30.03.2017 01:48
Linear polynomials $P(x) = cx$ work and are the only solution. To make sense of what is going on, we move all the terms involving $m$ to one side of the equation: \[ (x^3+1) \left( P(x+1) - 2P(x) + P(x-1) \right) = mx \cdot \left( xP(x+1) - 2P(x) - xP(x-1) \right). \]The left-hand side is the second Mahler difference of $P$. Now, if we define \begin{alignat*}{4} Q(x) &= xP(x+1) &-(x+1) P(x) & Q(x-1) &= & (x-1)P(x) &- xP(x-1). \end{alignat*} then $Q(x) \pm Q(x-1)$ generate the relevant expressions: we obtain \[ \frac{x^3+1}{x} \left( Q(x) - Q(x-1) \right) = mx(Q(x) + Q(x-1)) \]or \[ \boxed{\left( x^3 - mx^2 + 1 \right) Q(x) = \left( x^3 + mx^2 + 1 \right) Q(x-1)}. \]This is the main work in the problem, and the rest is bookkeeping. We contend that $Q$ is the zero polynomial, which will directly imply that $P$ is linear. To do this we need to just show that: Lemma: There exists a complex root $\alpha$ of $R^-(x) \overset{\text{def}}{=} x^3-mx^2+1$ such that $\alpha+n$ is not a root of $R^+(x) \overset{\text{def}}{=} x^3+mx^2+1$ for any $n \in {\mathbb Z}$. Proof. If $m=2$ take $\alpha = 1$. Otherwise if $m \neq 0, 2$ then $R^-$ is irreducible (hence squarefree). Then we claim that we may select any irrational root $\alpha$. Indeed, if not then the roots $\alpha$, $\beta$, $\gamma$ are Galois conjugates (since $R^-$ irreducible), so if $\alpha+n$ is a root of $R^+$, so are $\beta+n$ and $\gamma+n$. Now $\alpha+\beta+\gamma = m$ and $\alpha\beta + \beta\gamma + \gamma\alpha = n$. On the other hand $-m = \sum \alpha+n \implies 2m = 3n$, but now \begin{align*} -1 = (\alpha+n)(\beta+n)(\gamma+n) &= -1 + n \cdot 0 + n^2 (-m) + n^3 \\ \implies 0 & n^2(m+n). \end{align*}Together with $2m = 3n$ this forces $m = n = 0$, so $R^+ = R^-$, which is absurd. $\blacksquare$ Then $\alpha$ must be a root of $Q(x-1)$, so $\alpha+1$ is a root of $Q$, and by induction $\alpha+n$ is a root of $Q$ for all $n$, hence $Q$ is the zero polynomial. This implies $P$ is linear as desired. Remark: If $m = 0$ was allowed, then we would get $Q$ constant instead of $Q \equiv 0$; this would mean linear solutions $P$ were valid.
04.09.2019 05:58
07.06.2020 07:52
The only functions are $f(x)=cx$ for some $c\in \mathbb{R}$. It's clear that they work. Now I claim these are the only ones.
17.10.2020 01:25
Solved with nukelauncher. The linear \(P\) that work are \(P(x)\equiv cx\). We will show these are the only solutions. We can easily verify the following via substitution: for any root \(r\) of \(x^3-mx^2+1\), we have \(rP(r-1)=(r-1)P(r)\); and for any root \(r\) of \(x^3+mx^2+1\), we have \(rP(r+1)=(r+1)P(r)\). Hence we consider the polynomial \[Q(x):=(x-1)P(x)-xP(x-1),\]with the properties that \(Q(x+1)+Q(x)=P(x+1)-2P(x)-xP(x-1)\) and \(Q(x+1)-Q(x)=x(P(x+1)-2P(x)+P(x-1))\). After some brief computation, the given functional equation rewrites as \begin{align*} mx\big(xP(x+1)-2P(x)-xP(x-1)\big)&=\left(x^3+1\right)\big(P(x+1)-2P(x)+P(x-1)\big)\\ mx\cdot\big(Q(x+1)+Q(x)\big)&=\left(x^3+1\right)\cdot\big(Q(x+1)-Q(x)\big)\\ Q(x+1)\cdot\left(x^3-mx^2+1\right)&=Q(x)\cdot\left(x^3+mx^2+1\right).\tag{\(*\)} \end{align*} Claim: There is a root \(r\) of \(x^3-mx^2+1\) such that no element of \(r+\mathbb Z\) is a root of \(x^3+mx^2+1\). Proof. For \(m=2\), take \(r=1\); then \(x^3+2x^2+1\) has no integer root, as needed. Otherwise, by rational root theorem, \(x^3-mx^2+1\) will have three irrational roots \(r\), \(s\), \(t\); in particular, \(r\), \(s\), \(t\) are Galois conjugates. Then for any integer \(a\), the numbers \(r+a\), \(s+a\), \(t+a\) are also Galois conjugates, so is \(r+a\) is a root of \(x^3+mx^2+1\), then so are \(s+a\), \(t+a\). It follows that \begin{align*} x^3-mx^2+1&=(x-r)(x-s)(x-t)\\ x^3+mx^2+1&=(x-r-a)(x-s-a)(x-t-a). \end{align*}By comparing the quadratic terms, we have \(r+s+t=m\) and \(r+s+t+3a=-m\), so \(3a=-2m\). But by comparing the constant terms, we have \[-1=(r+a)(s+a)(t+a)=-P(-a)=a^3+ma^2-1,\]so \(a=0\) or \(a=m\). Either way, combining with \(3a=-2m\) gives \(a=m=0\), contradiction. \(\blacksquare\) Claim: \(Q\equiv0\). Proof. Assume for contradiction \(Q\not\equiv0\), i.e.\ \(Q\) has finitely many roots. Take \(s\) a root of \(Q(x)\). Then I claim there exists \(a\in\mathbb Z\) such that \(s+a\) is a root of \(x^3-mx^2+1\); otherwise, we will show by induction on \(i\ge0\) that \(Q(s+i)=0\). Indeed, if \(Q(s+i)=0\), then since \(s+i\) is not a root of \(x^3-mx^2+1\), by \(x=s+i\) in \((*)\), we have \(Q(s+i+1)=0\) as well. I claim there exists \(b\in\mathbb Z\) such that \(s-b\) is a root of \(x^3+mx^2+1\); otherwise, we will show by induction on \(i\ge0\) that \(Q(s-i)=0\). Indeed, if \(Q(s-i)=0\), then since \(s-i\) is not a root of \(x^3+mx^2+1\), by \(x=s-i-1\) in \((*)\), we have \(Q(s-i-1)=0\) as well. The above two conditions in tandem contradict the first claim. \(\blacksquare\) Therefore, \((x-1)P(x)\equiv xP(x-1)\); that is, \[\frac{P(x)}x=\frac{P(x-1)}{x-1}\]for all \(x\notin\{0,1\}\), so \(P\) is of the form \(P(x)\equiv cx\) for some \(c\).
03.02.2021 09:32
We will treat the statement as a formal polynomial identity, as it is true for all real values $x$, and in particular $x$ will be treated as a formal variable. Let $R(x) = xP(x+1) - (x+1)P(x)$. It is easy to verify that the given identity is equivalent to \[(x^3-mx^2+1)R(x) = (x^3+mx^2+1)R(x-1).\quad\quad(\star)\]Note that \[\gcd(x^3-mx^2+1,x^3+mx^2+1) = \gcd(x^3-mx^2+1,2mx^2)=1,\]so we must have $x^3-mx^2+1\mid R(x-1)$ and $x^3+mx^2+1\mid R(x)$. Suppose that $R$ is not constant. Now, suppose that $z$ is a (potentially complex) root of $R$ such that $z^3+mz^2+1\ne 0$. Then, $(\star)$ implies that $z-1$ is also a root of $R$. Furthermore, if $z^3-mz^2+1\ne 0$, then $(\star)$ implies that $z+1$ is also a root of $R$. Thus, there exist nonnegative integers $m$ and $n$ such that $z-m$ is a root of $x^3+mx^2+1$ and $z+n$ is a root of $x^3-mx^2+1$, since $R$ has only finitely many roots. Therefore, there is some complex number $r$ and integer $t$ such that \[r^3-mr^2+1=0\]and \[(r+t)^2+m(r+t)^2+1=0.\]It is easy to see that these two imply that there is some quadratic equation with rational coefficients that $r$ is a root of, which is a contradiction as $x^3-mx^2+1$ is irreducible (has no rational roots), so it can't have a smaller degree rational polynomial which it is a root of. This shows that $R$ is constant, and then $(\star)$ implies that in fact $R\equiv 0$. Thus, \[\frac{P(x+1)}{x+1} = \frac{P(x)}{x}\]for all $x$. This implies that $P(x)=cx$ for some real constant $c$, which works. This completes the solution. Remark: We'll provide some motivation for the magical $R(x)$ substitution. The equation rearranges to \[(x^3+1)[P(x+1)-2P(x)+P(x-1)] = mx[x(P(x+1)-P(x-1))-2P(x)].\]Replacing finite differences with regular derivatives, we see that the right side (without the $mx$) becomes \[2xP'(x)-2P(x),\]which can be written as $2x^2(P/x)'$. This motivates looking at $Q(x)$ to be the finite difference of $P(x)/x$, so \[Q(x):=\frac{1}{x+1}P(x+1)-\frac{1}{x}P(x).\]Indeed, it is not hard to check that given this substitution, we have that the left hand side is \[m(x^3-x)[Q(x)+Q(x-1)],\]which matches our $2mx^3(P/x)'$ prediction. The next part is to right the right hand side in terms of $Q$, which in the derivative analogy amounts to writing $P''$ in terms of $Q$. Indeed, the simplest way to do this is \[P''=(xQ)'+Q.\]Given this, it is not too hard to get that \[P(x+1)-2P(x)+P(x-1) = [xQ(x) - (x-1)Q(x-1)] + Q(x),\]which again matches the above prediction. The beauty of this setup is that only $Q(x)$ and $Q(x-1)$ are involved, so we can directly solve for $Q(x)/Q(x-1)$ as a rational function. The introduction of $R(x)$ is now just to do this more cleanly from the start already knowing the result through our $Q$ analysis.
25.04.2021 21:43
Here is a totally different approach. It is easy to check that if $n = \deg P \leq 1$, then $P(x) = cx$ for some constant $c$. If $n\geq 2$, then by comparing coefficients of $x^{n+1}$ on both sides of the given equation we get $n = 2m$. Now, replace $x$ with $-x$ \[ (x^3 + mx^2 - 1 ) P(-x+1) + (x^3-mx^2-1) P(-x-1) =2(x^3 - mx -1 ) P(-x) \]and add this to the given equation. On the left, the first summand in the main equation and the second summand in above equation can be combined to \[ (x^3 - mx^2 )\left(P(x + 1) + P(-x-1)\right) + P(x + 1) - P(-x-1)\]remaining terms on the left side are \[(x^3+mx^2) \left(P(x-1) + P(-x+1)\right) + P(x-1) - P(-x+1)\]and on the right hand side we have \[2(x^3 - mx )\left(P(x) + P(-x)\right) + P(x) - P(-x)\]Note that $Q(x) + Q(-x)$ is even and $Q(x) - Q(-x)$ is odd polynomial for any polynomial $Q$. So while on the right hand side we only have odd polynomials (see the third group above), on the left only products with $mx^2$ yield even terms (see the first and second groups above). Since $m\neq 0$ we get \[-P(x + 1) - P(-x-1) + P(x-1) + P(-x+1) = 0\]Thus \[P(x-1) + P(-x+1) = P(x + 1) + P(-x-1)\]So, if $R(x) = P(x-1) + P(-x + 1)$, then $R(x) = R(x+2)$ and since $n$ is even we have $\deg R = n$. But this is a contradiction because $R$ is a nonzero polynomial with infinite roots.
07.06.2021 16:33
The solutions to the equation are $\boxed{P(x) = cx}$ for every $c \in \mathbb{R}$. It is easily verified that this satisfies the problem statement. Did not expect this to be a monstrous problem. Here's a Solution without the magical
substitution (this does capitalise on that substitution, implicitly.) To establish that all polynomials that satisfy the equation is $\color{green} \textbf{\textit{linear with a zero constant}}$, we prove the following Claim. $\rule{5.15cm}{2pt}$ $\diamondsuit$ $\boxed{\textbf{The Elusive End Goal.}}$ $\diamondsuit$ $\rule{5.15cm}{2pt}$ We prove that there exists a number $l \in \mathbb{C}$ so that \[ P(x) - lx \]has infinitely many zeroes.
$\rule{25cm}{0.2pt}$ Indeed, we Claim that there exists a $r \in \mathbb{C}$ so that either \[ r-1,r,r+1,\ldots,r+n ,\ldots \]or \[r+1,r,r-1,\ldots,r-n,\ldots \]are all zeroes of $P(x) - lx$.
To start, we manipulate the original assertion to make it more accessible. $\color{green} \rule{5cm}{2pt}$ $\color{green} \diamondsuit$ $\boxed{\textbf{Crucial Manipulation.}}$ $\color{green} \diamondsuit$ $\color{green} \rule{5cm}{2pt}$ Separate the $x^3+1$ and $mx$, resulting in \[ (x^3+1) (P(x+1)+P(x-1)-2P(x)) = mx (xP(x+1)-xP(x-1)-2P(x)). \]Since $\gcd{(x,x^3+1)} = 1$, then \[ x \mid P(x+1)+P(x-1)-2P(x). \]Writing $P(x+1)+P(x-1)-2P(x) = mx \cdot Q(x)$, we have \[ xP(x+1)-xP(x-1)-2P(x) = (x^3+1) Q(x). \]We rely on these two equations to find the beautiful number $r$. For now, we are content with these friendlier expressions. $\blacksquare$ $\color{magenta} \rule{7.7cm}{2pt}$ $\color{yellow} \diamondsuit$ $\boxed{\textbf{Performing Miracles with the Roots.}}$ $\color{yellow} \diamondsuit$ $\color{magenta} \rule{7.7cm}{2pt}$ Let $Q(x)$ be a nonconstant polynomial.
Then, $Q$ must have roots (a very loose assumption, is it not?) Let one of them be $r$. $\color{magenta} \rule{25cm}{0.2pt}$ Now we know that $P(r+1)+P(r-1)-2P(r)$ and $rP(r+1)-rP(r-1)-2P(r)$ both equals zero. As a result, we have \[ P(r+1)+P(r-1) = rP(r+1)-rP(r-1) \]or \[ (r-1)P(r+1) = (r+1)P(r-1). \]If $P(r+1) = P(r-1)=0$, set $l = 0$. Using $P(r+1)+P(r-1)-2P(r) = 0$ we know that $P(r-1) = P(r) = P(r+1) = 0$. If both $P(r+1),P(r-1)$ are nonzero, we know that \[ \dfrac{P(r+1)}{r+1} = \dfrac{P(r-1)}{r-1} = L. \]Set $l = L$, and we can assume Without Loss of Generality that $P(x)-lx$ is the new $P(x)$. (If you are bothered by this, then let this be $P_1$ and replace all $P$ below by $P_1$; those statements are true since $P_1$ also satisfies the original assertion as $P$ does.) Since this implies $P(r-1) = P(r) = P(r+1) = 0$ too, we are done establishing the base case towards $\diamondsuit$ $\boxed{\textbf{The Elusive End Goal}}$ $\diamondsuit$'s conclusion. $\color{magenta} \rule{25cm}{0.2pt}$ But wait! What happens if $r-1$ or $r+1$ equals zero?
We are done for the second part. $\blacksquare$ $\blacksquare$
Time for the heavy computation! $\color{blue} \rule{4.9cm}{2pt}$ $\color{blue} \clubsuit$ $\color{blue} \boxed{\textbf{Expanding to Infinity.}}$ $\color{blue} \clubsuit$ $\color{blue} \rule{4.9cm}{2pt}$ We Claim that $r+a$ and $r+b$ for some $a,-b \in \mathbb{N}$ cannot be a root of $x^3-mx^2+1$ and $x^3+mx^2+1$, respectively. $\color{blue} \rule{4.9cm}{0.2pt}$ If this is so, then the sequence cannot be a dead end in both directions. So, if no number in the form of $r+a$ is a root of the first polynomial, we would have $P(r+a) = 0$ given that \[ P(r+a-1), P(r+a-2) = 0. \]Since we already have $P(r),P(r+1) = 0$, we are set to venture towards $r+ (+\infty)$ by simple recursion. Likewise for $P(r+b)$ --- we can have $P(r+b) = 0$ since we already have $P(r),P(r-1) = 0$. $\color{blue} \rule{25cm}{0.2pt}$ $\color{blue} \spadesuit$ $\color{blue} \boxed{\textbf{Proof.}}$ $\color{blue} \spadesuit$ (Almost) mindless bashing. Let we have \[ x^3-mx^2+1 = 0, \ \text{and} \ y^3+my^2+1 = 0\]with $x-y = z \in \mathbb{Z}$.
We are finally done. $\blacksquare$ $\blacksquare$ $\blacksquare$
26.07.2024 22:36
24.08.2024 06:53
Rearrange the equation to get \[(x^3+1)(P(x+1)+P(x-1)-2P(x)) = mx(xP(x+1)-xP(x-1)-2P(x)).\]Thus, for some polynomial $R(x)$, \[P(x+1)+P(x-1)-2P(x) = 2mxR(x)\]\[xP(x+1)-xP(x-1)-2P(x) = 2(x^3+1)R(x).\] Therefore, \[xP(x+1)-(x+1)P(x) = (x^3+mx^2+1)R(x)\]\[(x-1)P(x)-xP(x-1) = (x^3-mx^2+1)R(x).\] So, \[(x^3+mx^2+1)R(x) = ((x+1)^3-m(x+1)^2+1)R(x+1).\]Let $Q(x)= xP(x+1) - (x+1)P(x)$. Assume toward a contradiction $R\neq 0$. Let $r$ be a root of $R(x)$. Let $r_1$ and $r_2$ be the minimum and maximum values, respectively, such that $r_1$ and $r_2$ are roots of $R$ and $r_1-r$ and $r_2-r$ are integers. Then, \[((r_2+1)^3-m(r_2+1)^2+1)R(r_2+1) = (r_2^3+mr_2^2+1)R(r_2) = 0.\]Therefore, $((r_2+1)^3-m(r_2+1)^2+1) = 0$. We also have \[((r_1-1)^3+m(r_1-1)^2+1)R(r_1-1) = (r_1^3-mr_1^2+1)R(r_1) = 0.\]Therefore, \[((r_1-1)^3+m(r_1-1)^2+1) = 0.\]Let $a = r_1-1$ and $k = r_2 + 1 - a$. Then, $a$ is a root of $x^3+mx^2+1$ and $a+k$ is a root of $x^3-mx^2+1$. So, we have \[(a+k)^3 - m(a+k)^2 + 1 = 0\]\[a^3-ma^2+1 +3ka^2+3k^2a+k^3 -2mka+mk^2 = 0\]\[-2ma^2+3ka^2+3k^2a+k^3 -2mka+mk^2 = 0\] Therefore, $a$ is a root of a degree $2$ integer polynomial. So, $x^3-mx^2+1$ is not irreducible. It is well known that if an integer polynomial factors into rational polynomials, it factors into integer polynomials. So, $x^3-mx^2+1=(x-t)f(x)$ for some integer $t$ and quadratic $f(x)$. Therefore, $t^3-mt^2+1=0$. So, $t=\pm 1$. Therefore, $m=2$ and $t=1$. Because $a$ is a root of a degree $2$ integer polynomial, $a+k$ also is. So, $x^3+mx^2+1$ is also not irreducible. By similar logic to before, $m=-2$, a contradiction. Therefore, $R(x)=0$. So, \[xP(x+1)=(x+1)P(x)\]\[\frac{P(x+1)}{x+1} = \frac{P(x)}{x}.\]So, for some $c$, $\frac{P(n)}n=c$ for all positive integers $n$. Thus, $P(n)=nc$ has infinitely many roots, so $P(x)=cx$. Clearly this works.