2a^2+4ab+4b^2-2a+1
=a^2-2a+1+a^2+4ab+4b^2
=(a-1)^2+(a+2b)^2
=0
说明a-1=0 a+2b=0
所以 a=1 b=-1/2
b^a=(-1/2)^1=-1/2