Let x 1 , x 2 , … , x 2 0 1 7 be distinct real numbers . How many one-to-one functions
f : { x 1 , x 2 , … , x 2 0 1 7 } → { x 1 , x 2 , … , x 2 0 1 7 }
satisfy
∣ f ( x 1 ) − x 1 ∣ = ∣ f ( x 2 ) − x 2 ∣ = ⋯ = ∣ f ( x 2 0 1 7 ) − x 2 0 1 7 ∣ ?
Notation : ∣ ⋅ ∣ denotes the absolute value function .
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.
I think for this kind of question it would be too easy to just assume that the answer is 1 and guess 1, with this reasoning:
1) The answer must be the same for all n (implied by the question)
2) If I set n=1 then there is only 1 trivial function
3) Thus the answer is 1
I guess for this kind of question fix n=2017 or something like that so that this kind of reasoning can be avoided.
And another thing is it might be too easy if the x i are allowed to be any real, because then taking them to be something like 2 , 3 , . . . it would be 'intuitive' to guess that there's only one solution because the differences between any two elements is not equal to the difference between any other two elements. So a quick fix to this would be to define
f : { 1 , 2 , 3 , 4 , 5 , . . . , 2 0 1 7 } → { 1 , 2 , 3 , 4 , 5 , . . . , 2 0 1 7 }
Apart from that good question.
I just thought f (x)=x would satisfy and marked 1...
Obviously f(n)=n is a solution, so we have at least 1 solution.
Now assume that for at least 1 n, f(n) does not equal n. This implies that for all n, f(n) does not equal n.
Now consider the smallest x1 in the set. Let it map to xk. Further, the thing that maps to x1 must be xk. By induction, we can show that integers must be mapped off 2 by 2. However, since there are an odd number of elements, we can't pair off all the elements in twos. Thus, we have a contradiction, and f(n)=n is the only solution.
Problem Loading...
Note Loading...
Set Loading...
Let f be a function which satisfies these properties. Let
∣ f ( x 1 ) − x 1 ∣ = ∣ f ( x 2 ) − x 2 ∣ = … = ∣ f ( x n ) − x n ∣ = a
For each i , 1 ≤ i ≤ n , we have
f ( x i ) = x i + ϵ i a
where ϵ = ± 1 . Adding these equalities for each i yields
i = 1 ∑ n f ( x i ) = i = 1 ∑ n x i + a i = 1 ∑ n ϵ i
However, both i = 1 ∑ n f ( x i ) and i = 1 ∑ n x i have the same value by definition. Thus, we must have a i = 1 ∑ n ϵ i = 0 . However, since n is an odd positive integer, i = 1 ∑ n ϵ i = 0 by parity. Thus, a = 0 . Therefore, the only satisfying function is f ( x ) = x . There is only 1 satisfying function.