2021 AMC 12B Problems/Problem 12

Revision as of 19:38, 11 February 2021 by Yanda (talk | contribs)

Problem

Suppose that $S$ is a finite set of positive integers. If the greatest integer in $S$ is removed from $S$, then the average value (arithmetic mean) of the integers remaining is $32$. If the least integer in $S$ is also removed, then the average value of the integers remaining is $35$. If the great integer is then returned to the set, the average value of the integers rises to $40.$ The greatest integer in the original set $S$ is $72$ greater than the least integer in $S$. What is the average value of all the integers in the set $S?$

$\textbf{(A) }36.2 \qquad \textbf{(B) }36.4 \qquad \textbf{(C) }36.6\qquad \textbf{(D) }36.8 \qquad \textbf{(E) }37$

Solution

Let $x$ be the greatest integer, $y$ be the smallest, $z$ be the sum of the numbers in S excluding $x$ and $y$, and $k$ be the number of elements in S.

Then, $S=x+y+z$

Firstly, when the greatest integer is removed, $\frac{S-x}{k-1}=32$

When the smallest integer is also removed, $\frac{S-x-y}{k-2}=35$

When the greatest integer is added back, $\frac{S-y}{k-1}=40$

We are given that $x=y+72$


After you substitute $x=y+72$, you have 3 equations with 3 unknowns $S,$, $y$ and $k$.

$S-y-72=32k-32$

$S-2y-72=35k-70$

$S-y=40k-40$

This can be easily solved to yield $k=10$, $y=8$, $S=368$.

$\therefore$ average value of all integers in the set $=S/k = 368/10 = 36.8$, D)

~ SoySoy4444

See Also

2021 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 11
Followed by
Problem 13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png