Explanation:
Tan is sin/cos
sinx / cos x as x goes to pi/2 this approaches 1 / 0 (not really '0' but very small numbers as cos pi/2 is 0) ...or approaches infinity
so as x goes to infinity the arctan is pi/2
Here is a graph of tan x so you can see this