令x=A1+A2+.An-1
则A2+A3+.+An-1+An=x-A1+An
A2+A3+..An-1=x-A1
A1+A2+...An=x+An
所以原式=x(x-A1+An)-(x-A1)(x+An)
=x(x-A1)+x*An-x(x-A1)-An(x-A1)
=x*An-x*An+A1*An
=A1*An
令x=A1+A2+.An-1
则A2+A3+.+An-1+An=x-A1+An
A2+A3+..An-1=x-A1
A1+A2+...An=x+An
所以原式=x(x-A1+An)-(x-A1)(x+An)
=x(x-A1)+x*An-x(x-A1)-An(x-A1)
=x*An-x*An+A1*An
=A1*An