A bar graph gives frequencies: each bar height tells how many times its rating appears. If a mean is given but one bar height is missing, set the total of the ratings equal to the mean times the number of students. A Desmos regression can find the missing height. Then count students from left to right to find the median; the middle rating label isn't necessarily the middle student's rating.
Hints
- Hint 1
A bar height is a frequency, the number of students who chose that rating. For the total of the ratings, multiply each rating by its bar height. For the number of students, add the heights instead.
- Hint 2
The mean is the total of the ratings divided by the number of students. Set the total equal to times the count, then find the missing bar height before looking for the middle.
- Hint 3
The median comes from the middle positions after every student's rating is counted. If there are an even number of students, find the two middle positions. Which bar's ratings fill both of them?
Step-by-step
Find the missing frequency, then count to the middle
Step 1Turn the bars and mean into an equation
Each bar height is a frequency, so a rating contributes its value times its height to the total. The graph shows , , , , and students at ratings through . Since total = mean times number of students, write:
The counts all the students who gave a ; the on the right counts those same students in the group size.
- Step 2
Find the missing bar height
Type the equation in Desmos, replacing with so Desmos fits the unknown frequency . Under PARAMETERS, it shows . So ten students gave a rating of .
- Step 3
Count all the students
Type on the next Desmos line. It shows , so the bars represent 16 students, not five students for the five rating labels.
- Step 4
Locate the ratings of 4 in order
Type to count ratings below . Desmos shows . Those students fill positions through ; the ten ratings of fill positions through , since .
- Step 5
Read the two middle ratings
The median is the middle of the ratings in order. With students, the middle positions are and . Both fall among the ratings of in positions through , so their average is . Count the students each bar represents, not just the rating labels. The median rating is . Choice C.