You are here

Complex Function Grapher

Andrew G. Bennett
This mathlet graphs a complex function in 3 space dimensions using color to represent the fourth dimension (see the help text for more details). Sample assignments and full source code are given on the page with the mathlet.

Andrew G. Bennett is in the Department of Mathematics at Kansas State University. He is also an Associate Editor of this journal.INTENDED USES:

  • Class demo
  • Student use


Elementary Differential Equations, Complex Analysis, or any other course where functions of a complex variable are considered.


Systems supported: IE 5/MacOS 9.0.3, IE 5/Win98, Netscape 4.7/MacOS 9.0.3, Netscape 4.7/Win98


In Elementary Differential Equations, students encounter the connections between the complex exponential function and the trigonometric functions. I wrote this mathlet so the students could experiment and see these connections, rather than just considering Taylor series. The students found the graphs stimulating (and occasionally pretty). I've since used the mathlet in Complex Analysis to help enrich students understanding of branch cuts and the argument principle as well.


The mathlet page includes documentation and source code for the mathlet (including a complex function parser). This code is copyrighted, but may be adapted as desired and used freely for non-commercial purposes provided the original source is acknowledged and the author is informed.

Open Complex Function Grapher in a new window.

Published July, 2001
© 2001 by Andrew G. Bennett

Andrew G. Bennett, "Complex Function Grapher," Convergence (November 2004)