Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Source. Laczkovich (1984), Lemma 1, printed pp. 110–112 (PDF pp. 2–4).

Statement

Let n≥1n\ge1 be an integer, K≥0K\ge0, and f:{0,…,n}→Rf:\{0,\ldots,n\}\to\mathbb R. Suppose ∣f(i)∣≤K|f(i)|\le K and

2f(i)≤f(i+h)+f(i+2h)for all integers i,h with 0≤i<i+h<i+2h≤n.(1)2f(i)\le f(i+h)+f(i+2h) \quad\text{for all integers }i,h \text{ with }0\le i<i+h<i+2h\le n. \tag{1}

Then

f(0)≤f(n)+10Kn.(2)f(0)\le f(n)+\frac{10K}{n}. \tag{2}

Source precision. The source assumes K>0K>0; the case K=0K=0 is immediate. We state n≥1n\ge1 because (2) is undefined at zero, and handle n=1n=1 before the printed induction begins at n=2n=2. In the last dyadic branch, n=2k+2n=2^k+2 already gives the desired bound at index zero. The further backward step, whose index would be negative there, is used only when n≥2k+3n\ge2^k+3.

Dependencies. The finite restriction convention in Definitions and induction.

Bears on. Problem 1125, through Theorem 2.

Proof

If K=0K=0, the function vanishes. If n=1n=1, then f(0)−f(1)≤2K≤10Kf(0)-f(1)\le2K\le10K, even though (1) has no instances. Hence assume K>0K>0 and n≥2n\ge2.

For k≥1k\ge1 and 2k≤n<2k+12^k\le n<2^{k+1}, we prove the three estimates

Ak:n=2k ⟹ f(0)≤f(n)+2K/2k,Bk:n=2k+1 ⟹ f(0)≤f(n)+6K/2k,Ck:2k+2≤n<2k+1 ⟹ f(0)≤f(n)+5K/2k.(3)\begin{array}{ll} \mathrm{A}_k:& n=2^k \ \Longrightarrow\ f(0)\le f(n)+2K/2^k,\\ \mathrm{B}_k:& n=2^k+1 \ \Longrightarrow\ f(0)\le f(n)+6K/2^k,\\ \mathrm{C}_k:& 2^k+2\le n<2^{k+1} \ \Longrightarrow\ f(0)\le f(n)+5K/2^k. \end{array} \tag{3}

These imply (2). For Ak\mathrm A_k this is immediate; for Bk\mathrm B_k use 6(2k+1)≤10⋅2k6(2^k+1)\le10\cdot2^k; and for Ck\mathrm C_k use n<2k+1n<2^{k+1}.

For k=1k=1, (1) gives

f(0)≤f(1)+f(2)2≤f(2)+K,f(0)\le\frac{f(1)+f(2)}2\le f(2)+K,

which is A1\mathrm A_1. At n=3n=3 the crude bound f(0)−f(3)≤2Kf(0)-f(3)\le2K implies B1\mathrm B_1. The range in C1\mathrm C_1 is empty.

Assume k≥2k\ge2 and all three assertions at level k−1k-1. For any nn in the current dyadic range, apply Ak−1\mathrm A_{k-1} to the terminal interval of length 2k−12^{k-1}. It gives

f(n−2k−1)≤f(n)+2K2k−1.f(n-2^{k-1})\le f(n)+\frac{2K}{2^{k-1}}.

The inequality (1) at i=n−2ki=n-2^k and h=2k−1h=2^{k-1} then yields

f(n−2k)≤f(n−2k−1)+f(n)2≤f(n)+2K2k.(4)f(n-2^k) \le\frac{f(n-2^{k-1})+f(n)}2 \le f(n)+\frac{2K}{2^k}. \tag{4}

At n=2kn=2^k, this proves Ak\mathrm A_k.

Next let n=2k+1n=2^k+1. Equation (4) bounds f(1)f(1). We also have

f(2)≤f(n)+5K2k−1.(5)f(2)\le f(n)+\frac{5K}{2^{k-1}}. \tag{5}

For k=2k=2, (5) follows from f(2)−f(n)≤2K≤5K/2f(2)-f(n)\le2K\le5K/2. For k≥3k\ge3, the translated interval from 22 to nn has length 2k−12^k-1, which satisfies

2k−1+2≤2k−1<2k.2^{k-1}+2\le2^k-1<2^k.

Thus Ck−1\mathrm C_{k-1} proves (5). Averaging (4) and (5) in f(0)≤(f(1)+f(2))/2f(0)\le(f(1)+f(2))/2 gives

f(0)≤f(n)+K2k+5K2k=f(n)+6K2k,f(0)\le f(n)+\frac{K}{2^k}+\frac{5K}{2^k} =f(n)+\frac{6K}{2^k},

proving Bk\mathrm B_k.

Finally, suppose 2k+2≤n<2k+12^k+2\le n<2^{k+1} and set j=n−2k≥2j=n-2^k\ge2. The just-proved Bk\mathrm B_k, applied to the terminal interval from j−1j-1 to nn, and (4) give

f(j−1)≤f(n)+6K2k,f(j)≤f(n)+2K2k.f(j-1)\le f(n)+\frac{6K}{2^k},\qquad f(j)\le f(n)+\frac{2K}{2^k}.

Their average bounds the preceding value:

f(j−2)≤f(n)+4K2k.(6)f(j-2)\le f(n)+\frac{4K}{2^k}. \tag{6}

If j=2j=2, this already proves Ck\mathrm C_k. If j≥3j\ge3, another application of (1), now to j−3,j−2,j−1j-3,j-2,j-1, gives

f(j−3)≤f(n)+5K2k.f(j-3)\le f(n)+\frac{5K}{2^k}.

Both f(j−3)f(j-3) and f(j−2)f(j-2) are therefore at most f(n)+5K/2kf(n)+5K/2^k. Repeatedly applying f(i)≤(f(i+1)+f(i+2))/2f(i)\le(f(i+1)+f(i+2))/2 propagates this bound backward to i=0i=0. For j=3j=3 it is already the bound at zero. This proves Ck\mathrm C_k, closes the induction, and proves (2).