Fundamentals of complex numbers
Complex numbers extend the real number line by introducing a new dimension. They're the foundation of complex analysis, which turns out to have surprisingly powerful applications across mathematics, physics, and engineering.
Real and imaginary parts
A complex number has two components: a real part and an imaginary part. You write it as:
Here, a is the real part and b is the imaginary part. The key ingredient is the imaginary unit , defined by the property . There's no real number that squares to give , so is genuinely new.
Arithmetic works by treating as a variable and applying whenever it appears. For example, multiplying : you expand using FOIL, get , replace with , and simplify to .
Argand diagram representation
An Argand diagram plots complex numbers on a two-dimensional plane. The horizontal axis is the real part, and the vertical axis is the imaginary part. So gets plotted at the point .
- The magnitude (or modulus) of is the distance from the origin:
- Addition of complex numbers corresponds to vector addition on the diagram
- Multiplication involves both scaling and rotation, which becomes much clearer in polar form
This geometric picture is not just a convenience. It's central to how complex analysis works.
Polar form of complex numbers
Instead of specifying a complex number by its real and imaginary parts, you can use its distance from the origin and its angle:
Here, is the magnitude and (called the argument) is the angle measured counterclockwise from the positive real axis.
Euler's formula connects this to the exponential function:
This lets you write the polar form compactly as . The payoff: multiplication becomes simple. To multiply two complex numbers, you multiply their magnitudes and add their angles. Division works by dividing magnitudes and subtracting angles.
Complex functions
A complex function takes a complex number as input and produces a complex number as output. Since both input and output live in two dimensions, you're effectively mapping one plane to another. This richer structure leads to properties that have no analogue in real analysis.
Domain and range
The domain of a complex function is the set of complex numbers where the function is defined. The range is the set of all output values.
- Some functions are defined everywhere (polynomials, )
- Others have restrictions: the complex logarithm isn't defined at , and it's actually multi-valued (more on that in the Riemann surfaces section)
- Domain coloring is a visualization technique that assigns colors to output values, letting you "see" how a complex function behaves across its domain
Analytic vs. non-analytic functions
An analytic function is one that is complex-differentiable at every point in its domain and can be expressed as a convergent power series. Analytic functions satisfy the Cauchy-Riemann equations (below) and are infinitely differentiable.
Non-analytic functions fail to be complex-differentiable. Two common examples:
- The complex conjugate
- The absolute value
Both of these are perfectly well-defined, but neither is differentiable in the complex sense. The distinction matters because analytic functions have far stronger properties: power series representations, path-independent integrals, and more.
Cauchy-Riemann equations
These equations are the test for complex differentiability. Write a complex function as:
where and are real-valued functions. The Cauchy-Riemann equations are:
Why do these matter? Complex differentiability requires the derivative to be the same regardless of which direction you approach from in the complex plane. These two equations are exactly the conditions that guarantee direction-independence. If a function satisfies them (and the partial derivatives are continuous), the function is analytic.
Differentiation in the complex plane
Complex differentiation looks like real differentiation on the surface, but it's actually much more restrictive. A function that's complex-differentiable automatically has far stronger properties than a merely real-differentiable function.
Complex derivatives
The definition mirrors the real case:
The critical difference: is a complex number, so it can approach zero from any direction in the plane. For the limit to exist, it must give the same value no matter how . This is a much stronger requirement than in real analysis, where can only approach from the left or right.
The familiar rules still hold: chain rule, product rule, and quotient rule all carry over. Complex differentiability implies continuity, but continuity does not imply differentiability.
Holomorphic functions
A function is holomorphic on a region if it's complex-differentiable at every point in that region. "Holomorphic" and "analytic" turn out to be equivalent in complex analysis, which is a deep and non-obvious result.
Key properties of holomorphic functions:
- They can be represented as convergent power series
- Their real and imaginary parts are harmonic functions (they satisfy Laplace's equation)
- They are infinitely differentiable (differentiable once means differentiable forever)
Standard examples: polynomials, , , .
Cauchy's integral theorem
This is one of the central results in complex analysis:
for any closed contour in a simply connected domain where is holomorphic. "Simply connected" means the domain has no holes.
Think of it as a complex version of the fundamental theorem of calculus. The theorem says that for holomorphic functions, the integral around any closed loop is zero. This leads directly to path independence of integrals and opens the door to Cauchy's integral formula and the residue theorem.

Integration in the complex plane
Complex integration is where the subject really shows its power. Contour integrals can solve problems that are extremely difficult using real methods alone.
Contour integrals
A contour integral evaluates a complex function along a path (contour) in the complex plane. If the contour is parameterized by for :
For analytic functions in simply connected domains, the integral depends only on the endpoints, not the specific path. This path independence is a direct consequence of Cauchy's integral theorem.
Residue theorem
The residue theorem is the workhorse of complex integration:
It says that a contour integral around a closed curve equals times the sum of the residues at the poles enclosed by the contour. A residue at a pole is the coefficient of the term in the Laurent series expansion around that pole.
To apply the residue theorem:
- Identify all singularities of inside the contour
- Compute the residue at each singularity
- Sum the residues and multiply by
Applications to real integrals
One of the most striking uses of complex analysis is evaluating real integrals that resist standard techniques. The general strategy:
- Extend the real integral into the complex plane by choosing an appropriate closed contour
- Show that the contribution from the added portion of the contour vanishes (often using Jordan's lemma)
- Apply the residue theorem to compute the closed contour integral
- Extract the value of the original real integral
This works especially well for integrals of the form , trigonometric integrals, and integrals with oscillatory behavior. Fourier and Laplace transforms also rely on these complex integration techniques.
Series and expansions
Series expansions let you represent complex functions in terms of powers of . They're essential for understanding local behavior, classifying singularities, and computing residues.
Taylor series for complex functions
If is analytic at a point , it has a Taylor series:
The series converges inside a disk centered at . The radius of that disk extends to the nearest singularity. This is a stronger result than in real analysis, where a function can be infinitely differentiable yet not equal to its Taylor series.
Laurent series
When a function has a singularity at , the Taylor series breaks down. The Laurent series handles this by allowing negative powers:
This converges in an annular (ring-shaped) region around . The negative-power terms form the principal part, and they tell you what kind of singularity you're dealing with. The coefficient is the residue at that point.
Singularities and poles
A singularity is a point where a function fails to be analytic. There are three types:
- Removable singularity: The function can be redefined at that point to become analytic. The Laurent series has no negative-power terms. Example: at .
- Pole of order : The principal part has finitely many terms, with the most negative power being . Example: has a pole of order 2 at .
- Essential singularity: The principal part has infinitely many terms. The function behaves wildly near the point. Example: at .
Classifying singularities is crucial for applying the residue theorem correctly.
Conformal mappings
A conformal mapping is an analytic function with a nonzero derivative. These mappings preserve angles between curves at every point, which makes them invaluable for transforming complicated geometric regions into simpler ones.
Preservation of angles
When two curves intersect in the complex plane, a conformal map preserves the angle between them at the point of intersection. This angle-preservation property comes directly from the fact that analytic functions with nonzero derivatives act locally as rotations and scalings.
Conformality breaks down at points where the derivative is zero or doesn't exist. At such points, angles can be distorted.
Types of conformal mappings
- Möbius transformations (linear fractional transformations): . These map circles and lines to circles and lines, and form the most fundamental class of conformal maps.
- Exponential and logarithmic maps: These transform between strips and sectors. For instance, maps horizontal strips to sectors.
- Power functions: maps a sector of angle to a sector of angle .
- Joukowski transformation: Used in aerodynamics to map circles to airfoil shapes.
- Schwarz-Christoffel transformations: Map the upper half-plane to polygonal regions.

Applications in physics
Conformal mappings are practical tools in physics and engineering because many physical problems (electrostatics, fluid flow, heat conduction) are governed by Laplace's equation, and solutions to Laplace's equation are preserved under conformal maps.
- Electrostatics: Transform complicated electrode geometries into simpler ones, solve the problem there, then map back
- Fluid dynamics: Simplify flow domains to find velocity fields and streamlines
- Heat conduction: Transform irregular boundaries into standard shapes where solutions are known
- Aerodynamics: The Joukowski transformation turns a circle into an airfoil, making lift calculations tractable
Complex analysis applications
The techniques of complex analysis appear throughout science and engineering, often in places you wouldn't expect.
Fluid dynamics
For irrotational, incompressible (two-dimensional) flow, the velocity field can be encoded in a single complex potential , where is the velocity potential and is the stream function. Conformal mappings transform flow around simple shapes (circles) into flow around complicated ones (airfoils), which is exactly how the Joukowski transformation works.
Electrical engineering
- Complex impedance unifies resistance, capacitance, and inductance into a single framework for AC circuit analysis
- Transfer functions in control theory are functions of a complex variable
- Fourier and Laplace transforms are built on complex integration and are fundamental to signal processing
- Complex power describes both real power dissipation and reactive energy storage
Quantum mechanics
Complex numbers aren't optional in quantum mechanics. Wave functions are inherently complex-valued, and the Schrödinger equation:
has built right into it. Hermitian operators have complex eigenfunctions, path integrals in quantum field theory use complex analysis techniques, and analytic continuation plays a role in defining scattering amplitudes.
Riemann surfaces
Riemann surfaces solve a fundamental problem: how do you handle functions like or that give multiple outputs for a single input?
Multi-valued functions
Functions like , , and are multi-valued: a single input produces more than one output. For example, , and for any integer .
This breaks the standard definition of a function. Riemann surfaces resolve the issue by creating separate "sheets," one for each branch of the function. The multi-valued function becomes single-valued when you let it live on this larger surface instead of the ordinary complex plane.
Branch points and cuts
A branch point is where the sheets of a Riemann surface connect. For , the branch point is at : if you walk around the origin in the complex plane, you end up on a different sheet.
A branch cut is a curve (often a ray from the branch point to infinity) that you draw to prevent accidentally crossing between sheets. The choice of branch cut is somewhat arbitrary, but once chosen, it determines which "branch" of the function you're working with. For the complex logarithm, the standard branch cut runs along the negative real axis.
Topology of Riemann surfaces
Riemann surfaces can have rich topological structure:
- The Riemann surface for is topologically a sphere (genus 0)
- More complicated functions produce surfaces with "holes," classified by their genus (the number of holes)
- Compact Riemann surfaces are fully classified by their genus
- The uniformization theorem states that every simply connected Riemann surface is conformally equivalent to one of three standard surfaces: the plane, the disk, or the sphere
Advanced topics
These topics push deeper into the theory and connect complex analysis to other areas of mathematics.
Analytic continuation
Analytic continuation extends an analytic function beyond its original domain of definition. The idea: if two analytic functions agree on an overlapping region, they must be the same function. So you can "grow" a function outward by finding overlapping power series expansions.
The classic example is the Riemann zeta function , which converges only for but can be analytically continued to the entire complex plane (except ). The uniqueness of analytic continuation guarantees that this extension is the only consistent one.
Entire functions
An entire function is analytic on the whole complex plane with no singularities anywhere. Polynomials, , , and are all entire.
Two important results about entire functions:
- Liouville's theorem: If an entire function is bounded, it must be constant. This seemingly simple statement has a powerful consequence: it gives a clean proof of the fundamental theorem of algebra (every non-constant polynomial has a complex root).
- Weierstrass factorization theorem: Every entire function can be written as an infinite product, generalizing how polynomials factor into linear terms.
Meromorphic functions
A meromorphic function is analytic everywhere except at isolated poles. You can think of meromorphic functions as the "rational functions" of complex analysis: they can be expressed as ratios of entire functions.
- The poles of a meromorphic function are isolated (they don't cluster together in any finite region)
- On compact Riemann surfaces, meromorphic functions have particularly elegant properties
- Elliptic functions (doubly periodic meromorphic functions) and modular forms are important examples that connect complex analysis to number theory and algebraic geometry