Given the following data:
Two identical natural numbers are added to the data, resulting in a new data set with an average of .
| The difference between the median of the new data and the mean of the new data |
Search for a command to run...
Given the following data:
2,3,5,7,8,9,11Two identical natural numbers are added to the data, resulting in a new data set with an average of 9.
| P | Q |
|---|---|
| The difference between the median of the new data and the mean of the new data | −12 |
We will find the value of the added numbers, determine the new median, and then compare the values of P and Q.
Let the two added natural numbers be x. The initial data consists of 7 numbers: 2,3,5,7,8,9,11. Sum of initial data:
After adding 2 numbers of value x, the count of data becomes 7+2=9. The new average is given as 9.
So, the added number is 18.
The new data after adding 18 and 18 is:
2,3,5,7,8,9,11,18,18The data is already sorted. Since the number of data points n=9 (odd), the median is the 29+1=5-th data point.
The value of P is defined as the difference between the new median and the new mean. The new mean is known to be 9.
Given Q=−12.
Since −1>−12, then:
Thus, the correct relationship is P>Q.