x^2-2(k+1)x+k^2+k-2=0有实数根
△=4(k+1)^2-4(k^2+k-2) ≥0,k≥ -3
x1=(k+1)+ √(k+3),x2=(k+1)-√(k+3), yx=k^2+k-2
y=1-k/x, ( y-1)x+k=0
k^2+k-2-(k+1)-√(k+3)+k=0,或k^2+k-2-(k+1)+√(k+3)+k=0
k= -2
x^2-2(k+1)x+k^2+k-2=0有实数根
△=4(k+1)^2-4(k^2+k-2) ≥0,k≥ -3
x1=(k+1)+ √(k+3),x2=(k+1)-√(k+3), yx=k^2+k-2
y=1-k/x, ( y-1)x+k=0
k^2+k-2-(k+1)-√(k+3)+k=0,或k^2+k-2-(k+1)+√(k+3)+k=0
k= -2