已知(a+b)^2=3,(a-b)^2=2,分别求a^2+b^2和ab的值
解:(a+b)^2=3,
(a-b)^2=2
将两式相加得:
(a+b)^2+(a-b)^2=3+2=5
2a^2+2b^2=5
a^2+b^2=5/2
将两式相减得:
(a+b)^2-(a-b)^2=3-2=1
4ab=1
ab=1/4
解:(a+b)^2=3,
(a-b)^2=2
将两式相加得:
(a+b)^2+(a-b)^2=3+2=5
2a^2+2b^2=5
a^2+b^2=5/2
将两式相减得:
(a+b)^2-(a-b)^2=3-2=1
4ab=1
ab=1/4