I'm new to mathematica and I have to plot the Cayley Transformation, which maps the upper half plane to the unit disk. I want to plot the z-plane and the w-plane. I wrote this:
f[z] := (z - I)/(z + I)
ComplexContourPlot[{Re[f[z]], Im[f[z]]}, {z, -1 - I, 1 + I}]
ComplexContourPlot[{Re[z], Im[z]}, {z, -1 - I, 1 + I}
I still get some parts of the bottom half plane mapped in my w-plane and it plotted the lines of the z-plane that it seems my function maps vertical lines on the blue circles, but it should map the horizontal lines on the blue circles.
Any ideas how I can fix this? Please I need help.