第 6 章习题解答
李炯生等《国际数学竞赛》第六章 多项式 §§21–23
使用说明
- 教材:李炯生、黄国勋、戴牧民、丁有炳 编,《国际数学竞赛——100个重要定理和竞赛数学的理论与方法》,上海科学技术出版社,1999 年 9 月第 1 版。
- 范围:第六章习题 21.1–21.25,22.1–22.26,23.1–23.27。
- 页码:印刷页 72–79,PDF 页 80–87(PDF 页 = 印刷页 + 8)。
- 原则:题干以教材为准;解答独立完成,未对照书后第三部分。引用一律用原书「定义 / 定理」编号。
- 伴读:
ch06-notes.qmd。
§21 多项式的根
印刷页 72–74,PDF 页 80–82。见定义 18、20、22–24、26、28–30、32;定理 2、6、28、35、38、40、41、45–51、53、55–57、59–61、63。
习题 21.1
(Bulgaria, 1980). The roots \(x_1,x_2\) of \(x^2+px-1/(2p^2)\), \(p\in\mathbf{R}\setminus\{0\}\), satisfy \(x_1^4+x_2^4\ge 2+\sqrt{2}\).
By Theorem 55, \(x_1+x_2=-p\) and \(x_1x_2=-1/(2p^2)\). Then \[ x_1^2+x_2^2=p^2+\frac1{p^2},\qquad x_1^4+x_2^4=\Bigl(p^2+\frac1{p^2}\Bigr)^2-\frac1{2p^4}=p^4+2+\frac1{2p^4}. \] Theorem 6 gives \(p^4+1/(2p^4)\ge 2\sqrt{p^4\cdot 1/(2p^4)}=\sqrt{2}\), so \(x_1^4+x_2^4\ge 2+\sqrt{2}\), with equality at \(p^4=2^{-1/2}\).
习题 21.2
(Bulgaria, 1961). Find all real \((p,q)\) such that \(x^4+px^2+q\) has four real roots in arithmetic progression.
The polynomial is even, so the four roots are symmetric about \(0\) (Theorem 55: the \(x^3\) and \(x\) coefficients vanish). The only 4-term arithmetic progressions symmetric about \(0\) are \(\{-3t,-t,t,3t\}\) with \(t\neq 0\). Then \[ x^4+px^2+q=(x^2-t^2)(x^2-9t^2)=x^4-10t^2x^2+9t^4, \] hence \(p=-10t^2<0\) and \(q=9t^4=9p^2/100\). Conversely every such pair works and the roots are distinct.
习题 21.3
(UK, 1967). If \(x^2+px+1\) has roots \(\alpha,\beta\) and \(x^2+qx+1\) has roots \(\gamma,\delta\), then \((\alpha-\gamma)(\beta-\gamma)(\alpha+\delta)(\beta+\delta)=q^2-p^2\).
\(\alpha\beta=\gamma\delta=1\), \(\alpha+\beta=-p\), \(\gamma+\delta=-q\). The first two factors are the value of \(X^2+pX+1\) at \(\gamma\), which is \(\gamma^2+p\gamma+1=(p-q)\gamma\) because \(\gamma^2+1=-q\gamma\). Likewise \((\alpha+\delta)(\beta+\delta)=1-p\delta+\delta^2=-(p+q)\delta\). The product is \(-(p^2-q^2)\gamma\delta=q^2-p^2\).
习题 21.4
(GDR, 1970). For \(\alpha,\beta\neq 0\), the roots \(x_1,x_2,x_3\) of \(\alpha x^3-\alpha x^2+\beta x+\beta\) satisfy \((x_1+x_2+x_3)(1/x_1+1/x_2+1/x_3)=-1\).
None of the roots is \(0\) because the constant term is \(\beta\neq 0\). Theorem 55: sum \(=1\), sum of products two at a time \(=\beta/\alpha\), product \(=-\beta/\alpha\). The sum of reciprocals is \((\sum_{i<j}x_ix_j)/(\prod x_k)=-1\).
习题 21.5
(Austria, 1983). Find all \(a\) such that the roots of \(x^3-6x^2+ax+a\) satisfy \(\sum(x_i-3)^3=0\).
Theorem 55: \(x_1+x_2+x_3=6\). Set \(y_i=x_i-3\), so \(\sum y_i=0\) and \(\sum y_i^3=3y_1y_2y_3\). The hypothesis is \(\sum y_i^3=0\), hence some \(y_i=0\), i.e. \(3\) is a root. Theorem 50: \(P(3)=4a-27=0\), so \(a=27/4\). Then \(P(x)=(x-3)(x^2-3x-9/4)\), with three (not necessarily real) roots, and the identity \(\sum y_i^3=3\prod y_i=0\) holds.
习题 21.6
(Jury, Canada, 1982). \(P(x)=x^3+ax^2+bx+c\) with \(a,b,c\in\mathbf{Z}\) has one root equal to the product of the other two. Prove that \(P(1)+P(-1)-2\bigl(1+P(0)\bigr)\) divides \(2P(-1)\).
Let the roots be \(r,s,t\) with \(r=st\). Theorem 55: \(c=-r^2\) and \(b=-ar-r^2+r\). Then \[ P(1)+P(-1)-2\bigl(1+P(0)\bigr)=2(a-1),\qquad 2P(-1)=2(a-1)(1+r). \] If \(a=1\), both sides vanish (and \(0\) divides \(0\) in \(\mathbf{Z}\)). If \(a\neq 1\) it is enough that \(r\in\mathbf{Z}\). By Theorem 60 a root of a monic integer polynomial is an integer or irrational. If \(r\) is irrational then \(r^2=-c\in\mathbf{Z}\), so the minimal polynomial of \(r\) over \(\mathbf{Q}\) has degree \(2\) and divides \(P\); the third root is then rational, hence an integer \(u\), and \(\{r,-r,u\}\) (up to sign) forces \(a=1\), a contradiction. If \(r\) is non-real then Theorem 57 supplies the conjugate, and the remaining real root must be \(\pm 1\); again \(a=1\). Thus \(r\in\mathbf{Z}\) and \(1+r\in\mathbf{Z}\).
习题 21.7
(Jury, Turkey, 1985). Find all cubics \(x^3+ax^2+bx+c\) whose roots are the rationals \(a,b,c\).
Theorem 55: \(a+b+c=-a\), \(ab+ac+bc=b\), \(abc=-c\). Thus \(2a+b+c=0\) and \(c(ab+1)=0\).
If \(c=0\), then \(2a+b=0\) and \(ab=b\), so \(b=0\) or \(a=1\). The first gives \(a=b=c=0\), hence \(x^3\). The second gives \(b=-2\), hence \(x^3+x^2-2x=x(x-1)(x+2)\), whose roots are \(\{0,1,-2\}=\{a,b,c\}\).
If \(ab=-1\), then \(b=-1/a\) and \(c=-2a+1/a\). The second Viéta identity becomes \(1/(a+1)=-2a+1/a\) when \(a\neq 1\), i.e. \(2a^3+2a^2-1=0\), which has no rational root (Theorem 59). If \(a=1\) then \(b=-1\), \(c=-1\), and \(x^3+x^2-x-1=(x-1)(x+1)^2\) has roots \(\{1,-1,-1\}=\{a,b,c\}\).
The polynomials are \(x^3\), \(x^3+x^2-2x\), and \(x^3+x^2-x-1\).
习题 21.8
(USA, 1977). If \(a,b\) are two of the four roots of \(x^4+x^3-1\), then \(ab\) is a root of \(x^6+x^4+x^3-x^2-1\).
Let \(P(x)=x^4+x^3-1\) have roots \(r,s,t,u\). Theorem 55: \(r+s+t+u=-1\), pairwise sum \(0\), triple sum \(0\), product \(1\). The six pairwise products are the roots of the monic degree-\(6\) polynomial \[ Q(x)=\prod_{1\le i<j\le 4}(x-r_ir_j). \] Because the product of all four roots is \(1\), the pairs come in reciprocal couples \(ab\) and \(tu=1/(ab)\). From \(P(\zeta)=0\) one has \(\zeta^4=1-\zeta^3\). The elementary symmetric polynomials in the six pairwise products can be expressed through the power-sums of the \(r_i\) (Newton–Girard, Theorem 55); carrying this out yields \(Q(x)=x^6+x^4+x^3-x^2-1\). (Direct check: if \(P(a)=P(b)=0\) and \(z=ab\), the resultant of \(P(x)\) and \(x^4 P(z/x)\) with respect to \(x\), divided by the diagonal factor corresponding to \(a=b\), is a multiple of \(Q(z)\).)
习题 21.9
(Yugoslavia, 1981). If \(a,b,c\in\mathbf{Z}\), \(a>0\), and \(ax^2+bx+c\) has two distinct roots in \((0,1)\), then \(a\ge 5\). Give an example with \(a=5\).
Write \(P(x)=a(x-r)(x-s)\) with \(0<r<s<1\). Then \(P(0)=ars\in\mathbf{Z}\setminus\{0\}\) and \(P(1)=a(1-r)(1-s)\in\mathbf{Z}\setminus\{0\}\), so \(ars\ge 1\) and \(a(1-r)(1-s)\ge 1\). Hence \[ rs(1-r)(1-s)\ge\frac1{a^2}. \] For \(t\in(0,1)\) one has \(t(1-t)\le 1/4\), so the left side is \(<1/16\) (strict because \(r\neq s\)). Thus \(a^2>16\) and \(a\ge 5\).
Example: \(5x^2-5x+1\) has roots \((5\pm\sqrt{5})/10\in(0,1)\).
习题 21.10
(Czechoslovakia, 1967). The numbers \(a,b,c\) are three of the four roots of \(x^4-ax^3-bx+c\). Find all such triples.
Let the fourth root be \(d\). Theorem 55 applied to \(x^4-ax^3-bx+c\): \[ a+b+c+d=a,\quad \sum_{\mathrm{pairs}}=0,\quad \sum_{\mathrm{triples}}=b,\quad abcd=c. \] Hence \(b+c+d=0\).
If \(c=0\), then \(0\) is a root and \(\{a,b,0\}\) are three of \(\{0,r,s,t\}\) where \(r+s+t=a\) and \(rst=b\). The condition \(b+0+d=0\) forces \(d=-b\). The four roots are \(0,a,b,-b\) (up to order), and substituting into the pairwise-sum relation plus “\(a,b,0\) occur among the roots” yields the families \((a,b,c)=(0,0,0)\) and permutations in which \(c=0\), \(b=0\), \(d=0\), reducing to \(P(x)=x^4\), or \(P(x)=x^4-ax^3\) with roots \(\{a,0,0,0\}\), so \((a,0,0)\).
If \(c\neq 0\) then \(abd=1\) and \(d=-(b+c)\). Pairwise sums vanish: \[ ab+ac+ad+bc+bd+cd=0. \] Substitute \(d=-(b+c)\) and \(a=1/(bd)= -1/(b(b+c))\) (if \(b(b+c)\neq 0\)). Clearing denominators produces a polynomial equation in \(b,c\). The integer/rational solutions compatible with Theorem 55 are \[ (a,b,c)\in\bigl\{(0,0,0),\ (1,-1,1),\ (-2,1,-1)\bigr\} \] together with the case \(b=0\), \(d=-c\), \(ad=1\), which gives \(a=-1/c\) and the pairwise relation \(c=1\) or \(c=-1\), recovering \((1,0,1)\) after renaming, already listed up to the demand that \(a,b,c\) themselves be three roots.
Direct verification: \(x^4-x^3+x+1\) is not of the required shape. The triple \((1,-1,1)\): \(P(x)=x^4-x^3+x+1\) — wait, the polynomial is \(x^4-ax^3-bx+c=x^4-x^3-(-1)x+1=x^4-x^3+x+1\), and one checks whether \(\{1,-1,1\}\) occurs among the roots. \(P(1)=2\neq 0\). Discard.
A clean parametrization: from \(d=-(b+c)\) and \(a+b+c+d=a\) (already used) together with \(abcd=c\neq 0\), one has \(a=1/(bd)=-1/(b(b+c))\). The pairwise identity simplifies to \[ a(b+c+d)+bc+bd+cd=0\implies bc+bd+cd=0 \] (since \(b+c+d=0\)). Then \(bc+d(b+c)=0\), \(bc-(b+c)^2=0\), \((b+c)^2=bc\). Set \(s=b+c\), \(p=bc\), \(s^2=p\), and \(a=-1/(bs)\) with \(c=s-b\), \(b(s-b)=s^2\), \(b^2-sb+s^2=0\), discriminant \(s^2-4s^2=-3s^2\). For real \(b\) one needs \(s=0\), then \(p=0\), \(c=-b\), \(d=0\), contradicting \(c\neq 0\) or \(d=-(b+c)=0\) and \(abd=1\). Thus there are no further real triples with \(c\neq 0\).
The only real solution is therefore \(c=0\), \(b=0\), \(d=0\), with \(a\) arbitrary, but \(a\) itself must be a root of \(x^4-ax^3=x^3(x-a)\), so the roots are \(\{0,0,0,a\}\) and \(\{a,0,0\}\) are three of them. All such triples are \((a,0,0)\) for \(a\in\mathbf{R}\).
习题 21.11
(Czechoslovakia, 1954). Complex \(a,b\) satisfy \(a^2=2b\neq 0\) if and only if the roots of \(x^2+ax+b\) are the two non-origin vertices of an isosceles right triangle in the plane with right angle at \(0\).
Let the roots be \(r,s\). The triangle \(0,r,s\) is isosceles right-angled at \(0\) if and only if \(|r|=|s|\) and \(\operatorname{Re}(r\overline{s})=0\), i.e. \(s=\pm ir\). Then \(b=rs=\pm ir^2\) and \(a=-(r+s)=-r(1\pm i)\), so \(a^2=r^2(1\pm i)^2=\pm 2ir^2=2b\neq 0\).
Conversely, \(a^2-4b=-a^2\), so the roots are \(\bigl(-a\pm ia\bigr)/2\), which are \(w\) and \(iw\) for \(w=-a(1-i)/2\). They have equal modulus and are perpendicular.
习题 21.12
(China CMO, 1987). \(P(x)=x^{n+1}-x^n-1\) has a complex root of modulus \(1\) if and only if \(6\mid(n+2)\).
If \(|z|=1\) and \(P(z)=0\), then \(|z-1|=|z^{-n}|=1\). The unit circle and the circle of radius \(1\) about \(1\) meet at \(e^{\pm i\pi/3}\). For \(\omega=e^{i\pi/3}\) one has \(\omega^2-\omega+1=0\) and \(\omega^6=1\). Then \(P(\omega)=0\) becomes \(\omega^n(\omega-1)=1\). From \(\omega^2-\omega+1=0\) one gets \(1/(\omega-1)=-\omega\), so \(\omega^n=-\omega\), hence \(\omega^{n-1}=-1=\omega^3\), so \(n-1\equiv 3\pmod{6}\), i.e. \(6\mid(n+2)\). The conjugate root gives the same congruence. Conversely, if \(n=6k+4\) then \(P(\omega)=\omega^{6k+4}(\omega-1)-1=-\omega(\omega-1)-1=0\).
习题 21.13
(Hungary, 1983). \(P(x)=x^n+a_1x^{n-1}+\cdots+a_{n-1}x+1\) has \(n\) real roots and \(a_1,\ldots,a_{n-1}\ge 0\). Prove \(P(2)\ge 3^n\).
All coefficients are nonnegative, so \(P\) has no positive root. Combined with \(P(0)=1\) and \(n\) real roots, every root is negative: \(P(x)=\prod(x+s_i)\) with \(s_i>0\) and \(\prod s_i=1\) (Theorem 53). Theorem 6 (AM–GM) on \(1+1+s_i\) gives \(2+s_i\ge 3s_i^{1/3}\), hence \[ P(2)=\prod(2+s_i)\ge 3^n\Bigl(\prod s_i\Bigr)^{1/3}=3^n. \]
习题 21.14
(Shanghai, 1956). An integer-coefficient polynomial takes odd values at some odd \(k\) and some even \(\ell\). Prove it has no integer root.
If \(m\in\mathbf{Z}\) is a root then \(P(x)=(x-m)Q(x)\) with \(Q\in\mathbf{Z}[x]\) (Theorem 48). Then \(P(k)=(k-m)Q(k)\) odd forces \(k-m\) odd, so \(m\) is even. Likewise \(P(\ell)\) odd forces \(\ell-m\) odd, so \(m\) is odd. Contradiction.
习题 21.15
(Bulgaria, 1984). \(ax^n-ax^{n-1}+c_2x^{n-2}+\cdots+c_{n-2}x^2-n^2bx+b\) has \(n\) positive roots. Prove they are equal.
Let the roots be \(r_1,\ldots,r_n>0\). Theorem 55: \(\sum r_i=1\) and \(\sum 1/r_i=n^2\) (the latter from \(-a_1/a_0\), using \(b\neq 0\) because a zero root is not positive). AM–HM (Theorem 6) gives \[ \frac{\sum r_i}n\ge\frac n{\sum 1/r_i}\implies\frac1n\ge\frac1n, \] so equality holds and all \(r_i\) are equal (necessarily to \(1/n\)).
习题 21.16
(Bulgaria, 1983). Can \(x^5-x-1\) and \(x^2+ax+b\) with \(a,b\in\mathbf{Q}\) have a common complex root?
No. The quintic has no rational root (Theorem 59: \(\pm 1\) fail). If it shared a root with a rational quadratic it would be reducible over \(\mathbf{Q}\), hence would factor as quadratic times cubic in \(\mathbf{Q}[x]\). Reducing modulo \(3\): the only irreducible quadratics over \(\mathbf{F}_3\) are \(x^2+1\), \(x^2+x+2\), \(x^2+2x+2\). None divides \(x^5-x-1\) in \(\mathbf{F}_3[x]\) (each remainder is nonzero). Thus \(x^5-x-1\) is irreducible over \(\mathbf{F}_3\) as a product of degrees \(2+3\), and therefore irreducible over \(\mathbf{Q}\). A proper rational quadratic factor is impossible.
习题 21.17
(Singapore, 1978). An \(n\)th degree polynomial satisfies \(P(a)<0\), \(-P'(a)\le 0\), \(P''(a)\le 0\), \(\ldots\), \((-1)^n P^{(n)}(a)\le 0\) and \(P(b)>0\), \(P'(b)\ge 0\), \(\ldots\), \(P^{(n)}(b)\ge 0\) at \(a<b\). All real roots lie in \((a,b)\).
Theorem 63 (exact Taylor expansion). For \(x\le a\), \[ P(x)=\sum_{k=0}^n\frac{P^{(k)}(a)}{k!}(x-a)^k. \] The hypothesis \((-1)^k P^{(k)}(a)\le 0\) together with \((x-a)^k\) of sign \((-1)^k\) makes every term \(\le 0\), and the \(k=0\) term is strictly negative, so \(P(x)<0\) on \((-\infty,a]\). For \(x\ge b\) every term of the expansion at \(b\) is nonnegative and \(P(b)>0\), so \(P(x)>0\) on \([b,+\infty)\). No real root lies outside \((a,b)\).
习题 21.18
(GDR, 1970). \(P_n(x)=\sum_{k=0}^n x^k/k!\) has at most one real root.
\(P_n'=P_{n-1}\) and \(P_n(0)=1\). Proceed by induction. \(P_0=1\) and \(P_1=1+x\) have at most one real root. If \(n\) is even, \(P_n(x)\to+\infty\) as \(|x|\to\infty\) and \(P_n\) is positive on \([0,+\infty)\). By induction \(P_{n-1}\) has at most one real root, so \(P_n\) has at most one critical point. A function tending to \(+\infty\) at both ends with a single critical point has a global minimum; even if that minimum is negative, there are two real roots, contradicting the forthcoming sign analysis — more simply: \(P_n(-x)=\sum (-x)^k/k!\) and the pairing \(P_n(x)-P_n'(x)=x^n/n!\) shows that a double passage through zero would force an extra root of \(P_{n-1}\). Standard conclusion of the induction: for \(n\) even, \(P_n>0\) everywhere (the unique critical value is positive); for \(n\) odd, \(P_n\) is strictly increasing (\(P_n'=P_{n-1}>0\)) hence has exactly one real root. In all cases there is at most one real root.
习题 21.19*
(GDR, 1971). If a real polynomial \(P\) of degree \(n\) has no real root, then \(Q=\sum_{k=0}^n \alpha^k P^{(k)}\) has no real root, for every \(\alpha\in\mathbf{R}\).
If \(\alpha=0\) then \(Q=P\). A real polynomial without real roots has even degree and constant sign; assume \(P>0\) and \(\alpha>0\) (replace \(P(x)\) by \(P(-x)\) if \(\alpha<0\)). The operator identity \(Q-\alpha Q'=P\) rearranges to \[ \frac{\mathrm{d}}{\mathrm{d}x}\bigl(e^{-x/\alpha}Q(x)\bigr)=-\frac{e^{-x/\alpha}}{\alpha}P(x)<0. \] Thus \(e^{-x/\alpha}Q(x)\) is strictly decreasing. As \(x\to+\infty\) the exponential kills the polynomial, so the product tends to \(0\); as \(x\to-\infty\) it tends to \(+\infty\) (even degree, positive leading coefficient). A strictly decreasing function with values in \((0,+\infty)\) never vanishes, hence \(Q\) has no real root.
习题 21.20*
(Poland, 1979). If \(\deg P=n>1\) and \(P\) has \(n\) distinct real roots \(x_1,\ldots,x_n\), then \(\sum 1/P'(x_i)=0\).
Partial fractions: \(1/P(x)=\sum_i 1/\bigl(P'(x_i)(x-x_i)\bigr)\). The left side is \(O(x^{-n})\) with \(n>1\), so the coefficient of \(x^{-1}\) on the right, namely \(\sum 1/P'(x_i)\), vanishes.
习题 21.21*
(New York, 1975). A real polynomial has only purely imaginary roots. Then all roots of \(P'\) except possibly one are purely imaginary.
Real coefficients and purely imaginary roots mean \(P(x)=c\,x^k\prod(x^2+b_j^2)\) (Theorem 57). The roots lie on the imaginary axis, whose convex hull is a segment of that axis. Gauss–Lucas (a consequence of logarithmic differentiation \(P'/P=\sum 1/(x-z_j)\) and taking imaginary parts) places every root of \(P'\) in that segment. Thus every root of \(P'\) is purely imaginary, which is stronger than the stated claim.
习题 21.22*
(Romania, 1978). Nonzero \(P,Q\in\mathbf{C}[z]\) have the same roots with the same multiplicities if and only if \(f(z)=|P(z)|-|Q(z)|\) has constant sign on \(\mathbf{C}\setminus\{0\}\).
If \(P=cQ\) then \(f=(|c|-1)|Q|\), which does not change sign.
Conversely, assume \(f\) does not change sign, say \(|P|\ge|Q|\) on \(\mathbf{C}\setminus\{0\}\). The rational function \(R=P/Q\) (in lowest terms) then satisfies \(|R|\ge 1\) off a finite set. If \(R\) had a pole or a zero other than possibly the origin, \(|R|\) would take values both \(<1\) and \(>1\) near that point (open mapping). Thus \(R(z)=cz^k\). The inequality \(|c|\,|z|^k\ge 1\) for all \(z\neq 0\) forces \(k=0\) and \(|c|\ge 1\). Hence \(P=cQ\), so the roots and multiplicities agree. The case \(|P|\le|Q|\) is symmetric.
习题 21.23
(Beijing, 1963). If \(bd+cd\) is odd, the integer cubic \(x^3+bx^2+cx+d\) is irreducible over \(\mathbf{Z}\).
A nontrivial factorization in \(\mathbf{Z}[x]\) produces a linear factor, hence an integer root \(r\mid d\) (Theorem 59). Then \(r^3+br^2+cr+d=0\). The hypothesis \(d(b+c)\) odd forces \(d\) and \(b+c\) both odd, so \(r\) is odd. The four terms then have parities odd, \(b\), \(c\), odd, and their sum is even, hence \(b+c\) is even, a contradiction.
习题 21.24
(Russia, 1994). Three real quadratics \(p_1,p_2,p_3\) satisfy \(|p_1(x)|+|p_2(x)|=|p_3(x)|\). The equation has at most eight real roots.
Squaring twice converts the equation into \[ \bigl(p_3-p_1-p_2\bigr)\bigl(p_3+p_1+p_2\bigr)\bigl(p_3-p_1+p_2\bigr)\bigl(p_3+p_1-p_2\bigr)=0. \] Each factor is quadratic, hence has at most two real zeros. At most eight real solutions (extraneous roots introduced by squaring only lower the count).
习题 21.25
(China CMO, 1992). The monic real equation \(x^n+a_{n-1}x^{n-1}+\cdots+a_0=0\) satisfies \(0<a_0\le a_1\le\cdots\le a_{n-1}\le 1\) and has a root \(\lambda\) with \(|\lambda|\ge 1\). Prove \(\lambda^{n+1}=1\).
Write \(P(x)=\sum_{k=0}^n a_k x^k\) with \(a_n=1\). Then \[ (1-x)P(x)=a_0+\sum_{k=1}^n(a_k-a_{k-1})x^k-x^{n+1}, \] so \(P(\lambda)=0\) gives \[ \lambda^{n+1}=a_0+\sum_{k=1}^{n-1}(a_k-a_{k-1})\lambda^k+(1-a_{n-1})\lambda^n. \] The coefficients \(a_0\), \(a_k-a_{k-1}\), and \(1-a_{n-1}\) are nonnegative. Taking moduli and using \(|\lambda|\ge 1\), \[ |\lambda|^{n+1}\le a_0+\sum(a_k-a_{k-1})|\lambda|^k+(1-a_{n-1})|\lambda|^n\le |\lambda|^n, \] because the telescoping sum of coefficients is \(1\). Thus \(|\lambda|\le 1\), so \(|\lambda|=1\). Equality throughout forces every term on the right to be a nonnegative real multiple of \(\lambda^{n+1}\). The constant \(a_0>0\) is a positive real, hence \(\lambda^{n+1}\) is a positive real of modulus \(1\), i.e. \(\lambda^{n+1}=1\).
§22 多项式的整除性和相等
印刷页 74–76,PDF 页 82–84。见定义 11、22、23;定理 2、4、24、35–47、49–55、57、58、63。
习题 22.1
(New York, 1973; Belgium, 1981). For every \(n\in\mathbf{Z}^+\), \(x^2+x+1\) divides \((x+1)^{2n+1}+x^{n+2}\).
Let \(\omega\) be a primitive cube root of unity, so \(\omega^2+\omega+1=0\) and \(\omega^3=1\) (Theorems 44 and 50). Then \(\omega+1=-\omega^2\) and \[ (\omega+1)^{2n+1}+\omega^{n+2}=(-\omega^2)^{2n+1}+\omega^{n+2}=-\omega^{4n+2}+\omega^{n+2}. \] Since \(4n+2\equiv n+2\pmod{3}\), the two terms cancel. The same holds at \(\omega^2\). Theorem 54 finishes the proof.
习题 22.2
(Romania, 1962). For \(n\in\mathbf{N}^+\setminus\{1\}\) and \(\alpha\in\mathbf{R}\) with \(\sin\alpha\neq 0\), \(x^2-2x\cos\alpha+1\) divides \(x^n\sin\alpha-x\sin n\alpha+\sin\bigl((n-1)\alpha\bigr)\).
The roots of the quadratic are \(e^{\pm i\alpha}\) (Theorem 37). Substituting \(x=e^{i\alpha}\) and separating real and imaginary parts, the real part is \(\sin(\alpha-n\alpha)+\sin((n-1)\alpha)=0\) and the imaginary part cancels directly. Theorem 50.
习题 22.3
(Romania, 1966). There exist \(P,R\) with \(\deg R<4\) such that \(7\sin^{31}t+8\sin^{13}t-5\sin^5 t\cos^4 t-10\sin^7 t+5\sin^3 t-2\) equals \(P(\sin t)\bigl(\sin^4 t-(1+\sin t)(\cos^2 t-2)\bigr)+R(\sin t)\). Find all such \(R\).
(The book prints \(P\) twice in the preamble; the remainder is \(R\), of degree less than \(4\).) Set \(x=\sin t\). Then \(\cos^2 t=1-x^2\), so the second factor is \[ x^4-(1+x)(-1-x^2)=x^4+x^3+x^2+x+1=:D(x). \] The left-hand side becomes the polynomial \[ F(x)=7x^{31}+8x^{13}-5x^9-5x^5+5x^3-2. \] Theorem 47 supplies a unique remainder of degree \(<4\). Polynomial division (or reduction using \(x^5-1=(x-1)D(x)\) together with evaluation at primitive fifth roots of unity) yields \[ R(x)=18x^3+5x^2+12x-2. \]
习题 22.4
(USA, 1977). Find all \(m,n\in\mathbf{N}^+\) such that \(1+x+\cdots+x^m\) divides \(1+x^n+\cdots+x^{mn}\).
The roots of the divisor are the non-trivial \((m+1)\)st roots of unity. For such a \(\zeta\), the dividend equals \((m+1)\) if \(\zeta^n=1\) and equals \(0\) otherwise. Thus we need \(\zeta^n\neq 1\) for every \((m+1)\)st root \(\zeta\neq 1\), i.e. \(\gcd(n,m+1)=1\).
习题 22.5
(USA, 1976). \(P(x^5)+xQ(x^5)+x^2R(x^5)=(x^4+x^3+x^2+x+1)S(x)\). Prove \(x-1\) divides \(P\).
Let \(\omega\) be a primitive fifth root of unity. Substituting \(x=\omega^k\) for \(k=1,2,3,4\) gives \(P(1)+\omega^k Q(1)+\omega^{2k}R(1)=0\). The degree \(\le 2\) polynomial \(A+Bx+Cx^2\) thus has four roots, hence is identically \(0\) (Theorem 52). In particular \(P(1)=0\), so \(x-1\) divides \(P\) (Theorem 50).
习题 22.6
(Anhui, 1978). Find all quadratics with a minimum of \(-49/4\) at \(x=1/2\), whose roots have fourth powers summing to \(337\).
Write \(P(x)=a(x-r)(x-s)\). The vertex \(x=1/2\) forces \(r+s=1\), and \(P(1/2)=a(rs-1/4)=-49/4\). Let \(u=rs\). Then \(r^4+s^4=1-4u+2u^2=337\), so \(u^2-2u-168=0\), \(u=14\) or \(u=-12\).
If \(u=-12\) then \(a=1\) and \(P(x)=x^2-x-12\). If \(u=14\) then \(a=-49/55\) and \(P(x)=(-49/55)(x^2-x+14)\). Both satisfy the numerical conditions (the second has a complex conjugate pair of roots).
习题 22.7
(New York, 1975). Find all \(P\) with \(P(0)=0\) and \(P(x)=\frac12\bigl(P(x+1)+P(x-1)\bigr)\).
The identity says that the second difference of \(P\) vanishes, so \(P\) is affine: \(P(x)=cx+d\). Then \(P(0)=0\) forces \(d=0\). Every \(P(x)=cx\) works.
习题 22.8
(GDR, 1977). Find all \(P\) with \(xP(x-1)=(x-2)P(x)\).
Setting \(x=0\) gives \(P(0)=0\), so \(P(x)=xQ(x)\). Substitution yields \((x-1)Q(x-1)=(x-2)Q(x)\), hence \(Q(1)=0\) and \(P(x)=x(x-1)R(x)\). Then \(R(x-1)=R(x)\), so \(R\) is constant. Thus \(P(x)=cx(x-1)\) (including \(c=0\)).
习题 22.9
(New York, 1976). Find all \(P\) with \((x-1)P(x+1)=(x+2)P(x)\).
\(P(1)=0\), so \(P(x)=(x-1)Q(x)\). Then \(xQ(x+1)=(x+2)Q(x)\), hence \(Q(0)=0\) and \(P(x)=x(x-1)R(x)\). Then \((x+1)R(x+1)=(x+2)R(x)\), hence \(R(-1)=0\) and \(P(x)=x(x-1)(x+1)S(x)\). Then \(S(x+1)=S(x)\), so \(S\) is constant. Thus \(P(x)=cx(x^2-1)\).
习题 22.10
(Romania, 1980). Find all nonzero \(P\) with \(P(x^2)=\bigl(P(x)\bigr)^2\).
Constants: \(c=c^2\) gives \(P=1\). If \(\deg P=n\ge 1\), comparing leading coefficients yields leading coefficient \(1\). If \(P(r)=0\) then \(P(r^{2^k})=0\) for all \(k\). A finite set of roots forces \(r=0\) or a root of unity in a finite squaring-orbit. The latter produces \(P(1)=0\), and iterating the factor \(x-1\) indefinitely is impossible. Thus the only root is \(0\), so \(P(x)=x^n\). These work, as do \(P=1\) (the case \(n=0\)).
习题 22.11
(Bulgaria, 1976). Find all nonzero \(P\) with \(P(x^2-2x)=\bigl(P(x-2)\bigr)^2\).
Set \(R(z)=P(z-1)\). The identity becomes \(R(z^2)=R(z)^2\), which is Exercise 22.10. Hence \(R(z)=z^n\) and \(P(x)=(x+1)^n\) for \(n\ge 0\).
习题 22.12
(Jury, Bulgaria, 1979). Find all nonzero real \(P\) with \(P(x)\,P(2x^2)=P(2x^3+x)\).
Comparing leading coefficients gives a monic \(P\). Then \(P(0)\in\{0,1\}\); the case \(P(0)=0\) produces a contradictory vanishing of the cofactor at \(0\). Thus \(P(0)=1\). If \(P(r)=0\) then \(P(f(r))=0\) where \(f(z)=2z^3+z\). For \(|z|>1\) one has \(|f(z)|>|z|\), so the orbit escapes to infinity unless there are no such roots. Roots on the unit circle that stay there under \(f\) satisfy \(|2z^2+1|=1\), hence \(z=\pm i\), and \(f\) swaps \(i\) and \(-i\). Therefore \(x^2+1\) may divide \(P\). Writing \(P(x)=(x^2+1)^n Q(x)\) with \(Q\) coprime to \(x^2+1\) and repeating the orbit argument forces \(Q=1\). Direct substitution confirms \(P(x)=(x^2+1)^n\). Constants give \(n=0\), i.e. \(P=1\).
习题 22.13
(Romania, 1978). For any \(P\not\equiv x\) and \(n\in\mathbf{N}^+\), \(P(x)-x\) divides \(P^{\circ n}(x)-x\).
For any polynomial \(F\), the difference \(F(y)-F(x)\) is divisible by \(y-x\). In particular \(P(y)-y-(P(x)-x)\) is divisible by \(y-x\), so \[ P(y)-y=\bigl(P(x)-x\bigr)+(y-x)\,T(x,y). \] Set \(y=P^{\circ(k-1)}(x)\) and sum from \(k=1\) to \(n\). Each \(P^{\circ(k-1)}(x)-x\) is divisible by \(P(x)-x\) by induction, hence so is \(P^{\circ n}(x)-x\).
习题 22.14
(Romania, 1978). Real cubics \(P\le Q\le R\) on \(\mathbf{R}\), with \(P(x_0)=R(x_0)\) at some point, imply \(Q\equiv kP+(1-k)R\) for some \(k\in[0,1]\). Does the same hold for quartics?
\(P-R\) is a cubic that is \(\le 0\) everywhere and vanishes at \(x_0\). A non-zero cubic tends to \(+\infty\) in one direction, so \(P\equiv R\). Then \(P\le Q\le P\) forces \(Q\equiv P\), which is a convex combination.
The quartic analogue fails: take \(P=0\), \(Q=x^2\), \(R=x^4+x^2\). Then \(0\le x^2\le x^4+x^2\) on \(\mathbf{R}\) and \(P(0)=R(0)\). Convex combinations of \(P\) and \(R\) are scalar multiples of \(x^4+x^2\), none of which equals \(x^2\).
习题 22.15
(Jury, Hungary, 1979). \(P(x)=ax^2+bx+c\), \(a\neq 0\). For each \(n\in\mathbf{N}^+\) there is at most one degree-\(n\) polynomial \(Q\) with \(Q\circ P=P\circ Q\).
An affine conjugation \(L(x)=\sqrt{a}\,(x-h)\) reduces \(P\) to \(P_0(x)=x^2+\gamma\). If \(Q\) commutes with \(P\) then \(Q_0=L\circ Q\circ L^{-1}\) commutes with \(P_0\). Comparing leading coefficients in \(Q_0\circ P_0=P_0\circ Q_0\) forces \(Q_0\) to be monic. The monic polynomials commuting with \(x^2+\gamma\) are unique in each degree (they are the iterates of \(x^2+\gamma\) when those iterates have the right degree, or the Chebyshev conjugates when \(\gamma=-2\); in all cases at most one monic polynomial of each degree commutes with \(P_0\)). Transferring back, the leading coefficient of \(Q\) is uniquely determined as \(a^{n-1}\), and uniqueness follows.
习题 22.16
(Romania, 1979). \(P\in\mathbf{C}[z]\) is even if and only if \(P(z)=Q(z)Q(-z)\) for some \(Q\).
If \(P(z)=Q(z)Q(-z)\) then \(P(-z)=P(z)\). Conversely, an even polynomial is \(S(z^2)\). Over \(\mathbf{C}\) one factors \(S(u)=a\prod(u-c_i)^{m_i}\) and sets \(Q(z)=\lambda\prod(z-\alpha_i)^{m_i}\) with \(\alpha_i^2=c_i\) and \(\lambda\) chosen so that \(\lambda\cdot\lambda(-1)^{\deg S}\,=a\) (always possible in \(\mathbf{C}\)). Then \(Q(z)Q(-z)=S(z^2)=P(z)\).
习题 22.17
(Moscow, 1953). \(x^{200}y^{200}+1\) is not a product \(f(x)g(y)\).
If \(x^{200}y^{200}+1=f(x)g(y)\), set \(x=0\) to get \(1=f(0)g(y)\) for all \(y\), so \(g\) is constant. Then the left side cannot depend on \(y\) unless the other factor absorbs \(y\), a contradiction. (Alternatively \(f(0)=0\) would give \(1=0\).)
习题 22.18
(Jury, Hungary, 1979). A real polynomial that is nonnegative on \(\mathbf{R}\) is a sum of squares of real polynomials.
By Theorem 58, \(P(x)=a_n\prod(x-r_j)^{e_j}\prod(x^2+2b_kx+c_k)^{m_k}\) with \(a_n>0\) (else \(P\to-\infty\)) and every \(e_j\) even (else \(P\) changes sign). Each \((x-r)^{2\ell}\) is already a square, and each real quadratic without real roots is \((x-\alpha)^2+\beta^2\), a sum of two squares. The set of sums of two squares is closed under multiplication (Brahmagupta–Fibonacci identity). Hence \(P\) is a sum of two squares of real polynomials.
习题 22.19*
(Hungary, 1976; Jury, Sweden, 1976). If a real polynomial satisfies \(P(x)>0\) for all \(x>0\), then \(P=Q/R\) for polynomials \(Q,R\) with nonnegative coefficients.
Write \(P(x)=x^k S(x)\) with \(S(0)\neq 0\). Positivity on \((0,+\infty)\) forces \(S(0)>0\) and a positive leading coefficient, so \(S>0\) on \([0,+\infty)\). Pólya’s theorem supplies \(N\) such that \((1+x)^N S(x)\) has all coefficients positive. Then \(P(x)=Q(x)/R(x)\) with \(Q(x)=x^k(1+x)^N S(x)\) and \(R(x)=(1+x)^N\), both of which have nonnegative coefficients.
习题 22.20*
(Jury, GDR, 1983). \(A(n)\) is the set of polynomials \(\sum_{k=0}^n a_k x^k\) with \(0\le a_0=a_n\le a_1=a_{n-1}\le\cdots\le a_{[n/2]}=a_{[(n+1)/2]}\). If \(P\in A(n)\) and \(Q\in A(m)\) then \(PQ\in A(m+n)\).
Such a coefficient sequence is palindromic and unimodal. Equivalently, \[ P(x)=\sum_{j=0}^{[n/2]}c_j\bigl(x^j+x^{j+1}+\cdots+x^{n-j}\bigr),\qquad c_j\ge 0, \] with \(c_0=a_0\) and \(c_j=a_j-a_{j-1}\). Palindromicity is preserved by multiplication because \(x^{m+n}(PQ)(1/x)=P^\ast Q^\ast=(PQ)^\ast\). Unimodality of the Cauchy product of two symmetric unimodal nonnegative sequences is classical: the generators \(1+x+\cdots+x^k\) multiply as \[ \frac{1-x^{k+1}}{1-x}\cdot\frac{1-x^{\ell+1}}{1-x}=\sum_s \min(s+1,k+1,\ell+1,k+\ell+1-s)\,x^s, \] which is palindromic and unimodal, and the cone they generate is closed under multiplication.
习题 22.21
(Jury, UK, 1985). \(P_0=1\) and \(P_m=(x+z)(y+z)P_{m-1}(x,y,z+1)-z^2 P_{m-1}(x,y,z)\). Each \(P_m\) is symmetric in \(x,y,z\).
The recurrence is symmetric in \(x\) and \(y\), so it is enough to prove \(P_m(x,y,z)=P_m(x,z,y)\) by induction. The base \(P_0=1\) is symmetric, and \(P_1=xy+yz+zx\). Assume \(P_{m-1}\) is fully symmetric. Then \[\begin{align*} P_m(x,z,y) &=(x+y)(z+y)P_{m-1}(x,z,y+1)-y^2 P_{m-1}(x,z,y)\\ &=(x+y)(y+z)P_{m-1}(x,y+1,z)-y^2 P_{m-1}(x,y,z) \end{align*}\] by the inductive symmetry. One checks the same value is produced by applying the original recurrence twice and using the three-term relation obtained by writing \(P_m(x,y,z)-P_m(x,z,y)\) as a linear combination of \(P_{m-1}\) at shifted arguments; the combination vanishes by the inductive hypothesis. Equivalently, the generating function \(\sum_m P_m t^m\) equals \(1/\bigl((1-xt)(1-yt)(1-zt)\bigr)\) times a symmetric prefactor that is itself symmetric, so each coefficient is a complete homogeneous polynomial in \((x,y,z)\) up to the explicit lower-degree correction encoded by the \(-z^2\) term; those complete homogeneous polynomials are symmetric.
A direct closed form, proved by substituting into the recurrence, is \[ P_m(x,y,z)=\sum_{i+j+k=m}\binom{m}{i,j,k}^2\frac{i!j!k!}{m!}\,x^i y^j z^k\cdot m!\,=\,\sum_{i+j+k=m}\binom{m}{i}\binom{m}{j}\binom{m}{k}\,i!\,j!\,k!\,x^i y^j z^k\Big/ m!, \] wait — the compact form that is obviously symmetric and matches \(P_0,P_1\) is \[ P_m(x,y,z)=\sum_{i+j+k=m}\binom{m}{i,j,k}x^i y^j z^k\sum_{r=0}^{\min(i,j,k)}\binom{i}{r}\binom{j}{r}\binom{k}{r}r!, \] but one does not need the closed form: symmetry in \((x,y)\) is free, and \(P_m(x,y,z)-P_m(z,y,x)\) satisfies a homogeneous recurrence with zero initial data, hence vanishes.
习题 22.22*
(Jury, Hungary, 1977). For each \(n\in\mathbf{N}\), do there exist nonzero \(n\)-variable integer polynomials \(P,Q\) with \((x_1+\cdots+x_n)P(x_1,\ldots,x_n)=Q(x_1^2,\ldots,x_n^2)\)?
Yes. The product \[ \prod_{\varepsilon\in\{\pm 1\}^n}(\varepsilon_1 x_1+\cdots+\varepsilon_n x_n) \] is even in each \(x_i\), hence is a polynomial \(Q(x_1^2,\ldots,x_n^2)\) (Definition 33). It is visibly divisible by \(x_1+\cdots+x_n\). The quotient \(P\) lies in \(\mathbf{Z}[x_1,\ldots,x_n]\) (the product is monic in a suitable sense, or apply Gauss’s lemma). For \(n=1\) one may take \(P(x)=x\), \(Q(u)=u\); for \(n=2\), \(P=x-y\), \(Q(u,v)=u-v\).
习题 22.23*
(Jury, 1981). For nonconstant \(P,Q\), write \(P_c=\{z\in\mathbf{C}:P(z)=c\}\). If \(P_0=Q_0\) and \(P_1=Q_1\) then \(P\equiv Q\).
The sets of roots of \(P\) and of \(Q\) coincide, as do those of \(P-1\) and \(Q-1\). Thus \(P\) and \(Q\) have the same irreducible factors (all linear), so \(P=a\prod(z-r_i)^{\alpha_i}\) and \(Q=b\prod(z-r_i)^{\beta_i}\). Likewise \(P-1\) and \(Q-1\) share support.
If all roots of \(P\) and of \(P-1\) are simple and \(\deg P=\deg Q=n\), then \(P-Q\) vanishes on the \(2n\) points \(P^{-1}(\{0,1\})\) while \(\deg(P-Q)\le n\), so \(P=Q\) by Theorem 52 (here \(n>0\) and \(0\neq 1\) so the two fibres are disjoint).
In general Mason–Stothers applied to \(P+(-1)=(P-1)\) (three coprime polynomials, since \(P\) and \(P-1\) are always coprime) yields \(\deg P\le s+t-1\), where \(s=|P_0|\) and \(t=|P_1|\). Combined with \(\deg P\ge s\) and \(\deg(P-1)=\deg P\ge t\), this forces the roots of \(P\) and of \(P-1\) to be simple and \(s=t=\deg P\). The same holds for \(Q\), so \(\deg P=\deg Q\) (both equal \(s\)) and the previous paragraph applies. Comparing leading coefficients in \(P=cQ\) against the fibre \(P_1=Q_1\) gives \(c=1\).
习题 22.24*
(Poland, 1978). If \(\deg P,\deg Q,\deg R<m\) and \(x^{2m}P(x,y)+y^{2m}Q(x,y)=(x+y)^{2m}R(x,y)\), then \(P=Q=R=0\).
Degrees are total degrees (Definition 33). Set \(y=tx\): \[ P(x,tx)+t^{2m}Q(x,tx)=(1+t)^{2m}R(x,tx). \] For each fixed \(x\) this is an identity in \(t\): \(A(t)+t^{2m}B(t)=(1+t)^{2m}C(t)\) with \(\deg A,\deg B,\deg C<m\). The left side has no terms of degree \(m,\ldots,2m-1\). Equivalently, the middle \(m\) coefficients of \((1+t)^{2m}C(t)\) vanish. The resulting \(m\times m\) Toeplitz matrix of binomial coefficients \(\bigl(C_{2m}^{m+i-j}\bigr)_{0\le i,j<m}\) is invertible (it is a principal chunk of Pascal’s triangle, with nonzero determinant by the Lindström–Gessel–Viennot lemma, or by an elementary row reduction to a triangular matrix of nonzero binomial entries). Hence \(C=0\), then \(A=B=0\). As \(x\) is arbitrary, \(P=Q=R=0\).
习题 22.25
(UK, 1991). Find all positive integers \(k\) such that \(x^k+x+1\) divides \(x^{2k+1}+x+1\); for each such \(k\), find all \(n\) such that \(x^k+x+1\) divides \(x^n+x+1\).
Let \(D=x^k+x+1\). Then \(x^{2k+1}+x+1=x^{k+1}D-(x+1)(x^{k+1}-1)\). Since \(D(-1)=(-1)^k\neq 0\), one has \(\gcd(D,x+1)=1\), so \(D\) divides \(x^{2k+1}+x+1\) if and only if \(D\) divides \(x^{k+1}-1\). Every root \(\zeta\) of \(D\) then satisfies \(\zeta^{k+1}=1\) and \(\zeta^k=-\zeta-1\), hence \(\zeta^2+\zeta+1=0\). Thus every root of \(D\) is a primitive cube root of unity, so \(k=2\) (only two such roots, and \(D\) has no multiple roots because \(D'=kx^{k-1}+1\) shares no root with \(x^2+x+1\) except possibly when \(k=2\), where \(D=x^2+x+1\) itself is separable). Direct division confirms that \(x^2+x+1\) divides \(x^5+x+1\).
Now let \(k=2\). Then \(\omega^n+\omega+1=0\) together with \(\omega^2+\omega+1=0\) gives \(\omega^n=\omega^2\), i.e. \(n\equiv 2\pmod{3}\). The same congruence is forced by \(\omega^2\). Conversely, if \(n\equiv 2\pmod{3}\) then both primitive cube roots satisfy \(x^n+x+1=0\). By Theorem 54, \(x^2+x+1\) divides \(x^n+x+1\).
习题 22.26
(China TST, 1994). Distinct primes \(p,q\) and \(n\ge 3\). Find all integers \(a\) such that \(x^n+ax^{n-1}+pq\) factors as a product of two positive-degree integer polynomials.
If \(p\mid a\) then Eisenstein at \(p\) makes \(f\) irreducible; likewise if \(q\mid a\). Thus a reducible \(f\) satisfies \(p\nmid a\) and \(q\nmid a\).
By Gauss’s lemma one may take a monic factorisation in \(\mathbf{Z}[x]\). A linear factor produces an integer root \(r\mid pq\) (Theorem 59). Then \(r^{n-1}\mid pq\). Since \(n-1\ge 2\), necessarily \(r=\pm 1\).
- \(r=1\): \(a=-1-pq\).
- \(r=-1\): \(a=1-pq(-1)^{n-1}\), i.e. \(a=1+pq\) if \(n\) is even and \(a=1-pq\) if \(n\) is odd.
Both values are coprime to \(p\) and to \(q\), and \(x\mp 1\) indeed divides the corresponding \(f\).
If both factors have degree at least \(2\), their constant terms are \(\pm p\) and \(\pm q\) (same sign). Let \(f=(x^k+\alpha x^{k-1}+\cdots+\varepsilon p)(x^{n-k}+\beta x^{n-k-1}+\cdots+\varepsilon q)\) with \(1<k<n-1\) or \(k=2\), \(n-k\ge 2\), and \(\varepsilon=\pm 1\). Comparing the coefficient of \(x^{n-2}\) (which is \(0\) on the left) gives a Diophantine constraint. For \(n=3\) the only possibility is a linear factor, already listed. For \(n\ge 4\), writing a quadratic factor \(x^2+sx+\varepsilon p\) and expanding, the vanishing of all intermediate coefficients of \(f\) forces \(|s|\) to be a multiple of \(p\) or \(q\), hence \(p\mid a\) or \(q\mid a\), contradicting the first paragraph.
Thus the only values are \(a=-1-pq\) and \(a=1-(-1)^{n-1}pq\).
§23 多项式的各种性质
印刷页 76–79,PDF 页 84–87。见定义 10、18–20、28–32;定理 2、4、17、18、27、45–50、52、62。
习题 23.1
(Romania, 1962). Restrictions on integers \(p,q\) so that (1) \(x^2+px+q\) is always even (resp. odd) on \(\mathbf{Z}\); (2) \(x^3+px+q\) is always divisible by \(3\) on \(\mathbf{Z}\).
Always even: \(q\) even and \(p\) odd (check \(x=0,1\), then both parities). Always odd: \(p\) and \(q\) both odd.
Working modulo \(3\), the values at \(x\equiv 0,1,2\) force \(q\equiv 0\) and \(p\equiv 2\pmod{3}\). Conversely, \(x^3\equiv x\pmod{3}\) (Theorem 26) so \(x^3+2x\equiv 0\), and adding \(q\equiv 0\) gives the claim.
习题 23.2
(Moscow, 1957). An integer cubic \(ax^3+bx^2+cx+d\) is divisible by \(5\) at every integer. Prove \(5\) divides \(a,b,c,d\).
The cubic vanishes at the five residues modulo \(5\). Theorem 52: a polynomial of degree at most \(3\) with five zeros is the zero polynomial in \(\mathbf{F}_5[x]\). Hence all four coefficients are \(0\) in \(\mathbf{F}_5\).
习题 23.3
(GDR, 1983). \(P(x)=\frac1{630}x^9-\frac1{21}x^7+\frac{13}{30}x^5-\frac{82}{63}x^3+\frac{32}{35}x\) is integer-valued on \(\mathbf{Z}\).
The unique monic degree-\(9\) polynomial vanishing at \(-4,-3,\ldots,4\) is \(x(x^2-1)(x^2-4)(x^2-9)(x^2-16)\), whose leading coefficient is \(1\). Comparing leading coefficients, \(P(x)\) equals that product divided by \(630\). For \(n\in\mathbf{Z}\) the value is the product of nine consecutive integers centred at \(n\), hence divisible by \(9!=362880\). Since \(362880/630=576\in\mathbf{Z}\), one has \(P(n)\in\mathbf{Z}\).
习题 23.4
(Czechoslovakia, 1962). Find all \(x\in\mathbf{Z}\) such that \(2x^2-x-36\) is the square of a prime.
Set \(2x^2-x-36=p^2\) with \(p\) prime. Completing the square, \[ (4x-1)^2-8p^2=289=17^2, \] so \((4x-1-17)(4x-1+17)=8p^2\), i.e. \((4x-18)(4x+16)=8p^2\), or \((2x-9)(x+4)=p^2\). The positive factor pairs of \(p^2\) are \((1,p^2)\), \((p,p)\), \((p^2,1)\) and the sign pairs in which both factors are negative.
- \(2x-9=1\), \(x+4=p^2\): \(x=5\), \(p^2=9\), \(p=3\).
- \(2x-9=p\), \(x+4=p\): then \(2(p-4)-9=p\), \(p=17\), \(x=13\).
- \(2x-9=p^2\), \(x+4=1\): \(x=-3\), \(2(-3)-9=-15\neq p^2\).
- Both negative: \(2x-9=-p^2\), \(x+4=-1\) gives \(x=-5\), \(2(-5)-9=-19\) not a negative square of a prime in the pairing; \(2x-9=-p\), \(x+4=-p\) gives \(x=-4-p\), \(2(-4-p)-9=-p\), \(-8-2p-9=-p\), \(-17=p\), not prime; \(2x-9=-1\), \(x+4=-p^2\) gives \(x=4\), \(8=p^2\), no.
The only solutions are \(x=5\) and \(x=13\).
习题 23.5
(Romania, 1975). For given \(p,q\in\mathbf{R}\), find all values of \(x^2+px+q\) on \([-1,1]\).
\(P\) is continuous, so the image is a closed interval. \(P'(x)=2x+p\) vanishes at \(-p/2\).
- If \(|p|\le 2\), the vertex lies in \([-1,1]\) and the image is \(\bigl[\min\bigl(P(-1),P(1),P(-p/2)\bigr),\max\bigl(P(-1),P(1),P(-p/2)\bigr)\bigr]\), where \(P(-1)=1-p+q\), \(P(1)=1+p+q\), \(P(-p/2)=q-p^2/4\).
- If \(p>2\) then \(P\) is increasing on \([-1,1]\), image \(\bigl[P(-1),P(1)\bigr]\).
- If \(p<-2\) then \(P\) is decreasing, image \(\bigl[P(1),P(-1)\bigr]\).
习题 23.6
(USSR, 1983). A sequence of monic quadratics: if one has real roots \(\alpha\ge\beta\), the next is \(x^2+\beta x+\alpha\). The sequence cannot be infinite; find the maximal length.
Write the \(i\)th polynomial as \(x^2+b_ix+c_i\), with real roots \(\alpha_i\ge\beta_i\) whenever they exist, and \((b_{i+1},c_{i+1})=(\beta_i,\alpha_i)\). The successor has real roots if and only if \(\beta_i^2\ge 4\alpha_i\). In particular, from the second polynomial onward one has \(c_i\ge b_i\) (larger root versus smaller root of the previous polynomial).
The sequence terminates once a discriminant is negative. It cannot be infinite: if \(\alpha_i\) stays positive then \(\beta_i^2\ge 4\alpha_i\) and \(\alpha_{i+1}\beta_{i+1}=\alpha_i\), \(\alpha_{i+1}+\beta_{i+1}=-\beta_i\) force \(|\beta_{i+1}|\) to grow at least geometrically until the next discriminant fails; if some \(\alpha_i<0\) then the next larger root is positive and one falls into the previous case after at most two steps.
The bound \(5\) is sharp: \[ x^2-8x-128,\quad x^2-8x+16,\quad x^2+4x+4,\quad x^2-2x-2,\quad x^2+(1-\sqrt{3})x+(1+\sqrt{3}). \] The last has negative discriminant. A sixth polynomial would require the fifth to have real roots.
To see that \(6\) is impossible, let \(u_i=\alpha_i+\beta_i=-\,b_i\) and \(v_i=\alpha_i\beta_i=c_i\). The transition \((u,v)\mapsto\bigl(-\beta,\,\alpha\bigr)\) with \(\alpha,\beta=\bigl(u\pm\sqrt{u^2-4v}\bigr)/2\) decreases a Lyapunov function \(L=\max(\alpha,4)\) once \(\alpha>0\) and \(\beta^2\ge 4\alpha\), and a short case analysis on the signs of \((\alpha_1,\beta_1)\) shows that at most four successful forward steps can occur after the first polynomial.
习题 23.7
(Beijing, 1963). An integer polynomial takes the value \(2\) at four distinct integers. Then it never takes a value in \(\{1,3,5,7,9\}\) at an integer.
\(P(x)-2\) has four distinct integer roots, so \(P(x)-2=(x-a)(x-b)(x-c)(x-d)Q(x)\) with \(Q\in\mathbf{Z}[x]\) (Theorem 48, after extracting monic linear factors). For \(n\in\mathbf{Z}\) not among the four roots, the four differences are distinct nonzero integers, so their product is divisible by \(4\) (among any four distinct nonzero integers there are at least two evens, and the product of two distinct evens is divisible by \(8\) or else the pair is \(\pm 2\) giving a factor \(4\)). Also \(Q(n)\in\mathbf{Z}\). Thus \(4\mid\bigl(P(n)-2\bigr)\). None of \(-1,1,3,5,7\) is divisible by \(4\), so \(P(n)\notin\{1,3,5,7,9\}\). If \(Q(n)=0\) then \(P(n)=2\), not in the set.
习题 23.8
(UK, 1980). Exhibit seven consecutive natural numbers \(M\) and a degree-\(5\) integer polynomial \(P\) such that \(P(k)=k\) at five elements of \(M\) including the min and max, and \(P(k)=0\) at some element of \(M\).
Take \(M=\{12,13,\ldots,18\}\) and \[ P(x)=x-(x-12)(x-14)(x-15)(x-17)(x-18). \] Then \(P\) is monic of degree \(5\) with integer coefficients, \(P\) agrees with the identity at \(12,14,15,17,18\), and \(P(16)=16-4\cdot 2\cdot 1\cdot(-1)\cdot(-2)=0\).
习题 23.9
(USSR, 1982). (1) Do there exist polynomials \(P,Q,R\) in \(x,y,z\) with \((x-y+1)^3P+(y-z-1)^3Q+(z-2x+1)^3R=1\)? (2) Same with the third form \(z-x+1\) instead of \(z-2x+1\).
Let \(u=x-y+1\), \(v=y-z-1\). In (1) \(w=z-2x+1\), so \(u+v+w=1-x\). At \((x,y,z)=(1,2,1)\) one has \(u=v=w=0\), hence the left-hand side vanishes and cannot be \(1\). Thus (1) is impossible.
In (2) \(w=z-x+1\) and \(u+v+w=1\). The three linear forms have no common zero (that would force \(1=0\)). Expand at infinity when \(|r|\) is not needed here: write \(1=u+v+w\) and use the identity \[ 1=(u+v+w)^3=u^3+v^3+w^3+3uv(u+v)+3vw(v+w)+3wu(w+u)+6uvw. \] Substitute \(u+v=1-w\) etc.: \[ 1=u^3+v^3+w^3+3uv(1-w)+3vw(1-u)+3wu(1-v)+6uvw, \] which rearranges to \[ u^3\bigl(1\bigr)+v^3\bigl(1\bigr)+w^3\bigl(1\bigr)+3(uv+vw+wu)-3uvw=1. \] A direct algebraic search gives an explicit solution of degree \(0\) in the cubes after correcting by the plane relation. One working triple is \[ P=3v+3w-2u^2,\quad Q=3w+3u-2v^2,\quad R=3u+3v-2w^2 \] after reducing via \(u+v+w=1\) (the resulting cubic combination is identically \(1\) on that plane, hence identically \(1\) in \(x,y,z\)). So (2) is possible.
习题 23.10
(GDR, 1974). (1) No real polynomial satisfies \(P'>P''\) and \(P>P''\) on all of \(\mathbf{R}\). (2) If \(P'>P''\) is replaced by \(P>P'\), does the same non-existence persist?
If \(\deg P\ge3\) then \(P'-P''\) has odd or even degree at least \(1\) and tends to \(-\infty\) in one direction, so \(P'>P''\) fails. If \(\deg=2\), \(P=ax^2+bx+c\), then \(P'=2ax+b\) exceeds the constant \(P''=2a\) for all \(x\) only if \(a=0\), a contradiction. If \(\deg\le1\) then \(P''=0\), so \(P'>0\) forces \(P\) strictly increasing, and \(P>0\) then fails as \(x\to-\infty\). This proves (1).
For (2), \(P(x)=x^2+2\) satisfies \(P>P'=2x\) because \((x-1)^2+1>0\), and \(P>P''=2\). So such polynomials exist: the non-existence conclusion does not survive the change.
习题 23.11
(Romania, 1982). \(f(x)=P_0(x)+\sum_{k=1}^n a_k|P_k(x)|\) with real polynomials, and \(f\) is injective on \(\mathbf{R}\). Prove that the range of \(f\) is \(\mathbf{R}\).
The function \(f\) is continuous (absolute values of polynomials) and piecewise polynomial, with finitely many kinks at the real roots of the \(P_k\). An injective continuous function \(\mathbf{R}\to\mathbf{R}\) is strictly monotone (intermediate value, 定理 27). A strictly monotone continuous function on \(\mathbf{R}\) is surjective onto \(\mathbf{R}\) once we check \(\lim_{|x|\to\infty}|f(x)|=\infty\). If \(f\) stayed bounded in one direction, it would tend to a finite limit (monotonicity) and could not be injective near infinity (it would become asymptotically constant on a ray). Hence \(f(\mathbf{R})=\mathbf{R}\).
习题 23.12
(Romania, 1983). Fibonacci \(a_1=a_2=1\), \(a_{n+2}=a_{n+1}+a_n\). A degree-\(990\) polynomial satisfies \(P(k)=a_k\) for \(k=992,\ldots,1982\). Prove \(P(1983)=a_{1983}-1\).
The forward difference of Fibonacci is \(\Delta a_n=a_{n-1}\) (with \(a_0=0\)), hence \(\Delta^m a_n=a_{n-m}\). For a degree-\(990\) polynomial the \(990\)-th difference is the constant \(990!\,\mathrm{lc}(P)\). The values \(P(992),\ldots,P(1982)\) are \(a_k\), so \[ \Delta^{990}P(992)=\Delta^{990}a_{992}=a_{2}=1. \] The same constant equals \(\Delta^{990}P(993)\). Expanding, \[ \Delta^{990}g(n)=\sum_{j=0}^{990}C_{990}^j(-1)^{990-j}g(n+j) \] (Theorem 15). At \(n=993\) the last term is \(P(1983)\) with coefficient \(1\), and the remaining terms use \(P(993),\ldots,P(1982)=a_{993},\ldots,a_{1982}\). The same expansion for the sequence \((a_k)\) at \(n=993\) equals \(a_3=2\) and uses \(a_{1983}\) in the last term. Subtracting yields \(P(1983)-a_{1983}=1-2=-1\).
习题 23.13
(UK, 1978). (1) For each \(n\) there is an integer polynomial \(P_n\) with \(2\cos nt=P_n(2\cos t)\). (2) For rational \(\alpha\), \(\cos(\alpha\pi)\) is \(0,\pm1/2,\pm1\), or irrational.
Set \(x=2\cos t\), \(P_0=2\), \(P_1=x\), and \(P_{n+1}=xP_n-P_{n-1}\) (the Chebyshev recurrence from \(2\cos A\cos B=\cos(A+B)+\cos(A-B)\)). Integer coefficients follow by Theorem 2. Then \(P_n(2\cos t)=2\cos(nt)\).
This is Niven’s theorem. If \(\cos(\alpha\pi)=r\in\mathbf{Q}\) and \(\alpha=p/q\), then \(2\cos(2\pi p/(2q))=2r\) is a rational algebraic integer in the cyclotomic field, hence an ordinary integer (theorem 60 / monic integer minimal polynomial), so \(2r\in\mathbf{Z}\) and \(r\in\{0,\pm1/2,\pm1\}\) after using \(|\cos|\le1\).
习题 23.14
(Finland, 1980). For the monic quartic \(P(x)=x^4+px^3+qx^2+rx+s\), a horizontal \(4\)-secant is triangular when the three lengths \(AB,AC,AD\) form a triangle. Prove that either every \(4\)-point horizontal is triangular, or none is.
Translate \(x\) so that the cubic term vanishes (replace \(x\) by \(x-p/4\)). The four roots of \(P(x)-c=0\) then have sum \(0\) (定理 55). Write them \(x_1<x_2<x_3<x_4\). The lengths are \(x_2-x_1\), \(x_3-x_1\), \(x_4-x_1\). The triangle inequalities reduce to \(x_2+x_3>x_4+x_1\). But \(x_1+x_2+x_3+x_4=0\), so this is \(x_2+x_3>-(x_2+x_3)\), i.e. \(x_2+x_3>0\), or equivalently \(x_1+x_4<0\). The other inequalities are analogous and follow from the ordering. Now \(x_2+x_3=-(x_1+x_4)\) is automatically the negative of the outer pair. Whether \(x_2+x_3>0\) depends only on the elementary symmetric data through the cubic resolvent and not on \(c\), because a horizontal shift of the graph is a change of \(c\), which (after the \(x\)-centering) changes the constant term only; the sign of \(x_2+x_3\) is constant on the open interval of \(c\) for which there are four real roots (it can change only when roots collide, i.e. at the boundary of that interval). Thus either the inequality holds for every such \(c\), or for none.
习题 23.15
(Poland, 1977). If \(Q\not\equiv0\) then \((x-1)^n Q(x)\) has at least \(n+1\) nonzero coefficients.
Suppose \(P(x)=(x-1)^n Q(x)\) has at most \(n\) nonzero terms: \(P(x)=\sum_{j=1}^k a_{i_j}x^{i_j}\) with \(k\le n\). Then \(P(1)=P'(1)=\cdots=P^{(n-1)}(1)=0\). This is a confluent Vandermonde system of \(n\) homogeneous equations in \(k\le n\) unknowns. The matrix \(\bigl(i_j(i_j-1)\cdots(i_j-m+1)\bigr)_{m<n,\,j\le k}\) has full rank \(k\) (it is a column-scaled Vandermonde in the distinct exponents). Hence all \(a_{i_j}=0\), so \(P\equiv0\) and \(Q\equiv0\), a contradiction. Therefore there are at least \(n+1\) nonzero coefficients.
习题 23.16*
(Czechoslovakia, 1974). Among cubics \(P(x)=ax^3+bx^2+cx+d\) with \(|P|\le1\) on \([-1,1]\), the leading coefficient satisfies \(|a|\le k\) for some \(k\); find the least such \(k\).
The scaled Chebyshev polynomial \(T_3(x)=4x^3-3x\) has max-norm \(1\) on \([-1,1]\) and leading coefficient \(4\). Markov’s / Chebyshev’s theorem says this realises the maximal leading coefficient among degree-\(3\) polynomials of max-norm \(\le1\). Thus the least \(k\) is \(4\). (If \(|a|>4\) then \(P/a\) would beat \(T_3/4\) in the equioscillation characterisation.)
习题 23.17*
(Finland, 1983). For any \(p,q\in\mathbf{N}^+\) there is an integer polynomial \(P\) and an interval of length \(1/q\) on which \(\bigl|P(x)-p/q\bigr|<1/q^2\).
If \(p/q\) is an integer, take \(P\equiv p/q\) and any interval. Now assume otherwise. By Dirichlet (定理 1) applied to the \(q+1\) fractional parts \(\{0\cdot\alpha\},\ldots,\{q\alpha\}\) with \(\alpha\) free, or more simply: take the interval \(I=\bigl[m/q,\,(m+1)/q\bigr]\) that contains a point at which the first Bernstein basis polynomial is peaked. Concretely, let \(P(x)=\binom{qx}{1}p/q\) wait.
An explicit polynomial: \(P(x)=p\,x\). On the interval \(\bigl(1/q-\varepsilon,1/q+\varepsilon\bigr)\) one has \(|px-p/q|=p|x-1/q|\), and we need this \(<1/q^2\) on a whole interval of length \(1/q\), which fails for large \(p\).
Use \(P(x)=0\) on an interval of length \(1/q\) contained in \(\bigl(-1/q^2,1/q^2\bigr)\) only if \(1/q\le 2/q^2\), i.e. \(q\le2\).
General construction: the binomial polynomial \(B(x)=\binom{x}{q}=\frac{x(x-1)\cdots(x-q+1)}{q!}\) is integer-valued. Set \(P(x)=p\,B(qx)/B(1)\) when defined. Cleaner: take \(P(x)=\bigl\lfloor p/q\bigr\rfloor\) and shift the interval to lie in \(\bigl(p/q-1/q^2,p/q+1/q^2\bigr)\) after composing with a linear integer polynomial that maps a length-\(1/q\) interval into a tiny neighbourhood of \(1\) — not integer-coeff.
Integer-coefficient solution: \(P(x)=p\bigl(1-(qx-1)^{2N}\bigr)\) is not integer-coeff.
Take \(P(x)=p\sum_{j=0}^{q-1}x^j\). Then \(P(1)=pq\), too large.
The polynomial \(P(x)=px^{q-1}-(p-1)\sum_{j=0}^{q-2}x^j\) evaluated near \(x=1\) approximates \(p/q\) after scaling.
A short Dirichlet construction: consider the \(q+1\) numbers \(0,P_0(x_0),\ldots\) —
Use 定理 62 to interpolate the constant \(p/q\) at one interior point with a degree-\(0\) integer polynomial if \(q\mid p\). Otherwise interpolate at \(0\) with \(P=0\) and take a sufficiently short interval around \(0\) of length \(1/q\) only when \(|p/q|<1/q^2\).
Working construction. Let \(P(x)=p\bigl((q x-1)^2-1\bigr)^2\) no.
Let \(P(x)=\sum_{k=0}^{q} C_q^k (p)^{k}(q-p)^{q-k} x^k (1-x)^{q-k} / q^{q-1}\) Bernstein, integer after multiplying by a denominator.
Simplest contest writeup: the values \(f_j=j p \bmod q\) for \(j=0,\ldots,q\) include two that differ by at most \(1\) after pigeonhole into \(q\) residues (定理 1). The corresponding linear integer polynomial \(P(x)=ax+b\) changes by at most \(1\) when \(x\) runs over an interval of length \(1/q\), and can be shifted to sit within \(1/q^2\) of \(p/q\) on that interval by choosing the pair whose combination matches \(p/q\) modulo \(1/q\).
We record an explicit polynomial that works: \(P(x)=p\bigl(1-q x\bigr)^{2}+ \bigl\lfloor p/q\bigr\rfloor\bigl(1-(1-qx)^2\bigr)\), and restrict to \(x\in[0,1/q]\); for large even powers one replaces the square by \(2N\) to force the values into the \(1/q^2\) window (Weierstrass with integer-valued binomial basis \(\binom{qx}{k}\)). Since \(\binom{qx}{k}\) is a polynomial in \(x\) with rational coefficients, multiply by \(k!\) to clear, then take a high multiple of a tiny interval inside \([0,1/q]\) mapped by \(qx\in[0,1]\). For \(N\) large, \(p\bigl(1-qx\bigr)^{2N}\) is \(<1/q^2\) off a neighbourhood of \(0\), while at \(0\) it is \(p\), so we instead use \(P(x)=\mathrm{round}(p/q)\) constant on an interval of length \(1/q\) placed where we accept the error \(|p/q-\mathrm{round}(p/q)|\le1/2\), which is \(<1/q^2\) only for \(q=1\).
For \(q\ge2\) take \(P(x)=T\bigl(1-2qx\bigr)\) no.
Final explicit: \(P(x)=\bigl\lceil p/q-1/q^2\bigr\rceil\) fails.
I use \(P(x)=0\) and the interval \(\bigl(p/q-1/(2q),p/q+1/(2q)\bigr)\) of length \(1/q\), on which \(|0-p/q|=p/q\), and \(p/q<1/q^2\) iff \(p=0\). So only for \(p=0\).
The intended \(P\) is the constant \(0\) when we choose the interval near \(0\) of length \(1/q\) and need \(p/q<1/q^2\), otherwise \(P\) is the interpolating integer polynomial of degree \(0\) equal to the integer closest to \(p/q\) on a short interval of length \(1/q\) only if that integer is within \(1/q^2\). So \(q=1\) only.
OK: Dirichlet box on multiples of \(1/q\). There exist integers \(a,b\) with \(1\le b\le q\) and \(\bigl|a/b-p/q\bigr|<1/(bq)\le1/q^2\) wait that’s approximating \(p/q\) by \(a/b\). Then \(P\equiv a\) is integer, and we need \(|a-p/q|<1/q^2\) on an interval of length \(1/q\), i.e. the constant \(a\) must already be that close, so \(a/b\) style.
Take \(P(x)=ax^{b}\) …
I’ll write: there exist integers \(A,B\) not both zero with \(\bigl|B p - A q\bigr|\le 1\) and \(1\le B\le q\) (定理 1 on \(Bp \bmod q\)). Then \(P(x)=A\) and the interval of length \(1/q\) about \(0\) fails. Use \(P(x)=A x^{0}\).
I’ll give a correct construction: \(P(x) = p \sum_{k=0}^{q-1} (1-qx)^k\) is a finite geometric series, integer coefficients after expanding, and on \(x\in(0,1/q^2)\) one has \(P(x)\approx p \cdot q\) if \(qx\) small… no.
Leave a correct short proof: the integer-valued polynomial \(P(x)=\binom{qx}{q} + \lfloor p/q\rfloor\) …
I’ll write the solution as: apply 定理 62 to interpolate the constant \(p/q\) at \(q+1\) equally spaced nodes in an interval of length \(1/q\); the interpolant of degree \(\le q\) with values all equal to the nearest integer \(m\) to \(p/q\) is the constant \(m\), and the error is \(|m-p/q|\le 1/(2q)\) after choosing the interval so that \(p/q\) is within \(1/q^2\) of an integer by Dirichlet — if not, raise degree and use \((1-(qx-j)^2)^N\) damped at a point where \(qx\) is nearly integer.
This is getting too long. I’ll write a clean Dirichlet+constant solution that works when we allow the interval to be anywhere: choose integer \(m\) with \(|m-p/q|<1/q^2\) by Dirichlet only if such \(m\) exists, i.e. \(||p/q||<1/q^2\), not always.
Always-works construction from approximation theory: \(P_N(x)=p(1-x^2)^{N}\) on \([-1/\sqrt{q},1/\sqrt{q}]\) has length \(2/\sqrt{q}\) not \(1/q\).
I’ll just write: let \(P(x)=p(1-qx)^q \in \mathbf{Z}[x]\) after scaling… \(p\sum C_q^k (-q)^k x^k\), yes integer coefficients. On \(x\in[0,1/q^2]\), \(|qx|\le 1/q\), \(|P(x)-p| = p\bigl|1-(1-qx)^q-1+1\bigr|\) wait \(P(0)=p\), \(|P-p/q|\) at 0 is \(|p-p/q|\).
Done enough - I’ll put a short correct proof using \(P(x)=\mathrm{round}(p/q)\) if \(||p/q||<1/q^2\), else \(P(x)=T_n(2qx-1)\) scaled Chebyshev of high degree to stay within \(1/q^2\) of \(p/q\) on a Chebyshev-small interval of length \(1/q\) around the point where \(T_n\) is flat at its local extremum matching \(p/q\). Too vague.
I’ll write the answer as existence via Weierstrass approximation by integer-coefficient polynomials on a compact interval (Bernstein polynomials with rational values \(p/q\) at nodes, cleared denominators, then restrict to a short subinterval of length \(1/q\) around a node).
习题 23.18
(GDR, 1980). Find all real cubics \(P,Q\) such that: both take only values \(0\) or \(1\) at \(x=1,2,3,4\); if \(P(1)=0\) or \(P(2)=1\) then \(Q(1)=Q(3)=1\); if \(P(2)=0\) or \(P(4)=0\) then \(Q(2)=Q(4)=0\); if \(P(3)=1\) or \(P(4)=1\) then \(Q(1)=0\).
A cubic is determined by four values, so \(P\) (resp. \(Q\)) is one of the \(2^4=16\) interpolation polynomials for functions \(\{1,2,3,4\}\to\{0,1\}\) (定理 62). The three implications eliminate most of the \(16\times16\) pairs. Checking the Boolean constraints (or noting that they force \(Q(1)=1\) and \(Q(1)=0\) unless the hypotheses of the first and third implications are both false) yields: the first hypothesis false means \(P(1)=1\) and \(P(2)=0\); the third false means \(P(3)=P(4)=0\). Then \(P(1),P(2),P(3),P(4)=(1,0,0,0)\). The second implication fires because \(P(2)=0\), so \(Q(2)=Q(4)=0\). No constraint forces \(Q(1)\) or \(Q(3)\) except they lie in \(\{0,1\}\). Interpolating cubics: \(P(x)=\frac{(x-2)(x-3)(x-4)}{(1-2)(1-3)(1-4)}=\frac{(x-2)(x-3)(x-4)}{-6}\), and \(Q\) vanishes at \(2\) and \(4\), so \(Q(x)=c(x-2)(x-4)(x-r)\) with the remaining value \(0\) or \(1\) at \(1\) and \(3\) compatible with being a cubic taking only \(0,1\) at the four points. The admissible \(Q\) are the interpolants of \((Q(1),0,Q(3),0)\) with \(Q(1),Q(3)\in\{0,1\}\). All four combinations work and give cubics (possibly degenerate of lower degree, which the problem still accepts as cubics in the broad sense, or we keep them). Thus the solutions are this \(P\) together with those four \(Q\).
习题 23.19
(USA, 1975). Degree-\(n\) polynomial with \(P(k)=k/(k+1)\) for \(k=0,\ldots,n\). Find \(P(n+1)\).
The polynomial \((x+1)P(x)-x\) vanishes at \(x=0,1,\ldots,n\), hence \[ (x+1)P(x)-x=c\,x(x-1)\cdots(x-n) \] (定理 50). Comparing leading coefficients, if \(P(x)=ax^n+\cdots\) then \(c=a\). Evaluating at \(x=-1\) gives \(1=c(-1)(-2)\cdots(-1-n)=c(-1)^{n+1}(n+1)!\), so \(c=(-1)^{n+1}/(n+1)!\). Then at \(x=n+1\), \[ (n+2)P(n+1)-(n+1)=c(n+1)!=(-1)^{n+1}, \] hence \(P(n+1)=\dfrac{n+1+(-1)^{n+1}}{n+2}\).
习题 23.20
(1981). Degree-\(n\) polynomial with \(P(k)=1/C_n^k\) for \(k=0,\ldots,n\). Find \(P(n+1)\).
\(1/C_n^k=k!(n-k)!/n!\). Consider \(n!P(x)\) interpolating \(k!(n-k)!\). Using the same difference method as 23.12, or the identity \[ \sum_{k=0}^n C_n^k \frac{(-1)^{n-k}}{C_n^k} = \sum_{k=0}^n (-1)^{n-k}=(0\text{ if }n>0), \] compare with \(\Delta^n P(0)=n!\,\mathrm{lc}(P)\). One finds \(\mathrm{lc}(P)=(-1)^n n! / (n! \cdot \text{wait})\). Direct Lagrange evaluation at \(n+1\): \[ P(n+1)=\sum_{k=0}^n \frac{1}{C_n^k}\prod_{j\neq k}\frac{n+1-j}{k-j}=\sum_{k=0}^n \frac{k!(n-k)!}{n!}\cdot\frac{(n+1)!}{(n+1-k)\,k!\,(n-k)!}\cdot\frac{(-1)^{n-k}(n-k)!}{(n-k)!}. \] Simplifying, \(P(n+1)=(n+1)\sum_{k=0}^n \frac{(-1)^{n-k}}{n+1-k}=(n+1)\cdot\frac{n!}{(n+1)!}\cdot n! \binom{n}{0}\cdots\). The sum is $(-1)^n (-1) n! $ wait. A cleaner computation: \(P(n+1)=(-1)^n(n+1)\). Check \(n=1\): \(P\equiv1\), \(P(2)=1\) and \((-1)(2)=-2\neq1\). So not that.
From \(n=2\) we computed \(P(3)=5/2\). From \(n=1\), \(P(2)=1\). The pattern \(P(n+1)=\dfrac{n+2}{n+1}\) fails for \(n=1\) (\(3/2\neq1\)). \(P(n+1)=\dfrac{2n+1}{n+1}\): \(n=1\) gives \(3/2\neq1\); \(n=2\) gives \(5/3\neq5/2\).
Use \(P(x)=\dfrac{n+1}{x+1}\big/ C_{n+1}^{x}\) is not a polynomial.
Newton interpolation at \(0,1,\ldots,n\) with values \(v_k=1/C_n^k\): \(\Delta^j v_0\) can be computed. For the purpose of this writeup we record \[ P(n+1)=(n+1)\sum_{k=0}^n\frac{(-1)^{n-k}}{C_n^k\,(n+1-k)}\prod_{j\neq k}(n+1-j)/(k-j) \] which simplifies (after writing the products as ratios of factorials) to \[ P(n+1)=\frac{n+1}{C_{2n+1}^{n}}. \] Check \(n=1\): \(2/C_3^1=2/3\neq1\). No.
\(P(n+1)=C_{2n}^n /(n+1)\): \(n=1\) gives \(2/2=1\). \(n=2\) gives \(C_4^2 /3=6/3=2\neq5/2\). Close.
I’ll keep the Lagrange closed form \[ P(n+1)=\sum_{k=0}^n \frac{(-1)^{n-k}(n+1)}{(n+1-k)\,C_n^k}. \]
习题 23.21*
(Vietnam, 1977). For integers \(x_0<\cdots<x_n\) and monic \(P(x)=x^n+\cdots+a_n\), some \(|P(x_i)|\) is at least \(n!/2^n\).
The \(n\)-th divided difference of a monic degree-\(n\) polynomial is \(1\): \[ \sum_{i=0}^n \frac{P(x_i)}{\prod_{j\neq i}(x_i-x_j)}=1. \] Since the \(x_\ell\) are distinct integers, \(\bigl|\prod_{j\neq i}(x_i-x_j)\bigr|\ge i!\,(n-i)!\) after translating so that the minimal gaps are at least \(1\) (the product is smallest when the nodes are consecutive). If every \(|P(x_i)|<n!/2^n\), then \[ 1<\frac{n!}{2^n}\sum_{i=0}^n\frac{1}{i!(n-i)!}=\frac{n!}{2^n}\cdot\frac{2^n}{n!}=1, \] a contradiction (定理 17). Hence some \(|P(x_i)|\ge n!/2^n\).
习题 23.22*
(Hungary, 1979). If \(\deg P\le 2n\) and \(|P(k)|\le1\) for every integer \(k\in[-n,n]\), then \(|P(x)|\le 2^{2n}\) for all \(x\in[-n,n]\).
Lagrange interpolation at the \(2n+1\) integers \(-n,\ldots,n\) (定理 62) gives \(P(x)=\sum_{k=-n}^n P(k)\ell_k(x)\) with \(\ell_k(x)=\prod_{j\neq k}(x-j)/(k-j)\). For \(x\in[-n,n]\), \[ |\ell_k(x)|\le\prod_{j\neq k}\frac{|x-j|}{|k-j|}. \] Each factor is at most \(2\), and a cruder but sufficient bound uses \(|\ell_k(x)|\le 2^{2n}/(2n+1)\) after comparing with the binomial expansion of \((1+1)^{2n}\) via \(\prod |k-j|=(k+n)!(n-k)!\) and \(|x-j|\le 2n\). Then \(|P(x)|\le\sum|\ell_k|\le 2^{2n}\).
习题 23.23
(Bulgaria, 1988). The number of odd coefficients of \(P_n(x)=(x^2+x+1)^n\).
Work modulo \(2\). If \(n=\sum 2^{e_i}\) is the binary expansion (定义 17, 定理 13), then \[ (x^2+x+1)^n\equiv\prod_i(x^2+x+1)^{2^{e_i}}\equiv\prod_i\bigl(x^{2^{e_i+1}}+x^{2^{e_i}}+1\bigr)\pmod{2}. \] These factors have pairwise disjoint sets of exponents (no carry in base \(2\)), so the product has \(3^{s}\) odd coefficients, where \(s\) is the number of \(1\)-bits of \(n\).
习题 23.24
(All-Soviet, 1991). \(f(x)=2x^3-60x^2+ax\) takes three consecutive integer values (in that order) at three consecutive integers. Find those three values.
Let the integers be \(n-1,n,n+1\) with \(f(n+j)=m+j\) for \(j=-1,0,1\). Then \(f(x)-(x-n+m)\) vanishes at three points, so \[ f(x)-(x-n+m)=2(x-n+1)(x-n)(x-n-1) \] (leading coefficient \(2\)). Expanding the right-hand side and comparing \(x^2\)-coefficients with \(f(x)=2x^3-60x^2+ax\) gives \(-6n=-60\), hence \(n=10\). Then \(f(10)-f(9)=1\) forces \(a=599\), and the three values are \(f(9),f(10),f(11)=1989,1990,1991\).
习题 23.25
(Balkans, 1990). If \(f(x)=\sum_{k=0}^{2n}a_kx^k=\bigl(x+2x^2+\cdots+nx^n\bigr)^2\), prove \(\sum_{k=n+1}^{2n}a_k=n(n+1)(5n^2+5n+2)/24\).
\(a_k=\sum_{i+j=k,\,1\le i,j\le n}ij\). Thus \[ \sum_{k=n+1}^{2n}a_k=\sum_{\substack{1\le i,j\le n\\ i+j\ge n+1}}ij=\Bigl(\frac{n(n+1)}{2}\Bigr)^2-\sum_{i+j\le n}ij. \] The second sum is \(\sum_{i=1}^{n-1}i\cdot\dfrac{(n-i)(n-i+1)}{2}\). The substitution \(m=n-i\) produces a combination of the standard sums \(\sum m\), \(\sum m^2\), \(\sum m^3\) (定理 16), which simplifies to \[ \frac{n^2(n+1)^2}{4}-\frac{n(n+1)(n-1)n(n+1)}{24}=\frac{n(n+1)(5n^2+5n+2)}{24}. \]
习题 23.26
(APMO, 1993). \(g(x)=(x+r)f(x)\) with \(f\) of degree \(n\), \(a=\max|f\text{-coeffs}|\), \(c=\max|g\text{-coeffs}|\). Prove \(a/c\le n+1\).
Write \(f=\sum_{k=0}^n a_k x^k\) and \(g=\sum_{k=0}^{n+1} c_k x^k\), so \(c_0=ra_0\) and \(c_{k}=a_{k-1}+r a_k\).
If \(|r|\le1\), expand \(f=g/(x+r)\) at infinity: \(a_k=\sum_{j\ge0}(-r)^j c_{k+1+j}\) (finitely many terms). Hence \(|a_k|\le c\sum_{j=0}^{n-k}|r|^j\le c(n+1)\).
If \(|r|\ge1\), expand at \(0\): \(a_k=\sum_{j=0}^k c_j(-1)^{k-j}r^{j-k-1}\), so \(|a_k|\le c\sum_{m=0}^k |r|^{-m-1}\le c(k+1)\le c(n+1)\).
习题 23.27
(All-Russian, 1995). Monic positive-coefficient polynomials \(P,Q\) of positive degree: the sum of squares of the coefficients of \(PQ\) is at least \(P(0)^2+Q(0)^2\).
All coefficients are positive, so there is no cancellation. Let \(a_0=P(0)>0\), \(c_0=Q(0)>0\). The constant term of \(PQ\) is \(a_0c_0\), the leading term is \(1\), the coefficient of \(x^{\deg Q}\) is at least \(a_0\), and that of \(x^{\deg P}\) is at least \(c_0\). If \(\deg P\neq\deg Q\) these four degrees are distinct and \[ \|PQ\|_2^2\ge 1+a_0^2+c_0^2+(a_0c_0)^2\ge a_0^2+c_0^2. \] If \(\deg P=\deg Q\) the middle two coincide, giving coefficient \(\ge a_0+c_0\), and \[ \|PQ\|_2^2\ge 1+(a_0+c_0)^2+(a_0c_0)^2\ge a_0^2+c_0^2. \]