Let I=∫01cot−1(1−2x+4x2)dx
I=∫01(cot−1(2x−1)−cot−1(2x))dx
Applying king
I=∫01(−cot−1(2x−1)+cot−1(2x−2))dx
From (1) and (2)
2I=∫01(cot−1(2x−2)−cot−1(2x))dx
=∫01cot−1(2x−2)dx−∫01cot−1(2x)dx
Applying King
=∫01cot−1(−2x)dx−∫01cot−1(2x)dx
=∫01(π−cot−1(2x))dx−∫01cot−1(2x)dx
=∫01(π−2cot−1(2x))dx
=π−2∫01(cot−12x)⋅1dx
By parts
=π−2[(xcot−12x)01+∫011+4x22xdx]
Let 1+4x2=t
8xdx=dt
=π−2[cot−12+41∫15tdt]
=π−2cot−12−21ℓn5
2I=2tan−12−21ℓn5
⇒4I=4tan−12−ℓn5
∴2a+b=8+1=9