Problem

Source: Croatia 1997 Grade 1 P2

Tags: inequalities



Given are real numbers $a<b<c<d$. Determine all permutations $p,q,r,s$ of the numbers $a,b,c,d$ for which the value of the sum $$(p-q)^2+(q-r)^2+(r-s)^2+(s-p)^2$$is minimal.