a-b=10.1
b-c=5.2
1式+2式得
a-c=15
a²+b²+c²-ab-bc-ca
=1/2*(2a²+2b²+2c²-2ab-2bc-2ca)
=1/2*(a²-2ab+b²+b²-2bc+c²+a²-2ca+c²)
=1/2*[(a-b)²+(b-c)²+(a-c)²]
=1/2*[10²+5²+15²]
=1/2*[100+25+225]
=1/2*350
=175
a-b=10.1
b-c=5.2
1式+2式得
a-c=15
a²+b²+c²-ab-bc-ca
=1/2*(2a²+2b²+2c²-2ab-2bc-2ca)
=1/2*(a²-2ab+b²+b²-2bc+c²+a²-2ca+c²)
=1/2*[(a-b)²+(b-c)²+(a-c)²]
=1/2*[10²+5²+15²]
=1/2*[100+25+225]
=1/2*350
=175