The equality $$ \arctan\left(a\right) + \arctan\left(b\right) = \arctan\left(a + b \over 1 - ab\right) $$ takes place if and only if $a$ and $b$ are ?. The answer is $ab < 1$.
I tried to form a function
$\mathrm{f}:\mathbb{R} \to \left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$, where $\mathrm{f}\left(x\right) =\arctan\left(x\right) + \arctan\left(b\right) -\arctan\left(x + b \over 1 - xb\,\right)$ where $b \in \mathbb{R}$.
I have found that the derivative of $\,\mathrm{f}$ is equal to $0$ for all $x \in \mathbb{R}$. Is that of any help ?. I know that would mean that the function is constant but i don't really know if that gives any clue to finding the values of $a$ and $b$.