Maths Olympiad Prep

Library / /7 of 17

, 2015

Algebra Difficulty 5.9 AIME, harder Prove it Canada

Let N={1,2,3,}\mathbb{N} = \{1, 2, 3, \dots\} be the set of positive integers. Find all functions ff, defined on N\mathbb{N} and taking values in N\mathbb{N}, such that (n1)2<f(n)f(f(n))<n2+n(n - 1)^2 < f(n)f(f(n)) < n^2 + n for every positive integer nn.

Solution

The only such function is f(n)=nf(n) = n.
Assume that ff satisfies the given condition. It will be shown by induction that f(n)=nf(n) = n for all nNn \in \mathbb{N}. Substituting n=1n = 1 yields that 0<f(1)f(f(1))<20 < f(1)f(f(1)) < 2 which implies the base case f(1)=1f(1) = 1. Now assume that f(k)=kf(k) = k for all k<nk < n and assume for contradiction that f(n)nf(n) \neq n.
On the one hand, if f(n)n1f(n) \le n-1 then f(f(n))=f(n)f(f(n)) = f(n) and f(n)f(f(n))=f(n)2(n1)2f(n)f(f(n)) = f(n)^2 \le (n-1)^2 which is a contradiction. On the other hand, if f(n)n+1f(n) \ge n+1 then there are several ways to proceed.

Method 1: Assume f(n)=Mn+1f(n) = M \ge n + 1. Then (n+1)f(M)f(n)f(f(n))<n2+n(n+1)f(M) \le f(n)f(f(n)) < n^2 + n. Therefore f(M)<nf(M) < n, and hence f(f(M))=f(M)f(f(M)) = f(M) and f(M)f(f(M))=f(M)2<n2(M1)2f(M)f(f(M)) = f(M)^2 < n^2 \le (M-1)^2, which is a contradiction. This completes the induction. \square

Method 2: First note that if ab>1|a-b| > 1, then the intervals ((a1)2,a2+a)((a-1)^2, a^2+a) and ((b1)2,b2+b)((b-1)^2, b^2+b) are disjoint which implies that f(a)f(a) and f(b)f(b) cannot be equal.
Assuming f(n)n+1f(n) \ge n + 1, it follows that f(f(n))<n2+nf(n)nf(f(n)) < \frac{n^2+n}{f(n)} \le n. This implies that for some an1a \le n - 1, f(a)=f(f(n))f(a) = f(f(n)) which is a contradiction since f(n)an+1a2|f(n) - a| \ge n + 1 - a \ge 2. This completes the induction. \square

Method 3: Assuming f(n)n+1f(n) \ge n + 1, it follows that f(f(n))<n2+nf(n)nf(f(n)) < \frac{n^2+n}{f(n)} \le n and f(f(f(n)))=f(f(n))f(f(f(n))) = f(f(n)). This implies that (f(n)1)2<f(f(n))f(f(f(n)))=f(f(n))2<f(n)2+f(n)(f(n)-1)^2 < f(f(n))f(f(f(n))) = f(f(n))^2 < f(n)^2 + f(n) and therefore that f(f(n))=f(n)f(f(n)) = f(n) since f(n)2f(n)^2 is the unique square satisfying this constraint. This implies that f(n)f(f(n))=f(n)2(n+1)2f(n)f(f(n)) = f(n)^2 \ge (n+1)^2 which is a contradiction, completing the induction. \square

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.