Find all one-to-one mappings $f:\mathbb{N}\to\mathbb{N}$ such that for all positive integers $n$ the following relation holds: \[ f(f(n)) \leq \frac {n+f(n)} 2 . \]
Problem
Source: Romanian ROM TST 2004, problem 3, created by Cristi Mortici
Tags: induction, function, algebra proposed, algebra
03.05.2004 01:11
Let $f$ be a solution. Notice that for each $n$ we then have $f(f(n)) \leq \max\{n,f(n)\}$, with equality if and only if $f(n)=n$. Let $f^k$ denote the $k^{th}$ iterate of $f$. Suppose that there exists $a$ such that $a > f(a).$ Then $f^2(a) < a$ and by an easy induction $f^k(a) < a$ for all $k>0$ (1). Since there is a finite number of integers in $\{1,2,...,a-1\}$ it follows that there exist $0<i<j$ such that $f^i(a) = f^j(a) = f^i(f^{j-i}(a))$ and using injectivity of $f$ it leads to $f^{j-i}(a) = a$ which contradicts (1). Thus, $a \leq f(a)$ for each $a>0$. Then $f(a) \leq f(f(a))$ for each $a$. On the other hand, from the initial remark we also have $f(f(a)) \leq f(a)$. Thus $f(a) = f(f(a))$ for each $a$, and using injectivity of $f$ we deduce that $f(a) = a$. Conversely, it is easy to verify that $f(x) = x$ is indeed a solution. Pierre.
03.05.2004 07:37
Can you spare us some easy questions, pbornsztein? BTW, very nice solution (and typeset).
03.05.2004 09:18
Sorry.....But I left two days. Pierre.
26.05.2004 06:47
I also solved it with your solution in 45 minutes
21.07.2012 18:58
As injective so either monotonically increasing or decreasing.If it is a decreasing function then it makes a contradiction as suppose $f(a)=t$ then $f(a+t-1)=1$ and after that it gets no value.So must be a monotonic increasing function. So,$f(1)\geq 1$ and likewise $f(n)\geq n$. Now see $f(n)\geq \frac{n+f(n)}{2}\geq f(f(n))\geq f(n)$ so,all are equal which gives $f(n)=n$.
22.07.2012 06:44
No, injectivity doesn't mean monotonicity. The function $f(1) = 2, f(2) = 1$ and $f(x) = x$ otherwise is injective (bijective actually) but not monotonic.
23.07.2012 05:01
My first solution is same as pbornsztein's solution 2nd solution : Theorem : If $a_n$ be a sequence of non negative numbers such that $2a_{n+1}\leq a_n+a_{n-1}$ then sequence is bounded. Now choosing $a_k=f^k(n)$ we are done.
23.07.2012 05:20
But your theorem is almost precisely what pbornsztein has done. If $2a_{n+1} \leq a_n + a_{n-1}$, then $a_{n+1} \leq \max\{a_n, a_{n-1}\}$. And since then clearly $\max\{a_{n+1}, a_{n}\} \leq \max\{\max\{a_n, a_{n-1}\}, a_{n}\} \leq \max\{a_n, a_{n-1}\}$, we're done.
15.04.2016 23:45
23.08.2019 18:13
Valentin Vornicu wrote: Find all one-to-one mappings $f:\mathbb{N}\to\mathbb{N}$ such that for all positive integers $n$ the following relation holds: \[ f(f(n)) \leq \frac {n+f(n)} 2 . \] We claim $f(n) = n$ are the only solutions. It is enough to show that $f(n) \leq n \quad \forall n \in \mathbb{N}$. Suppose $f(n) < n$ for some $n \in \mathbb{N}$. Note that by induction $f^k(n) < f(n) \quad \forall n \in \mathbb{N}$. Let $(a_k)_{k \geq 0}$ be a sequence defined by $a_k = f^k(n) \quad \forall k \in \mathbb{N} , \quad a_0 = n$. Note that the sequence is bounded and discrete. So, there exist $k, l \in \mathbb{N}$ such that $a_k = a_l$. By the injectivity of $f$, we have $a_{k-l} = a_0$ which implies that $a_{k-l-1} = a_1$ which leads to a contradiction. $\blacksquare$
11.06.2022 12:26