Given $H = \left\{1,3,5,7,8,8,9,10\right\}$ , find $\min$ and $max$ value of $ ab+cd+ef+gh$ which $a,b,c,d,e,f,g,h $ can be any number in $H$ (1 letter pair 1 number only).
This problem I think that is the same way that $H$ will be a box ,put number in box $H$ and draw for $2$ numbers and don't put them back to $H$ box then we have to draw $4$ times ,anyway I cannot start to this problem. Please give me a hint or theorem that relavant about this problem and other problems like this .
Thank you.
Start with an arbitrary arrangement. As long as you find an instance of $xy+uv$ with $x<u$ and $y> v$, you can increase $H$ by rearranging this to $xv+uy=(xy+uv)+(y-v)(u-x)>xy+uv$. We conclude that in the maximal case, larger factors are paired with larger co-factors, i.e., the maximum is achieved with $$1\cdot 3+5\cdot 7+8\cdot 8+9\cdot 10. $$ By similar reasoning, the minimum is achieved with $$1\cdot 10+3\cdot 9+5\cdot 8+7\cdot 8. $$