Means of interchanged data sets

Algebra Level 3

The mean of a set of data is 15 15 and the mean of another is 20 20 .

One of the pieces of data from the first set is exchanged with one of the pieces of data from the second set.

The mean of the first set changes from 15 15 to 16 16 . The mean of the other decreases to 17 17 .

What is the mean of both sets of data, combined?

16 1 4 16\frac{1}{4} 16 3 4 16\frac{3}{4} 16 2 3 16\frac{2}{3} 16 1 3 16\frac{1}{3} 16 1 2 16\frac{1}{2}

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.

3 solutions

Let the data in the first set be a 1 , a 2 , . . . , a n a_1,a_2,...,a_n . Let the data in the second be b 1 , b 2 , . . . , b k b_1,b_2,...,b_k .

We have that a 1 + . . . + a n n = 15 a 1 + . . . + a n = 15 n \dfrac{a_1+...+a_n}{n}=15\implies a_1+...+a_n=15n .

Similarly, b 1 + . . . + b k = 20 k b_1+...+b_k=20k .

Assume, without loss of generality, that a 1 a_1 and b 1 b_1 are swapped.

This gives b 1 + a 2 + . . . + a n = 16 n b_1+a_2+...+a_n=16n and a 1 + b 2 + . . . + b k = 17 k a_1+b_2+...+b_k=17k .

Then n = b 1 a 1 n=b_1-a_1 and 3 k = b 1 a 1 n = 3 k 3k=b_1-a_1\implies n=3k .

Finally, the mean of the combined data is ( a 1 + . . . + a n ) + ( b 1 + . . . + b k ) n + k = 15 n + 20 k n + k = 65 k 4 k = 16 1 4 \dfrac{\left (a_1+...+a_n\right )+\left (b_1+...+b_k\right )}{n+k}=\dfrac{15n+20k}{n+k}=\dfrac{65k}{4k}=\color{#20A900}{\boxed{16\dfrac{1}{4}}} .

Patrick Corn
Sep 11, 2020

Let r r be the fraction of the data that is in the first set. Then the mean of the combined data set is 15 r + 20 ( 1 r ) , 15r + 20(1-r), and it also equals 16 r + 17 ( 1 r ) . 16r + 17(1-r).

Simplifying, we get 20 5 r = 17 r , 20-5r = 17-r, or r = 3 / 4. r = 3/4. So the mean of the combined data set is 15 ( 3 / 4 ) + 20 ( 1 / 4 ) = 16 1 4 . 15(3/4) + 20(1/4) = 16\frac14. Note that this method still works if we had interchanged any number of elements from the two sets, as long as the first and second sets maintained their sizes after the changes.

Barry Leung
Aug 12, 2020

Same method as @Matthew Christopher

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...