As I have to works with sine voltages and currents, I often have to use complex numbers. I know that $\tan\arg(Z)=\left(\frac{\Re(Z)}{\Im(z)}\right)^{-1}$
but, how to prove that we need to add $ \pi$ in case $\Re(Z)\leq0$ ?
I know that $\arctan(x) + \arctan(\frac{1}{x})=\pm \frac\pi2, \forall x \in \mathbb{R}^*$ but I cant go any further.
That is because, when you want to determine the argument of a complex number $z=x+iy$, really you have to solve, not a single trigonometric equation, but a
systemof trigonometric equations: $$\begin{cases}\cos\theta=\dfrac x{\sqrt{x^2+y^2}}\\[1ex] \sin\theta=\dfrac y{\sqrt{x^2+y^2}}\end{cases} $$ This system implies the equation $\;\tan\theta=\dfrac yx$, but the converse is not true, and the latter equation determines $\theta$ modulo $\pi$, whereas the system determines it modulo $2\pi$.To know if you have to add (or subtract a $\pi$), you can use the
signsof $y$ and $y$:Thus considering the signs of $x$ and $y$ lets you know whether you have to add $\pi$ to the solution found from the tangent, or not.