Solution: a) When non-negative real numbers x1,x2,⋯,xn are not all 0, let
x=(∑i=1nxi)2∑xixj,y=(∑i=1nxi)4∑xixjxk(xi+xj+xk).∵∑xixj(xi2+xj2)=∑xixj[(∑k=1nxk)2−2∑xixj−∑k=1(k=i,j)nxk2]=∑xixj(∑k=1nxk)2−2(∑xixj)2−∑xixjxk(xi+xz+xk),∴ Equation (1) ⇔c⩾−2x2+x−y.∵−2x2+x−y⩽81, with equality if and only if
the necessary and sufficient condition is x=41 and y=0,
∴c⩾81,cmin=81, when x1=x2=⋯=xn
=0 is also valid;
b) When c=81, the necessary and sufficient condition for x=41 and y=0 is
(∑i=1nxi)2=4∑x~ixj and ∑xixjxk(xi+xj+xk)=0⇔∑i=1nxi2=2∑xixj and ∑xixjxk=0.∵∑xixjxk=0⇔x1,x2,⋯,xn have at most
two terms xi,xj not equal to 0, and at this time ∑i=1nxi2=2∑xixj⇔xi2+xj2=2xixj⇔ xi=xj.
Therefore, the necessary and sufficient condition for x=41 and y=0 is that among x1,x2,⋯,xn, there are two equal terms (which can be 0), and the rest are all 0.
Reference
40th IMO Problem Solutions. Middle School Mathematics, 1999(5)