已知X+Y+Z=a,XY+YZ+XZ=b,求X*X+Y*Y+Z*Z的值

问题描述:

已知X+Y+Z=a,XY+YZ+XZ=b,求X*X+Y*Y+Z*Z的值

(X+Y+Z)^2=x^2+y^2+z^2+2(xy+yz+xz)
=a^2=x^2+y^2+z^2+2b
所以x^2+y^2+z^2=a^2-2b