Recently I became curious about functions defined from to
and I asked myself following question:
How would the complex functions look like if we try to plot them?
Graphs of complex functions lie in , which can be identified in a natural way with
, real four-dimensional space.
So I jumped to SageMath and plotted
sage: f(z) = z^2 sage: complex_plot(f, (-5, 5), (-5, 5))

graph of z^2 plotted using SageMath Version 7.0
Now this looked like an enigma to me. What do the colours stand for? As usual, there is an interesting entry about this on Wikipedia, Colour wheel graphs of complex functions.
I digged further and discovered that these are called “2D colour maps” and is one of many other ways of visualizing complex functions, like 3D models, 2D vector plots, 4D perspective projection, conformal maps…

HLS Cylinder (By SharkDderivative [CC BY-SA 3.0 or GFDL], via Wikimedia Commons)

The argument φ and modulus r locate a point on an Argand diagram i.e. complex plane.(By Kan8eDie [CC BY-SA 3.0, CC BY-SA 3.0 or GFDL], via Wikimedia Commons)

HLS Colour Wheel (source: iliasky.com)
Positive real numbers always appear red. The primary colours appear at phase angles (green) and
(blue). The subtractive colours yellow, cyan, and magenta have the phases
,
, and
.
The poles of a complex function are white, the zeros are black.
Finally, to conclude [from : Visual quantum mechanics : selected topics with computer-generated animations of quantum-mechanical phenomena by Bernd Thaller.]
This colour map is obtained by a stereographic projection from the surface of the three-dimensional colour space (in the hue-lightness-saturation system) onto the complex plane.
An appropriately colored surface graphics or a density graphics can give a useful graphical representation of a complex valued function. Another example of complex valued function, a wave function, is given here:

Visualizations of a wave function in two dimensions. The left graphic shows the function as a “density plot” with additional contour lines for the absolute value. In the three-dimensional surface plot the height of the surface gives the absolute value of the wave function. (By Bernd Thaller, created using Mathematica. © 2000 Springer-Verlag New York, Inc.)
For more such graphs, visit Bernd Thaller’s Gallery of complex functions .
Pingback: Repelling Numbers | Gaurish4Math
Pingback: Dimension clarification | Gaurish4Math
Pingback: Imaginary Angles | Gaurish4Math
Try to plot complex functions? Use detect_poles=True and complex_plot to see what’s going on https://cloud.sagemath.com/projects/20e4a191-73ea-4921-80e9-0a5d792fc511/files/sqrtplot.sagews
LikeLiked by 1 person
This may be of interest: http://www.danbquinn.com/numberbypaint/complex.html It has some pretty cool illustrations!
LikeLike
Thanks for link, it is also in same spirit as my blog post. 🙂
But in the linked webpage, it says: “…..they don’t mean much but are certainly fun to look at..”, which is not completely true since such functions can be thought as example of wave functions.
Tumblr is really “the” hub of beautiful mathematical image blogs.
LikeLiked by 1 person
Wow.. love this!
LikeLiked by 1 person