x²-x+a²+a=2ax
x²-2ax-x+a²+a=0
x²-(2a+1)x+a²+a=0
△=[-(2a+1)]²-4×1×(a²+a)
=4a²+4a+1-4a²-4a
=1
√△=1
x==(2a+1±1)/2
x1=(2a+1+1)/2
=(2a+2)/2
=a+1
x2=(2a+1-1)/2
=2a/2
=a
x²-x+a²+a=2ax
x²-2ax-x+a²+a=0
x²-(2a+1)x+a²+a=0
△=[-(2a+1)]²-4×1×(a²+a)
=4a²+4a+1-4a²-4a
=1
√△=1
x==(2a+1±1)/2
x1=(2a+1+1)/2
=(2a+2)/2
=a+1
x2=(2a+1-1)/2
=2a/2
=a