Problem 8 of Chapter 2 in Sheldon M. Ross' 5th edition of Introduction to probability and statistics for engineers and scientists is worded as follows:
The sample mean of the weights of the adult women of town A is larger than the sample mean of the weights of the adult women of town B. Moreover, the sample mean of the weights of the adult men of town A is larger than the sample mean of the weights of the adult men of town B. Can we conclude that the sample mean of the weights of the adults of town A is larger than the sample mean of the weights of the adults of town B? Explain your answer.
I tried to describe the problem as precisely as possible in algebraic terms. Here is the description I wrote:
Given:
$$\bar x_{w,A}>\bar x_{w,B} \tag{1}$$ $$\bar x_{m,A}>\bar x_{m,B} \tag{2}$$
Where $$\bar x_{w,A} = \frac{\sum_{i=1}^{n_{w,A}} x_{w,A,i}}{n_{w,A}} \tag{3}$$ $$\bar x_{w,B} = \frac{\sum_{i=1}^{n_{w,B}} x_{w,B,i}}{n_{w,B}} \tag{4}$$ $$\bar x_{m,A} = \frac{\sum_{i=1}^{n_{m,A}} x_{m,A,i}}{n_{m,A}} \tag{5}$$ $$\bar x_{m,B} = \frac{\sum_{i=1}^{n_{m,B}} x_{m,B,i}}{n_{m,B}} \tag{6}$$
Can we conclude that $$\bar x_A > \bar x_B$$?
Where $$\bar x_A = \frac {\sum_{i=1}^{n_{w,A}} x_{w,A,i} + \sum_{i=1}^{n_{m,A}} x_{m,A,i}}{n_{w,A}+n_{m,A}} \tag{7}$$
$$\bar x_B = \frac {\sum_{i=1}^{n_{w,B}} x_{w,B,i} + \sum_{i=1}^{n_{m,B}} x_{m,B,i}}{n_{w,B}+n_{m,B}} \tag{8}$$
My first intuition was to rearrange (3) and (4) into (9) and (10):
$$\bar x_{w, A} n_{w, A} = \sum_{i=1}^{n_{w,A}}x_{w,A,i} \tag {9}$$ $$\bar x_{w, B} n_{w, B} = \sum_{i=1}^{n_{w,B}}x_{w,B,i} \tag {10}$$
Substituting (9) into (7) and (10) into (8) results in the following:
$$\bar x_A = \frac{\bar x_{w,A}n_{w,A} + \bar x_{m,A}n_{m,A}}{n_{w,A}+n_{m,A}}$$ $$\bar x_B = \frac{\bar x_{w,B}n_{w,B} + \bar x_{m,B}n_{m,B}}{n_{w,B}+n_{m,B}}$$
I am basically stuck here. How do I formally show whether we can conclude that $\bar x_A > \bar x_B$? How can I turn this into a formal mathematical proof?
If women on the whole weigh less than men and town $A$ has a higher proportion of women the mean adult weight can be lower in town $A$. For a simple example, assume A has three women weighing $1.1$ and one man weighing $2.1$ while B has one woman weighing $1$ and one man weighing $2$. The mean adult in $A$ weighs $1.35$ while the mean adult in $B$ weighs $1.5$