(1)a+b=5,ab=2.
则:a²+b²=(a+b)²-2ab=25-4=21;
(a-b)²=a²+b²-2ab=21-4=17.
(2)(x+y)²=a,即:x²+y²+2xy=a;-------------①
(x-y)²=b,即:x²+y²-2xy=b.--------------②
则:①+②,得:2(x²+y²)=a+b,x²+y²=(a+b)/2;
①-②,得:4xy=a-b,xy=(a-b)/4.
(1)a+b=5,ab=2.
则:a²+b²=(a+b)²-2ab=25-4=21;
(a-b)²=a²+b²-2ab=21-4=17.
(2)(x+y)²=a,即:x²+y²+2xy=a;-------------①
(x-y)²=b,即:x²+y²-2xy=b.--------------②
则:①+②,得:2(x²+y²)=a+b,x²+y²=(a+b)/2;
①-②,得:4xy=a-b,xy=(a-b)/4.