For how many positive integers N between 3 and 1000 (inclusive) is the following statement true?
If { a i } i = 1 N is a set of N (not necessarily distinct) real numbers such that
a 1 + a 2 + ⋯ + a N = 0 ,
then we must (always) have
a 1 a 2 + a 2 a 3 + … + a N − 1 a N + a N a 1 ≤ 0 .
Clarification : The cases of N = 1 , N = 2 are removed to avoid ambiguity in the second summation.
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.
When you considered the second summation, U put +1 a N-4 times whereas it should be a N-3 times.
If N ≥ 5 , we can choose a 1 = − 1 , a N = − 1 , a 3 = 2 , a 2 = a 4 = . . . = a N − 1 = 0 , which contradicts the second inequality and satisfy the first equality.
If N = 4 , note that the second inequality can be written as ( a + b ) ( c + d ) = − ( a + b ) 2 ≤ 0 .
Finally, if N = 3 , a b + a c + b c = c ( a + b ) + a b = − ( a + b ) 2 + a b .
We claim that ( a + b ) 2 ≥ a b .
Note that by a + b + c = 0 , at least one of a , b , c is nonpositive and at least one is nonnegative.
If b c ≤ 0 , we're done, since squares are nonnegative.
If not, b c > 0 , the inequality follows from ( b − c ) 2 ≥ 0 ⇒ b 2 + c 2 ≥ 4 b c ≥ b c .
Thus, there are 2 possible values of N .
Note : I think the problem should include the word inclusive to avoid ambiguity. I submitted 1 the first time for not including N = 3 .
I think the 4 b c at the end should be 2 b c .
For all N ≥ 5 , we consider the following construction:
this includes the condition in the question
Now, with this construction, we consider the sum:
a 1 a 2 + a 2 a 3 + . . . + a N − 1 a N + a N a 1
= a 2 a 3 + a 3 a 4 + a 4 a 5 + . . . a N − 3 a N − 2
= 1 + 1 + 1 + 1 + . . . + 1
= N − 4
≥ 1 > 0
Hence, for all N ≥ 5 , the statement is false by construction. However, obviously, if N < 5 , this construction would not hold. Therefore, we will instead prove that the statement is true for N = 3 and N = 4 separately.
N = 3 :
a 1 a 2 + a 2 a 3 + a 3 a 1
= a 1 a 2 + ( a 1 + a 2 ) ( − a 1 − a 2 ) , by the condition given
= − a 1 2 − a 2 2 − a 1 a 2
= − ( a 1 + 2 1 a 2 ) 2 − 4 3 a 2 2
≤ 0 for all a 1 , a 2
N = 4 :
a 1 a 2 + a 2 a 3 + a 3 a 4 + a 4 a 1
= a 1 a 2 + a 2 a 3 + ( a 1 + a 3 ) ( − a 1 − a 2 − a 3 ) , by the condition given
= − a 1 2 − a 3 2 − 2 a 1 a 3
= − ( a 1 + a 3 ) 2
≤ 0 for all a 1 , a 2 , a 3
Hence, the statement is only true for N = 3 , 4 , and the answer is 2 .
Notice that 0 = ( a 1 + ⋯ + a N ) 2 = a 1 2 + ⋯ a N 2 + i = j ∑ a i a j . Let's split the last sum as 2 T + V where T = a 1 a 2 + a 2 a 3 + ⋯ + a N a 1 and in V we collect the remaining terms. V contains O ( N 2 ) terms whereas T only N terms. Therefore we expect T ≤ 0 to be generically false. To be explicit, for N ≥ 6 even, the set a 1 = ⋯ = a N / 2 = 1 , a N / 2 + 1 = ⋯ = a N = − 1 gives positive T . For N ≥ 5 odd, take the same configuration on the first N − 1 terms and a N = 0 .
Let's turn to the small cases. For N = 3 the summand V always vanishes and so 2 T = − a 1 2 − a 2 2 − a 3 2 ≤ 0 . For N = 4 we get 2 T = − ( a 1 + a 3 ) 2 − ( a 2 + a 4 ) 2 ≤ 0 . So N = 3 , 4 are the only integers for which the statement is true and the answer is 2 .
For N = 3 , the expression = a 1 a 2 + a 2 a 3 + a 3 a 1 = a 1 a 2 − ( a 1 + a 2 ) 2 = − ( a 1 + 2 a 2 ) 2 − 4 3 a 2 2 < 0 . For N = 4 , the expression =a_1a_2+a_2a_3+a_3a_4+a_4a_1=(a_1+a_3)(a_4+a_2)=-(a_1+a_3}^2 <0. For N = 5 , let the numbers are − 9 , − 4 , 1 , 5 , 7 . Then numerical value of the expression is 9 . So for N = 5 , the expression is positive. For N = 6 , embed a 0 in between − 4 and 1 . So the sequence is − 9 , − 4 , 0 , 1 , 5 , 7 and the value of the expression is 1 3 . Now, for each subsequent cases, embed a 0 in between 0 and 1 , and for each cases we get a new sequence whose sum is 0 and the value of the expression is 1 3 . So answer is 2 .
There is some wrong expression in the above solution. The correction is given below: For N = 4 , the expression = a 1 a 2 + a 2 a 3 + a 3 a 4 + a 4 a 1 = ( a 1 + a 3 ) ( a 2 + a 4 ) = − ( a 1 + a 3 ) 2 < 0
We first claim that if N > 4 , we can always choose a sequence { a i } i = 1 N such that ∑ i = 1 N a i = 0 but a 1 a N + ∑ i = 1 N − 1 a i a i + 1 > 0 . Consider a i = 1 for i ∈ { 1 , 2 , … , N − 2 } , a N − 1 = − 1 , hence a N = 3 − N . Then a 1 a N + i = 1 ∑ N − 1 a i a i + 1 = 3 − N + i = 1 ∑ N − 3 1 + a N − 2 a N − 1 + a N − 1 a N = ( 3 − N ) + ( N − 3 ) + ( 1 ) ( − 1 ) + ( − 1 ) ( 3 − N ) = N − 4 > 0 . Now consider the case N = 3 . We have a 3 = − ( a 1 + a 2 ) and therefore a 1 a 2 + a 2 a 3 + a 3 a 1 = − ( a 1 2 + a 1 a 2 + a 2 2 ) . If a 1 a 2 ≥ 0 , this expression is clearly nonpositive. If a 1 a 2 < 0 , then we write − ( a 1 2 + a 1 a 2 + a 2 ) = − ( ( a 1 + a 2 ) 2 − a 1 a 2 ) and again it is obvious that this expression must be nonpositive. So the condition for N = 3 is always satisfied.
For the case N = 4 , with a 4 = − ( a 1 + a 2 + a 3 ) , algebraic simplification of the LHS condition easily gives a 1 a 2 + a 2 a 3 + a 3 a 4 + a 4 a 1 = ( a 1 + a 3 ) ( a 2 + a 4 ) = − ( a 1 + a 3 ) 2 , which is obviously nonpositive. This covers all cases; therefore, the answer is 2 .
Minor typographical error: the solution should read,
"If a 1 a 2 < 0 , then we write − ( a 1 2 + a 1 a 2 + a 2 2 ) = − ( ( a 1 + a 2 ) 2 − a 1 a 2 )...."
But according to me every value of N will satisfy if all the elements of the given set are 0
Log in to reply
The problem is asking us to find all 3 ≤ N ≤ 1 0 0 0 such that ANY choice of a 1 , a 2 , … , a N that satisfies a 1 + a 2 + ⋯ + a N = 0 , must also mean the inequality a 1 a 2 + a 2 a 3 + ⋯ + a N − 1 a N + a N a 1 ≤ 0 is also true. Just choosing a i = 0 makes the two conditions hold, but you have not shown that ALL possible choices make the inequality true.
Therefore, to show that a given N does NOT satisfy both conditions, it suffices to find a single counterexample consisting of a sequence { a 1 , a 2 , … , a N } for which the sum is zero but the inequality is false. However, to prove that a given N DOES satisfy both conditions, you have to show the inequality is satisfied for any choice for the a's that add to zero.
2
how?
Problem Loading...
Note Loading...
Set Loading...
We will show that only N = 3 , 4 work. Consider the sequence ( N − 3 ) + 1 + N-2 times ( − 1 ) + ( − 1 ) . . + ( − 1 ) = 0 These are N real numbers whose sum is equal to 0 . Now we consider their second summation. That equals
( N − 3 ) ∗ 1 − 1 + N-4 times 1 + 1 + 1 . . + 1 − ( N − 3 ) = ( N − 4 ) which is positive when N ≥ 5 This contradicts the second inequality. So all N ≥ 5 don't always work.
Now consider the cases when N = 3 , N = 4 Case 1 : When N = 3 : Let the numbers be a 1 , a 2 , a 3
a 1 + a 2 + a 3 = 0 so , a 1 + a 2 = − a 3 It can easily be checked that the second summation in this case is always ≤ 0
Case 2 : When N = 4 : Let the numbers be a 1 , a 2 , a 3 , a 4 In this case the second summation after simplifications reduces to − ( a 2 + a 4 ) 2 which is again non positive. So we conclude that only N = 3 and N = 4 work, and hence the answer is 2