Plotting Complex functions in Mathematica

1 reply · 7K views · last reply
Storm Butler
Messages
74
Reaction score
0
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.
 
Storm Butler said:
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.

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:
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}}]

Left: a square grid over x from 0 to 1 and y from -3 to 3, with a horizontal axis at y=0. Arrow labelled w[z]=e^z. Right: a washer-shaped grid of concentric rings and radial lines, with a central hole, on axes from -2 to 2.


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.
 
Attachments
  • Two plots joined by an arrow labelled w[z]=e^z: left, a rectangular grid over x from 0 to 1 and y from -3 to 3; right, the image is a washer-shaped annular grid with a blank centre, spanning about -2.5 to 2.5 on both axes.
    my exp mapping.jpg
    18.1 KB · Views: 1,705