Suppose f ( x ) is a polynomial with integer coefficients of degree 1 0 0 . Find the biggest possible number of pairs of integers n < m , such that f ( n ) = m and f ( m ) = n .
Details and assumptions
You are asked to find the biggest possible number of pairs, not the biggest pair. Hence, your answer is just an integer, not a pair of integers.
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.
This was the only correct solution.
Common mistakes
f ( f ( n ) ) has degree 1 0 0 2 , not 2 0 0 , nor 100, nor 50.
Knowing that the slope is − 1 between 2 point doesn't really tell you much. If you consider lines of the form y + x = k , then there can be many (up to 100) solutions for each value of k .
Having more equations than unknowns does not imply that system is unsolvable.
The polynomial f ( x ) = − x satisfies the condition for infinitely many pairs ( n , − n ) .
Recall that for all integers a and b the number a − b divides f ( a ) − f ( b ) . Suppose the pairs are ( n 1 , m 1 ) , ( n 2 , m 2 ) , . . . , ( n k , m t ) . Then n i − n j divides m i − m j for all i = j and vice versa, thus n i − n j = ± ( m i − m j ) . For any three distinct i , j , k , we have 0 = ( n i − n j ) + ( n j − n k ) + ( n k − n i ) = ± ( m i − m j ) ± ( m j − m k ) ± ( m k − m i ) It is easy to see that this is only possible if either all signs on the right are pluses or all signs are minuses. Doing this for all possible triples of indices (under the assumption that we have more than two pairs) we get that either for all i = j we have n i − n j = m i − m j or for all i = j we have n i − n j = m j − m i .
In the first case, we get m i − n i = m j − n j for all i and j . Suppose m i = n i + c for all i . Take any i = j and note that n i − m j must divide m i − n j and vice versa. So n i − m j = ± ( m i − n j ) . If the sign is plus, then we get c = 0 , which is impossible. If the sign is minus, then we get n i = n j , which is also impossible.
In the second case, n i + m i is the same for all i . Thus the polynomial f ( x ) + x takes the same values at n 1 , n 2 , . . . , n t ; m 1 , m 2 , . . . , m t . Because de g ( f ( x ) + x ) = 1 0 0 , this implies that 2 t ≤ 1 0 0 , so t ≤ 5 0 .
To show that 5 0 is possible, consider f ( x ) = 1 − x − i = − 4 9 ∏ 5 0 ( x − i ) Note that for all n = − 4 9 , − 4 8 , . . . , 0 we have f ( n ) = 1 − n and f ( 1 − n ) = n .
Therefore the answer is 5 0 .
Let f(x)= a {0}x^100+a {1}x^99+...+a {100} (1)_ For any non-constant polynomial,there is not exist a function that f[f(x)]=x for all x is a real number. Hence, the some number of x will be the solutions. By substituting the (n {1},m {1}) until (n {50},m {50}) into (1) , we can form 100 equation by using f(n)=m and f(m)=n . When (n {51},m {51}) , we can form 102 equation. It will be a contradiction for non-constant polynomial because a {0}-a {100} just have 101 unknown only.Therefore,the number of pairs (n,m) have maximum of 50 .
from the fact that f(n) = m and f(m) = n, we can deduce that (f(n)-f(m))/(n-m) = -1, which means, if we connect the points (n,f(n)) and (m,f(m)), we will end up with a straight line of gradient -1. hence we can try to find the maximum number of intersections between the line y = -x and the graph of y = f(x). we can easily deduce that the maximum number of intersections is 100, which implies there's a maximum of 50 pairs. then we can construct the function that satisfies this property, and conclude that 50 is the answer.
For each pair (m,n) that satisfies the conditions of the problem we have that f(f(n))=f(m)=n. Similarly f(f(m))=m. Also, if f(f(n))=n then n can be in a pair, namely (n,f(n)) or (f(n),n), whiever satisfies the conditions of the question. Now since f(f(n))-n cannot be the zero polynomial, it must be a polynomial of degree 200 with integer coefficients. Therefore these n are eligible to be in a pair. But, the question says that n<m, so n cannot equal f(n). So since f(n)-n cannot be the zero polynomial, it must be a polynomial of degree 100 with integer coefficients. Therefore there are only 100 integers that are eligible to be in pairs. Since each pair contains two numbers and each number can only be in one pair there are at most 50 pairs that satisfy the conditions of the question.
Problem Loading...
Note Loading...
Set Loading...
[Note: I believe that P should be f . - Calvin]
We utilize the useful lemma that ( a − b ) ∣ ( P ( a ) − P ( b ) ) for all integers a , b . The proof is trivial and will be skipped. Let de g P = n . Suppose P ( P ( a ) ) = a and P ( a ) = b , P ( P ( c ) ) = c and P ( c ) = d . Then ( a − c ) ∣ ( b − d ) and ( b − d ) ∣ ( a − c ) ⟹ a − c = ± ( b − d ) . One also knows ( a − d ) ∣ ( b − c ) and ( b − c ) ∣ ( a − d ) , which implies that a − d = ± ( b − c ) . By doing a little casework on the signs of the ± and utilizing a = b , one quickly deduces a + b = c + d . [Note: This is the main equation, that n + m is a constant. - Calvin]
Now let a be a solution to P ( P ( a ) ) = a . Then any z such that P ( P ( z ) ) = z is a root of x + P ( x ) − a − P ( a ) , which has at most n roots so P ( P ( n ) ) = n has at most 1 0 0 solutions when de g P = 1 0 0 . When we enforce n < m for P ( n ) = m and P ( m ) = n there are at most 5 0 solutions then.
Choose f ( x ) = 1 0 0 − x + ∏ i = 0 9 9 ( x − i ) . Note that for 0 ≤ i ≤ 1 0 0 we have f ( i ) = 1 0 0 − i , f ( 1 0 0 − i ) = i . Clearly this is an integer polynomial and satisfies the problems conditions to yield 5 0 pairs (namely, ( i , 1 0 0 − i ) for all 0 ≤ i ≤ 4 9 ). As we previously proved there are at most 5 0 solutions, it follows 5 0 is the maximum number of pairs as we showed it was obtainable and thus we are done. [Note: There are of course many such polynomials. The one I prefer is f ( x ) = − x + ∏ i = 1 5 0 ( x 2 − i 2 ) . - Calvin]