(2x²+ax-y+6)-(2bx²-3x+5y-1)=(2-2b)x²+(a+3)x-6y+7与x取值无关,则包含x的项系数都为0
2-2b=0,a+3=0
b=1,a=-3
1/2a²-2b+4ab=1/2*9-2-12=-19/2