问题
计算题
已知:x+y=3,xy=-7.求:
①x2+y2的值;
②x2﹣xy+y2的值;
③(x﹣y)2的值
答案
解:
①解:∵x+y=3,xy=﹣7.
∴x2+y2=(x+y)2﹣2xy,
=32﹣2×(﹣7),
=9+14,
=23;
②由①知,x2+y2=23,
∴x2﹣xy+y2=23﹣(﹣7),
=23+7,
=30;
③∵x+y=3,xy=﹣7,
∴(x﹣y)2=(x+y)2﹣4xy,
=32﹣4×(﹣7),
=9+28,
=37.