x1+x2=-2a
x1·x2=a²+4a-2
x1²+x2²=(x1+x2)²-2x1x2
=4a²-2(a²+4a-2)
=2a²-8a+4
=2(a-2)²-4
∴当a=2时,能取得最小值是-4.