The value of the integral is

Let, x = tan t

Differentiating both side with respect to t


dx = sec2t dt


At x = 0, t = 0


At x = ∞, t = π2




…(1)


By using the king rule



…(2)


On adding eq(1) and eq(2)





1