(a+b+c)²
=[(a+b)+c]²
=(a+b)²+2(a+b)c+c²
=a²+b²+c²+2ab+2bc+2ca
所以(a+b-c)²
=a²+b²+c²+2ab-2bc-2ca
(2x+y-z)²
=4x²+y²+z²+4xy-4xz-2yx
(a+b+c)²
=[(a+b)+c]²
=(a+b)²+2(a+b)c+c²
=a²+b²+c²+2ab+2bc+2ca
所以(a+b-c)²
=a²+b²+c²+2ab-2bc-2ca
(2x+y-z)²
=4x²+y²+z²+4xy-4xz-2yx