# Complex analysis

**Complex analysis** is, broadly speaking, the study of functions that take as input complex numbers and output complex numbers, and behave well with respect to a notion of complex *differentiation*, as discussed below. It's crucial to note that just having complex-valued functions does not qualify something for being called *complex analysis*; it is really the new definitions of differentiation and integration with respect to complex variables, and using the field structure of complex numbers, that makes the subject different.

Complex analysis is closely related to real analysis, the study of functions over the reals. However, a number of beautiful results that hold in complex analysis, fail to have analogues in real analysis. The core reason behind this is that the complex numbers, which form a plane, is far more well-connected than the real line (which can be disconnected by just removing one point) allowing for fascinating arguments with geometric content.

### Differentiation

Let us now turn to the question: Is it possible to extend the methods of calculus to functions of a complex variable, and why might we want to do so? We recall the definition of one of the two fundamental operations of calculus, differentiation. Given a function , we say *f* is differentiable at if the limit

exists, and we call the limiting value the derivative of *f* at , and the function that assigns to each point x the derivative of *f* at *x* is called the derivative of *f*, and is written or . Now, does this definition work for functions of a complex variable? The answser is yes, and to see why, we fix *x* and unravel the definition of limit. If the limit exists, say , then for every (real) number , there is a (real) number such that if

This makes perfect sense for functions of a complex variable, but we need to keep in mind that represents the modulus of a complex number, not the real absolute value.

This seemingly innocuous difference actually has far reaching implications. Recall that the complex plane has two real dimensions, so there are many ways that *h* can approach 0: successive values of *h* may be points on the *x*-axis, points on the *y*-axis, some other line through the origin, it may spiral in, or take any of a number of paths, but the definition requires that the limit be the *same number* in every case. This is a very strong requirement! Fortunately, it turns out to be sufficient to consider just two of the possible "approach paths": a sequence of values along the *x*-axis and a sequence of values along the *y*-axis. If we call the real and imaginary parts (respectively) of *u* and *v*, (i.e., ), this requirement can be expressed in terms of the partial derivatives of *u* and *v* with respect to *x* and *y*:

and

These equations are known as the Cauchy-Riemann equations.

**Note**: These equations are frequently written in the more compact form, and .

They may be obtained by noting that if the approach path is on *x*-axis, , so

and that on the *y*-axis, , so

These equations have far-reaching implications. To get some idea if why this is so, consider that we can take second derivatives to obtain

and

In other words, *u* and *v* satisfy Laplace's equation in 2 dimensions. These functions arise in mathematical physics as scalar potentials in, for example, fluid dynamics. Laplace's equation is also basic to the study of partial differential equations. This is but one indication of the reason for the ubiquity of complex functions in physics.

### Integration

By contrast, the definition of integration in complex analysis involves no surprises. Path integrals and integrals over regions are defined just as they are in the calculus of functions of two real variables. What is different is that the Cauchy-Riemann equations imply that integrals of complex functions have some very special properties. In particular, if a function *f* is differentiable (in the sense explained above) in a simply connected domain (intuitively, a domain having no "holes" in it), then for any closed curve defined in that domain

It is essential that the domain of definition be simply connected. For example, let

and let . Then if we define where *t* ranges from 0 to (i.e., we take to be the unit circle), then the integral will *not* be 0.

It follows that if and are two homotopic paths joining a pair of points (intuitively, one can be deformed into the other), then

This is commonly expressed by saying that the integrals are path independent, and this is just the condition for the existence of a scalar potential!

Finally, we note that integrals in domains containing singularities (such as 1/z in the above example) can be computed using Cauchy's integral formula

This result lies at the heart of many applications of complex analysis to disciplines ranging from number theory to physics. Its importance would be difficult to overestimate.