We have
[tex]\dfrac{1-i}{1+i}=\dfrac{e^{-i\frac\pi4}}{e^{i\frac\pi4}}=e^{-i\frac\pi2}[/tex]
which reduces to -i.