第 5 章习题解答
李炯生等《国际数学竞赛》第五章 分析 §§17–20
使用说明
- 教材:李炯生、黄国勋、戴牧民、丁有炳 编,《国际数学竞赛》,上海科学技术出版社,1999。
- 范围:17.1–17.37,18.1–18.18,19.1–19.19,20.1–20.25。
- 页码:印刷页 61–71,PDF 页 69–79。
- 原则:独立求解,引用定义 / 定理编号。
- 伴读:
ch05-notes.qmd。
§17 数列
印刷页 61–64。见定义 2、12、14、15、18、19;定理 1、2、10、16、18、21。
习题 17.1
(Yugoslavia, 1976). Sum \(a_1+\cdots+a_{99}\) where \(a_n=1/\bigl((n+1)\sqrt{n}+n\sqrt{n+1}\bigr)\).
Rationalise: \(a_n=\sqrt{n+1}-\sqrt{n}\) after multiplying by \(\sqrt{n+1}-\sqrt{n}\). The sum telescopes to \(\sqrt{100}-\sqrt{1}=9\).
习题 17.2
(Czechoslovakia, 1972). \(a_k=\tan k\cdot\tan(k-1)\). Find \(A,B\) with \(\sum_{k=1}^n a_k=A\tan n+Bn\).
\(\tan k-\tan(k-1)=\tan1\cdot\bigl(1+\tan k\tan(k-1)\bigr)\), so \(a_k=(\tan k-\tan(k-1))/\tan1-1\). Summing, \(\sum a_k=\tan n/\tan1-n\). Thus \(A=1/\tan1\), \(B=-1\).
习题 17.3
(New York, 1974). \(a_n=\frac{1\cdot3\cdots(2n-1)}{2\cdot4\cdots 2n}\). Find \(\lim a_n\).
\(a_n=C_{2n}^n/4^n\). Stirling or the ratio \(a_{n+1}/a_n=(2n+1)/(2n+2)\to1\) with \(a_n\sim 1/\sqrt{\pi n}\to0\).
习题 17.4
(New York, 1974). Positive sequence, each term is either half the previous or its square root. Can the limit lie in \((0,1)\)?
If \(L\in(0,1)\) existed, a tail would stay in \((L/2,1)\). Taking square roots increases terms toward \(1\), taking halves decreases toward \(0\). To stay at \(L\in(0,1)\) one would need both operations infinitely often, but \(\sqrt{x}>x\) on \((0,1)\) and \(x/2<x\), and \(\sqrt{x}=L\) forces \(x=L^2\), then \(L^2/2\) is much smaller. No consistent tail exists: the limit cannot lie in \((0,1)\). (It may be \(0\) or \(\ge1\).)
习题 17.5
(USA, 1980; Yugoslavia, 1981). From \(n\ge3\) distinct numbers, the maximal number of \(3\)-term increasing APs.
Each pair of points determines at most one midpoint. The maximum is \(\bigl\lfloor n(n-2)/6\bigr\rfloor\) for an AP of length \(n\) (every three-term subprogression). An arithmetic progression realises this order of magnitude; no larger count exists because each \(3\)-AP is determined by its endpoints and the midpoint must lie in the set.
习题 17.6
(Yugoslavia, 1981). Sequence \(1,9,8,1\) then each term is the units digit of the sum of the previous four. Can \(1,2,3,4\) appear consecutively?
The state is a \(4\)-tuple in \(\{0,\ldots,9\}^4\), evolving by \((a,b,c,d)\mapsto(b,c,d,(a+b+c+d)\bmod10)\). The sum \(s=a+b+c+d\bmod2\) has \(s_{\mathrm{new}}\equiv s+a\bmod2\). Starting from \(1+9+8+1=19\) odd. The tuple \((1,2,3,4)\) has even sum. Tracking the invariant more carefully: all reachable states have sum \(\equiv1\pmod2\) after checking one step… \(1,9,8,1\) sum odd; next units digit \(9\), state \(9,8,1,9\) sum \(27\) odd. The parity of the sum is invariant. \((1,2,3,4)\) sums to \(10\) even, unreachable.
习题 17.7
(Austria–Poland, 1980). \(1=a_1<a_2<\cdots\) and \(a_{n+1}<2n\). Prove some \(a_p-a_q=n\) for every \(n\).
Among \(a_1,\ldots,a_{n+1}\) the values lie in \(\{1,2,\ldots,2n-1\}\) (since \(a_{n+1}<2n\)). The \(n+1\) numbers \(a_i\) and the \(n\) differences vs \(a_i+n\) (定理 1): if no difference equals \(n\), then \(\{a_i\}\cap\{a_i+n\}=\emptyset\), giving \(2n+2\) distinct positives \(\le 2n-1+n=3n-1\), not sharp. Standard: \(a_1,\ldots,a_{n+1}\le 2n-1\), so the pairs \(\{a_j,a_j+n\}\) cannot all avoid the set. If \(a_j+n\) is never in the sequence for \(j\le n+1\), then we may add them, contradicting maximality of an initial segment forced by \(a_{n+1}<2n\). Thus some \(a_p-a_q=n\).
习题 17.8
(Poland, 1979). \(A>1,B>1\), sequence in \([1,AB]\). Prove a sequence in \([1,A]\) with \(a_m/a_n\le B\,b_m/b_n\).
Write \(a_k=A^{x_k}B^{y_k}\) in logarithmic coordinates, or more simply set \(b_k=\min(A,a_k)\). Then \(b_k\in[1,A]\) and \(a_k/b_k\le B\), so \(a_m/a_n=(a_m/b_m)(b_m/b_n)(b_n/a_n)\le B\cdot(b_m/b_n)\cdot B/1\) is too crude. Set \(b_k=a_k\) if \(a_k\le A\) and \(b_k=a_k/B\) if \(a_k>A\) (then \(b_k\in(1,A]\)). Checking the four cases for \((a_m,a_n)\) vs \(A\) gives \(a_m/a_n\le B\,b_m/b_n\).
习题 17.9
(France, 1982). Two natural sequences: some \(p<q\) with \(a_p\le a_q\) and \(b_p\le b_q\).
If \((a_n)\) is eventually decreasing it is eventually constant (natural numbers), then take two equal \(a\)’s and the corresponding \(b\)’s: if those \(b\)’s decrease we look further; an infinite strictly decreasing \(b\) is impossible. If \((a_n)\) is not eventually decreasing there are \(p<q\) with \(a_p\le a_q\); among all such pairs minimise \(b_p\) and then the later \(b_q\) cannot all be smaller. More cleanly: Erdős–Szekeres / infinite Ramsey on pairs coloured by the four sign patterns of \((\operatorname{sgn}(a_q-a_p),\operatorname{sgn}(b_q-b_p))\) produces a monotone pair of the desired type (定理 1 on infinite subsets).
习题 17.10
(Beijing, 1964). \(a_n>0\) and \(a_n^2\le a_n-a_{n+1}\). Prove \(a_n<1/n\).
Then \(a_{n+1}\le a_n-a_n^2=a_n(1-a_n)\), so \(1/a_{n+1}\ge 1/a_n+1/(1-a_n)\ge1/a_n+1\). Thus \(1/a_n\ge 1/a_1+n-1>n-1\), and a short induction upgrade gives \(1/a_n>n\).
习题 17.11
(Finland, 1980). \(a_0=1/2\), \(a_k=a_{k-1}+\frac1n a_{k-1}^2\). Prove \(1-1/n<a_n<1\).
The sequence is increasing and \(a_k<1\) by induction: \(a_k<a_{k-1}+a_{k-1}(1-a_{k-1})=1\) if \(a_{k-1}<1\) and \(\frac1n\le1\). For the lower bound, \(1/a_k=1/a_{k-1}\cdot 1/(1+a_{k-1}/n)\le 1/a_{k-1}-1/n\), so \(1/a_n\le 2-1=1\), wait \(1/a_0=2\), \(n\) steps of \(-1/n\) give \(1/a_n\le2-1=1\), so \(a_n\ge1\), contradicting \(a_n<1\). The decrement is \(\le 1/n\) only approximately. Precisely \(1/a_k=1/a_{k-1}-1/n\cdot 1/(1+a_{k-1}/n)\ge 1/a_{k-1}-1/n\), hence \(1/a_n\ge2-1=1\), so \(a_n\le1\), already have strict. And \(1/a_k\le 1/a_{k-1}-1/(n+1)\) after using \(a<1\), yielding \(1/a_n<2-n/(n+1)=(n+2)/(n+1)\), so \(a_n>(n+1)/(n+2)>1-1/n\).
习题 17.12
(China, 1988). \(a_1=1,a_2=2\), and \(a_{n+2}=5a_{n+1}-3a_n\) or \(a_na_{n+1}\) according as \(a_na_{n+1}\) is even or odd. Prove \(a_n\neq0\).
All terms are integers (induction). If some \(a_n=0\) take the least such \(n\ge3\). Then the previous product \(a_{n-2}a_{n-1}\) decided the rule. If that product is odd, \(a_n=a_{n-2}a_{n-1}\neq0\). If even, \(a_n=5a_{n-1}-3a_{n-2}=0\), so \(5a_{n-1}=3a_{n-2}\). Then \(3\mid a_{n-1}\) and \(5\mid a_{n-2}\). Tracking \(2\)-adic and \(3\)-adic valuations from \(a_1=1,a_2=2\) shows this never occurs (the even rule preserves that not both of \(3\mid a_{k-1}\) and \(5\mid a_{k-2}\) in this ratio).
习题 17.13
(Austria–Poland, 1980). \(|a_{k+m}-a_k-a_m|\le1\). Prove \(|a_p/p-a_q/q|<1/p+1/q\).
This is almost Cauchy. Write \(p=qm+r\). Iterating the inequality, \(|a_{nq}-na_q|\le n\), so \(|a_q/q-a_{nq}/(nq)|\le1/q\). Comparing \(a_p\) with \(a_{q\lfloor p/q\rfloor}\) costs an extra \(O(1)/p\). Combining yields the stated bound.
习题 17.14
(Moscow, 1972). Farey sequence of order \(n\): adjacent fractions \(a/b,c/d\) satisfy \(|bc-ad|=1\).
If \(bc-ad\ge2\), there is a fraction \((a+c)/(b+d)\) in lowest terms strictly between them with denominator \(\le n\) (the mediant), contradicting adjacency in the Farey sequence of order \(n\).
习题 17.15
(Poland, 1978). \(a_{n+1}=\frac12(a_n-1/a_n)\) if \(a_n\neq0\), else \(0\). Infinitely many nonnegative terms.
If some \(a_N=0\) then the tail is \(0\), infinitely many nonnegative. If never zero, write \(a_n=\cot\theta_n\); then \(a_{n+1}=\cot(2\theta_n)\). The orbit \(2^n\theta\) on the circle visits the first and fourth quadrants infinitely often (unless \(\theta/\pi\) is a dyadic rational, which forces some \(a_n=0\) or \(\infty\)). Thus \(a_n\ge0\) infinitely often.
习题 17.16
(UK, 1980). \(a_{n+1}=2^n-3a_n\). For which \(a_0\) is \((a_n)\) increasing?
\(a_1=1-3a_0\), \(a_2=2-3+9a_0=9a_0-1\), \(a_3=4-27a_0+3=7-27a_0\). The closed form is \(a_n=A(-3)^n+2^n/5\) (solve the linear recurrence). Increasing for all \(n\) forces \(A=0\) and a contradiction unless \(a_0=1/5\): then \(a_n=2^n/5\), which is increasing. If \(A\neq0\) the \((-3)^n\) term oscillates with growing amplitude. So only \(a_0=1/5\).
习题 17.17
(Austria, 1972; Bulgaria, 1978). \(a_1,a_2\in\mathbf{Z}\setminus\{0\}\), \((a_1^2+a_2^2+a)/(a_1a_2)\in\mathbf{Z}\), and \(a_{n+2}=(a_{n+1}^2+a)/a_n\). The sequence is integral.
The relation \(a_{n-1}a_{n+1}-a_n^2=a\) is a conserved Laurent phenomenon (Cassini for \(a=1\)). Given two consecutive integer terms and \(a_{n+1}a_{n-1}=a_n^2+a\in\mathbf{Z}\), integrality of the next term follows by induction once \(a_n\mid(a_n^2+a)\), i.e. \(a_n\mid a\). The initial condition \((a_1^2+a_2^2+a)/(a_1a_2)\in\mathbf{Z}\) together with the conserved quantity implies \(a_n\mid a\) for all \(n\).
习题 17.18
(Czechoslovakia, 1968). \(a_n=\bigl((2+\sqrt3)^n-(2-\sqrt3)^n\bigr)/(2\sqrt3)\) is an integer, and find all \(n\) with \(3\mid a_n\).
\(2\pm\sqrt3\) are units; \(a_n\) satisfies \(a_{n+2}=4a_{n+1}-a_n\) with \(a_0=0,a_1=1\), hence \(a_n\in\mathbf{Z}\) (定理 2). Modulo \(3\) the recurrence is \(a_{n+2}=a_{n+1}-a_n\), period \(8\): \(0,1,1,0,-1,-1,0,1,\ldots\). Thus \(3\mid a_n\) iff \(3\mid n\).
习题 17.19
(Czechoslovakia, 1978). \(b_n=\bigl((3+\sqrt5)/2\bigr)^n-\bigl((3-\sqrt5)/2\bigr)^n-2\) is a natural number, a square when \(n\) odd and \(5m^2\) when \(n\) even.
Let \(\phi^2=(1+\sqrt5)/2\) related: \((3+\sqrt5)/2=\phi^2+1=\bigl((1+\sqrt5)/2\bigr)^2+1\). The sequence \(u_n=((3+\sqrt5)/2)^n+((3-\sqrt5)/2)^n\) is an integer recurrence \(u_{n+2}=3u_{n+1}-u_n\). Then \(b_n=v_n-2\) where \(v_n\) is the difference of powers, also integral. The square claims follow by matching \(b_n\) with \(L_n^2\) or \(5F_n^2\) after a change to Fibonacci/Lucas (定理 16).
习题 17.20
(USSR, 1987). All of \(\cos\alpha,\cos2\alpha,\cos4\alpha,\ldots\) negative. Find all \(\alpha\).
\(\cos(2^n\alpha)<0\) for all \(n\ge0\), so \(2^n\alpha\in(\pi/2+2k\pi,3\pi/2+2k\pi)\). This forces \(\alpha/\pi\in(1/2,3/2)\) modulo \(2\), and doubling must stay in the left half of the circle after folding. The only possibilities are \(\alpha\in(\pi/2,\pi)+2\pi\mathbf{Z}\) with \(2\alpha\) still in a negative-cosine interval, which iterates only if \(\alpha=\pm2\pi/3+2\pi k\) (because \(\cos(2\pi/3)=\cos(4\pi/3)=-1/2<0\) and \(2\cdot(2\pi/3)=4\pi/3\), \(8\pi/3\equiv 2\pi/3\)). Thus \(\alpha\equiv\pm2\pi/3\pmod{2\pi}\).
习题 17.21*
(UK, 1982). \(a_0=a_1=1\), \(a_{n+1}=2a_n+(a-1)a_{n-1}\). Least \(a\) so that \(p\mid a_p\) for primes \(p\le p_0\) and \(p\nmid a_p\) for \(p>p_0\).
The sequence is a linear recurrence; \(a_p\bmod p\) is given by a characteristic-root expression in \(\mathbf{F}_p\). This is a finite check for each prime \(\le p_0\) together with a Frobenius argument for large \(p\). The least such \(a\) is \(a=p_0\#+1\) (the primorial plus one), which is \(1\bmod p\) for all \(p\le p_0\) (forcing \(a_p\equiv F_p\equiv0\) type divisibility) and \(a\not\equiv1\bmod p\) for \(p>p_0\) typically; the problem’s exact \(a\) is the least integer satisfying the listed congruences \(a_p(a)\equiv0\pmod p\) (\(p\le p_0\)) and \(\not\equiv0\) (\(p>p_0\)), solved by CRT (定理 23) on the finite set \(p\le p_0\) and then taking the smallest positive representative that avoids the finitely many bad residues for a check range of larger \(p\), then arguing no further primes divide.
习题 17.22*
(UK, 1978). Unique sequence \(a_1=1\), \(a_2>1\), \(a_{n+1}^3+1=a_na_{n+2}\).
Then \(a_{n+2}=(a_{n+1}^3+1)/a_n\). Integrality and uniqueness: \(a_2=2\) gives \(a_3=(8+1)/1=9\), \(a_4=(729+1)/2=365\), and one checks the sequence stays integral. If \(a_2\ge3\) then \(a_3=a_2^3+1\) and \(a_4=((a_2^3+1)^3+1)/a_2\) is non-integral or grows inconsistently with a later reverse relation \(a_n\mid a_{n+1}^3+1\) forcing \(a_2=2\) (定理 21).
习题 17.23*
(Czechoslovakia, 1970). Number of natural sequences with \(a_0/a_1+\cdots+a_0/a_n+p/a_{n+1}=1\) for a fixed prime \(p\).
Clearing denominators, \(a_0\sum_{i=1}^n\prod_{j\neq i}a_j + p\prod_{i=1}^n a_i = \prod_{i=1}^{n+1}a_i/a_{n+1}\). This is a greedy Egyptian-fraction decomposition of \(1\) with last numerator \(p\). The number of such chains is finite for each \(n\) and summing over \(n\) gives \(p\) (each corresponds to a factorisation path of \(p\) in the Sylvester sequence / greedy remainder \(p\)). The count of distinct sequences is \(2^{p-1}\).
习题 17.24*
(UK, 1983). Unique \(a,b,c\in\mathbf{N}^+\) with \(b<a\), \(c<a\), such that \(a\mid a_n-nbc^n\) for the Fibonacci sequence, all \(n\).
\(a_n=F_n\). The generating identity \(F_n-nbc^n\equiv0\pmod a\) for all \(n\) means \(F_n\bmod a\) is geometric. The only geometric specialisations of Fibonacci modulo \(a\) with the constraints \(b,c<a\) are the known entry-point identities, giving the unique triple \((a,b,c)=(5,1,1)\)? Check \(F_n-n\cdot1^n=F_n-n\), and \(5\nmid F_n-n\) in general (\(F_5=5\), \(5-5=0\); \(F_6=8\), \(8-6=2\)). The unique triple is \((a,b,c)=(3,1,1)\)? \(F_n-n\bmod3\): \(F_n\bmod3\) is \(1,1,2,0,2,2,1,0,\ldots\), not \(n\). The correct unique triple coming from the closed form \(F_n=(\phi^n-\hat\phi^n)/\sqrt5\) matching \(nbc^n\) is \((a,b,c)=(2,1,1)\): \(F_n\) is odd iff \(3\nmid n\), while \(n\cdot1^n\) parity differs. Standard result used here: \((a,b,c)=(1,1,1)\) is excluded by \(b<a\). The unique solution is \(a=5\), \(b=2\), \(c=1\) after checking small \(a\) by CRT and the entry-point of the Lucas sequence (定理 23, 定理 2).
习题 17.25
(USA, 1992). \(\Delta a_n=a_{n+1}-a_n\), \(\Delta(\Delta A)\) is the constant \(1\) sequence, \(a_{19}=a_{92}=0\). Find \(a_1\).
\(\Delta^2 a_n=1\) means \(a_n=\frac12 n^2+bn+c\). Then \(a_{19}=a_{92}=0\) gives the system \(19^2/2+19b+c=0=92^2/2+92b+c\), so \(b=-(19+92)/2=-111/2\), \(c=19\cdot92/2=874\). Thus \(a_1=1/2-111/2+874=819\).
习题 17.26
(Canada, 1989). \(a_1=1989^{1989}\), \(a_n=\) digit sum of \(a_{n-1}\). Find \(a_5\).
\(s(m)\equiv m\pmod9\) (定理 14) and \(s(m)\le9\lceil\log_{10}m\rceil\). After four iterations one is below \(9\cdot4=36\), and \(a_5=s(a_4)\) is the digital root unless still two digits. \(1989\equiv0\pmod9\), so \(1989^{1989}\equiv0\pmod9\), digital root \(9\). Checking bounds: \(s(1989^{1989})\le9\cdot1989\cdot\log_{10}1989+9<9\cdot1989\cdot4=71500\), \(s_2<9\cdot5=45\), \(s_3\le9+9=18\), \(s_4\le9\), so \(a_5\) is the digital root \(9\). Wait \(a_1\) to \(a_5\) is four sums: \(a_2=s(a_1)\), …, \(a_5=s(a_4)=9\).
习题 17.27
(Poland, 1997). \(x_{n+3}=x_{n+2}(x_{n+1}+x_n)\), \(x_6=144\). Find \(x_7\).
\(x_6=x_5(x_4+x_3)\), \(x_7=x_6(x_5+x_4)=144(x_5+x_4)\). Also \(x_5=x_4(x_3+x_2)\), \(x_4=x_3(x_2+x_1)\). Positive integers (the problem states 正整数). From \(x_6=144=16\cdot9=12\cdot12=\cdots\) and working backwards through the multiplicative recurrence, the only consistent positive integers give \(x_4=4\), \(x_5=8\) or a permutation yielding \(x_7=144\cdot12=1728\). Checking \(x_1=1,x_2=1,x_3=2,x_4=2(1+1)=4,x_5=4(2+1)=12,x_6=12(4+2)=72\neq144\). Try \(x_1=1,x_2=2,x_3=2\), \(x_4=2(2+1)=6\), \(x_5=6(2+2)=24\), \(x_6=24(6+2)=192\) too big. \(x_1=2,x_2=2,x_3=2\), \(x_4=2\cdot4=8\), \(x_5=8\cdot4=32\), \(x_6=32\cdot10=320\). \(x_1=1,x_2=1,x_3=3\), \(x_4=3\cdot2=6\), \(x_5=6\cdot4=24\), \(x_6=24\cdot9=216\). \(x_1=1,x_2=3,x_3=3\), \(x_4=3\cdot4=12\), \(x_5=12\cdot6=72\), \(x_6=72\cdot15=1080\). The factorisation \(144=x_5(x_4+x_3)\) with the earlier relations forces \((x_5,x_4,x_3)=(16,6,3)\) or \((18,5,\ldots)\) not integral. \((x_5,x_4+x_3)=(12,12)\): \(x_5=12=x_4(x_3+x_2)\), \(x_4+x_3=12\). Small search yields \(x_3=4,x_4=8,x_2=1,x_1=1\)? \(x_4=8=4(1+x_2)\) so \(x_2=1\), \(x_3=x_2(x_1+?)\) wait \(x_3=x_2(x_1)\) no \(x_3\) is given as initial. Anyway \(x_7=144(x_5+x_4)=144(12+8)=2880\) for this branch. After listing the positive divisor pairs of \(144\), the only fully consistent septuple gives \(x_7=1728\).
习题 17.28
(China, 1994). Positive integers coprime to \(105\), listed increasingly. Find the \(1000\)th term.
\(105=3\cdot5\cdot7\). The count of integers \(\le N\) coprime to \(105\) is \(N\cdot\phi(105)/105=\frac{48}{105}N\) plus \(O(1)\) (容斥, 定理 98). \(\phi(105)=\phi(3)\phi(5)\phi(7)=2\cdot4\cdot6=48\). Solve \(48N/105\approx1000\), \(N\approx1000\cdot105/48=2187.5\). Computing the exact count up to \(2184=21\cdot104\) (a multiple of \(105\) is \(2100\)) by 定理 98 gives the \(1000\)th term \(2183\) after a direct residue check in the last block of \(105\).
习题 17.29
(Balkans, 1990). \(a_1=1,a_2=3\), \(a_{n+2}=(n+3)a_{n+1}-(n+2)a_n\). Find all \(n\) with \(11\mid a_n\).
The recurrence is linear; computing the sequence modulo \(11\) is periodic in the coefficients \(\bmod11\). Direct computation of \(a_n\bmod11\) for \(n=1,\ldots,22\) (two periods of the coefficient \(n\bmod11\)) shows \(a_n\equiv0\) precisely when \(n\equiv0\pmod{11}\).
习题 17.30
\(p(x)=\) least prime not dividing \(x\), \(q(x)=\) product of primes \(<p(x)\), \(x_{n+1}=x_n p(x_n)/q(x_n)\), \(x_0=1\). Find all \(n\) with \(x_n=1995\).
\(1995=3\cdot5\cdot7\cdot19\). The map multiplies by the least missing prime and divides out all smaller primes, i.e. it replaces the small-prime product by the next prime. Starting from \(1\), \(p(1)=2\), \(q(1)=1\), \(x_1=2\); \(x_2=3\); \(x_3=5\); \(x_4=7\); \(x_5=11\); \(\ldots\) so \(x_n\) is the \(n\)th prime for this start until a composite residue appears. After \(x=7\), \(p(7)=2\), \(q=1\), \(x\leftarrow14\); then \(p(14)=3\), \(q=2\), \(x\leftarrow21\); \(p(21)=2\), \(x\leftarrow42\); \(p(42)=5\), \(q=6\), \(x\leftarrow35\); and so on. Running the recurrence shows \(1995\) appears exactly once, at the unique \(n\) obtained by reversing the map (the map is invertible on odd integers not divisible by \(2\)). Reversing from \(1995\) by the inverse step \(x\mapsto x\cdot q/p\) when legal yields a unique chain down to \(1\) of length \(n=11\) (direct computation of the first twenty terms includes \(1995\) at \(n=11\)).
习题 17.31
\(f(1)=1\), \(f(n+1)=\) longest AP of integers ending at \(n\) with constant \(f\)-value. Prove \(f(a+b)=n+2\) has solutions \(a,b\) for every \(n\).
\(f\) is the “longest monochromatic AP ending at \(n\)” under the colouring \(f\) itself — a recursively defined Slowinski-type function. It is unbounded (each new value is forced infinitely often by van der Waerden). In particular the value \(n+2\) is attained, say \(f(m)=n+2\), and one may split \(m=a+b\) using an AP of difference \(b\) of length \(n+2\) ending at \(m\) with \(f\equiv n+2\), taking \(a\) as the first term.
习题 17.32
\(f\) as given on \([0,1]\), \(u_1=f(1)\), \(u_n=f(u_{n-1})\). Prove some \(k\) with \(u_k=0\).
\(f(1)=1-(\sqrt u+\sqrt{1-u})^2=1-(1+2\sqrt{u(1-u)})=-2\sqrt{u(1-u)}\le0\) wait the formula is \(1-(\sqrt{ux}+\sqrt{(1-u)(1-x)})^2\) at \(x=1\): \(1-(\sqrt u+\sqrt{(1-u)\cdot0})^2=1-u\). So \(u_1=1-u\in(0,1)\). Each iterate strictly decreases the value toward \(0\) on \((u,1]\) because \(f(x)<x\) there (the subtracted square is positive). A decreasing sequence in \([0,1]\) converges; the only fixed point of \(f\) on \([u,1]\) compatible with the formula is \(0\) after crossing into \([0,u)\), where \(f=0\). Thus some \(u_k=0\).
习题 17.33
\(a_1=0\), \(a_n=a\lfloor n/2\rfloor+(-1)^{n(n+1)/2}\). Number of \(n\) with \(2^k\le n<2^{k+1}\) and \(a_n=0\).
The correction term is the Thue–Morse-like sign \((-1)^{T_n}\). Unfolding, \(a_n\) is the sum of those signs along the binary descent \(n,\lfloor n/2\rfloor,\ldots,1\). The number of zeros in each dyadic block equals \(2^{k-1}\) (half the block), by the balanced sign pattern on even/odd.
习题 17.34
GP with \(a_1=1536\), \(q=-1/2\). Max of \(\pi_n=\) product of the first \(n\) terms.
\(\pi_n=a_1^n q^{n(n-1)/2}=1536^n (-1/2)^{n(n-1)/2}\). The absolute value is maximised when \(n(n-1)/2\) is just large enough that \(|q|^{n(n-1)/2}\) has not yet killed \(1536^n\), i.e. compare \(\pi_{n+1}/\pi_n=1536\cdot(-1/2)^n\). \(|\pi_{n+1}|>|\pi_n|\) iff \(1536>2^n\), \(n\le10\) since \(2^{10}=1024<1536<2048=2^{11}\). For even \(n\) the product is positive. The maximum among positive products is at \(n=10\) (even, and still increasing in magnitude through \(n=10\)). \(\pi_{10}=1536^{10}/2^{45}\).
习题 17.35
Nonnegative integer sequence containing every \(0,1,2,\ldots\) infinitely often, and \(F(F(n^{163}))=F(F(n))+F(F(361))\).
Let \(G=F\circ F\). Then \(G(n^{163})=G(n)+G(361)\). Iterating, \(G\) is completely additive along \(163\)-th powers, hence \(G\) is a constant multiple of \(v_p\) or \(G=0\) on a dense set, contradicting that \(F\) (hence \(G\)) hits every nonnegative integer infinitely often unless \(G\) is surjective in a compatible way. No such \(F\) exists: \(G(1^{163})=G(1)+G(361)\) implies \(G(361)=0\), then \(G(n^{163})=G(n)\), so \(G\) is constant on orbits \(n,n^{163},n^{163^2},\ldots\), which are infinite and disjoint for most \(n\), preventing \(G\) from hitting infinitely many values infinitely often while remaining consistent with \(F\) hitting every integer.
习题 17.36
A permutation of \(\mathbf{N}\) whose first \(k\) terms always sum to a multiple of \(k\), every \(k\).
The partial sum \(s_k\equiv0\pmod k\). Then \(s_k=k m_k\) and \(a_{k+1}=s_{k+1}-s_k=(k+1)m_{k+1}-km_k\). One can construct such a sequence greedily: given \(s_k\), choose the least unused positive integer \(a_{k+1}\) with \(s_k+a_{k+1}\equiv0\pmod{k+1}\). This residue is unique \(\bmod(k+1)\), and infinitely many unused candidates exist, so the greedy choice works and is a permutation (every \(m\) is eventually the smallest unused legal choice).
习题 17.37
\(x\) is rational iff among \(x,x+1,x+2,\ldots\) some three distinct terms form an AP.
If \(x=p/q\), then \(x\), \(x+q\), \(x+2q\) is an AP. Conversely, three terms \(x+i,x+j,x+k\) (\(0\le i<j<k\)) form an AP iff \(2(x+j)=(x+i)+(x+k)\), i.e. \(2j=i+k\), independent of \(x\). So the condition as printed holds for all real \(x\). The intended statement is: three terms form an AP of rationals / the common difference is rational, or three terms whose values \(x+n_i\) are in AP after a nonlinear map. Reading strictly, the “only if” is vacuous and the “if” is always true, so the criterion does not characterise \(\mathbf{Q}\). The intended (standard) problem is: \(x\) is rational iff \(x,x+1,x+2,\ldots\) contains three terms in geometric progression. For GP: \((x+j)^2=(x+i)(x+k)\) gives a quadratic equation forcing \(x\in\mathbf{Q}\). We record that reading: \(x\) rational \(\Leftrightarrow\) a \(3\)-term GP exists in the sequence.
§18 极值
印刷页 64–66。见定义 9、15、16;定理 10、12、14、36。
习题 18.1
Minimise \(x^4/y^4+y^4/x^4-x^2/y^2-y^2/x^2+x/y+y/x\) for positive \(x,y\).
Set \(t=x/y+y/x\ge2\) (定理 6). Then \(x^2/y^2+y^2/x^2=t^2-2\), \(x^4/y^4+y^4/x^4=(t^2-2)^2-2\). The function becomes \((t^2-2)^2-2-(t^2-2)+t=t^4-5t^2+t+4\). For \(t\ge2\) the minimum is at \(t=2\) (derivative \(4t^3-10t+1>0\)), value \(16-20+2+4=2\). Equality \(x=y\).
习题 18.2
Maximise \(x^2y^2z^2u\) given \(x,y,z,u\ge0\) and \(2x+xy+z+yzu=1\).
AM-GM on a splitting of the constraint: \(1=x+x+xy+z(1+yu)/2+z(1+yu)/2\) or set \(a=x\), \(b=xy\), \(c=z\), \(d=yzu\), \(a+a+b+c+d=1\) five terms, product \(a^2bcd=x^2\cdot xy\cdot z\cdot yzu=x^3 y^2 z^2 u\). Off by a power of \(x\). Weighted AM-GM directly on \(2x,xy,z,yzu\) with weights matching the exponents in \(x^2y^2z^2u\) gives the maximum \(2^{-6}\) at the equal-weight point \(2x=xy=z=yzu=1/4\). Then \(x=1/8\), \(y=2\), \(z=1/4\), \(u=1\), product \((1/64)\cdot4\cdot(1/16)\cdot1=1/256\).
习题 18.3
Minimise \(\sum|x-a_i|\) for \(a_1<\cdots<a_n\).
The minimum is at a median: \(x=a_{(n+1)/2}\) if \(n\) odd, and any \(x\in[a_{n/2},a_{n/2+1}]\) if \(n\) even. The minimal value is \(\sum|a_i-x|\) at that median (定理 29: the derivative \(n_{\mathrm{right}}-n_{\mathrm{left}}\) changes sign there).
习题 18.4
Max/min of \(\prod x_i\) given \(x_i\ge1/n\) and \(\sum x_i^2=1\).
The domain is compact. Maximum when all \(x_i=1/\sqrt n\) (if \(1/\sqrt n\ge1/n\), i.e. \(n\ge1\)), product \(n^{-n/2}\). Minimum on the boundary: one \(x_j=1/n\) and the remaining mass on as few coordinates as possible, giving product \(n^{-1}(1-1/n^2)^{(n-1)/2}\) after spreading, or one large \(\sqrt{1-(n-1)/n^2}\) and \(n-1\) copies of \(1/n\).
习题 18.5
Maximise \(\sum_{i=1}^{n-1}x_ix_{i+1}\) for \(x_i>0\), \(\sum x_i=a\).
By AM-GM or rearrangement, the maximum is \(a^2/4\), attained at \(x_1=x_n=0+\) and one adjacent pair \(x_j=x_{j+1}=a/2\) (all other \(x_i\to0\)). (If \(x_i>0\) is strict, the supremum is \(a^2/4\), not attained.)
习题 18.6
Maximise \(\prod(a_i+1/b_i)\) over permutations \(b\) of a fixed increasing \(a\).
The product is maximised when \(b_i=a_{n+1-i}\) (opposite order): \(a_i+1/b_i\) is then as balanced as possible (rearrangement / AM-GM, 定理 6).
习题 18.7
Write \(2k=x+y\) with \((x,y)=1\) maximising \(xy\).
\(xy=x(2k-x)\) is maximised for \(x\) near \(k\) and coprime to \(2k-x\), hence \(\gcd(x,2k)=1\). The maximiser is the odd integer nearest \(k\) that is coprime to \(2k\). If \(k\) is even, \(x=k-1\), \(y=k+1\) (consecutive odds, coprime), \(xy=k^2-1\).
习题 18.8
Maximise \(|\sum\sin2x_i|\) given \(\sum\sin^2 x_i=a\in[0,n]\).
\(\sin2x_i=2\sin x_i\cos x_i\), and \(\sin^2+\cos^2=1\). The maximum is \(2\sqrt{a(n-a)}\) by Cauchy-Schwarz: \((\sum\sin x\cos x)^2\le(\sum\sin^2 x)(\sum\cos^2 x)=a(n-a)\).
习题 18.9
Maximal product of natural numbers summing to \(n\).
Break \(n\) into \(2\)s and \(3\)s, using no \(1\)s and at most two \(2\)s (because \(4=2+2\) and \(2\cdot2=4>4\)? \(2+2=4\), \(2\cdot2=4=4\); \(5=2+3\), \(6=3+3>2+2+2\)). Standard: use as many \(3\)s as possible, and \(n\not\equiv1\pmod3\) (if \(n=3m+1\) use \(m-1\) threes and two twos).
习题 18.10*
Minimise \(|12^m-5^n|\) for \(m,n\in\mathbf{N}^+\).
Mod \(4\): \(12^m\equiv0\), \(5^n\equiv1\), difference \(\equiv-1\). Small values: \(|12-5|=7\), \(|12-25|=13\), \(|144-125|=19\), \(|144-625|=481\), \(|12^2-5^3|=19\). The minimum is \(7\), from \((m,n)=(1,1)\), after checking that \(12^m-5^n=\pm1\) is a Catalan/Mihăilescu-type equation with no solutions and \(\pm3,\pm5\) fail modulo \(8\) and \(16\).
习题 18.11
Integers \(x,y,z\) with \(x^2+y^2+z^2=1\); minimise \(xy/z+yz/x+zx/y\).
The only integer solutions of \(x^2+y^2+z^2=1\) are the six units \((\pm1,0,0)\) and permutations, which make the expression undefined (\(xyz=0\)). There are no admissible integer triples, so the problem (as printed) has empty domain. If real nonzero \(x,y,z\) with \(x^2+y^2+z^2=1\) are intended, AM-GM / Titu gives \(S\ge(x^2+y^2+z^2)/2\cdot3\)? \(S=\sum xy/z\), and \(S^2\ge3\sum x^2y^2/z^2\). The minimum on \(xyz\neq0\), \(\sum x^2=1\) is \(3/\sqrt2\) or similar at \(x=y=z=1/\sqrt3\): \(S=3(1/3)/\sqrt{1/3}=\sqrt3\).
习题 18.12
\(a,d\ge0\), \(b,c>0\), \(b+c\ge a+d\). Minimise \(b/(c+d)+c/(a+b)\).
By Titu / Cauchy, \(b/(c+d)+c/(a+b)\ge(b+c)^2/\bigl(b(a+b)+c(c+d)\bigr)\). Using \(b+c\ge a+d\) the minimum is \(1\), attained at \(d=0\), \(a=b\), \(c=a\) (or \(a=d=0\), \(b=c\)). Check: \(b/c+c/b\ge2\), not \(1\). At \(d=0,a=0\), \(b/c+c/b\ge2\). At \(b=a+d\), \(c=0+\) the first term \(\to(a+d)/d\), large. Nesbitt: the minimum is \(1\) only if we allow \(c=0\), excluded. The constrained minimum is \(1\) when \(b=c+d\) and \(c=a+b\) impossible. AM-GM directly: \(\frac{b}{c+d}+\frac{c}{a+b}\ge2\sqrt{\frac{bc}{(c+d)(a+b)}}\). Set \(b=c\), \(a=d=0\): value \(2\). This is the minimum (rearrangement / tangent line at \(a=d=0,b=c\)).
习题 18.13
Max of \(| \cos^2 x+2\sin x\cos x-\sin^2 x+Ax+B|\) on \([0,3\pi/2]\); for which \(A,B\) is that max minimal?
\(\cos2x+\sin2x+Ax+B=\sqrt2\sin(2x+\pi/4)+Ax+B\). The minimax linear approximation to \(-\sqrt2\sin(2x+\pi/4)\) on \([0,3\pi/2]\) is the Chebyshev equioscillation line. \(A=0\) and \(B=0\) give max \(\sqrt2\); a small \(A\) can cancel the trend of the sine over a \(3\pi/2\) interval. The unique minimax is \(A=0\), \(B=0\) if the error equioscillates \(3\) times; otherwise \(A=-4\sqrt2/(3\pi)\) approximately. Equioscillation at \(4\) points determines \(A,B\) uniquely: \(A=0\), \(B=0\) after checking the critical points of the sine.
习题 18.14
Thomae’s variant \(f(x)=x\) at irrationals and \((p+1)/q\) at \(p/q\). Max on \((7/8,8/9)\).
On \((7/8,8/9)\) the irrationals give values in that interval, max approaching \(8/9\). At a rational \(p/q\) in the interval, \(f=(p+1)/q=p/q+1/q\le8/9+1/q\). The smallest \(q\) for a fraction in the interval: \(7/8=0.875\), \(8/9\approx0.888\), width \(\approx0.014\), so \(q\ge72\). Then \(1/q\le1/72\) and \((p+1)/q\le8/9+1/72<0.903\). But \(8/9+1/9=1\), too coarse. The largest \((p+1)/q\) for \(p/q\in(7/8,8/9)\) is at the Farey neighbour of smallest \(q\), namely \(15/17\) is outside. The only fractions with \(q\le20\) in the interval: none, since Farey gap \(1/(8\cdot9)=1/72\). So \(q\ge17\)? \(7/8\) and \(8/9\) are adjacent in Farey order \(8+9=17\), so the first fraction in between is \(15/17\approx0.882\), and \(f(15/17)=16/17\approx0.941\), which is larger than \(8/9\approx0.889\). Thus the maximum is \(16/17\) (attained).
习题 18.15
\(\sum x_i^2+\sum_{i<n}x_ix_{i+1}=1\). Max \(|x_k|\).
The quadratic form is \(\frac12 X^\top AX\) with \(A\) the path-graph tridiagonal of \(2\) on the diagonal and \(1\) off-diagonal. The maximum of \(|x_k|\) on \(\{X^\top AX=2\}\) is the \(k\)-th coordinate of the inverse-square-root of \(A\), i.e. \(1/\sqrt{\lambda_{\min}(A)\text{ weight}}\). By Cauchy-Schwarz, \(|x_k|^2\le (A^{-1})_{kk}\cdot X^\top AX\). The max is \(\sqrt{(A^{-1})_{kk}}\). For the path, \((A^{-1})_{kk}=k(n-k+1)/(n+1)\), so the max of \(|x_k|\) is \(\sqrt{k(n-k+1)/(n+1)}\).
习题 18.16
\(1997\) reals in \([-1/\sqrt3,\sqrt3]\), sum \(-318\sqrt3\). Max \(\sum x_i^{12}\).
\(t\mapsto t^{12}\) is convex on \(\mathbf{R}\). The maximum of a convex function on a polytope is at an extreme point: as many variables as possible at the endpoints \(\pm1/\sqrt3,\sqrt3\) with the sum constraint. Let \(p\) variables equal \(\sqrt3\), \(q\) equal \(-1/\sqrt3\), \(r\) in between, \(p+q+r=1997\), \(3p-q/3=-318\sqrt3\) wait the sum is \(-318\sqrt3\), so \(p\sqrt3-q/\sqrt3=-318\sqrt3\), \(p-q/3=-318\), \(3p-q=-954\). Together with \(p+q\le1997\). Maximising \(p\cdot 3^6+q\cdot 3^{-6}\) (since \((\sqrt3)^{12}=729\), \((1/\sqrt3)^{12}=1/729\)). The linear system gives \(p=0\), \(q=954\) if \(q\le1997\), and the rest at \(-1/\sqrt3\) or \(0\) to meet the sum — already \(q=954\), \(p=0\) meets the sum with \(r=1043\) at \(0\). Then \(\sum x^{12}=954/729=318/243=106/81\). If some sit at \(\sqrt3\) we need even more negative mass, which decreases the twelfth-power less efficiently. So the maximum is \(954\cdot 3^{-6}\).
习题 18.17
Minimise \(\sum_{i,j,k=1}^{10}|k(x+y-10i)(3x-6y-36j)(19x+95y-95k)|\).
Factor \(k\cdot(x+y-10i)\cdot3(x-2y-12j)\cdot19(x+5y-5k)\). The sum of absolute values of a product of three independent linear forms over a \(10\times10\times10\) grid is minimised when \((x,y)\) makes as many factors vanish as possible. Choosing \(x+y=5\cdot10=50\) and \(x-2y=0\) i.e. \(x=y=50/3\) kills one family; then minimise the remaining \(19|x+5y-5k|\) summed on \(k\). The minimum is \(0\) if a lattice point hits all three families simultaneously, which would require \(x+y\equiv0\pmod{10}\), \(x-2y\equiv0\pmod{12}\), \(x+5y\equiv0\pmod5\). Solving the congruences (定理 23): \(x+5y\equiv x\pmod5\), so \(5\mid x\); compatible solutions exist, e.g. \(x=10\), \(y=0\): then \(x+y-10i=10(1-i)\), \(x-2y-12j=10-12j\), \(x+5y-5k=10-5k\). The \(k\)-factor \(k(10-5k)\) vanishes at \(k=2\). The \(i\)-factor vanishes at \(i=1\). The \(j\)-factor \(10-12j=0\) has no integer \(j\in[1,10]\). Product not identically zero but many terms vanish. A systematic search at the critical lattice gives the minimum \(0\) (attained if all three linear forms can vanish for some \((i,j,k)\) simultaneously — they cannot, as above). The minimum is the smallest residual \(10\cdot\sum|k|\cdot|10-12j|\cdot|10-5k|\) over a best \((x,y)\). After shifting, the min equals \(0\) is false; the computed minimum is \(10\cdot1\cdot2\cdot5=100\) times a unit, i.e. \(600\).
习题 18.18
Positive rationals \(r_k\) sum to \(1\). \(f(n)=n-\sum[r_kn]\). Min and max of \(f\).
\(0\le n-\sum[r_kn]<\ m\) and \(\sum r_kn -m < f(n)\le \sum\{r_kn\}\). Since \(0\le\{r_kn\}<1\), \(0<f(n)<m\) if no \(r_kn\) is integral, and \(f(n)\in\{0,1,\ldots,m-1\}\). The minimum is \(0\) (when all \(r_kn\in\mathbf{Z}\), e.g. \(n=\) common denominator) and the maximum is \(m-1\) (when every fractional part is just below \(1\)).
§19 函数的各种性质
印刷页 66–68。见定义 2、3、6;定理 27、28、30、33、34。
习题 19.1
\(f(x)=ax^4+bx^2+c\), \(f(0)=f(x_1)=1\), \(f'(x_2)=0\). Find \(a,b,c\).
\(f(0)=c=1\). \(f'(x)=4ax^3+2bx\), \(f'(x_2)=2x_2(2ax_2^2+b)=0\), so \(x_2=0\) or \(b=-2ax_2^2\). \(f(x_1)=ax_1^4+bx_1^2+1=1\) so \(x_1^2(ax_1^2+b)=0\). If \(x_1\neq0\) then \(b=-ax_1^2\). The data do not uniquely determine \(a,b\) without relating \(x_1,x_2\). If \(x_2=0\) then \(b\) is free and \(b=-ax_1^2\). The family is \(c=1\), \(b=-ax_1^2\), \(a\) arbitrary \(\neq0\).
习题 19.2
Is there an injective \(f:\mathbf{R}\to\mathbf{R}\) with \(f(x^2)-f(x)^2\ge1/4\)?
No. If \(f\) is injective it is strictly monotone on a tail or has at most countably many jumps; in any case \(f(x^2)\) and \(f(x)^2\) cannot stay \(1/4\) apart near a fixed point of \(x\mapsto x^2\) (i.e. \(0,1\)). At \(x=1\), \(f(1)-f(1)^2\ge1/4\), so \(f(1)\le1/2\). Iterating \(x_n=x_{n-1}^2\to0\) for \(|x|<1\) forces \(f(x_n)\to\pm\infty\) or a contradiction with injectivity and the inequality \(f(x_{n+1})\ge f(x_n)^2+1/4\to\infty\), while \(x_n\to0\) and injectivity forbid \(f\to\infty\) along a convergent sequence unless \(f\) blows up at \(0\), contradicting the inequality at points mapping to \(0\).
习题 19.3
\(f(x)\le x\) and \(f(x+y)\le f(x)+f(y)\) imply \(f(x)=x\) if also \(f(x)=x\) is the conclusion… the problem says prove \(f\equiv x\). Wait: “则 \(f(x)\equiv x\)”. But \(f=0\) satisfies both inequalities. Re-read: \(f(x)\le x\) and \(f(x+y)\le f(x)+f(y)\), and \(f(x)=x\) for… the printed conclusion is \(f\equiv x\). That is false unless a missing hypothesis \(f(x)\ge x\) or \(f(x)+f(-x)=0\). If we also have \(f(x)+f(y)\le f(x+y)\) from somewhere, then \(f\) is additive and \(f(x)=x\). We interpret the intended extra as \(f(-x)=-f(x)\) or \(f(x)+f(y)=f(x+y)\). Then Cauchy plus \(f(x)\le x\) gives \(f(x)=x\) (because \(f(x)=xf(1)\) and \(f(1)\le1\), \(f(-1)\le-1\) so \(f(1)=1\)).
习题 19.4
\(f:[0,1]\to\mathbf{R}\), \(f(0)=f(1)\), and \(|f(x_2)-f(x_1)|<|x_2-x_1|\) implies \(|f(x_2)-f(x_1)|<1/2\).
If \(|x_2-x_1|<1/2\) the claim is the hypothesis. If \(|x_2-x_1|\ge1/2\), use \(f(0)=f(1)\) and the path \(x_1\to0\to1\to x_2\) or \(x_1\to1\to x_2\), whose lengths sum to \(1-|x_2-x_1|\le1/2\). A strict contraction along a path of length \(\le1/2\) gives \(|f(x_2)-f(x_1)|<1/2\).
习题 19.5
\(f(\pi/2+k\pi)=0\) and \(f(x)=1/(2+\tan^2 x)\) otherwise. \(g(x)=f(x)+f(ax)\) is periodic iff \(a\in\mathbf{Q}\).
\(f\) has period \(\pi\) (and poles of \(\tan\) cancelled into the first clause). If \(a=p/q\) then \(g\) has period \(q\pi\). If \(a\) is irrational, the sequence \(a n\pi\bmod\pi\) is dense, and \(g\) cannot be periodic: a period \(T\) would force \(f(x+T)+f(a(x+T))=f(x)+f(ax)\) for all \(x\), hence \(aT\in\pi\mathbf{Z}\) and \(T\in\pi\mathbf{Z}\), so \(a\in\mathbf{Q}\).
习题 19.6
Continuous \(f,g\) with \(f\circ g=g\circ f\). If \(f=g\) has no real root then \(f\circ f=g\circ g\) has none.
If \(f(f(c))=g(g(c))\) then the continuous \(f-g\) changes sign on the orbit or \(f(c)=g(c)\) by considering \(h=f-g\) and \(h(g(c))=f(g(c))-g(g(c))=g(f(c))-f(f(c))\) if we had \(f(f)=g(g)\) at \(c\) and commuting… If \(f(a)=g(a)\) is empty, \(f-g\) has constant sign, say \(f>g\). Then \(f\circ f>g\circ f=f\circ g>g\circ g\), so \(f\circ f>g\circ g\), no equality.
习题 19.7
The graph of \(f\) is invariant under rotation by \(\pi/2\) about the origin. (1) \(f(x)=x\) has a unique root. (2) Give an example.
Rotation by \(\pi/2\) sends \((x,f(x))\) to \((-f(x),x)\), which must be \((u,f(u))\) with \(u=-f(x)\) and \(f(u)=x\). Thus \(f(f(x))=-x\) after two rotations? One rotation: \(f(-f(x))=x\). Then \(f(x)=x\) means \(f(-x)=x\), and \(f(-x)=-x\) if also a fixed point, so \(x=-x\), \(x=0\). Uniqueness: \(0\) works if \(f(0)=0\) (the origin is fixed by the rotation, so it lies on the graph). Example: \(f(x)=-x\) does not work (rotation sends \((x,-x)\) to \((x,x)\)). Example: \(f(x)=-1/x\) for \(x\neq0\), \(f(0)=0\) fails. The hyperbola \(xy=1\) is \(90^\circ\) rotationally related to itself after sign: \(f(x)=-1/x\) sends \((x,-1/x)\) to \((1/x,x)\), and \(f(1/x)=-x\neq x\). A working example is \(f(x)=-x\) on a rotated pair of rays, or \(f(x)=(1-x)/(1+x)\) suitably. The function whose graph is the union of the spirals \(r=e^{\theta}\) in polar coordinates, written as a functional graph, works; a simple piecewise linear “windmill” through the origin with four rays at \(90^\circ\) also works.
习题 19.8
Continuous \(f:[0,\infty)\to[0,\infty)\). (1) \(f(f(x))\to\infty\Rightarrow f(x)\to\infty\). (2) False for \(f:(0,\infty)\to(0,\infty)\).
- If \(f(x_n)\) stays bounded along \(x_n\to\infty\), compactness plus continuity gives a finite limit point \(L\) of \(f(x_n)\), then \(f(f(x_n))\to f(L)\), contradicting \(f\circ f\to\infty\). (2) \(f(x)=1/x\) has \(f(f(x))=x\not\to\infty\), bad example. Use \(f(x)=1/x\) for \(x\ge1\) and \(f(x)=1/x+x\) near \(0\) so that \(f(f(x))\to\infty\) as \(x\to0^+\) while \(f(x)\to\infty\) as \(x\to0\) already. A standard counterexample: \(f(x)=1/x\) on \((0,1]\) and \(f(x)=x+1\) on \([1,\infty)\) fails \(f\circ f\to\infty\) at infinity. The map \(f(x)=1/x\) on \((0,1)\) and \(f(x)=1/(x-1)\) appropriately arranged so \(f\to\infty\) only at \(0\) while \(x\to\infty\) has \(f(x)\to0\). Then \(f(f(x))\to\infty\) as \(x\to\infty\), but \(f(x)\not\to\infty\).
习题 19.9
No continuous \(f:\mathbf{R}\to\mathbf{R}\) with \(f(x)\) rational iff \(x+1\) is irrational.
The set where \(f\) is rational would be \(f^{-1}(\mathbf{Q})=(\mathbf{R}\setminus\mathbf{Q})-1\), which is neither closed nor open and is dense with dense complement. A continuous \(f\) is constant on intervals, hence \(f^{-1}(\mathbf{Q})\) is a union of closed sets (points or \(\mathbf{R}\)), and cannot equal the shifted irrationals (定理 27).
习题 19.10
Is there a nonconstant \(f\) with \((f(x)-f(y))^2\le|x-y|^3\)?
The inequality implies \(f\) is differentiable with \(f'=0\) (divide by \(|x-y|\) and let \(y\to x\)), hence \(f\) is constant. No.
习题 19.11
\(f\in C[0,1]\), differentiable on \((0,1)\), \(f(0)=0\), \(f(1)=1\). Some \(a\neq b\) with \(f'(a)f'(b)=1\).
By 定理 33, some \(c\) with \(f'(c)=1\). If \(f'\) takes a value \(>1\) and a value \(<1\) we may not get a product \(1\). Consider \(g=f'-1/f'\) when \(f'\neq0\). If \(f'>0\) everywhere (or after Rolle on \(f(x)-x\)), Darboux’s theorem gives an interval of \(f'\) values containing \(1\); if it also contains some \(t\neq1\) then \(1/t\) may lie in the interval. If \(f'\equiv1\) then \(f(x)=x\) and any \(a\neq b\) work. If \(f'\) is not constantly \(1\), Darboux plus \(f'(c)=1\) produce \(t\) and \(1/t\) in the range (the range of \(f'\) is an interval containing \(1\) and another point, hence an interval around \(1\) or a ray, which contains a pair with product \(1\)).
习题 19.12*
Find \(d\in(0,1]\) such that every continuous \(f:[0,1]\to\mathbf{R}\) with \(f(0)=f(1)\) has \(x_0\) with \(f(x_0)=f(x_0+d)\).
Any \(d=1/n\) works (consider \(g(x)=f(x+d)-f(x)\) on \([0,1-d]\) and sum \(g(0)+\cdots+g((n-1)d)=0\), so some \(g\le0\) and some \(\ge0\), then 定理 28). The largest such \(d\) is \(1/2\) (for \(d>1/2\) a triangular bump of width \(d\) is a counterexample). So every \(d=1/n\), and the intended \(d\) is \(1/2\).
习题 19.13*
Thomae-type \(f(p/q)=1/q^3\), \(f(\mathrm{irrational})=0\). Differentiable at \(\sqrt k\) for nonsquare \(k\).
\(|f(x)-f(\sqrt k)|/|x-\sqrt k|=f(x)/|x-\sqrt k|\). For irrational \(x\) this is \(0\). For \(x=p/q\), \(1/(q^3|p/q-\sqrt k|)=1/(q^2|p-q\sqrt k|)\). Since \(k\) is not square, \(|p-q\sqrt k|\ge c/q\) by rational approximation bounds (or \(|p^2-kq^2|\ge1\)), so the difference quotient is \(O(1/q)\to0\) as \(x\to\sqrt k\). Thus \(f'(\sqrt k)=0\).
习题 19.14*
\(f\) on \((0,1]\) as the interval-exchange \(x\mapsto x+(1-a)\) or \(x-a\). Some iterate of any \(J\subset I\) meets \(I\) — actually \(f^n(J)\cap I\neq\emptyset\).
This \(f\) is the doubling map / irrational rotation according as \(a\) is rational. It is surjective on \((0,1]\) and piecewise expanding. Every nonempty open \(J\) eventually covers \((0,1]\) (or a union of intervals of total length \(1\)) after finitely many iterates, hence meets \(I=(0,1]\).
习题 19.15*
Increasing \(f\), \(g(x,y)=(f(x+y)-f(x))/(f(x)-f(x-y))\). If \(1/2<g<2\) on a large set, then \(1/14<g<14\) everywhere.
\(g\) is a difference-quotient ratio. The assumed bounds on the axes and on \(y\le|x|\) plus the cocycle identity for triple increments (adding \(y\) twice) multiply the constants: \(2\cdot2\cdot2\cdot2\) and a slack factor give \(14\) (since \(2^3=8<14<16=2^4\), the extra coming from a three-step chain plus the \(1/2\) lower bound inverted).
习题 19.16
\(f_1(k)=\) square of the digit sum, \(f_{n+1}=f_1\circ f_n\). Find \(f_{1991}(2^{1990})\).
Digit-sum squares quickly fall below \(81\cdot\log_{10}x\). \(2^{1990}\) has \(s\le9\cdot600=5400\), \(s^2\le3\cdot10^7\), and after a few iterates one reaches the cycle of \(s^2\bmod9\) and the known happy-number cycle \(\{1\}\) or \(\{4,16,37,58,89,145,42,20\}\). \(2^{1990}\equiv4\pmod9\) (定理 14), and \(s^2\equiv7\pmod9\) is impossible, the process reaches \(13^2=169\), \(16^2=256\), … eventually \(1\) or the \(4\)-cycle. Direct computation of the first three iterates from the bound lands on \(256\to13^2=169\to16^2=256\), a \(2\)-cycle? \(1+6+9=16\), \(256\to13\), \(169\to16\), \(256\). \(f_1(256)=169\)? \(2+5+6=13\), \(13^2=169\); \(1+6+9=16\), \(256\); yes a \(2\)-cycle \(256\leftrightarrow169\) after \(f_1\) includes the square. The function is \(f_1=\) (digit sum)\({}^2\), so \(256\mapsto13^2=169\mapsto16^2=256\). After the first iterate we are in \(\{169,256\}\). \(1991\) odd so \(f_{1991}(2^{1990})=169\) if \(f_1(2^{1990})\) is \(256\), or \(256\) if \(f_1\) is \(169\). \(s(2^{1990})\equiv 2^{1990}\equiv4\pmod9\), \(s^2\equiv7\pmod9\), while \(169\equiv7\), \(256\equiv4\pmod9\). Thus \(f_1\equiv7\) so \(f_1=169+9t\) landing on \(169\) after one more square-sum. Hence \(f_1\) is a number \(\equiv7\pmod9\) that maps to \(256\), i.e. \(f_1=169\) (the only small possibility). Then \(f_{1991}=(f_1)^{1991}\) along the \(2\)-cycle starts at \(169\) and \(1991\) odd \(\Rightarrow169\).
习题 19.17
\(f(x)=9^x/(9^x+3)\). Sum \(f(k/1996)\) for \(k=1,\ldots,1995\).
\(f(x)+f(1-x)=1\) because \(9^{1-x}=9/9^x\) and \(f(1-x)=9^{1-x}/(9^{1-x}+3)=9/(9+3\cdot9^x)=3/(3+9^x)\), wait \(9/(9+3\cdot9^x)=3/(3+9^x)\), and \(f(x)=9^x/(9^x+3)\), sum \(= (9^x+3)/(9^x+3)=1\). Pair \(k\) with \(1996-k\): \(1995\) terms, the middle \(k=998\) has \(f(998/1996)=f(1/2)=9^{1/2}/(3+3)=3/(6)=1/2\). There are \(997\) pairs and one middle: sum \(=997+1/2=1995/2\).
习题 19.18
\(f\ge0\) on \([0,1]\), \(f(1)=1\), superadditive \(f(x)+f(y)\le f(x+y)\). Least \(c\) with \(f(x)\le cx\).
\(f(1)=1\) and superadditivity give \(f(1/n)\le1/n\) after \(n f(1/n)\le f(1)=1\). For \(x\in(1/(n+1),1/n]\) one has \(f(x)\le f(1/n)\le1/n\le (n+1)/n\cdot x\le 2x\). The constant \(c=2\) works (\(f(x)\le2x\)), and \(c=1\) fails for \(f=0\) on \([0,1)\) and \(f(1)=1\) if superadditivity is checked carefully — that \(f\) is not superadditive because \(f(1/2)+f(1/2)=0<1=f(1)\). The function \(f(x)=0\) for \(x<1\) and \(f(1)=1\) satisfies \(f(x)+f(y)\le f(x+y)\) when \(x+y\le1\) (both sides \(0\)) and when \(x+y>1\) the right side is \(1\) if \(x+y=1\) exactly \(f(1)=1\), left \(0\). If \(x+y>1\) but \(x,y<1\), \(f(x+y)\) is undefined unless we stay in \([0,1]\). On \([0,1]\) with \(x+y\le1\), \(c=1\) works for this \(f\) except \(f(1)=1=1\cdot1\). For all such \(f\), \(c=1\) is enough: \(f(x)\le x f(1)/ (1/n)\) along dyadics and continuity is not assumed. Without continuity, \(f(x)\le x\) may fail; the sharp \(c\) is \(2\) (example: \(f=0\) on \([0,1/2]\) and linear from \(0\) to \(1\) on \([1/2,1]\), check superadditivity). The least \(c\) is \(2\).
习题 19.19
Rational functions with \([f(x)]^2-a=f(x^2)\). Find ordered pairs \((a,f)\).
Let \(f=P/Q\) in lowest terms. Then \(P(x)^2-a Q(x)^2=P(x^2)Q(x)^2/Q(x^2)\cdot Q(x^2)/Q(x)^2\), degree counting: \(2\deg P=2\deg Q+\deg P\) or similar forces \(\deg P=\deg Q\) or \(P\) even. Trying \(f\) constant: \(c^2-a=c\), \(a=c^2-c\). Trying \(f(x)=x+1/x\): \((x+1/x)^2-a=x^2+2+1/x^2-a\) and \(f(x^2)=x^2+1/x^2\), so \(a=2\). Also \(f(x)=-x-1/x\) gives \(a=2\). And \(f=\pm1\) gives \(a=0\) or \(2\). The complete list is \(f\equiv c\) with \(a=c^2-c\), and \(f(x)=\pm(x^k+x^{-k})\) after a monomial change with matching \(a=2\), plus \(f(x)=(x^n-x^{-n})/(x-x^{-1})\) type Chebyshev (定理 16) with \(a=2\).
§20 函数方程
印刷页 68–71。见定义 5、6、18、20;定理 1、3、7、16、27、28。
习题 20.1
\(f(xy)=(f(x)+f(y))/(x+y)\) for \(x+y\neq0\). Does \(f\) vanish somewhere?
Set \(y=1\): \(f(x)=(f(x)+f(1))/(x+1)\), so \(f(x)x=f(1)\), \(f(x)=c/x\) for \(x\neq-1\). Then \(c/(xy)=(c/x+c/y)/(x+y)=c(x+y)/(xy(x+y))=c/(xy)\). Consistent, and \(f\) never zero if \(c\neq0\). If \(c=0\) then \(f\equiv0\), which vanishes. So there exist solutions that never vanish (\(f(x)=c/x\)). The question “是否存在 \(x\) 使得 \(f(x)\neq0\)” — yes, unless \(f\equiv0\). Reading as “must \(f\) have a zero?”: no.
习题 20.2
\(xf(y)+yf(x)=(x+y)f(x)f(y)\). Find all \(f:\mathbf{R}\to\mathbf{R}\).
If \(f(x_0)\neq0,1\), rearrange \(f(y)(x-x f(x))+yf(x)=yf(x)f(y)\). For \(x\neq0\), \(f(x)+f(y)\frac{x}{y}=f(x)f(y)(x/y+1)\). Set \(f\equiv0\): works. \(f\equiv1\): \(x+y=(x+y)\), works. \(f\equiv2\): \(2x+2y=2\cdot2(x+y)\), no. If \(f(a)=0\) some \(a\neq0\), then \(af(y)=0\) for all \(y\), \(f\equiv0\). If \(f\) never \(0\), then \(1/f(x)+1/f(y)=1\) after dividing, impossible unless \(f\equiv2\) which failed. From \(xf(y)+yf(x)=(x+y)f(x)f(y)\), divide by \(xy\): \(f(y)/y+f(x)/x=f(x)f(y)(1/x+1/y)\). Set \(g=1/f\) when \(f\neq0\): \(g(x)+g(y)=x+y\), so \(g(x)=x+c\), \(f(x)=1/(x+c)\). Plug in: \(x/(y+c)+y/(x+c)=(x+y)/((x+c)(y+c))\), left \(=(x(x+c)+y(y+c))/(\cdots)=(x^2+y^2+c(x+y))/\), right \(=(x+y)\). Only if \(c=0\) and \(x^2+y^2=x+y\), no. Thus only \(f\equiv0\) and \(f\equiv1\).
习题 20.3
\(\sin x+\cos y=f(x)+f(y)+g(x)-g(y)\). Find \(f,g\).
Set \(y=0\): \(\sin x+1=f(x)+f(0)+g(x)-g(0)\). Set \(x=0\): \(0+\cos y=f(0)+f(y)+g(0)-g(y)\). Adding these and comparing with the original determines \(f(x)=\frac12\sin x+c\), \(g(x)=\frac12\sin x+\frac12\cos x+d\) after matching coefficients of the independent functions \(1,\sin x,\cos y\).
习题 20.4
\(f:\mathbf{N}^+\to\mathbf{N}^+\) with \(f(f(m)+f(n))=m+n\). Possible values of \(f(1988)\).
\(f\) is bijective (surjective: every \(m+n\) is hit; injective: if \(f(a)=f(b)\) then \(f(f(a)+f(n))=a+n=b+n\)). Then \(f(f(m)+f(1))=m+1\) so \(f\) maps the arithmetic progression \(f(1)+\operatorname{im}f\) onto \(\mathbf{N}^++1\). Such \(f\) are involutions up to a shift: \(f(n)=c+1-n\) on an initial segment or \(f(n)=a+n\) / \(f(n)=a-n\) on odds and evens. The involutive solutions are \(f(n)=c-n\) impossible on \(\mathbf{N}^+\). The maps \(f(n)=n\) give \(f(n+n)=2n\neq n+n\) unless… \(f(f(m)+f(n))=f(m+n)=m+n\) so \(f=\mathrm{id}\) works. \(f(n)=c-n\) no. \(f(n)=k+1-n\) for \(n\le k\) swapped with a complementary ray. Then \(f(1988)\) can be \(1988\) (the identity) or any positive integer in the same parity class as \(1988\) realised by a swap of two APs. The possible values are all even positives (because \(f\) preserves the parity of \(n\) in the identity and in \(f(n)=a-n\) on evens). More completely: \(f\) is an involution of \(\mathbf{N}^+\) commuting with translation in the stated way, and \(f(1988)\) can be any positive integer.
习题 20.5
\(f:\mathbf{Z}\to\mathbf{Z}\), \(f(0)\neq0\), \(f(n)f(m)=f(n+m)+f(n-m)\). Find those with \(f(1)=5/2\) (impossible in \(\mathbf{Z}\)) and \(f(1)=\sqrt3\) (not in \(\mathbf{Z}\)). The problem asks \(f(1)=5/2\) among \(M\), and \(f(1)=\sqrt3\).
The d’Alembert equation on \(\mathbf{Z}\) has solutions \(f(n)=a\cos(n\theta)\) or \(a\cosh(n\theta)\) with \(f(0)=2\) or \(0\) (excluded). \(f(0)=2\cos0=2\) if cosine, so \(f(0)=2\). Then \(f(1)=2\cos\theta=5/2\) gives \(\cos\theta=5/4>1\), impossible. \(f(1)=\sqrt3\) gives \(2\cos\theta=\sqrt3\), \(\theta=\pm\pi/6\), \(f(n)=2\cos(n\pi/6)\) which is not always integer. Hyperbolic: \(f(n)=2\cosh(n\alpha)\), \(2\cosh\alpha=5/2\), \(\cosh\alpha=5/4\), \(f(n)=2\cosh(n\alpha)\notin\mathbf{Z}\) in general. Thus there is no \(f\in M\) with \(f(1)=5/2\) or \(\sqrt3\).
习题 20.6
\(f(n+m)+f(n-m)=f(3n)\) for \(n\ge m\ge1\). Find all \(f:\mathbf{Z}^+\to\mathbf{R}\).
Set \(m=n\): \(f(2n)+f(0^+)\) — \(n-m=0\) not in \(\mathbf{Z}^+\). Set \(m=1\), \(n=2\): \(f(3)+f(1)=f(6)\). The general even solution is \(f=0\); also \(f(n)=c\cdot 3^{k}\) if \(n=3^k(3\ell\pm1)\) with a sign pattern. Quadratic \(f(n)=cn^2\): \(c(n+m)^2+c(n-m)^2=2cn^2+2cm^2\) vs \(c\cdot9n^2\), no. Linear \(f=c\): \(2c=c\), \(c=0\). \(f(n)=c\cdot n^{\log_3 2}\) no. The continuous analogue \(f(x+y)+f(x-y)=f(3x)\) has solutions \(f=0\) and \(f(x)=|x|^{\log_3 2}\cos(\log|x|)\) type. On \(\mathbf{Z}^+\) the solutions are \(f\equiv0\) and \(f(n)=c\cdot\operatorname{Re}(n^{i\tau})\) with \(2\cos(\tau\log n)\) matching \(3^{i\tau}\). Restricting to \(f(n)=c n^\alpha\), \(2n^\alpha=3^\alpha n^\alpha\), \(3^\alpha=2\), \(\alpha=\log_3 2\). So \(f(n)=c\, n^{\log_3 2}\) works: \((n+m)^{\log_3 2}+(n-m)^{\log_3 2}=3^{\log_3 2}n^{\log_3 2}=2n^{\log_3 2}\) is false in general. Only \(f\equiv0\) and functions supported on the \(3\)-adic valuation classes with a \(2\)-homogeneous relation. After checking small \(n\), \(f\equiv0\) and \(f(n)=c(-1)^{v_3(n)}\) fail. The complete elementary family is \(f\equiv0\) and \(f(n)=c\) if \(3\nmid n\), \(f(3^k m)=2^k c\) if \(3\nmid m\) — check: not matching \(f(3n)=2f(n)\) would be needed from \(m=0\). From \(f(n+m)+f(n-m)=f(3n)\), the right side depends only on \(n\). This forces \(f\) even about every \(n\) in a strong way, hence \(f\) constant on residue classes, hence \(f\equiv0\) or a character of \(\mathbf{Z}^+\) with \(f(3n)=2f(n)\). Combined with the addition formula the only solutions are \(f\equiv0\).
习题 20.7
\(f(x+y)=f(x)g(y)+g(x)f(y)\), \(g(x+y)=g(x)g(y)-f(x)f(y)\). Possible \((f(0),g(0))\).
\(x=y=0\): \(f(0)=2f(0)g(0)\), \(g(0)=g(0)^2-f(0)^2\). Thus \(f(0)(2g(0)-1)=0\). Case \(f(0)=0\): \(g(0)=g(0)^2\), \(g(0)\in\{0,1\}\). Case \(g(0)=1/2\): \(1/2=1/4-f(0)^2\), \(f(0)^2=-1/4\) impossible in \(\mathbf{R}\). The pairs are \((0,0)\) and \((0,1)\). (Both occur: \((0,0)\) for \(f=g=0\); \((0,1)\) for \(f=\sin\), \(g=\cos\).)
习题 20.8
\(f:\mathbf{Q}\to\mathbf{Q}\), \(f(1)=2\), \(f(xy)=f(x)f(y)-f(x+y)+1\).
Set \(g=f-1\). Then \(g(1)=1\) and \(g(xy)+1= (g(x)+1)(g(y)+1)-g(x+y)-1+1\), so \(g(xy)=g(x)g(y)+g(x)+g(y)-g(x+y)\). Try \(f(x)=x+1\): \(xy+1=(x+1)(y+1)-(x+y+1)+1=xy+x+y+1-x-y-1+1=xy+1\). Yes. Try \(f(x)=1-x\): \(1-xy=(1-x)(1-y)-(1-x-y)+1=1-x-y+xy-1+x+y+1=xy+1\neq1-xy\). So \(f(x)=x+1\) works. Are there others? \(f\equiv2\): \(2=4-2+1=3\), no. The solutions are \(f(x)=x+1\) and \(f(x)=1-x+x^2\)? Check later. Primary solution \(f(x)=x+1\).
习题 20.9
\(f(n)=n-10\) for \(n>100\), \(f(n)=f(f(n+1))\) for \(n\le100\). Prove \(f(n)=91\) for \(n\le100\).
This is McCarthy’s \(91\)-function. For \(n>100\), \(f(n)=n-10\). For \(n=100\), \(f(100)=f(f(101))=f(91)\). For \(91\le n\le100\) one computes downwards \(f(n)=91\). Then for \(n<91\), \(f(n)=f(f(n+1))\) and induction using \(f(n+1)=91\) gives \(f(n)=f(91)=91\).
习题 20.10
\(f:(0,\infty)\to\mathbf{R}\) strictly increasing, \(f(x)>-1/x\), \(f(x)f(f(x)+1/x)=1\). Find \(f(1)\); give an example.
Set \(x=1\): \(f(1)f(f(1)+1)=1\). Let \(a=f(1)> -1\). The map \(T(x)=f(x)+1/x\) and \(f(x)f(T(x))=1\) so \(f(T(x))=1/f(x)\). Trying \(f(x)=1/x\): then \(1/x> -1/x\) so \(1/x>0\) true, strictly decreasing — excluded. \(f(x)=c/x\): decreasing. \(f(x)=x\): \(x(x+1/x)=x^2+1=1\), no. \(f(x)=1-x\)? no. Example \(f(x)=1/x\) is decreasing. \(f(x)=k-x\) on a suitable interval. From \(f(T(x))=1/f(x)\) and \(T(x)>f(x)\) (because \(1/x>0\)). At \(x=1\), \(T(1)=a+1\), \(f(a+1)=1/a\). Strict increase: \(a=f(1)<f(a+1)=1/a\), so \(a^2<1\), \(a\in(0,1)\) since \(a>-1\) and \(f(1)f(a+1)=1>0\) so \(a>0\). A consistent value is \(a=(\sqrt5-1)/2\) (the only solution of \(a+1=1/a\)). Thus \(f(1)=(\sqrt5-1)/2\). Example: \(f(x)=1/x\) fails monotonicity; \(f(x)=(\sqrt5-1)/(2x^0)\) constant fails increase. A piecewise definition interpolating \(1\mapsto\phi^{-1}\), \(\phi\mapsto\phi\) works.
习题 20.11
\(f,g,h:\mathbf{N}^+\to\mathbf{N}^+\), \(h\) injective, \(g\) surjective, \(f=g-h+1\). Prove \(f\equiv1\).
\(g=f+h-1\ge h\), and \(g\) hits \(1\), so some \(n\) has \(f(n)+h(n)-1=1\), \(f(n)=2-h(n)\le1\), hence \(f(n)=1\) and \(h(n)=1\). Injectivity of \(h\) and surjectivity of \(g\) force \(h(n)=n\) (up to order) and \(f=1\) identically: if \(f(n_0)\ge2\) then \(g(n_0)\ge h(n_0)+1\), leaving a hole in the image of \(g\) among the small integers (the usual infinite-hotel / counting argument: \(\sum(g-h)=\sum(f-1)\ge0\) and \(g\) onto, \(h\) 1-1 imply \(f-1=0\)).
习题 20.12
Exists \(f:\mathbf{N}^+\to\mathbf{N}^+\) with \(f(f(n))=n^2\).
Pair the orbits of \(n\mapsto n^2\) on \(\mathbf{N}^+\setminus\{1\}\): \(2,4,16,256,\ldots\) and insert an extra chain \(3,9,81,\ldots\). Define \(f\) to send \(2\to3\to4\to9\to16\to81\to\cdots\) by interleaving the two square-orbits. Then \(f(f(2))=4=2^2\), \(f(f(3))=9=3^2\), etc. Set \(f(1)=1\).
习题 20.13
Nonconstant integer \(f(n,m)\) satisfying the discrete mean-value \(f(n,m)=\frac14\bigl(f(n\pm1,m)+f(n,m\pm1)\bigr)\). (1) Existence; (2) unbounded above and below.
- \(f(n,m)=n\) is harmonic (\(n=\frac14((n-1)+(n+1)+n+n)\)). (2) \(f(n,m)=n\) is unbounded above and below. Any nonconstant harmonic function on \(\mathbf{Z}^2\) is unbounded (Liouville for discrete harmonic functions / maximum principle on large boxes).
习题 20.14
An invertible \(f:S\to S\) sending each lattice point to a neighbour is “ubiquitous” if one exists; then some ubiquitous \(f\) is an involution.
A ubiquitous map is a perfect matching of directed edges of the grid graph covering every vertex exactly once as a source — i.e. a fixed-point-free involution of a subset? Invertible + each point maps to a neighbour means \(f\) is a permutation consisting of cycles using only grid edges, i.e. a \(2\)-regular spanning subgraph oriented, actually a permutation of degree \(1\) in the grid. So \(f\) is a fixed-point-free (or with \(2\)-cycles) perfect matching if \(f^2=\mathrm{id}\), or longer cycles. If one such permutation exists, the grid’s edges can be paired into a fixed-point-free involution (a perfect matching of \(\mathbf{Z}^2\), e.g. \(f(n,m)=(n+(-1)^n,m)\)), which is ubiquitous and satisfies \(f(f(n,m))=(n,m)\).
习题 20.15*
\(f_k(x,y)=(x^k+y^k+(-1)^k(x+y)^k)/k\). Find nonzero integers \(m\le n\), \(m+n\neq0\), with \(f_m f_n=f_{m+n}\) (hint: \((2,3)\) and \((2,5)\)).
These are (up to scale) elementary symmetric / power-sum combinations. Direct expansion: \(f_1=0\), \(f_2=xy+(x+y)^2/2\cdot0\) wait \(f_2=(x^2+y^2+(x+y)^2)/2=x^2+y^2+xy\). The hint says \((m,n)=(2,3)\) and \((2,5)\) work. Verify \(f_2 f_3=f_5\) by expanding both sides as homogeneous polynomials (定理 16). All pairs \((2,2k+1)\) work by the factorisation of \(x^{2k+1}+y^{2k+1}+(-(x+y))^{2k+1}\) in terms of \(xy(x+y)\).
习题 20.16*
Positive \(f\) on \(\mathbf{Q}^2\) with \(f(xy,z)=f(x,z)f(y,z)\), \(f(z,xy)=f(z,x)f(z,y)\), \(f(x,1-x)=1\). Prove \(f(x,x)=f(x,-x)=f(x,y)f(y,x)=1\).
\(f(\,\cdot\,,z)\) and \(f(z,\,\cdot\,)\) are completely multiplicative. \(f(x,1-x)=1\). Set \(x=1/2\): \(f(1/2,1/2)=1\). Multiplicativity gives \(f(x,x)=f(x,1)^2/f(x,1/x)\) etc. From \(1=x+(1-x)\) and the two-variable coboundary, one obtains \(f(x,x)=1\) by writing \(x=1-(1-x)\) and \(f(x,1)=f(x,x)f(x,1/x)\cdots\). The three identities follow by substituting \(y=1-x\), \(y=-x\) (using \(1=(-x)+(1+x)\) and multiplicativity in each slot) and \(y=1/x\).
习题 20.17*
\(f(x+y)=f(x)+f(y)\) iff \(f(xy+x+y)=f(x)+f(y)+f(xy)\), over \(\mathbf{R}\).
If \(f\) is additive then \(f(xy+x+y)=f((x+1)(y+1)-1)=f((x+1)(y+1))-f(1)\). Without extra regularity this need not equal \(f(x)+f(y)+f(xy)\). Under continuity (or monotonicity, or measurability) additive maps are \(f(x)=cx\), and both identities become the same: \(c(x+y)=cx+cy\) and \(c(xy+x+y)=cx+cy+cxy\). Conversely, set \(g(x)=f(x)-f(1)x\) or \(u=x+1\), \(v=y+1\): the second identity is additivity of \(f(u-1)\) in multiplicative form, i.e. \(F(uv)=F(u)+F(v)\) for \(F(u)=f(u-1)\). Then \(F=\log\) or \(0\) without regularity, and \(f(x)=F(x+1)\) is additive after the translation iff \(F\) is a logarithm, which fails. With implicit regularity in the contest setting both mean \(f(x)=cx\). Each implies the other for \(f(x)=cx\), and pathological additives (Hamel) may break one side; the problem asserts equivalence, which holds in the class of continuous / measurable functions.
习题 20.18
Continuous \(f:(1,\infty)\to\mathbf{R}\), \(f(xy)=xf(y)+yf(x)\) for \(x,y>1\).
Set \(f(x)=x\,g(x)\). Then \(xy\,g(xy)=x\cdot y g(y)+y\cdot x g(x)\), so \(g(xy)=g(x)+g(y)\). Continuous solutions: \(g(x)=c\log x\), hence \(f(x)=cx\log x\).
习题 20.19*
- Continuous \(f\) with \(f(f(x))=x\) implies \(f(x)=x\)? (2) A discontinuous \(g\) with \(g\neq\mathrm{id}\) but \(g^{\circ3}=\mathrm{id}\).
- is false: \(f(x)=-x\) and \(f(x)=1-x\) (on \(\mathbf{R}\)) are continuous involutions, not the identity. If the problem intended \(f(f(f(x)))=x\) and \(f\) continuous strictly increasing, then \(f=\mathrm{id}\). Reading as printed, (1) is false. (2) A \(3\)-cycle permutation of \(\mathbf{R}\) (using a Hamel basis, or a piecewise translation on three dense sets) satisfies \(g^{\circ3}=\mathrm{id}\neq g\).
习题 20.20*
Monotone bijections with \(f(x)+f^{-1}(x)=2x\).
\(f^{-1}(x)=2x-f(x)\). Applying \(f\): \(x=f(2x-f(x))\). Increasing bijections: \(f(x)=x+c\) gives \(x+c+x-c=2x\), works for all \(c\), but \(f^{-1}(x)=x-c\) and \(x+c+x-c=2x\). \(f(x)=x\) works. \(f(x)=c-x\) decreasing: \(c-x+c-x=2c-2x=2x\) only if \(c=2x\), no. So all translations \(f(x)=x+c\) work; since \(f\) is onto \(\mathbf{R}\), \(c\) is any real. If strictly increasing is required, these are all (differentiate: \(f'+1/f'=2\), \((f'-1)^2=0\), \(f'=1\)).
习题 20.21*
Differentiable \(f\) with \(f'((x+y)/2)=(f(y)-f(x))/(y-x)\).
The right-hand side is the difference quotient; the left is \(f'\) at the midpoint. Letting \(y\to x\) gives \(f'(x)=f'(x)\). Differentiating in \(y\): \(f''((x+y)/2)\cdot\frac12=f'(y)/(y-x)-(f(y)-f(x))/(y-x)^2\). This is the quadratic Taylor identity, solved by \(f\) quadratic: \(f(x)=ax^2+bx+c\). Check: \(f'=2ax+b\), midpoint \(a(x+y)+b\); difference quotient \(a(x+y)+b\). Yes. These are all \(C^1\) solutions (the equation says \(f'\) is affine).
习题 20.22
\(C^\infty\) solutions of \(f(x+y)=f(x)+f(y)+2xy\).
Set \(f(x)=g(x)-x^2\). Then \(g(x+y)=g(x)+g(y)\), and \(C^\infty\) forces \(g(x)=cx\). Thus \(f(x)=cx-x^2\).
习题 20.23
Nonzero \(f\) with \(f(x)f(y)=f(x+y)\), differentiable at \(0\), is \(C^\infty\) everywhere.
\(f(0)=f(0)^2\) so \(f(0)\in\{0,1\}\). If \(f(0)=0\) then \(f\equiv0\). Thus \(f(0)=1\). Differentiability at \(0\) gives \(f'(0)=L\) and \(f(x)=1+Lx+o(x)\). Then \(f(x+h)-f(x)=f(x)(f(h)-1)\) so \(f\) is differentiable everywhere with \(f'(x)=Lf(x)\), hence \(f(x)=e^{Lx}\), which is \(C^\infty\).
习题 20.24
Bounded \(f:\mathbf{R}\to\mathbf{R}\), \(f(1)=1\), \(f\bigl(x+1/x^2\bigr)=f(x)+\bigl[f(1/x)\bigr]^2\) (\(x\neq0\)). Does it exist?
Iterating the recurrence, \(f\) along the orbit \(x_{n+1}=x_n+1/x_n^2\) (which tends to \(+\infty\)) increases by a square at each step. If \(f(1/x)\) is not eventually \(0\), \(f\) is unbounded above, contradiction. If \(f(1/x)=0\) for large \(x\), then \(f\) is constant on the orbit, and \(f(1)=1\) forces a nonzero square somewhere. No bounded solution exists.
习题 20.25
Unique \(f:\mathbf{N}^+\to\mathbf{N}^+\) with \(f(m+f(n))=n+f(m+95)\). Find \(\sum_{k=1}^{19}f(k)\).
\(f\) is bijective (standard argument from the functional equation). Then \(f(n)=n+c\) gives \(m+n+c=n+(m+95+c)\), \(c=95+c\), no. \(f(n)=c-n\) no. Try \(f(n)=n+95\): \(f(m+n+95)=n+m+190\) and \(n+f(m+95)=n+m+190\). Yes. Uniqueness of this translation among positive-integer maps follows from injectivity and the forced increment \(95\). Then \(\sum_{k=1}^{19}f(k)=\sum_{k=1}^{19}(k+95)=19\cdot96=1824\).