I'm learning inverse trigonometry functions from reference books, and certain questions bother me... They're of the type - Prove that $$\arctan(a) + \arctan(b) + \arctan(c) = \pi$$
And they're usually done by adding the angles in terms of $\tan$, but if $\tan(f) = 0$, $f$ should be $\pi$ or $0$, so how does it serve as a concrete proof?
EDIT
The proof usually follows the following "steps" - $$let arctan(a) = \alpha, arctan(b) = \beta, arctan(c) = \gamma$$ $$Also, tan(\alpha + \beta + \gamma) = \frac{tan(\alpha) + tan(\beta) + tan(\gamma) - tan(\alpha)tan(\beta)tan(\gamma)}{1 - tan(\alpha)tan(\beta) - tan(\beta)tan(\gamma) - tan(\gamma)tan(\alpha)}$$
And then we subsitute the values into the second identity, and the answer comes out to be zero, but that doesn't quite prove that the sum of the angles is $\pi$, it could also be $0$, which is my question