$f_1(x) = \text{tan}^{-1}(x)$
$f_2(x) = \text{tan}^{-1}\big(\frac{x-1}{x+1}\big)$
Where
$f_1^\prime(x) = f_2^\prime(x)=\frac{1}{x^2+1}$
Therefore
$f_1(x) - f_2(x) = \theta$
How to find values of $\theta$ mathematically. I have solved it graphically and the answers are $\frac{\pi}{4}$ and $-\frac{3\pi}{4}$ in my opinion. Thanks in advance.
In $(-1,\infty)$ put $x =0$ to get $\theta= f_1(x)-f_2(x) =0-\tan^{-1} (-1)=0-(-\frac {\pi} 4)=\frac {\pi} 4$ .
In $(-\infty, -1) $ note that $\theta =\lim_{x \to -\infty} [f_1(x)-f_2(x)]=-\frac {\pi} 2- (\frac {\pi} 4)=-\frac {3\pi} 4$.