Answer:
Swap 10 from box A and 15 from box B
Explanation:
For calculate the ratio between the boxes we find the mean of the box A and the mean of the box B and divide this two results.
For find the mean of a set you use the next formula
![\bar{x} = \frac{\text{sum numbers}}{\text{total numbers}}](https://img.qammunity.org/2022/formulas/mathematics/college/1tljdgb0t9fvmenlt0lvkdhzs1vsmmoluk.png)
![\bar{A} = (4+5+9+10+12)/(5) = (40)/(5)= 8\\\bar{B} = (6+7+13+15+19)/(5) = (60)/(5)= 12](https://img.qammunity.org/2022/formulas/mathematics/college/l9u7fxe1kr92odm3eu4ao8t8xiz8z9oe2h.png)
Then the ratio is equal to
![\frac{\bar{A}}{\bar{B}} = (8)/(12) = (2)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/nkj4aauxkwduua8sj1hieldlv8vsak6ulx.png)
Know the ask us for a ratio of 9:11 then we know two things about the boxes.
If you swap the numbers between them the total of numbers in the mean not change is always 5 and the sum of all the elements in both boxes is always 100. With this we can state the next equation:
The new mean of
is 9 then:
![\frac{\text{sum of elements in box A}}{5} = 9](https://img.qammunity.org/2022/formulas/mathematics/college/qfb6q6w5tp1yg0orzy9vbiov7fgpnbfnbt.png)
![\text{sum of elements in box A} = 45](https://img.qammunity.org/2022/formulas/mathematics/college/wmgj7l5gv83xanje4ys9hgqdl2vi67ni1i.png)
The new mean of
is 11 then:
![\frac{\text{sum of elements in box B}}{5} = 11](https://img.qammunity.org/2022/formulas/mathematics/college/d0hzx7bx0ssgj67wecqaollcf4hc2vjyn2.png)
![\text{sum of elements in box B} = 55](https://img.qammunity.org/2022/formulas/mathematics/college/8vgcyzu39i8i19duruamrv0i5xugm2dbrj.png)
Now we know what is the sum of the elements in both boxes, but how we find the elements for swap? Well with the next relation.
When you take out a element from the box A this elements is substracted to the total sum of the elements in the box A and get a new sum of total of elements named
(where
is the element taken):
![40 - a = c](https://img.qammunity.org/2022/formulas/mathematics/college/eu393y6544gayn74wbdb412d7db0dhg0xu.png)
And when you sum an element to the box A the current sum of total elements in the box change to (where
is the added element):
![b + c = 45](https://img.qammunity.org/2022/formulas/mathematics/college/p7zvq1fnp4uzx19lr1cerwoj6igxim686y.png)
So replace
for the first relation and get:
![b + 40 - a = 45\\b - a = 5](https://img.qammunity.org/2022/formulas/mathematics/college/53pxzw1nieow3kok9ullonmgw4ckk7jvkh.png)
From the last equation you can deduct that
is greater than
and the different between both values is 5. So the last step is find a number in the box B that substracted to a number from the box A give us 5. These both numbers are 15 and 10 because 15 - 10 = 5.