Từ x=\(\dfrac{1}{2}\)a+\(\dfrac{1}{2}\)b+\(\dfrac{1}{2}\)c=\(\dfrac{1}{2}\).(a+b+c)\(\Rightarrow\)2x=(a+b+c)
M=(x-a)(x-b)+(x-b)(x-c)+(x-c)(x-a)+x\(^2\)
= x\(^2\)-xb-ax+ab+x\(^2\)-xc-bx+bc+x\(^2\)-ax-cx+ac+x\(^2\)
= 4x\(^2\)-2ac-2bx-2cx+ab+bc+ac
= 4x\(^2\)-2x(a+b+c)+ab+bc+ca
Thay 2x=a+b+c,ta được:
M= 4x\(^2\)-2x.2c+ab+bc+ca
M= 4x\(^2\)-4x\(^2\)+ab+bc+ca
M= ab+bc+ca