Let f : N → N be an increasing function such that
f ( f ( n ) ) = 3 n
If x i ∈ N ∀ i ∈ N , f ( x 1 ) = 7 , f ( x 2 ) = 1 2 , f ( x 3 ) = 2 1 , and f ( x 4 ) = 2 6 , find x 1 + x 2 + x 3 + x 4 .
Notation : N denotes the set of natural numbers .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
You must show that the imposed condition on f implies that f must be strictly increasing. This can, however, be proved very easily as below:
Suppose that ∃ m > n such that f ( m ) = f ( n ) , then that will imply, from the functional equation, 3 m = 3 n , which begets a contradiction.
We know that there can be no fixed points for this function, or else x = f ( x ) ⟹ x = f ( x ) = f ( f ( x ) ) = 3 x ⟹ x = 0 ∈ / N .
So, f ( 1 ) > 1 . Note that if f ( 1 ) ≥ 3 , we also contradict ourselves: we know f ( f ( 1 ) ) = 3 and f ( x ) ≥ f ( 1 ) ≥ 3 , ∀ x ≥ 3 . Since there are no fixed points, this implies that f ( f ( 1 ) ) > 3 , a contradiction.
It follows that f ( 1 ) = 2 , from which we see that f ( 2 ) = f ( f ( 1 ) ) = 3 . Following similar logic leads to a (unique!) sequence that defines this function from the naturals to themselves.
Great question!
Here is a nice closed form for f . Let n ∈ N and find the largest integer k such that 3 k < n . We can write n = 3 k + r or n = 2 ⋅ 3 k + r , with 0 ≤ r < 3 k , and this representation is unique. Define f by f ( n ) = { 2 ⋅ 3 k + r 3 k + 1 + 3 r n = 3 k + r , n = 2 ⋅ 3 k + r . ( 1 ) The graph below shows f is indeed increasing, and we can directly compute f ( f ( n ) ) when n = 3 k + r and 2 ⋅ 3 k + r to see that that f ( f ( n ) ) = 3 n .
We claim that, if f is increasing and f ( f ( n ) ) = 3 n , then ( 1 ) holds for all n = 3 k + r and n = 2 ⋅ 3 k + r . To prove this, we will start by letting r = 0 . If k = 0 , then n = 1 or 2 . Other solutions have already shown that f ( 1 ) = 2 and f ( 2 ) = 3 , and we can see directly that ( 1 ) holds. Fix k ≥ 0 and suppose that ( 1 ) holds when n = 3 k and 2 ⋅ 3 k : f ( 3 k ) = 2 ⋅ 3 k and f ( 2 ⋅ 3 k ) = 3 k + 1 . Apply the functional equation twice to the equation on the right to obtain f ( f ( 2 ⋅ 3 k ) ) = f ( 3 k + 1 ) = 2 ⋅ 3 k + 1 and f ( f ( 3 k + 1 ) ) = f ( 2 ⋅ 3 k + 1 ) = 3 k + 2 . This shows ( 1 ) holds for n = 3 k + 1 and n = 2 ⋅ 3 k + 1 , so by induction, for k ≥ 0 , f ( 3 k ) = 2 ⋅ 3 k and f ( 2 ⋅ 3 k ) = 3 k + 1 . ( 2 ) Now let r ∈ { 1 , 2 , … , 3 k − 1 } . Either n = 3 k + r or n = 2 ⋅ 3 k + r . If n = 3 k + r , then we have 3 k < n < 2 ⋅ 3 k . Samrat Mukhopadhyay has already observed that f must be strictly increasing, so ( 2 ) implies f ( 3 k ) = 2 ⋅ 3 k < f ( n ) < 3 k + 1 = f ( 2 ⋅ 3 k ) . In other words, f maps { 3 k + r : 0 < r < 3 k } into { 2 ⋅ 3 k + r : 0 < r < 3 k } . But f is strictly increasing, so this is only possible if f ( 3 k + r ) = 2 ⋅ 3 k + r . ( 3 ) If instead n = 2 ⋅ 3 k + r , then by ( 3 ) f ( 3 k + r ) = 2 ⋅ 3 k + r = n , and by the functional equation, f ( f ( 3 k + r ) ) = f ( n ) = 3 ( 3 k + r ) = 3 k + 1 + 3 r . ( 4 ) From ( 2 ) , ( 3 ) , and ( 4 ) , we conclude that ( 1 ) holds for all n .
Problem Loading...
Note Loading...
Set Loading...
As f ( n ) increases with n , f ( 1 ) has the smallest value. Assume that f ( 1 ) = 1 , but from f ( f ( n ) ) = 3 n we have f ( f ( 1 ) ) = f ( 1 ) = 3 , which contradict with f ( 1 ) = 1 , hence f ( 1 ) = 1 . Assume that f ( 1 ) = 3 , then f ( f ( 1 ) ) = f ( 3 ) = 3 ⟹ f ( 1 ) = f ( 3 ) = 3 , which is unacceptable as f ( n ) is an increasing function. Therefore, f ( 1 ) = 2 . Then we have:
f ( 1 ) f ( f ( 1 ) ) f ( f ( 2 ) ) f ( f ( 3 ) ) f ( f ( 6 ) ) f ( f ( 9 ) ) = 2 = f ( 2 ) = 3 = f ( 3 ) = 6 = f ( 6 ) = 9 = f ( 9 ) = 1 8 = f ( 1 8 ) = 2 7
We note that f ( 3 ) = 6 and f ( 6 ) = 9 and f ( n ) ∈ N is increasing, it must be f ( 4 ) = 7 and f ( 5 ) = 8 as = 6 f ( 3 ) < = 7 f ( 4 ) < = 8 f ( 5 ) < = 9 f ( 6 ) .
And we further have:
f ( 4 ) f ( 5 ) f ( f ( 4 ) ) f ( f ( 5 ) ) f ( f ( 7 ) ) f ( f ( 8 ) ) = 7 = 8 = f ( 7 ) = 1 2 = f ( 8 ) = 1 5 = f ( 1 2 ) = 2 1 = f ( 1 5 ) = 2 4 ⟹ x 1 = 4 ⟹ x 2 = 7 ⟹ x 3 = 1 2
Again = 2 4 f ( 1 5 ) < = 2 5 f ( 1 6 ) < = 2 6 f ( 1 7 ) < = 2 7 f ( 1 8 ) , ⟹ f ( 1 7 ) = 2 6 ⟹ x 4 = 1 7 .
⟹ x 1 + x 2 + x 3 + x 4 = 4 + 7 + 1 2 + 1 7 = 4 0