I am trying to draw graphs of the following type: W = Z . Z^0.5+3i in my Jupyter Notebook. I really don't see how to do it.

image description

Comments on the original question

What does the “.” represent in your formula?

The multiplcation I suppose.

Why not just write z^(1.5 + 0.3i)?

I think it is a kind of a stream plot. Unfortunately streamline_plot does not have appropriate options to make the plot look better.

Maybe choosing different start_points can help.

x, y, z, w = var('x y z w')
z = x + y*I
w = z*z^(1/2 + 3*I)
show(streamline_plot((w.real(), w.imag()), (x, -2, 2), (y, -2, 2), plot_points = 100, density = 1, aspect_ratio = 1))
streamline_plot((w.real(), w.imag()), (x, -2, 2), (y, -2, 2), plot_points = 100, density = 1.5, aspect_ratio = 1, start_points=[[0.130526, -0.991445], [0.382683, -0.92388], [0.608761, -0.793353], [0.793353, -0.608761], [0.92388, -0.382683], [0.991445, -0.130526], [0.991445, 0.130526], [0.92388, 0.382683], [0.793353, 0.608761], [0.608761, 0.793353], [0.382683, 0.92388], [0.130526, 0.991445], [-0.130526, 0.991445], [-0.382683, 0.92388], [-0.608761, 0.793353], [-0.793353, 0.608761], [-0.92388, 0.382683], [-0.991445, 0.130526], [-0.991445, -0.130526], [-0.92388, -0.382683], [-0.793353, -0.608761], [-0.608761, -0.793353], [-0.382683, -0.92388], [-0.130526, -0.991445]])

image description

I think you have found the correct way to draw these complex functions. Now I will consult the SageMath documentation and look into this issue further. Thank you very much for your response.

In the ipynb you can try this call in a cell and tweak the x and y ranges to get the proper graph:

complex_plot(lambda z: z*z^(0.5+3*i), (-3,3), (-2,2))

Do you mean lambda zz: ...?

Thank you for your reply. I get a color graph with the upper left quarter completely black (?), but it’s not at all like the drawing you sent. Sorry, I don’t know how to show you this result. Here is the script: complex_plot(lambda z: z*z^(0.5+3i), (-3,3), (-3,3))