# Contour integrals — a simple introduction

When dealing with functions of complex variables, such as f(z) where z = x + iy, their integration with respect to z must be done in a slightly different way than integrals of real-valued functions. The techniques are usually a bit difficult for university students to pick up, especially because complex analysis as a subject of study can get very abstract and hairy, when it doesn’t need to be. I will explain here how to do contour integrals on the complex plane, without talking about all the abstract stuff which non-mathematicians wouldn’t need to know anyway.

Consider the following integral:

where C denotes some contour (could be open or closed) between two different points on the complex plane, whose endpoints are denoted by t1 and t2, where t is some parameter. For instance, the variable

z(t) = x(t) + iy(t)

is made up of a real part x(t) and an imaginary part y(t), both of which are functions of this parameter t. x(t) and y(t) are what describe the contour C. For example, if the contour C is a parabola y=x² with x going from x = 0 to x = 1, then we can easily set x=t (the independent parameter) and y=t² (the dependent parameter). The end points are then given by the value of x, so:

0 ≤ t ≤ 1

in that case. Now, remember that f(z) can be any function of z.

# Example 1

Consider for instance: