Question 6
a) Let $a, b, c, d$ be real numbers with $0 \leqslant a, b, c, d \leqslant 1$. Prove that
$$
a b(a-b)+b c(b-c)+c d(c-d)+d a(d-a) \leqslant \frac{8}{27}
$$
b) Find all quadruples $(a, b, c, d)$ of real numbers with $0 \leqslant a, b, c, d \leqslant 1$ for which equality holds in the above inequality.
$$
a b(a-b)+b c(b-c)+c d(c-d)+d a(d-a) \leqslant \frac{8}{27}
$$
b) Find all quadruples $(a, b, c, d)$ of real numbers with $0 \leqslant a, b, c, d \leqslant 1$ for which equality holds in the above inequality.