What is the largest value of d , such that for some degree d polynomial f ( x ) with integer coefficients, ∣ f ( x ) ∣ = 1 0 2 4 for more than d integer values of x ?
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.
That's a great start! I'm interested in hearing what the other 100 people who solved it have to say.
Log in to reply
Did the same as above and couldn't really make up anything higher than 7, so took a guess.
It is also odd that you only get d+1 roots even in lower values of d.
Even I used the same logic.
I first started to think graphically, but, to no avail. Then I tried to construct such a polynomial and ended up following the same approach as yours. Calvin Sir, do you have some other solution in your mind, or it is on the same lines as this one?
Log in to reply
The above logic isn't necessarily correct, as it assumes that we have a factorization into integers, which need not always be the case.
You need to show why d ≥ 8 is not possible. This generally boils down to an argument that for integers a and b , we have ( a − b ) ∣ f ( a ) − f ( b ) . Hence, we can't have too many pairs where f ( a ) = 1 0 2 4 and f ( b ) = − 1 0 2 4 .
Log in to reply
Hmm...my proof has a different approach for this.. but the more I think about this... the more uncertain I get.
It is obvious that, for any integer x and y , x − y divides f ( x ) − f ( y ) ( f ( x ) − f ( y ) = ∑ i a i ( x i − y i ) , the a i are integer, and x − y divides x i − y i ). We will use this to show that 7 is an upper bound on d , and in the process be led toward an f that achieves that bound.
Suppose we have some maximum degree f , and with it two integer sequences a 0 , a 1 , … , a n − 1 and b 0 , b 1 , … , b m − 1 such that f ( a i ) = 2 1 0 and f ( b i ) = − 2 1 0 for all i . Each a i is a unique integer, distinct from any other a j or b j , and vice versa. Using the property from before, we see that each difference a i − b j is a divisor (positive or negative) of 2 1 1 .
We will now derive a contradiction in the case that both sequences have more than one element.
Take two elements from each sequence and call them a 0 , a 1 and b 0 , b 1 . Then, considering the differences between the a i and b 0 , we get b 0 = a 0 + 2 x 0 and b 0 = a 1 + 2 x 1 (there are actually arbitrary signs in front of of the powers of two, but they don't break our argument, and are tedious write in TeX so I'm not going address them; we're also assuming here that x 0 > x 1 , and that's also a minor detail that doesn't affect the argument). This gives a 1 − a 0 = 2 x 1 ( 2 x 0 − x 1 − 1 ) .
Doing the same with b 1 gives a 1 − a 0 = 2 y 1 ( 2 y 0 − y 1 − 1 ) . But the uniqueness of factorizations combined with this implies that x 0 = y 0 and y 0 = y 1 , implying b 0 = b 1 , contradicting our assumptions about distinctness.
So in all cases, we will have either exactly one a such that f ( a ) = 2 1 0 or one b such that f ( b ) = − 2 1 0 . Without loss of generality we consider the latter case.
So we have a sequence a 0 , a 1 , … , a n − 1 and some b . The maximum degree of the polynomial f ( x ) is then n . We know that the polynomial f ( x ) − 2 1 0 , has n roots, so, in fact, f must have degree n , and f ( x ) − 2 1 0 is determined up to a constant, in turn determining f ( x ) (up to that constant).
So f ( x ) − 2 1 0 = c ( x − ( b ± 2 i ) ) ( x − ( b ± 2 j ) ) ⋯ ( x − ( b ± 2 k ) . Plugging in b we get that 2 1 1 = ± c X where X is the product of a bunch of distinct positive and negative divisors of 2 1 1 . For c to be integer, X needs to divide 2 1 1 . So really we're looking to maximize the number of distinct divisors 2 1 1 such that their product divides 2 1 1 . But this is easy to do greedily! We can choose, for example, − 2 3 , − 2 2 , − 2 1 , − 2 0 , 2 0 , 2 1 , 2 2 , and this will give the maximum number, namely, 7.
Close to correct solution. However, a 1 − a 0 = ± 2 x 1 ( 2 x 0 − x 1 ± 1 ) and a 1 − a 0 = ± 2 y 1 ( 2 y 0 − y 1 ± 1 ) only imply, by factorization, that x 1 = y 1 . Indeed, 2 2 − 1 = 2 1 + 1 , so it may happen that x 0 − x 1 = 2 , while y 0 − y 1 = 1 . So one has to be more careful with the signs here: they do matter, and this case is trickier than you thought.
|f(x)|=1024=2^10, Equation can be written as follows, f(x)=(x-a)(x-b)....-1024 or (x-a)(x-b)....+1024 were a,b,... are the 'd' integer roots of |f(x)|=1024. |f(x)|=1024=2^10=1 2 8 (-1) (-2) (-4) (-8), 1024 can only be written as multiple of up to 7 different integers. Substituting these sample values as a,b,... we get |f(x)|=1024 not only for these 7 values but also for 0 (|-1024|=1024).Thus a total of d+1 integer values this case is satisfied. Thus we can conclude that 7 is the top limit for the given case.
Consider the polynomial f(x)=(x-r 1)(x-r 2)...(x-r n)+1024. At any x=r n, the value of |f(x)| is 1024 (n solutions, degree n). For there to be more solutions, the value of f(x) must be -1024 at an integer value of x. Thus (x-r 1)(x-r 2)...(x-r n) must equal -2048, and each x-r i is an integer. The highest n for which this is possible is 7; the values of r_i are -4, -2, -1, 1, 2, 4, 32.
If we write that f ( x ) − 1 0 2 4 = g ( x ) , where g ( x ) has degree d , then it is possible (for a certain polynomial g ( x ) ) that there are d solutions to the equation we must satisfy.
However, this is not good enough. We need at least one extra solution, for f ( x ) = − 1 0 2 4 .
Then, we can say there must be at least one solution to g ( x ) = − 2 0 4 8 . Therefore, because g ( x ) must have integer roots, we are looking for the maximum possible number of integers that multiply to − 2 0 4 8 , which will be our answer.
It turns out this maximum can be achieved by ( − 8 ) ( − 4 ) ( − 1 ) ( 1 ) ( 2 ) ( 4 ) ( 8 ) , so our answer is d = 7 .
The statement " g ( x ) must have integer roots" is not justified: it is possible that some roots of g are not integers.
The product does not have to equal to − 2 0 4 8 , it can divide it, because one may have g ( x ) = C ( x − a 1 ) . . . ( x − a d ) ) with some integer constant C .
These mistakes aside, the solution is very clearly written.
Without loss of generality, let f ( x ) = C ( x − a 1 ) ( x − a 2 ) ⋅ ⋅ ⋅ ( x − a d ) − 1 0 2 4 . ∣ f ( x ) ∣ = 1 0 2 4 i f x = a 1 , a 2 , … , a d . Another value of x , say x 0 , gives ∣ f ( x ) ∣ =1024 if f ( x 0 ) = 2 0 4 8 . This happens when f ( x 0 = C ( ± 1 ) ( ± 2 ) ( ± 2 2 ) ( 2 3 ) , where C = 4 . Adding another term of (-8) gives C = 2 1 . Hence, the max value of d is 7 .
Let f(x)=g(x)-1024 (+1024 is another approach to the solution). Let a 1 , a 2 , … , a d be the roots of g such that g ( x ) = C ( x − a 1 ) ( x − a 2 ) ⋅ ⋅ ⋅ ( x − a d ) . g vanishes if x is any root of f. If g ( x 0 ) = 2 0 4 8 for some x 0 , then f ( x 0 ) = 1 0 2 4 . This x 0 is the (d+1)th value of x such that ∣ f ( x ) ∣ = 1 0 2 4 . Since the polynomial has integer coefficients, Since 2 0 4 8 = 2 1 1 , each term of g ( x 0 has to be a power of 2. The highest value of d occurs when g ( x 0 ) = C ( 1 ) ( − 1 ) ( 2 ) ( − 2 ) ( 4 ) ( − 4 ) ( 8 [ o r − 8 ] ) = 2 0 4 8 where C=4 [or -4].) Had we let g ( x 0 ) = C ( 1 ) ( − 1 ) ( 2 ) ( − 2 ) ( 4 ) ( − 4 ) ( 8 ) ( − 8 ) = 2 0 4 8 , C becomes non-integral. Hence, the answer is 7 .
I will try my best to achieve all the level 5 expectations for this solution, although I have a feeling that my solution will be very similar to but more complicated than the one already submitted. Also I am new to English writing so sorry if some sentences are hard to understand.
First of all, ∣ f ( x ) ∣ =1024 is equivalent to f ( x ) − 1 0 2 4 = 0 and f ( x ) = − 1 0 2 4 .
To approach this problem, I tried constructing a polynomial that satisfies the problem. To do this, let's assume that r i ,where i = 1 , 2 , . . . , d are distinct(repeated integers are counted once), are the integer solutions to the first equation. This polynomial can be written as: f ( x ) = a ( x − r 1 ) ( x − r 2 ) . . . ( x − r d ) + 1 0 2 4 for some integer a (note that f ( x ) has integer coefficients). Now consider the second equation with this polynomial:
f ( x ) = a ( x − r 1 ) ( x − r 2 ) . . . ( x − r d ) + 1 0 2 4 = − 1 0 2 4
a ( x − r 1 ) ( x − r 2 ) . . . ( x − r d ) = − 1 0 2 4 = − 2 1 1 ($)
Since there are already d solution for the first equation, so to fulfill the problem's condition that we want more than d solutions, we hope for at least one integer solution for ($).
Since the LHS of ($) are all integers, therefore they must all be factors of and multiply to get − 2 1 1 . Since we want to maximize d, we have to find the largest number d such that − 2 1 1 can be expressed as the product of d distinct integers(in doing so we'll set a = 1 ). To answer this sub-question, one can easily come up with and check these 7 integers : S = 1 , − 1 , 2 , − 2 , 2 2 , − 2 2 , 2 5 . This means that one of the x − r i corresponds with one of the factors. In other words, we have 7 equations: x − r i = p i where p i is an element of S and i = 1 , 2 , . . . , 7 .
Since there are 7 equations with 8 variables, there's at most one solution for x if one r i is numerically defined. Therefore, we can find r 1 , r 2 , . . . , r 7 to make the second equation to have one integer solution(i.e. they are a permutation of S and x = 0 ). Hence this suggests that the answer should be 7 .
At this point, I've summarized how I arrived at the solution. To ensure that 7 is indeed the largest integer, let's assume that d ≥ 8 . Since it's shown above that we can only have most 7 distinct factors on the LHS of ($), there are d − 7 ≥ 1 factors that will reoccur. Thus if we list out the 7 distinct equations again, by the same argument shown above, we will get at most 1 solution for x. This makes the total number of distinct solutions at most 7 + 1 = 8 , which doesn't fulfill the requirements for d ≥ 8 .
As predicted...this is indeed similar to the above solution.. Needs check for rigorousness!
An addition/typo to the proof: it should be 7 LINEAR equations.
Now that I thought about it....the whole thing seems to be a mistake! What I said wasn't enough for the number of solutions to x.
I'm not so sure what your last paragraph mean. There could be d solutions to f ( x ) = 1 0 2 4 and d solutions to f ( x ) = − 1 0 2 4 . I do not see any argument for why given d ≥ 8 , there cannot be more than d integer solutions in total.
Note that you're also making an assumption that the polynomial must be completely factored into integers, which need not be the case. We could have quadratic terms like x 2 + 2 x + 3 which doesn't allow us to factorize it into ( x − r 1 ) ( x − r 2 ) , where r 1 , 2 are integers.
Problem Loading...
Note Loading...
Set Loading...
This is not rigorous, but intended to start discussion.
Let f ( x ) = x ( x − r 1 ) ( x − r 2 ) . . . ( x − r n ) + 1 0 2 4
Then, if all the roots are distinct, we have f ( x ) = 1 0 2 4 for n values of x
We want to make f ( x ) = − 1 0 2 4 so let x ( x − r 1 ) ( x − r 2 ) . . . ( x − r n ) = − 2 0 4 8 Note that 2 0 4 8 = 2 1 1 , we want to maximize the number of terms in a distinct product of factors that will equal 2048.
Clearly this is done by choosing the factors as 1 , − 1 , 2 , − 2 , 4 , − 4 , 3 2 ) (or any other combination of length 7). So our polynomial must have degree at most 7.
I am stuck on how to make my argument more complete and rigorous. Any hints or suggestions?