a-b=7,ab=-12(a+b)²=(a-b)²+4ab=7²+4×(-12)=1a+b=-1;或a+b=1
已知a一b=7,ab=一12a+(-b)=7,a(-b)=12即a,(-b)是方程x^2-7x+12=0的二个根x^2-7x+12=0 (x-3)(x-4)=0x1=3,x2=4即a=3,(-b)=4.b=-4, a+b=-1或a=4,(-b)=3.b=-3, a+b=1祝你学习进步!