已知x+y=a,xy=b,求x的平方减XY加Y的平方

问题描述:

已知x+y=a,xy=b,求x的平方减XY加Y的平方

原式=(x+y)^2-2xy
=a^2-3b

x^2-xy+y^2=(x+y)^2-3xy=a^2-3b

x+y=a xy=b
则x(a-x)=ax-x2=b (1)
同理y(a-y)=ay-y2=b (2)
(1)+(2)=ax+ay-(x2+y2)=a(x+y)-(x2+y2)=a2-(x2+y2)=2b
即x2+y2=a2 -2b
则x2-xy+y2=a2-3b

x²-xy+y²
=(x+y)²-3xy
=a²-3b

x²-xy+y²=(x+y)²-3xy
=a²-3b