Can anybody tell me how to choose 6 numbers that have a range of 4, a median of 9, a mean of 9 and a mode of 7?
so far, i have 7,7,9,11
i know the mean should be 54/6 but the last 2 number must = 20, so 2 10's would negate the mode of 7
thanks
average
Can anybody tell me how to choose 6 numbers that have a range of 4, a median of 9, a mean of 9 and a mode of 7?
so far, i have 7,7,9,11
i know the mean should be 54/6 but the last 2 number must = 20, so 2 10's would negate the mode of 7
thanks
Best Answer
We want to find $6$ integers with specific range, mean, median and mode. We call them $x_1,x_2,x_3,x_4,x_5,x_6$ such that $x_1 \leq x_2 \leq x_3 \leq x_4 \leq x_5 \leq x_6$ and then:
From all that you have that: \begin{align} &&\frac{x_1 + x_2 + x_3 + x_4 + x_5 + x_6}{6} &= 9 \\ &\Leftrightarrow& x_1 + x_2 + x_3 + x_4 + x_5 + x_6 &= 54 \\ \tag{Range constraint.} \\ &\Leftrightarrow& x_1 + x_2 + x_3 + x_4 + x_5 + x_1 + 4 &= 54 \\ &\Leftrightarrow& 2x_1 + x_2 + x_3 + x_4 + x_5 &= 50 \\ \tag{Median constraint.} \\ &\Leftrightarrow& 2x_1 + x_2 + 18 + x_5 &= 50 \\ &\Leftrightarrow& 2x_1 + x_2 + x_5 &= 32 \\ \tag{Mode constraint.} \\ &\Leftrightarrow& 2x_1 + 7 + x_5 &= 32 \\ &\Leftrightarrow& 2x_1 + x_5 &= 25 \\ &\Leftrightarrow& x_1 &= \frac{25 - x_5}{2} \\ \end{align} Now from the median constraint we have that $x_5 \geq 9$ and from the range constraint that $x_5 \leq 11$ and we have $3$ possibilities:
As mentioned in one of the comments if we relax the mode constraint to be non strict then $x_5 = 11$ becomes a viable solution and the following sets of numbers work: