Question 45·Hard·One-Variable Data Distributions; Measures of Center and Spread
The bar graph shows the ratings (from 1 to 5) that students gave for a school performance. The number of students who gave a rating of 4 is .
If the mean (average) of all the ratings is , which choice is the median of the ratings?
When a graph gives frequencies for each value, treat the mean as a weighted average: (value) times (frequency), added up, divided by the total frequency. If one frequency is unknown, the mean creates an equation you can solve. Then switch to median by counting positions in the ordered list: for an even total, the median comes from the two middle positions, so use cumulative counts (how many 1s, then 2s, etc.) to see where those positions fall.
Hints
Set up the mean using frequencies
Use: mean (total of all rating points) (total number of students). The total of all rating points is the weighted sum: .
Solve for the missing frequency
Only the bar for rating 4 is unknown. After you write the mean equation, solve it to find .
Use the definition of median (based on the total count)
Once you know the total number of students , list the ratings in order using cumulative counts (how many 1s, then 2s, then 3s, etc.).
- If is even, the median is the average of the th and th values.
- If is odd, the median is the th value.
Desmos Guide
Create a slider for and model the mean
Enter k=1 to create a slider.
From the bar graph, enter the mean expression as
(1*1 + 2*2 + 3*2 + 4*k + 5*1)/(1+2+2+k+1)
Find the value of that makes the mean
Graph:
y=(1*1 + 2*2 + 3*2 + 4*k + 5*1)/(1+2+2+k+1)y=3.5
Move the slider for until the two horizontal lines overlap (so the mean expression equals ).
Use the total count to identify the median location
Enter N=1+2+2+k+1.
If is even, compute the middle positions:
m1=N/2m2=m1+1
Then compare m1 and m2 to the cumulative counts from the graph (1s, then 2s, then 3s, then 4s) to see which rating contains both middle positions.
Step-by-step Explanation
Read the known frequencies from the graph
From the bar graph:
- Rating 1: 1 student
- Rating 2: 2 students
- Rating 3: 2 students
- Rating 4: students
- Rating 5: 1 student
Use the mean to solve for
The mean is
Compute the numerator and denominator:
- Numerator:
- Denominator:
So
Multiply both sides by :
Subtract from both sides:
So , and therefore . (You will use this value to find the median.)
Find the total number of ratings
The total number of ratings is
Locate the middle value(s) to get the median
With 16 ratings (an even number), the median is the average of the 8th and 9th values when the ratings are listed in order.
Count up from the lowest ratings:
- Ratings of 1 account for position 1
- Ratings of 2 account for positions 2 through 3
- Ratings of 3 account for positions 4 through 5
So positions 6 through 15 are ratings of 4 (because there are 10 students who rated 4).
Therefore, both the 8th and 9th values are 4, so the median is .