y=x²+(2k+1)x+k²-1
=x²+2×(2k+1)/2 x+(2k+1)²/4-(2k+1)²/4+k²-1
=(x+(2k+1)/2)²-(2k+1)²/4+k²-1
因为最小值为0
即
-(2k+1)²/4+k²-1=0
-(2k+1)²+4k²-4=0
-4k²-4k-1+4k²-4=0
-4k=5
k=-5/4
y=x²+(2k+1)x+k²-1
=x²+2×(2k+1)/2 x+(2k+1)²/4-(2k+1)²/4+k²-1
=(x+(2k+1)/2)²-(2k+1)²/4+k²-1
因为最小值为0
即
-(2k+1)²/4+k²-1=0
-(2k+1)²+4k²-4=0
-4k²-4k-1+4k²-4=0
-4k=5
k=-5/4