(1)∵y=x 2-4x+5,
∴y=x 2-4x+4+1=(x-2) 2+1
∵(x-2) 2≥0
∴(x-2) 2+1≥1,
即y的最小值是1;
(2)∵a 2+2a+b 2-4b+5=0,
∴a 2+2a+1+b 2-4b+4=0,
∴(a+1) 2+(b-2) 2=0,
∵(a+1) 2≥0,(b-2) 2≥0,
∴a+1=0,b-2=0,
∴a=-1,b=2;
∴ab=-1×2=-2.
(1)∵y=x 2-4x+5,
∴y=x 2-4x+4+1=(x-2) 2+1
∵(x-2) 2≥0
∴(x-2) 2+1≥1,
即y的最小值是1;
(2)∵a 2+2a+b 2-4b+5=0,
∴a 2+2a+1+b 2-4b+4=0,
∴(a+1) 2+(b-2) 2=0,
∵(a+1) 2≥0,(b-2) 2≥0,
∴a+1=0,b-2=0,
∴a=-1,b=2;
∴ab=-1×2=-2.