The mean of a set of data is and the mean of another is .
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 to . The mean of the other decreases to .
What is the mean of both sets of data, combined?
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.
Let the data in the first set be a 1 , a 2 , . . . , a n . Let the data in the second be b 1 , b 2 , . . . , b k .
We have that n a 1 + . . . + a n = 1 5 ⟹ a 1 + . . . + a n = 1 5 n .
Similarly, b 1 + . . . + b k = 2 0 k .
Assume, without loss of generality, that a 1 and b 1 are swapped.
This gives b 1 + a 2 + . . . + a n = 1 6 n and a 1 + b 2 + . . . + b k = 1 7 k .
Then n = b 1 − a 1 and 3 k = b 1 − a 1 ⟹ n = 3 k .
Finally, the mean of the combined data is n + k ( a 1 + . . . + a n ) + ( b 1 + . . . + b k ) = n + k 1 5 n + 2 0 k = 4 k 6 5 k = 1 6 4 1 .