x1+x2=2
x1x2=k
方程x方—2x+k=0有两个实数根
△=4-4k≥0,k≤1
y=(x1+x2)(x1方+x2方—x1x2)
=(x1+x2)[(x1+x2)方—3x1x2]
=2[4-3k]
=8-6k
当k=1时,最小值2