If $x$, $y$ and $z$ are distinct positive integers and $x+y+z=11$ then what is the maximum value of $(xyz+xy+yz+zx)$?
We know that product is maximum when difference between $x$, $y$ and $z$ is minimum.
So, I assumed $x=3$, $y=4$ and $z=4$.
Now putting this value in $xyz+xy+yz+zx$ I got my answer $88$. But actual answer is $78$. Where am I doing it wrong?
put $z=11-x-y$ in the equation and differentiate it with respect to $x$.
here are the values of $x$,$y$,$z$ for maximum value.
y=4.18 x=3.40 z=3.42 and maximum value is $77.11$.
However, I solved it using wolfram-math but you can solve it by following the instructions given.
However, my solution is for real numbers but you want it for integers.