若a+b=7,ab=5,求(a-b)^2的值

问题描述:

若a+b=7,ab=5,求(a-b)^2的值

因a+b=7
(a+b)^2=49
a^2+2ab+b^2=49
a^2+b^2=49-2ab
(a-b)^2
=a^2+b^2-2ab
=49-2ab-2ab
=49-4ab=49-4x5=49-20=29