x1+x2=-k^2
y1+y2=-5k
y1y2=7
(x1+x2)-(y1+y2)
=-k^2+5k
=x1-y1+x2-y2
=2+2
=4
-k^2+5k=4 k^2-5k+4=0 k=1或k=4
k=1带入关于y的方程:y^2+5y+7=0
判别式:25-280,方程有两不相等的实根,满足题意
k=4
x1=y1+2
x2=y2+2
等式两边分别相乘
x1x2=b=(y1+2)(y2+2)=y1y2+2(y1+y2)+4=7+2(-5)*4+4=-29
k=4 b=-29
x1+x2=-k^2
y1+y2=-5k
y1y2=7
(x1+x2)-(y1+y2)
=-k^2+5k
=x1-y1+x2-y2
=2+2
=4
-k^2+5k=4 k^2-5k+4=0 k=1或k=4
k=1带入关于y的方程:y^2+5y+7=0
判别式:25-280,方程有两不相等的实根,满足题意
k=4
x1=y1+2
x2=y2+2
等式两边分别相乘
x1x2=b=(y1+2)(y2+2)=y1y2+2(y1+y2)+4=7+2(-5)*4+4=-29
k=4 b=-29