2.3 Functions

Home | Assessment | Notes | Index | Worksheets | Blackboard

Our main objects of study in this course are complex-valued functions f where the inputs come from a domain DC. We will mainly be interested in differentiating and integrating such functions.

Figure 1: A function defined on a domain D maps each complex number zD to a complex number f(z)C.

Example

Often, functions are defined by formulae.

  1. f(z)=z2 defines a function f:CC.
  2. f(z)=1z defines a function f:C{0}C.
  3. f(z)=z1+z2 defines a function f:C{i,i}C.

More complicated functions such as trigonometric and exponential functions will be formally defined by power series later on in the course. A complex version of the natural logarithm will have to wait until we have discussed integration!

Given a function f:DC we can think of D as a subset of R2 and of C as the whole plane R2. Writing z=x+iy and f(z)=f(x+iy)=u(x,y)+iv(x,y) lets us think of f as being made up of two real-valued functions u,v:DR.

Example

What are the real and imaginary parts of f(z)=z2? Writing z=x+iy we have f(x+iy)=(x+iy)2=x2y2+2xyi so u(x,y)=x2y2 and v(x,y)=2xy.

We cannot easily draw the graph of a function f:DC. We conclude this section with a brief discussion of two alternative methods for visualizing such a function.

The first method is to plot the level curves of the real and imaginary parts u and v of f:DC. Recall that the level curves of a function h:DR are the curves h(x,y)=k for different values of k. We plot level curves in the domain of the function. If the input z is nudged along a level curve of u the real part of the output will not change. Similarly, if the input is nudged along a level curve of v then the imaginary part of the output will not change.

Figure 2: The level curves of the real and imaginary parts u(x,y)=x2y2 and v(x,y)=2xy of f(z)=z2 respectively.

The second method is to think of f as a vector field on D. Indeed, for every zD the output f(z) can be thought of as a vector in R2. Placing the tail of this vector at the point zD lets us think of f as a vector field on D.

Figure 3: The function f(z)=z2 as the vector field x2y2,2xy on R2.