Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Plotting Complex functions in Mathematica

  1. Oct 29, 2013 #1
    In a few of my books on Complex variables they show how you can look at a complex function as essentially a mapping from what plane to another.

    Does anyone know if there would be a way to have mathematica plot how a complex function would transform one plane into the other?

    Thanks for any help.
  2. jcsd
  3. Oct 29, 2013 #2
    You can plot a parametric region. For example, the mapping [itex]e^z\to w[/itex] maps the square region in the z-plane to the washer region in the w-plane:

    Code (Text):

    w[z_] := Exp[z];
    p1 = ParametricPlot[{x, y}, {x, 1/10, 1}, {y, -Pi, Pi}, AspectRatio -> 1];
    p2 = ParametricPlot[{Re[w[z]], Im[w[z]]} /. z -> x + I*y, {x, 1/10, 1}, {y, -Pi, Pi},
        PlotRange -> All];
    myarrow = Show[Graphics[{{Arrow[{{-0.5, 0}, {0.5, 0}}]},
          Text[Style["w[z]=\!\(\*SuperscriptBox[\(E\), \(z\)]\)", 20], {0, 0.1}]}]];
    GraphicsGrid[{{p1, myarrow, p2}}]

    Ok, now modify my code to map the annulus [itex]1\leq r\leq 5[/itex] in the z-plane under the transformation [itex]1/z\to w[/itex] into the w-plane.

    Attached Files:

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook