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

Mean, median, and range

Question PSDA-001

a, 24, 31, b, 37, 52, c

For the given data set, the data values are listed in ascending order, where a, b, and c are constants. For this data set, the mean is 4141, the median is 3131, and the range is 8080. What is the value of c?
  1. 6161
  2. 8080
  3. 9696
  4. 112112
Solve in the interactive workspace →

Step-by-step explanation

Build the hidden system

Step 1: Read the ordered list

The list a, 24, 31, b, 37, 52, c is in order. There are 7 values, so the middle one, the 4th, is b. That’s the median.

Nothing to type yet. This step is the plan.

Why this helps: Mean = total ÷ 7. Range = largest − smallest = c − a. Each fact becomes one match for Desmos.

Step 2: Create the data list

A=[a,24,31,b,37,52,c]

Type A=[a,24,31,b,37,52,c].

a, b and c are unknown, so you may see slider buttons. Don’t click them.

Why this helps: Square brackets make a list. Naming it A lets us use mean(A) and median(A).

Step 3: Start with the mean

[mean(A)]∼[41]

The mean is 41. Type [mean(A)] ~ [41].

One fact can’t fix three unknowns, so the numbers now are unfinished.

Why this helps: mean(A) adds all 7 values and divides by 7. The ~ asks Desmos to adjust a, b and c until it matches.

Step 4: Add the median

[mean(A),median(A)]∼[41,31]

The median is 31. Change to [mean(A), median(A)] ~ [41, 31].

median(A) sorts the list and takes the middle value.

Why this helps: First matches first, second matches second.

Step 5: Add the range

[mean(A),median(A),c-a]∼[41,31,80]

The range is 80: c − a = 80. Add c−a on the left and 80 on the right.

a is the smallest and c the largest because the list is in order.

Why this helps: Now there are three matches for three unknowns.

Step 6: Protect the list order

[mean(A),median(A),c-a]∼[41,31,80]{31≤b<37}

b sits between 31 and 37 in the list. Add {31 ≤ b < 37} to the end.

Braces limit which solutions Desmos is allowed to use.

Why this helps: This keeps b in its place in the order. It’s a restriction, not another match.

Step 7: Observe the solved values

[mean(A),median(A),c-a]∼[41,31,80]{31≤b<37}

Desmos gives a = 16, b = 31, c = 96. The question asks for c: 96. Choose C.

RMSE 0 means all three matches hold.

Why this helps: Check: 16, 24, 31, 31, 37, 52, 96 is in order. The total is 287, and 287 ÷ 7 = 41. The middle is 31. 96 − 16 = 80.

Hand explanation

Step 1: The seven values are already ordered, so their median is the fourth entry b

The seven values are already ordered, so their median is the fourth entry b. Thus b=31.

Step 2: A mean of 41 across seven values gives total 7×41=287

A mean of 41 across seven values gives total 7×41=287. Substituting b, the five known middle entries sum to 24+31+31+37+52=175, leaving a+c=112.

Step 3: The range is largest minus smallest, so c−a=80

The range is largest minus smallest, so c−a=80. Add the two equations; a and −a cancel, leaving 2c=192 and c=96.

Step 4: Then a=16, producing an ordered list with the stated total, median and range

Then a=16, producing an ordered list with the stated total, median and range.

Step 5: 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

C: 96

Show answer

96

Brief video explanation

A focused walkthrough of the fastest Desmos setup.

Detailed video explanation

A complete, paced walkthrough of the reasoning and Desmos method.

Related practice