Difference between revisions of "1989 AIME Problems/Problem 11"
Mathgeek2006 (talk | contribs) m (→Solution) |
Alexlikemath (talk | contribs) (→Solution) |
||
Line 2: | Line 2: | ||
A sample of 121 [[integer]]s is given, each between 1 and 1000 inclusive, with repetitions allowed. The sample has a unique [[mode]] (most frequent value). Let <math>D</math> be the difference between the mode and the [[arithmetic mean]] of the sample. What is the largest possible value of <math>\lfloor D\rfloor</math>? (For real <math>x</math>, <math>\lfloor x\rfloor</math> is the [[floor function|greatest integer]] less than or equal to <math>x</math>.) | A sample of 121 [[integer]]s is given, each between 1 and 1000 inclusive, with repetitions allowed. The sample has a unique [[mode]] (most frequent value). Let <math>D</math> be the difference between the mode and the [[arithmetic mean]] of the sample. What is the largest possible value of <math>\lfloor D\rfloor</math>? (For real <math>x</math>, <math>\lfloor x\rfloor</math> is the [[floor function|greatest integer]] less than or equal to <math>x</math>.) | ||
__NOTOC__ | __NOTOC__ | ||
− | == Solution == | + | == Solution 1 == |
Let the mode be <math>x</math>, which we let appear <math>n > 1</math> times. We let the arithmetic mean be <math>M</math>, and the sum of the numbers <math>\neq x</math> be <math>S</math>. Then | Let the mode be <math>x</math>, which we let appear <math>n > 1</math> times. We let the arithmetic mean be <math>M</math>, and the sum of the numbers <math>\neq x</math> be <math>S</math>. Then | ||
<cmath>\begin{align*} | <cmath>\begin{align*} | ||
Line 20: | Line 20: | ||
In less formal language, it quickly becomes clear after some trial and error that in our sample, there will be <math>n</math> values equal to one and <math>n-1</math> values each of <math>1000, 999, 998 \ldots</math>. It is fairly easy to find the [[maximum]]. Try <math>n=2</math>, which yields <math>924</math>, <math>n=3</math>, which yields <math>942</math>, <math>n=4</math>, which yields <math>947</math>, and <math>n=5</math>, which yields <math>944</math>. The maximum difference occurred at <math>n=4</math>, so the answer is <math>947</math>. | In less formal language, it quickly becomes clear after some trial and error that in our sample, there will be <math>n</math> values equal to one and <math>n-1</math> values each of <math>1000, 999, 998 \ldots</math>. It is fairly easy to find the [[maximum]]. Try <math>n=2</math>, which yields <math>924</math>, <math>n=3</math>, which yields <math>942</math>, <math>n=4</math>, which yields <math>947</math>, and <math>n=5</math>, which yields <math>944</math>. The maximum difference occurred at <math>n=4</math>, so the answer is <math>947</math>. | ||
+ | |||
+ | == Solution 2 == | ||
+ | With the same reasoning as Solution 1, in order to get largest possible value of D, we can construct that our set of numbers as <math>\underbrace{1,1,1...1,}_\text{n times}\underbrace{2,2,2...2,}_\text{n times}\underbrace{3,3,3...3,}_\text{n times}........\underbrace{1000,1000,1000....}_\text{n+1 times}</math> And, we need to find the value of n that makes the sum as low as possible. And, we can create a formula to make it easier. It isn't hard to find the sum. The numbers which are not 1000, average to <math>\frac{120}{2n}</math> or <math>\frac{60}{n}</math>, and there are <math>120-n</math> of them. So, they sum to <math>\frac{60}{n}(120-n)</math>. And, the sum of the numbers that are 1000 is <math>1000(n+1)</math> so, our total sum gets us <math>1000(n+1)+120/2n(120-n)</math> We want to minimize it, since the mode will always be 1000. And, testing the values n = 1, n = 2, n = 3, n = 4, we get these results. | ||
+ | |||
+ | <math>n = 1: 2000+60*119 = 9140</math> | ||
+ | |||
+ | <math>n = 2: 3000+30*118 = 6540</math> | ||
+ | |||
+ | <math>n = 3: 4000+20*117 = 6340</math> | ||
+ | |||
+ | <math>n = 4: 5000+15*116 = 6740</math> | ||
+ | |||
+ | And, as n grows larger and larger from 4, the values will start increasing. Thus, the lowest possible sum is 6340. Dividing by 121, the lowest possible mean is 52.396...., and thus, the highest possible value of <math>D</math> is 947.604, and the flor of that is <math>\boxed{947}</math> | ||
+ | |||
+ | -Alexlikemath | ||
== Notes == | == Notes == |
Revision as of 11:07, 18 June 2019
Problem
A sample of 121 integers is given, each between 1 and 1000 inclusive, with repetitions allowed. The sample has a unique mode (most frequent value). Let be the difference between the mode and the arithmetic mean of the sample. What is the largest possible value of
? (For real
,
is the greatest integer less than or equal to
.)
Solution 1
Let the mode be , which we let appear
times. We let the arithmetic mean be
, and the sum of the numbers
be
. Then
As
is essentially independent of
, it follows that we wish to minimize or maximize
(in other words,
). Indeed,
is symmetric about
; consider replacing all of numbers
in the sample with
, and the value of
remains the same. So, without loss of generality, let
. Now, we would like to maximize the quantity
![$\frac{S}{121}-\left(\frac{121-n}{121}\right)(1) = \frac{S+n}{121}-1$](http://latex.artofproblemsolving.com/7/d/5/7d54d12e05bbc735831671d2cd0c6d324265d917.png)
contains
numbers that may appear at most
times. Therefore, to maximize
, we would have
appear
times,
appear
times, and so forth. We can thereby represent
as the sum of
arithmetic series of
. We let
, so
![$S = (n-1)\left[\frac{k(1000 + 1001 - k)}{2}\right] + R(n)$](http://latex.artofproblemsolving.com/0/4/5/0456615e50545ebc7c6c5157c7cb4ca9135dbca8.png)
where denotes the sum of the remaining
numbers, namely
.
At this point, we introduce the crude estimate[1] that , so
and
Expanding (ignoring the constants, as these do not affect which
yields a maximum) and scaling, we wish to minimize the expression
. By AM-GM, we have
, with equality coming when
, so
. Substituting this result and some arithmetic gives an answer of
.
In less formal language, it quickly becomes clear after some trial and error that in our sample, there will be values equal to one and
values each of
. It is fairly easy to find the maximum. Try
, which yields
,
, which yields
,
, which yields
, and
, which yields
. The maximum difference occurred at
, so the answer is
.
Solution 2
With the same reasoning as Solution 1, in order to get largest possible value of D, we can construct that our set of numbers as And, we need to find the value of n that makes the sum as low as possible. And, we can create a formula to make it easier. It isn't hard to find the sum. The numbers which are not 1000, average to
or
, and there are
of them. So, they sum to
. And, the sum of the numbers that are 1000 is
so, our total sum gets us
We want to minimize it, since the mode will always be 1000. And, testing the values n = 1, n = 2, n = 3, n = 4, we get these results.
And, as n grows larger and larger from 4, the values will start increasing. Thus, the lowest possible sum is 6340. Dividing by 121, the lowest possible mean is 52.396...., and thus, the highest possible value of is 947.604, and the flor of that is
-Alexlikemath
Notes
- ^ In fact, when
(which some simple testing shows that the maximum will occur around), it turns out that
is an integer anyway, so indeed
.
See also
1989 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 10 |
Followed by Problem 12 | |
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.