14.12.2012 Views

Complex Analysis - Maths KU

Complex Analysis - Maths KU

Complex Analysis - Maths KU

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

134 Chapter 2 <strong>Complex</strong> Functions and Mappings<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

y<br />

–2 –1 1 2 3 4 5 6<br />

–1<br />

–2<br />

Figure 2.59 Vectors in the vector field<br />

f(z) =z 2<br />

y<br />

4<br />

3<br />

2<br />

1<br />

1<br />

2<br />

Figure 2.60 Mathematica plot of the<br />

vector field f(z) =iy<br />

y<br />

4<br />

3<br />

2<br />

1<br />

1<br />

2<br />

Figure 2.61 Mathematica plot of the<br />

normalized vector field f(z) =iy<br />

3<br />

3<br />

4<br />

4<br />

x<br />

x<br />

x<br />

When plotting a vector field F associated with a complex function f it<br />

is helpful to note that plotting the vector F(x, y) with initial point (x, y) is<br />

equivalent to plotting the vector representation of the complex number f(z)<br />

with initial point z. We illustrate this remark in the following example.<br />

EXAMPLE 1 Plotting Vectors in a Vector Field<br />

Plot the vectors in the vector field f(z) =z 2 corresponding to the points<br />

z =1, 2+i, 1+i, and i.<br />

Solution Bya straightforward computation we find that:<br />

f(1) = 1 2 =1, f(2 + i) = (2 + i) 2 =3+4i,<br />

f(i) =i 2 = −1, and f(1 + i) = (1 + i) 2 =2i.<br />

This implies that in the vector field f(z) =z 2 we have the vector representations<br />

of the complex numbers 1, 3+4i, −1, and 2i plotted with initial points<br />

at 1, 2 + i, i, and 1 + i, respectively. These vectors are shown in Figure 2.59.<br />

Use of Computers Plotting vector fields byhand is a simple but<br />

tedious procedure. Fortunately, computer algebra systems such as Mathematica<br />

and Maple have built-in commands to plot two-dimensional vector<br />

fields. In Figure 2.60, the vector field f(z) =iy has been plotted using the<br />

PlotVectorField command in Mathematica. Observe that the lengths of the<br />

vectors in the Mathematica plot are much smaller than theyshould be. For<br />

example at, say, z =1+i we have f(1 + i) =i, but the vector plotted at<br />

z =1+i does not have length 1. The reason for this is that Mathematica<br />

scales the vectors in a vector field in order to create a nicer image (in particular,<br />

Mathematica scales to ensure that no vectors overlap). Therefore, the<br />

lengths of the vectors in Figure 2.60 do not accuratelyrepresents the absolute<br />

lengths of vectors in this vector field. The vectors in Figure 2.60 do, however,<br />

accuratelyrepresent the relative lengths of the vectors in the vector field. ‡<br />

In manyapplications the primaryinterest is in the directions and not the<br />

magnitudes of the vectors in a vector field. For example, in the forthcoming<br />

discussion we will be concerned with determining the paths along which particles<br />

move in a fluid flow. For this type of application, we can use a normalized<br />

vector field. In a normalized vector field all vectors are scaled to have the<br />

same length. Figure 2.61 displays a normalized vector field for f(z) =iy created<br />

using the ScaleFunction option with the PlotVectorField command<br />

in Mathematica. Compare with Figure 2.60.<br />

‡ For more information on plotting vector fields in Mathematica, refer to the technical<br />

report Guide to Standard Mathematical Packages published by Wolfram Research.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!