Problem Solving & Data Analysis · Challenge · 3–4 min

Data analysis

Question HB2-PSDA-019

Data set A contains 2323 positive integers and has mean score of 8585. The highest and two lowest values in data set A are removed to create data set B. The average of data set B is 8989. What is the greatest possible range of the 33 values that were removed to create data set B?

Student-produced response

Solve in the interactive workspace →

Step-by-step explanation

Build data set A in Desmos and let it find the highest value

Step 1: Start data set A with the 20 values that stay

A=repeat([89],[20])

Data set B is what is left of A after three values are taken out. So the 20 values of B were inside A all along. We do not know those 20 values, only that their average is 89. So pretend each one is 89. Type A = repeat([89], [20]).

Why is it fine to pretend they are all 89? A mean only depends on the total. Twenty values that average 89 add up to 20 × 89 = 1780. Twenty 89s also add up to 1780. Same total, so the mean of A comes out the same either way.

The real values in B could be different from each other. That does not matter here, because the question only asks about the three values that were removed.

To get repeat, just type the word repeat in Desmos.

Why this helps: repeat needs two square brackets. The first holds a value. The second says how many times to write it. So repeat([89], [20]) means “write 89 twenty times.” Desmos shows a 20 element list of 89s.

Step 2: Add the two lowest values

A=repeat([1,1,89],[1,1,20])

Now put back the two lowest values that were removed. The question wants the greatest possible range, so make the lowest values as small as they can be. The values are positive integers, and the smallest positive integer is 1. Click inside the first bracket and add 1, 1 at the front. Click inside the second bracket and add 1, 1 at the front.

Why make them small? Range is highest minus lowest. A smaller lowest value makes the range bigger. It also leaves more room for the highest value, because the total is fixed.

Both of the lowest values can be 1. Nothing says the values have to be different.

Why this helps: The line is now repeat([1, 1, 89], [1, 1, 20]). The two brackets match up by position: the first 1 is written 1 time, the second 1 is written 1 time, and 89 is written 20 times. Desmos shows a 22 element list: 1, 1, then twenty 89s.

Step 3: Add the highest value as c

A=repeat([1,1,89,c],[1,1,20,1])

One removed value is left: the highest. We do not know it, so call it c. Add c at the end of the first bracket and 1 at the end of the second bracket, because it appears once.

Desmos may offer a slider for c. Do not add it. The next line finds c for us.

This one line is the whole of data set A: two lowest, the 20 values of B, and the highest.

Why this helps: The line is now repeat([1, 1, 89, c], [1, 1, 20, 1]). Count the second bracket: 1 + 1 + 20 + 1 = 23. That matches the 23 values in data set A. Desmos does not know c yet, so it may show a warning. The next line fixes that.

Step 4: Tell Desmos the mean of A is 85

mean(A)∼85

The question says data set A has a mean of 85. On a new line type mean(A) ~ 85.

RMSE = 0 means the mean is exactly 85 with c = 173.

Check: 1 + 1 + 1780 + 173 = 1955, and 1955 ÷ 23 = 85.

Why this helps: The ~ means “find the missing number that makes this true.” The only missing number is c. Desmos shows c = 173. So the highest value is 173. Line 1 now shows a 23 element list ending in 173.

Step 5: Find the range

max(A)-min(A)

Range is the highest value minus the lowest value. The three removed values are 1, 1 and 173. They are the lowest and the highest of the whole list, so type max(A) − min(A).

max gives the biggest number in a list and min gives the smallest.

Why is this the greatest possible? The three removed values always add to 175. With the two lowest at 1, the highest gets the most that is left, 173. Any bigger low value would shrink the range.

Why this helps: Desmos shows 172. That is 173 − 1. The answer is 172.

Hand explanation

Step 1: The original total is 23×85=1955

The original total is 23×85=1955.

Step 2: The retained 20 values total 20×89=1780, so the three removed values sum t…

The retained 20 values total 20×89=1780, so the three removed values sum to 175.

Step 3: To make their range as large as possible, make the two smallest positive i…

To make their range as large as possible, make the two smallest positive integers as small as allowed: 1 and 1.

Step 4: The third is then 173, giving range 173−1=172

The third is then 173, giving range 173−1=172.

Step 5: This is achievable with twenty retained scores of 89, so the selected valu…

This is achievable with twenty retained scores of 89, so the selected values really are two lowest and one highest.

Step 6: Your answer

Return to the question and compare the quantity you found with what it asks for. Explain the last calculation in your own words before opening the answer check.

Check your answer

172

Show answer

172

Related practice