# Find the mean and median help!

I feel like there isn't much information, but the answer for the mean is 79. The median is said to not be able to be found. Can someone explain this?

Thank you!

-
What are you asking for an explanation of? Why the mean is 79? Why the median is not able to be found? Both? Also, what have you tried in either case? Answering these questions will make it easier for us to help you. – Silynn Jul 8 '14 at 16:18

The mean of $n$ numbers $\{x_1,\dots, x_n\}$ is, by definition, $$M_n=\frac{x_1+x_2+\dots+x_n}{n}.$$

Now, you have two sets of numbers, $\{x_1,\dots,x_n\}$ and $\{y_1,\dots,y|n\}$. The mean of all numbers together is $$\frac{x_1+\cdots+x_n + y_1+\cdots + y_m}{m+n}.$$

For you, $m$ and $n$ are known. You need to calculate $x_1+\cdots+x_n + y_1+\cdots + y_m$. How can you do that? Well, there may be a way for you to know what $x_1+\cdots+x_n$ is, just think about it!

-
Oh wow! ok I missed the fact that 20 + 30 is 50... Thank you! You saved me a lot of time! – Helpappreciated111 Jul 8 '14 at 16:24

Regarding the mean, suppose that the sum of the 20 values is $S$, and the sum of the 30 values in the other group is $T$. Then you know that $\dfrac{S}{20}=85$ and $\dfrac{T}{30}=75$, which lets you find $S$ and $T$. The mean of both groups together is then $$\dfrac{S+T}{50} = \dfrac{20\cdot85+30\cdot75}{50}$$

-

Regarding the second part of your question, the median is a statistic that involves the individual values of a (multi)set $A \subseteq \mathbb R$, whereas the mean $\mu(A)$ only involves $\sum_{a \in A} a$ and the size $\lvert A \rvert$.

Consider a simplified example of your question. You have two sets $A$ and $B$ such that $\mu(A)=1$ and $\mu(B)=2$ and $\lvert A \rvert=2$ and $\lvert B \rvert =3$. We could have $A=\{1, 1\}$ and $B=\{2, 2, 2\}$ or $A=\{1, 1\}$ and $B=\{-2, 2, 6\}$. In the first case the median is 2 whereas in the second case the median is 1.

-