Definition 1 (Integral of a Complex‐valued Function of a Real Variable).
Let be a continuous function, and write
where are its real and imaginary parts, respectively. The integral of over is defined by
where each integral on the right–hand side is the usual real Riemann integral.
Definition 2 (Contour Integral of a Complex Function).
Let be a contour. Let be continuous on an open set containing the image . The contour integral of along is then defined by
each term being a standard integral of a continuous function on .
Remark
In particular, if for , then .
Visualization
According to @Needham1997Visual, one may equivalently view as the limit of Riemann–Stieltjes sums
where is a partition of and .
Then, we can visualize the integral as the result of adding the segments previously amplitwisted by . It can be visualized at this webpage.