Difference between revisions of "2006 AIME I Problems/Problem 15"
(→Solutions) |
Technodoggo (talk | contribs) |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 20: | Line 20: | ||
Therefore | Therefore | ||
<cmath> | <cmath> | ||
− | \left|\sum_{i = 1}^{2006}b_{i}\right| = \left|\frac {(b_{2006} + 1)^{2} - 2007}2\right|\geq \frac {2025 - 2007}{2} = 9 | + | \left|\sum_{i = 1}^{2006}b_{i}\right| = \left|\frac {(b_{2006} + 1)^{2} - 2007}2\right|\geq \left|\frac{2025 - 2007}{2}\right| = 9 |
</cmath> | </cmath> | ||
− | So | + | This lower bound can be achieved if we use <math>b_1 = -1</math>, <math>b_2 = 0</math>, <math>b_3 = -1</math>, <math>b_4 = 0</math>, and so on until <math>b_{1962} = 0</math>, after which we let <math>b_k = b_{k - 1} + 1</math> so that <math>b_{2006} = 44</math>. So |
<cmath> | <cmath> | ||
\left|\sum_{i = 1}^{2006}x_{i}\right|\geq \boxed{027} | \left|\sum_{i = 1}^{2006}x_{i}\right|\geq \boxed{027} | ||
Line 28: | Line 28: | ||
=== Solution 2 === | === Solution 2 === | ||
− | First, we state that iff <math>x_{i - 1}\ge0</math>, <math>|x_i| = |x_{i - 1}| + 3</math> and iff <math>x_{i - 1} < 0</math>, <math>|x_i| = |x_{i - 1}| - 3</math>. Now suppose <math>x_i = x_j</math> for some <math>0\le i < j\le2006</math>. Now, this means that <math>|x_i| = |x_j|</math>, and so the number of positive numbers in the set <math>\{x_i,x_{i + 1},\ldots,x_{j - 1}\}</math> equals the number of negative numbers. Now pair the numbers in this list up in the following way: Whenever a positive and a negative number are adjacent in this progression, pair them up and remove them from this list. We claim that every pair will sum to -3. | + | First, we state that [[iff]] <math>x_{i - 1}\ge0</math>, <math>|x_i| = |x_{i - 1}| + 3</math> and iff <math>x_{i - 1} < 0</math>, <math>|x_i| = |x_{i - 1}| - 3</math>. Now suppose <math>x_i = x_j</math> for some <math>0\le i < j\le2006</math>. Now, this means that <math>|x_i| = |x_j|</math>, and so the number of positive numbers in the set <math>\{x_i,x_{i + 1},\ldots,x_{j - 1}\}</math> equals the number of negative numbers. Now pair the numbers in this list up in the following way: Whenever a positive and a negative number are adjacent in this progression, pair them up and remove them from this list. We claim that every pair will sum to -3. |
If the positive number comes first, then the negative number will have a magnitude three greater, so this is true. If the negative number comes first, then the positive number will have magnitude three smaller, and this will also be true. Now let us examine what happens when we remove those two from the sequence. WLOG, let the numbers be <math>x_k</math> and <math>x_{k + 1}</math>. Since one is positive and the other is negative, <math>|x_{k + 2}| = |x_{k + 1}|\pm3 = |x_k|\pm3\mp3 = |x_k| = |x_{k - 1} + 3|</math>. So the new sequence works under the same criteria as the old one. In this way, we can pair all of the numbers up in this subsequence so the sums of the pairs are -3. Thus, the average of these numbers will be -3/2 for all subsequences that start and end with the same number (not including one of those). | If the positive number comes first, then the negative number will have a magnitude three greater, so this is true. If the negative number comes first, then the positive number will have magnitude three smaller, and this will also be true. Now let us examine what happens when we remove those two from the sequence. WLOG, let the numbers be <math>x_k</math> and <math>x_{k + 1}</math>. Since one is positive and the other is negative, <math>|x_{k + 2}| = |x_{k + 1}|\pm3 = |x_k|\pm3\mp3 = |x_k| = |x_{k - 1} + 3|</math>. So the new sequence works under the same criteria as the old one. In this way, we can pair all of the numbers up in this subsequence so the sums of the pairs are -3. Thus, the average of these numbers will be -3/2 for all subsequences that start and end with the same number (not including one of those). | ||
Line 47: | Line 47: | ||
<math>{x_{2007}}^2 = 6\left(x_1 + x_2 + \cdots + x_{2006}\right) + 9\cdot{2007}</math> | <math>{x_{2007}}^2 = 6\left(x_1 + x_2 + \cdots + x_{2006}\right) + 9\cdot{2007}</math> | ||
− | So <math>|x_1 + x_2 + \cdots + x_{2006}| = \ | + | So <math>|x_1 + x_2 + \cdots + x_{2006}| = \tfrac 16 \left|{x_{2007}}^2 - 9\cdot{2007}\right|</math> |
− | We know <math>3\ |\ x_{2007}</math> and we want to minimize <math>\left|{x_{2007}}^2 - 9\cdot{2007}\right|</math>, so <math>x_{2007}</math> must be <math>3\cdot{45}</math> for it to be minimal (<math>45^2 = 2025</math> which is closest to <math>2007</math>). | + | We know <math>3\ |\ x_{2007}</math> and we want to minimize <math>\left|{x_{2007}}^2 - 9\cdot{2007}\right|</math>, so <math>x_{2007}</math> must be <math>3\cdot{45}</math> for it to be minimal (<math>45^2 = 2025</math> which is closest to <math>2007</math>). We can achieve this with <math>x_k=3k</math> till <math>x_{45}=135</math> and then alternating <math>x_{46}=132</math>, <math>x_{47}=135</math> and so on ... Then <math>x_{2k}=132</math> and <math>x_{2k+1}=135</math> for all <math>k>22</math>. Since <math>2007</math> is odd, we have <math>x_{2007}=135</math>. |
− | This means that <math>|x_1 + x_2 + \cdots + x_{2006}| = \left| | + | This means that <math>|x_1 + x_2 + \cdots + x_{2006}| = \tfrac 16 \left|9(2025 - 2007)\right| = \boxed{027}</math> |
=== Solution 4 === | === Solution 4 === | ||
− | Playing around with a couple numbers, we see that we can generate the sequence <math>0, 3, -6, 3, -6, \cdots</math>, and we can also generate the sequence <math>3, 6, 9, 12, \cdots</math> after each <math>-6</math> value. Thus, we will apply this to try and find some bounds. We can test if the first <math>1000</math> pairs of numbers each sum up to <math>-3</math>, and the rest form an arithmetic sequence, if the first <math>990</math> pairs sum up to <math>-3</math>, and so on. When we get to <math>980</math>, we find that <math>980(-3) + 3 + 6 + \cdots + 3\cdot 46 = 303</math>. If we shift the number of pairs up by <math>1</math>, we get <math>981(-3) + 3 + 6 + \cdots + 3\cdot 44 = \boxed{027}</math>. | + | Playing around with a couple numbers, we see that we can generate the sequence <math>0, 3, -6, 3, -6, \cdots</math>, and we can also generate the sequence <math>3, 6, 9, 12, \cdots</math> after each <math>-6</math> value. Thus, we will apply this to try and find some bounds. We can test if the first <math>1000</math> pairs of numbers each sum up to <math>-3</math>, and the rest form an arithmetic sequence, if the first <math>990</math> pairs sum up to <math>-3</math>, and so on. When we get to <math>980</math>, we find that <math>980(-3) + 3 + 6 + \cdots + 3\cdot 46 = 303</math>. If we shift the number of pairs up by <math>1</math>, we get <math>981(-3) + 3 + 6 + \cdots + 3\cdot 44 = \boxed{027}</math>. |
− | == Solution | + | ~ Spacesam |
− | + | ||
+ | == Solution 5 == | ||
+ | |||
+ | We will work our way from <math>|x_0|</math> to <math>|x_0+x_1|</math> to <math>|x_0+x_1+x_2+\dots+x_{2006}|</math>. Let the sum <math>|x_0+x_1+x_2+\dots+x_i|=S_i</math>. | ||
+ | |||
+ | Seeing as the value for the sum we want is always nonnegative, the best pseudo-strategy would be to stay as close to <math>0</math> as possible as we increase <math>i</math> to eventually get to <math>i=2006</math>. It turns out that a greedy algorithm works here. Let us start with some smaller values of <math>i</math>. | ||
+ | |||
+ | Note that we can describe <math>x_{k+1}</math> in terms of <math>x_k</math> in the following way: take <math>x_k</math>, add <math>3</math>, and either multiply by <math>-1</math> or not. | ||
+ | |||
+ | We know that <math>S_0=0</math>. When we get to <math>S_1</math>, we add in <math>x_1</math>, which is either <math>3</math> or <math>-3</math>. It does not make a difference which one we choose, so we can choose <math>3</math> for convenience. Now, <math>S_1=3</math>. <math>x_2</math> is either <math>\pm6</math>; adding <math>6</math> would take us farther away from <math>0</math>, but adding <math>-6</math> is an okay move. Thus, let <math>x_2=-6</math>, so <math>S_2=-3</math>. | ||
+ | |||
+ | <math>x_3</math> is <math>\pm3</math>. Adding <math>3</math> is clearly the right choice here, which takes us to <math>0</math>. Thus, <math>x_3=3</math> and <math>S_3=0</math>. | ||
+ | |||
+ | Let us look at how this greedy algorithm performs in general. | ||
+ | |||
+ | <math>\begin{tabular}[t]{c|ccccccc} | ||
+ | S_i&3a&-3&3a-3&-6&3a-6&-9&\cdots\\ | ||
+ | x_i&3a&-3a-3&3a&-3a-3&3a&-3a-3&\cdots\\ | ||
+ | \end{tabular}</math> | ||
+ | |||
+ | (the table doesn't work; if you desire, please to go [https://artofproblemsolving.com/texer/zzyacvnp https://artofproblemsolving.com/texer/zzyacvnp] to view) | ||
+ | |||
+ | The sums alternate between separate arithmetic sequences. One of them is of particular interest to us: specifically, the one that goes <math>3a,3a-3,3a-6,\cdots</math>, because it will eventually become <math>0</math>. One can then derive using simple algebra how long it will take to reach zero, depending on <math>a</math>; it turns out that it takes <math>2a+1</math> for each cycle to complete. We can then see that <math>S_{k^2-1}=0</math> for positive integers <math>k</math>; thus, <math>S_{1935}=0</math>. We can then go through our algorithm, and it turns out that <math>S_{2006}=\boxed{027}</math>. | ||
+ | |||
+ | ~Technodoggo (sorry for the rushed solution!) | ||
== See also == | == See also == | ||
{{AIME box|year=2006|n=I|num-b=14|after=Last Question}} | {{AIME box|year=2006|n=I|num-b=14|after=Last Question}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 17:02, 20 September 2024
Problem
Given that a sequence satisfies and for all integers find the minimum possible value of
Contents
Solutions
Solution 1
Suppose . We have So Now Therefore This lower bound can be achieved if we use , , , , and so on until , after which we let so that . So
Solution 2
First, we state that iff , and iff , . Now suppose for some . Now, this means that , and so the number of positive numbers in the set equals the number of negative numbers. Now pair the numbers in this list up in the following way: Whenever a positive and a negative number are adjacent in this progression, pair them up and remove them from this list. We claim that every pair will sum to -3.
If the positive number comes first, then the negative number will have a magnitude three greater, so this is true. If the negative number comes first, then the positive number will have magnitude three smaller, and this will also be true. Now let us examine what happens when we remove those two from the sequence. WLOG, let the numbers be and . Since one is positive and the other is negative, . So the new sequence works under the same criteria as the old one. In this way, we can pair all of the numbers up in this subsequence so the sums of the pairs are -3. Thus, the average of these numbers will be -3/2 for all subsequences that start and end with the same number (not including one of those).
Now, take all of the repeating subsequences out of the original sequence. The only thing that will be left will be a sequence for some even . Since we started with 2006 terms, we removed (an even number) with an average of -3/2. Thus, the sum of both this remaining sequence and the removed stuff is . This must be minimized, so we find the roots: and . Plugging in yields (and yields , a worse result). Thus, is the closest to zero this sum can get.
Solution 3
We know . We get rid of the absolute value by squaring both sides: . So we set this up:
There are equations. Sum them. We get:
So
We know and we want to minimize , so must be for it to be minimal ( which is closest to ). We can achieve this with till and then alternating , and so on ... Then and for all . Since is odd, we have .
This means that
Solution 4
Playing around with a couple numbers, we see that we can generate the sequence , and we can also generate the sequence after each value. Thus, we will apply this to try and find some bounds. We can test if the first pairs of numbers each sum up to , and the rest form an arithmetic sequence, if the first pairs sum up to , and so on. When we get to , we find that . If we shift the number of pairs up by , we get .
~ Spacesam
Solution 5
We will work our way from to to . Let the sum .
Seeing as the value for the sum we want is always nonnegative, the best pseudo-strategy would be to stay as close to as possible as we increase to eventually get to . It turns out that a greedy algorithm works here. Let us start with some smaller values of .
Note that we can describe in terms of in the following way: take , add , and either multiply by or not.
We know that . When we get to , we add in , which is either or . It does not make a difference which one we choose, so we can choose for convenience. Now, . is either ; adding would take us farther away from , but adding is an okay move. Thus, let , so .
is . Adding is clearly the right choice here, which takes us to . Thus, and .
Let us look at how this greedy algorithm performs in general.
$\begin{tabular}[t]{c|ccccccc} S_i&3a&-3&3a-3&-6&3a-6&-9&\cdots\\ x_i&3a&-3a-3&3a&-3a-3&3a&-3a-3&\cdots\\ \end{tabular}$ (Error compiling LaTeX. Unknown error_msg)
(the table doesn't work; if you desire, please to go https://artofproblemsolving.com/texer/zzyacvnp to view)
The sums alternate between separate arithmetic sequences. One of them is of particular interest to us: specifically, the one that goes , because it will eventually become . One can then derive using simple algebra how long it will take to reach zero, depending on ; it turns out that it takes for each cycle to complete. We can then see that for positive integers ; thus, . We can then go through our algorithm, and it turns out that .
~Technodoggo (sorry for the rushed solution!)
See also
2006 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 14 |
Followed by Last Question | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.