The answer given in the book seems to assume the mean of the remaining students' IQ is 100 (more on that in a moment). Based on this assumption, one can calculate the mean for the entire 50 student sample by combining the IQ of the first sample mixed with the average IQ of other 49 students sampled as follows:
(150 + (49 × 100)) / 50 = 101
So according to the above calculation, the average IQ for the specific 50 student sample described in the book is 101. But I don't think this is correct because the answer in the book does not use all the information from the problem statement.
Specifically, the result from the book does not account for the fact that having identified the first sample as having a 150 IQ, we now know that the remaining population's IQ has now dropped to ever so slightly below 100.
This is because the overall population is given as 8th graders in a city. We don't know the city, but we can put some realistic boundaries around it. Let's say this can range from 50 to 1,000,000. I chose 50 as minimum population since otherwise our sample size is not possible, invalidating the conditions of the problem. And 1,000,000 is probably too high as an upper bound, but not absurdly high, given that the largest city in the world is Tokyo with a population of more than 33 million (according to "the internet").
With this consideration in mind, more precise answers can be calculated as:
(150 IQ + (49 * average IQ of remaining population)) / 50
where the remaining population's IQ is everyone's IQ except the first sample of IQ 150.
This remaining population's IQ is calculated as (recall mean IQ is 100, first sampled IQ is 150):
((TOTAL POP * 100) - 150)/(TOTAL POP - 1)
So for example, the remaining population's IQ when there are 50 students in the total population is:
((50*100) - 150)/(50-1) = 98.97959184
And when there are 100 students:
((100*100) - 150)/(100-1) = 99.49494949
Now we can combine all these insights to calculate the mean IQ of the 50 student sample and see that the sample mean varies based on total population size (total number of 8th graders that we sample from):
- population of 50: 100.0
- population of 60: 100.1694915
- population of 70: 100.2898551
- population of 80: 100.3797468
- population of 90: 100.4494382
- population of 99: 100.5
- population of 100: 100.5050505
- population of 1,000: 100.9509510
- population of 10,000: 100.9950995
- population of 100,000: 100.9995100
- population of 1,000,000: 100.9999951
So you can see as the population size goes to infinity the value will approach 101 (the answer from the book), but for cities with fewer than 99 8th graders, the value rounds down to 100.