I just come to be curious about answering this question. It may look like basic, but explanation(s) like showing off difference in solving equation and evaluating trig. functions weren't found in any of the text I read.
$$\ x= arctan(\frac{-\sqrt3}{3})$$
where the answer is $\ x = \frac{5\pi}{6}+ \pi n$
However, finding out that if we look for $\ arctan(\frac{-\sqrt3}{3})$ - the answer is $\frac{-\pi}{6}$ because rng: $\frac{-\pi}{2}$< x < $\frac{\pi}{2}$
Is it because with equations, we find all sets of possible solutions while evaluation we follow what is the indicative ranges for a specific trig functions?
P.S. Never have been taught in school properly but only have study for myself. Hope you understand my situation.
"edit: I apologize for the typo earlier, it should be $\ x= arctan(\frac{-\sqrt3}{3})$
First, there is a typo, as $\sin\frac\pi6=\frac12\implies\cos\frac\pi6=\frac{\sqrt3}2$ so that $$ \tan(-\frac{\pi}6)=-\frac1{\sqrt3}=-\frac{\sqrt3}3 $$
Even with correction, the first formulation is wrong. The set $\{\frac{5\pi}6+k\pi:k\in\Bbb Z\}$ is the solution to the equation $$\tan x=-\frac{\sqrt3}3.$$
The assignment $$ x=\arctan(-\frac{\sqrt3}3) $$ indeed demands the evaluation of the main branch of the inverse tangent with result $-\frac{\pi}6$.