electronics engineering
Course handbook · Second year
Mathematical Methods
Mathematical methods for engineering: complex analysis, probability and statistics, Fourier and Laplace transforms.
- 10Topics
- 56Solved exercises
- 60Formula sheet
Free handbook generated from the lessons of the site and updated often, every time a lesson or an exercise changes: the latest version is always at www.electronics-engineering.com/handbook/mathematical-methods. Links work in the PDF too.
1Functions of a complex variable
In the Analysis courses functions were real. Mathematical Methods extends calculus to complex numbers, and the surprising discovery is that a function differentiable in the complex sense is far more “rigid” than a real function: knowing it on a small piece of the plane is enough to know it everywhere. This rigidity gives very powerful tools for computing integrals, studying the stability of systems and analysing circuits. In this lesson we cover functions of a complex variable, the derivative, the Cauchy-Riemann equations and the elementary functions.
Functions of a complex variable
A function
maps
to a complex number
. So it amounts to two real functions of two variables, the real part
and the imaginary part
. Its graph cannot be drawn (it would need four dimensions), so it is represented as a mapping of a region of the
plane onto a region of the
plane.
Example.
, so
and
. In polar form
: the modulus is squared and the angle doubled. The first quadrant becomes the upper half-plane.

maps the vertical (blue) and horizontal (red) lines of the
plane into two families of parabolas in the
plane. The mapped curves still meet at right angles: holomorphic functions preserve angles.The complex derivative
The definition is the same as in the real case:
![]()
but now
is a complex number and can tend to zero from every direction in the plane. The limit must be the same for all of them: a much stronger requirement than real differentiability. A function differentiable at every point of an open set is called holomorphic (or analytic).
A counterexample.
. With
real the difference quotient is
, with
purely imaginary it is
. The limit exists nowhere: conjugation, a very simple function and a perfectly “smooth” mapping of the plane, is not complex-differentiable.
The Cauchy-Riemann equations
Proof
If
is differentiable at
, compute the limit along two particular directions. With
real:
![]()
With
purely imaginary:
![]()
The two results must match. Equating real and imaginary parts gives the Cauchy-Riemann equations:
![]()
The converse also holds: if
and
have continuous partial derivatives satisfying these equations,
is holomorphic.
Check on
:
,
. On
:
,
. They differ, as expected.
Harmonic functions
Differentiating the first equation with respect to
, the second with respect to
and adding, the mixed terms cancel (Schwarz’s theorem):
![]()
The real part (and likewise the imaginary part) of a holomorphic function satisfies Laplace’s equation: it is a harmonic function. It is the equation of the electrostatic potential in a charge-free region, of steady-state temperature, of the velocity potential of an ideal fluid. That is why holomorphic functions are a classic tool for computing fields in plane geometries: find a mapping that takes the hard geometry into a simple one, solve there and map back.
The curves
and
are orthogonal to each other: in electrostatics one set are the equipotentials, the other the field lines.
Conformal mappings
Where
, a holomorphic function behaves locally like multiplication by the complex number
: it scales by
and rotates by
. So it preserves angles between curves, as the figure shows: it is a conformal mapping. Mercator maps and the Smith chart used for impedance matching in radio-frequency circuits are conformal mappings.
Elementary functions
The exponential.
, from Euler’s formula. It is holomorphic everywhere, with
. But, unlike the real case, it is periodic with period
:
. And it is never zero.
Sine and cosine.
,
. In the complex field they are not bounded:
grows without limit. An equation such as
, impossible among the reals, has complex solutions.
The logarithm. We look for
with
. Writing
:
![]()
The complex logarithm is multivalued, because the argument is defined only up to multiples of
. To get a true function you choose a branch, for example with
(principal branch), and cut the plane along the negative real axis: crossing the cut the function jumps by
. Example:
on the principal branch, that is
.
Powers.
, in general multivalued too. For example
(principal branch): a real number.
2Cauchy's theorem and integral formula
The integral along a curve in the complex plane is the centre of the whole theory. Cauchy’s theorem says that for holomorphic functions the integral around a closed curve is zero, and Cauchy’s integral formula says that the values of a function inside a curve are determined by its values on the curve. From here follow results with no real counterpart, such as the fact that a function differentiable once is differentiable infinitely many times.
The complex integral
Let
be a regular curve parametrised by
,
. The integral of
along
is
![Rendered by QuickLaTeX.com \[ \int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-9e4c0c1afe7c9bf7b3bf31921f4833d1_l3.png)
Writing
and
shows it is a combination of Analysis 2 line integrals:
![]()
The fundamental example. Let
be the circle with centre
and radius
, traversed once anticlockwise:
,
. Then
![Rendered by QuickLaTeX.com \[ \oint_\gamma\frac{dz}{z - z_0} = \int_0^{2\pi}\frac{ire^{it}}{re^{it}}\,dt = 2\pi i \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-9d9ecf690ef959b206ffbace587d08b8_l3.png)
and, for every integer
,
. These two integrals are the key to this lesson and the next.
A useful bound.
, where
is the maximum of
on the curve and
its length.
Cauchy’s theorem
Theorem. If
is holomorphic in a simply connected domain
, then for every closed curve
in ![]()
![]()
Proof (assuming
is continuous)
Apply Green’s theorem from Analysis 2 to the two line integrals, with
the region enclosed by
:
![]()
By the Cauchy-Riemann equations both integrands are zero. Goursat later showed that the continuity of
is not needed.
Consequences.
- The integral between two points does not depend on the path, and
has an antiderivative
with
. - A curve can be deformed freely without changing the integral, as long as it does not cross points where
is not holomorphic. In the figure, the integral along
equals the sum of the integrals round the small circles about the inner singularities
and
; the outer singularity
does not count.

, traversed anticlockwise, encloses the singularities
and
but not
. By Cauchy’s theorem, the integral along
can be replaced by those round the small dashed circles about
and
.Why holomorphy matters. With
and the unit circle the integral is
, not zero: the function is not holomorphic at the origin, which lies inside the curve. It is the same phenomenon as the field with a “hole” seen in Analysis 2 for conservative fields.
Cauchy’s integral formula
Theorem. If
is holomorphic inside and on a simple closed curve
traversed anticlockwise, and
is inside
, then
![Rendered by QuickLaTeX.com \[ f(z_0) = \frac{1}{2\pi i}\oint_\gamma\frac{f(z)}{z - z_0}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-c90ca3c525c0d94fb25a17b5917ebebe_l3.png)
Proof
The function
is holomorphic except at
, so
can be shrunk to a tiny circle of radius
about
. Write
![]()
The first term is
. In the second, the numerator tends to zero by continuity of
, and the
bound gives at most
, which tends to zero with
. Since the integral does not depend on
, the second term is exactly zero.
The meaning. The values of
inside the curve are determined by its values on the curve. For a circle centred at
, the formula says that
is the average of the values on the circle (the mean value property): the same fact by which the steady temperature at the centre of a disc is the average of the temperature on its edge.
Consequences
Derivatives of every order. Differentiating the formula under the integral sign with respect to
:
![Rendered by QuickLaTeX.com \[ f^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_\gamma\frac{f(z)}{(z - z_0)^{n+1}}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-3a93d423d9535edc2c89157b0745c9ff_l3.png)
A holomorphic function has derivatives of every order, all holomorphic. In the real case this is not so at all:
has a first derivative but no second.
Liouville’s theorem. A function holomorphic on the whole of
and bounded is constant. With the formula for
on a circle of radius
,
, which tends to zero as
. It is also why complex sine and cosine cannot be bounded.
The fundamental theorem of algebra. Every non-constant polynomial
has at least one complex root. If it had none,
would be holomorphic on the whole plane and bounded (because
as
), hence constant by Liouville: a contradiction. It follows that a polynomial of degree
has exactly
complex roots, counted with multiplicity. It is the result that guarantees that the characteristic polynomial of every linear circuit or system always has its poles.
Worked example.
:
is holomorphic everywhere and
is inside the circle, so the integral is
.
Cauchy's theorem and integral formula in depth: Goursat, contour deformation, infinite derivatives, Liouville and the fundamental theorem of algebra
This page goes deeper into the lesson on Cauchy’s theorem and integral formula, the heart of complex analysis. It starts from the basic tools of the complex integral (parametrisation, the modulus estimate, the fundamental integral of
), proves Cauchy’s theorem without superfluous hypotheses (Goursat’s triangle method), derives contour deformation and proves step by step the integral formula and the formula for derivatives. From here follow surprising results, proved in a few lines: a holomorphic function has infinitely many derivatives, Liouville’s theorem and the fundamental theorem of algebra.
The tools of the complex integral
If the curve
is parametrised by
,
, the integral is
![Rendered by QuickLaTeX.com \[ \int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-9e4c0c1afe7c9bf7b3bf31921f4833d1_l3.png)
an integral of a complex function of a real variable, computed by separating real and imaginary parts.
Modulus estimate (ML inequality). If
on the curve and
is the length of the curve, then
.
Proof.
, because
is precisely the length. ∎
It is the tool used in almost all proofs and in all exercises on real integrals: it shows that the contribution of an arc “tends to zero”.
The fundamental integral. For a circle
traversed anticlockwise and
an integer:
![]()
Proof. With
,
:
. The last integral is
if
and 0 otherwise (a periodic function with zero mean). ∎
The whole theory of residues comes from here: in a Laurent series integrated over a circle only the term with
survives, the residue.
Cauchy’s theorem, without superfluous hypotheses
In the lesson the theorem is proved with Green’s theorem, assuming
continuous. Goursat (1900) showed that holomorphy is enough.
Theorem (Cauchy-Goursat for triangles). If
is holomorphic in an open set containing a solid triangle
, then
.
Proof. Let
. Divide
into four triangles by joining the midpoints of the sides. The sum of the four boundary integrals is the integral on the outer boundary, because the inner sides are traversed twice in opposite directions and cancel. So at least one of the four,
, has
. Repeating, one gets a sequence of nested triangles with
![Rendered by QuickLaTeX.com \[ \left|\oint_{\partial\Delta_n}f\,dz\right| \ge \frac{I}{4^n},\qquad L(\partial\Delta_n) = \frac{L_0}{2^n},\qquad \text{diam}(\Delta_n) \le \frac{L_0}{2^n} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-ca803aadc707d3ee4e43f6e0e6e4ca16_l3.png)
The triangles shrink to a point
(they are closed, nested, with diameter tending to zero). At
the function is differentiable:
, with
. The first two terms are polynomials, which have antiderivatives, so their integral over a closed curve is zero. What remains is
![Rendered by QuickLaTeX.com \[ \left|\oint_{\partial\Delta_n}f\,dz\right| = \left|\oint_{\partial\Delta_n}\varepsilon(z)(z - z_0)\,dz\right| \le \max_{\Delta_n}|\varepsilon|\cdot\frac{L_0}{2^n}\cdot\frac{L_0}{2^n} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-16ae060e1d46d063e604b678a9a37ef6_l3.png)
by the ML estimate. Putting things together:
, i.e.
, which tends to 0. So
. ∎
From here the theorem for any closed curve in a simply connected domain follows by building an antiderivative
(the integral does not depend on the path because differences can be broken into triangles): a function with an antiderivative has zero integral over every closed curve.

Deforming contours
Theorem. If
is holomorphic in the region between two simple closed curves
and
, with
inside
, both traversed anticlockwise, then
.
Proof. Join the two curves with two nearby segments, cutting the region into two simply connected parts. The boundary of each part is a closed curve on which
is holomorphic, so it has zero integral. Adding the two boundaries, the joining segments are traversed in opposite directions and cancel; what remains is
(the inner curve is traversed clockwise in the boundary of the region). ∎
In practice: an integral around a singularity does not depend on the shape of the curve, and the curve can be replaced by an arbitrarily small circle. This is the key step of the integral formula.

The integral formula, proved carefully
Theorem. If
is holomorphic inside and on a simple closed curve
traversed anticlockwise and
is inside
:
![Rendered by QuickLaTeX.com \[ f(z_0) = \frac{1}{2\pi i}\oint_\gamma\frac{f(z)}{z - z_0}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-c90ca3c525c0d94fb25a17b5917ebebe_l3.png)
Proof. The function
is holomorphic except at
. By deformation, the integral over
equals that over the circle
with centre
and radius
, for every small
. Write
![]()
The first integral is
(fundamental integral). For the second, with the ML estimate: the integrand has modulus at most
and the length is
, so the integral is at most
, which tends to 0 as
by continuity of
. But the integral does not depend on
: so it is exactly 0, and what remains is
. ∎
The formula says something extraordinary: the values of a holomorphic function inside a curve are determined by those on the boundary. There is nothing like this for differentiable real functions.
Infinitely many derivatives
Theorem. A holomorphic function has derivatives of every order, themselves holomorphic, and
![Rendered by QuickLaTeX.com \[ f^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_\gamma\frac{f(z)}{(z - z_0)^{n+1}}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-3a93d423d9535edc2c89157b0745c9ff_l3.png)
Proof (for
). With the integral formula, for small
:
![Rendered by QuickLaTeX.com \[ \frac{f(z_0 + h) - f(z_0)}{h} = \frac{1}{2\pi i}\oint_\gamma f(z)\,\frac{1}{h}\left(\frac{1}{z - z_0 - h} - \frac{1}{z - z_0}\right)dz = \frac{1}{2\pi i}\oint_\gamma\frac{f(z)}{(z - z_0 - h)(z - z_0)}dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-5f195a7e802641406339962ff9248893_l3.png)
The difference from
is
. If
is the distance of
from
and
, the denominator has modulus at least
, and by the ML estimate the difference is at most
. So the derivative exists and is given by the formula with
. Repeating the same reasoning on the new formula gives all the higher derivatives. ∎
Consequence: a function that is differentiable once in the complex sense can automatically be expanded in a Taylor series (lesson on Laurent series). Complex differentiability is an enormously stronger constraint than real differentiability.
Three consequences in a few lines
Cauchy’s estimate. If
on the circle
, then
. From the derivative formula with the ML estimate:
.
Liouville’s theorem. A function holomorphic on the whole of
and bounded,
, is constant. Indeed for every
:
, and letting
tend to infinity
at every point.
Fundamental theorem of algebra. Every polynomial
of degree
has at least one complex root.
Proof. If
never vanished,
would be holomorphic on the whole of
. As
,
(the highest-degree term dominates), so
: outside a large circle
, and inside the circle
is bounded because it is continuous on a closed bounded set. Then
is bounded on the whole of
and, by Liouville, constant: impossible, because
is not constant. ∎
Dividing by
and repeating, every polynomial of degree
has exactly
complex roots counted with multiplicity: the fact on which partial fractions, the poles of transfer functions and the eigenvalues of matrices rely.
Mean value property and maximum modulus. With
the circle of radius
around
, the integral formula becomes
: the value at the centre is the mean of the values on the circle. It follows that
cannot have a maximum inside a domain without being constant (maximum modulus principle): the maximum is always on the boundary. The real and imaginary parts of
are harmonic functions, and the same property holds for solutions of Laplace’s equation: the electrostatic potential in a charge-free region has its maximum and minimum on the boundary.
The converse: Morera
Theorem (Morera). If
is continuous in a domain and
for every triangle
in the domain, then
is holomorphic.
Proof. The hypothesis allows an antiderivative
to be defined independently of the path, with
. Then
is holomorphic and, by the infinite-derivatives theorem, so is
. ∎
Exercises on complex integrals, Cauchy’s formula and its consequences are on the exercise page linked at the top; the use of residues to compute real integrals is in the in-depth study on the residue theorem.
Exercises
Exercises on the complex integral, Cauchy’s theorem and Cauchy’s integral formula of the kind set in Mathematical Methods and Complex Analysis courses, in three levels: basic, with direct computation and Cauchy’s theorem; intermediate, with the integral formula and the formula for derivatives; exam, with estimates, Liouville’s theorem and the maximum modulus principle. The result is given straight away; the full solution, with the contour drawn, opens with a click. The proofs are in the in-depth study linked at the top; real integrals computed with residues are on a separate exercise page.
Basic level
Exercise 1. Holomorphic or not
Compute
and
, traversing the circle anticlockwise. Why are the results different?
Intermediate level
Exercise 6. An ML estimate
Show that, for
,
, where
is the upper semicircle of radius
, and deduce the limit as
.
3Laurent series and singularities
A holomorphic function can be expanded in a Taylor series around every point, and the series converges up to the nearest singularity. But what happens around a singularity? The answer is the Laurent series, which allows negative powers too. Singularities, which in a physical system are the poles of the transfer function, determine its entire behaviour.
Taylor series in the complex field
Theorem. If
is holomorphic in the disc
, then throughout the disc
![Rendered by QuickLaTeX.com \[ f(z) = \sum_{n=0}^{\infty}a_n(z - z_0)^n,\qquad a_n = \frac{f^{(n)}(z_0)}{n!} = \frac{1}{2\pi i}\oint\frac{f(\zeta)}{(\zeta - z_0)^{n+1}}\,d\zeta \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-2e0ed7d6f8133eff5848dd98a8e3c413_l3.png)
The proof starts from Cauchy’s integral formula and expands
as a geometric series. The consequence is remarkable: the radius of convergence is the distance to the nearest singularity.
This explains a mystery of real analysis. The function
is perfectly regular on the whole real line, yet its Taylor series at 0,
, converges only for
. The reason is visible only in the complex plane:
has two singularities at
, at distance 1 from the origin.
The Laurent series
Theorem. If
is holomorphic in the annulus
, then
![Rendered by QuickLaTeX.com \[ f(z) = \sum_{n=-\infty}^{\infty}a_n(z - z_0)^n = \underbrace{\sum_{n=1}^{\infty}\frac{a_{-n}}{(z - z_0)^n}}_{\text{principal part}} + \underbrace{\sum_{n=0}^{\infty}a_n(z - z_0)^n}_{\text{regular part}} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-44e1d7f20c5a463b935c9194632ce141_l3.png)
with coefficients
, computed round any circle in the annulus.

converges in the green annulus between radii
and
: the inner circle passes through the nearest singularity, the outer one through the next.The expansion depends on the annulus: the same function has different Laurent expansions in different annuli.
Example.
has singularities at 0 and 1. With partial fractions
.
- For
:
, so 
- For
:
, so 
In practice the coefficients are almost never computed with integrals: known series (geometric, exponential, sine, cosine) and their manipulations are used instead.
Classifying isolated singularities
A point
where
is not holomorphic, but is holomorphic in a punctured neighbourhood around it, is an isolated singularity. Its type depends on the principal part of the Laurent series in
.
| Type | Principal part | Behaviour | Example at |
|---|---|---|---|
| removable | none | ||
| pole of order | finite, up to | ||
| essential | infinite | no limit |
Removable singularity.
: setting
makes the function holomorphic. It is the standard limit of Analysis 1 seen from above.
Pole.
has a pole of order
at
if and only if
has a finite non-zero limit. For rational functions
the poles are the zeros of the denominator that do not cancel with the numerator, and the order is their multiplicity.
Essential singularity.
has infinitely many negative terms. Approaching 0 along the positive real axis it goes to
, along the negative axis to 0, along the imaginary axis it oscillates with no limit. Picard’s theorem says that in every neighbourhood of an essential singularity the function takes every complex value, with at most one exception: wild behaviour, very different from poles.
Zeros and poles
If a holomorphic
is not identically zero, its zeros are isolated: around each zero there is a neighbourhood with no other zeros. The identity principle follows: two holomorphic functions that agree on a segment, however small, agree everywhere. This is the “rigidity” of holomorphic functions: knowing how a linear circuit behaves at real frequencies determines its transfer function over the whole complex plane.
Why poles matter in engineering
The transfer function of a linear circuit or system is a rational function
. Its poles tell how the system behaves when left to itself: each pole
produces a term
in the response. Their position in the complex plane decides whether the system is stable, whether it oscillates and how quickly it settles, as we will see in the lessons on the Laplace transform. The zeros tell which frequencies the system blocks: a notch filter has zeros on the imaginary axis at the frequency to be removed.
4The residue theorem
The residue theorem is the most used result of complex analysis. It reduces the computation of an integral round a closed curve to the sum of a few numbers, the residues, which are found with derivatives or limits. And it lets you compute real integrals that would be impossible with the methods of Analysis 1: exactly those that appear in Fourier and Laplace transforms.
The residue
The residue of
at an isolated singularity
is the coefficient
of the Laurent series, the one of
:
![]()
The equality follows by integrating the Laurent series term by term: from the lesson on Cauchy’s theorem, every term
integrates to zero except
, which gives
. The residue is “what is left” after integration.
The residue theorem
Theorem. If
is holomorphic inside and on a simple closed curve
, traversed anticlockwise, except at finitely many interior singularities
, then
![Rendered by QuickLaTeX.com \[ \oint_\gamma f(z)\,dz = 2\pi i\sum_{j=1}^{k}\operatorname{Res}(f, z_j) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-382880e01ee21a84bfcec52fa54f67c2_l3.png)
Proof. By Cauchy’s theorem
can be deformed into small circles, one around each singularity (as in the figure of the lesson on Cauchy’s theorem). The integral round each is
times the corresponding residue.
Computing residues
- Simple pole:
. - Simple pole of a ratio
, with
,
,
:
. The handiest formula. - Pole of order
:
![Rendered by QuickLaTeX.com \[ \operatorname{Res}(f, z_0) = \frac{1}{(m - 1)!}\lim_{z\to z_0}\frac{d^{m-1}}{dz^{m-1}}\Big[(z - z_0)^m f(z)\Big] \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-161a98264bb41358c6995c078d8b39d7_l3.png)
- Essential singularity: write the Laurent series and read off
.
Examples.
at
:
.
at 0: triple pole,
.
at 0: from the series
, the residue is 1.
Real integrals with a semicircle
We want
. The idea is to close the segment
with a semicircle
in the upper half-plane, apply the residue theorem and show that the integral over the semicircle tends to zero.

Example.
![]()
The function
has poles at
; only
is inside the contour, with residue
. On the semicircle
and the length is
, so the semicircle integral is at most
. What remains is
![]()
The same result comes from the arctangent, but the method also works when the antiderivative is unknown. General rule: if
is rational, with no poles on the real axis and the degree of
at least two more than the degree of
, the semicircle integral tends to zero and
![Rendered by QuickLaTeX.com \[ \int_{-\infty}^{\infty}\frac{P(x)}{Q(x)}\,dx = 2\pi i\sum_{\operatorname{Im}z_j \gt 0}\operatorname{Res}\left(\frac PQ, z_j\right) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-124527cf710959635512add8be662c02_l3.png)
Jordan’s lemma and Fourier integrals
For integrals like
, which are Fourier transforms, the condition is weaker: with
it is enough that
on the upper semicircle (Jordan’s lemma), because
is small where
.
Example.
. Residue of
at
:
. So the integral is
.
The Dirichlet integral. With a small semicircle to go round the pole at the origin one gets
![]()
It is the area under the sinc function, which we will meet again as the Fourier transform of the rectangular pulse.
Trigonometric integrals
Integrals
become integrals round the unit circle with
,
,
,
.
Example.
. The roots of the denominator are
; only
is inside the unit circle. The residue of
is
, so the integral is
.
The argument principle
One last application, essential in control engineering: for a function with zeros and poles,
, the number of zeros minus the number of poles inside the curve. Geometrically it is the number of times the image
winds round the origin. The Nyquist criterion uses exactly this to decide whether a feedback system is stable, looking only at the open-loop frequency response.
From real to complex and back: real integrals with residues, Jordan's lemma and all the contours
This page goes deeper into the lesson on the residue theorem with the most spectacular application of complex analysis: computing real integrals by going through the complex plane. An integral along a line, often impossible with the methods of Calculus 1, becomes part of an integral along a closed curve; the residue theorem computes it with a little algebra; an estimate makes the extra pieces vanish; and one returns to the real line with the result. All the classical techniques are covered, each with its own contour: the semicircle, Jordan’s lemma, the indented contour, the keyhole, the sector, the rectangle, and finally the summation of a series.
The strategy
- Choose a complex function
that coincides with the integrand on the real axis (or has the integrand as its real or imaginary part). - Choose a closed curve that contains the real stretch
(or
) and “closes” it with other pieces. - By the residue theorem,
at the poles inside the curve. - Show, with the ML estimate or Jordan’s lemma, that the added pieces tend to zero (or to something known) as
. - The limit of the real stretch is the integral sought.
Rational functions: the semicircle
Theorem. Let
,
be polynomials with
and
with no real roots. Then
![Rendered by QuickLaTeX.com \[ \int_{-\infty}^{\infty}\frac{P(x)}{Q(x)}dx = 2\pi i\sum_{\text{Im}\,z_k \gt 0}\text{Res}\left(\frac{P}{Q}, z_k\right) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-8ab774d73363438ee51d4bdefb49eb92_l3.png)
Proof. Integrate on the contour formed by
and the semicircle
in the upper half-plane. For
large enough all the poles of the upper half-plane are inside. On
, since the denominator has degree at least 2 more,
for some constant
; the length is
; by the ML estimate
. ∎
Example.
. The poles of
are the fourth roots of
:
,
in the upper half-plane. At a simple pole
of
,
(because
). Sum:
. So the integral is
.

Jordan’s lemma and Fourier integrals
For
one uses
, with
: on the real axis its real part is the integrand, and in the upper half-plane
. When the denominator has degree only one more than the numerator the ML estimate is not enough, and a finer result is needed.
Jordan’s lemma. If
on
with
and
, then
.
Proof. With
:
, so
. On
we have
(sine is concave and lies above the chord), so the integral is at most
. In total
. ∎

Example.
with
. Only pole in the upper half-plane:
, with residue
. The integral of
along the line is
; it is real, so it is exactly the integral of the cosine (that of the sine is zero, by symmetry). The result decays exponentially in
: it is the Fourier transform of the Lorentzian (Fourier transform exercises).
The indented contour: the integral of 
Theorem.
.
The sine integral has no elementary antiderivative. Use
, which has a pole on the real axis, at 0. The contour goes round it with a small semicircle
above zero, traversed clockwise, and is closed with the large
. There are no poles inside, so the total integral is zero.
Small semicircle lemma. If
has a simple pole at
, the integral over a semicircle of radius
around
, traversed clockwise, tends to
.
Proof. Near the pole
, with
holomorphic and hence bounded: its integral over the arc tends to 0 by the ML estimate (the length is
). For the first term, with
,
from
to 0:
. ∎
Proof of the theorem. On the contour:
. The piece on
tends to 0 by Jordan (
,
); the one on
tends to
(residue of
at 0). The two real stretches give, joining
and
,
. In the limit:
, i.e.
. ∎

The keyhole: non-integer powers
Theorem. For
:
.
Proof. The function
is multivalued: choose the argument in
, with the branch cut along the positive real half-axis. The “keyhole” contour runs along the upper edge of the cut from
to
, the large circle, the lower edge from
to
and the small circle. On the upper edge
; on the lower one the argument is
, so
.
The circles do not contribute in the limit: on the small one the integrand is about
and the length
, product
; on the large one
. Only pole:
, with residue
. So
![]()
∎ With
:
. It is also the reflection formula of the Gamma function,
.

The sector: exploiting a symmetry
Example.
. The function
does not change when
is rotated by
: integrate over the sector of opening
. On the return ray
,
, and that piece equals
. The arc tends to zero (ML:
). Inside there is a single pole,
, with residue
. So
![]()
(with
and a couple of simplifications).

Fresnel integrals. With
and the sector of opening
: there are no poles inside; on the ray
,
, and the function becomes a Gaussian. The arc tends to zero with the same idea as Jordan (
). So
, and separating real and imaginary parts
![]()
These are the integrals of Fresnel diffraction in optics and of the clothoid curve used for road and railway transition curves.

The rectangle: shifting a Gaussian
Example.
. Integrate
, holomorphic everywhere, over the rectangle with vertices
and
. On the upper side
:
. The vertical sides tend to zero (the integrand is about
). So
, and taking the real part
![]()
It is the Fourier transform of the Gaussian, derived in the Fourier transform in-depth study with a differential equation: here with a rectangle.

Trigonometric integrals
With
,
,
,
, an integral over
becomes an integral over the unit circle (lesson). For a power,
.
Example.
. The roots of
are 2 and
: inside the circle only
, with residue
. Integral:
.
Summing a series with residues
Theorem.
.
Proof. The function
has simple poles at every integer
, with residue 1. So
has residue
at every
. At 0 the expansion
gives
, residue
. On the square
with vertices
, which passes between the integers,
is bounded by a constant independent of
; then
, the length is about
, and the integral tends to 0. So the sum of all the residues tends to 0:
![Rendered by QuickLaTeX.com \[ 2\sum_{n=1}^{N}\frac{1}{n^2} - \frac{\pi^2}{3} \to 0 \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-2c80943982f02535c7361e16a3ee91d1_l3.png)
∎ This is the Basel problem, solved by Euler in 1734 with another method. With the same idea one sums
and many series of physics.

Exercises with all these contours are on the exercise page linked at the top.
Exercises
Exercises on the residue theorem applied to real integrals: one starts from an integral on the real line, moves to the complex plane, uses residues and returns to the real line with the result. They are of the kind set in Mathematical Methods courses, in three levels: basic, with rational functions and the semicircle; intermediate, with Jordan’s lemma, trigonometric integrals and the indented contour; exam, with the keyhole, the sector, the rectangle and the summation of a series. The result is given straight away; the full solution, with the graph of the integrand or the contour, opens with a click. The techniques are proved in the in-depth study linked at the top.
Basic level
Intermediate level
5The Fourier transform
The Fourier series of Analysis 2 breaks a periodic signal into harmonics at discrete frequencies. But most real signals are not periodic: a pulse, a word, a data packet. The Fourier transform extends the series to any signal, replacing the sum over discrete frequencies with an integral over all frequencies. It is the tool used to think about a channel’s bandwidth, design filters and analyse modulation.
From series to transform
For a signal of period
, the complex series is
, with
and
. Letting
, the frequencies
get ever closer together, the sum becomes an integral and one obtains the pair
![]()
is the signal’s spectrum: the magnitude says how much “amplitude” there is at each frequency, the phase how the components line up. The transform certainly exists if
is absolutely integrable,
. Some texts use the frequency
in hertz instead of the angular frequency
: only the
factors change.
The fundamental example: the rectangular pulse
Let
for
and 0 elsewhere.
![Rendered by QuickLaTeX.com \[ F(\omega) = \int_{-T/2}^{T/2}e^{-i\omega t}\,dt = \frac{e^{i\omega T/2} - e^{-i\omega T/2}}{i\omega} = T\,\frac{\sin(\omega T/2)}{\omega T/2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-80824f1354b7800d1ff6111e79df18a2_l3.png)
the sinc function.

The first zero of the spectrum is at
, that is at frequency
. A 1 µs pulse occupies a bandwidth of the order of 1 MHz; a 1 ns pulse, 1 GHz. It is the uncertainty principle of signals: a signal cannot be both short in time and narrow in frequency. Precisely, the product of duration and bandwidth (measured as standard deviations) is at least
. That is why sending more bits per second needs more bandwidth.
Properties
| Property | Time | Frequency |
|---|---|---|
| linearity | ||
| delay | ||
| modulation | ||
| scaling | ||
| derivative | ||
| convolution | ||
| product |
Some readings:
- a delay does not change the magnitude of the spectrum, only the phase, which becomes linear in
; - modulation shifts the spectrum to the carrier frequency: the principle of every radio, which “moves” the audio signal up around a high frequency to transmit it;
- the derivative becomes multiplication by
: linear differential equations become algebraic, as with phasors; - compressing a signal in time widens it in frequency: playing a tape at double speed raises every frequency by an octave.
Convolution
The convolution of two signals is
![]()
For a linear time-invariant system (a filter, an amplifier, a transmission channel), the output is the convolution of the input with the impulse response
:
. In the frequency domain convolution becomes a product:
![]()
Proof
![]()
swapping the order of integration and setting
in the inner integral.
is the system’s frequency response: it says how much each frequency is amplified and phase-shifted. That is why filters are designed in frequency: an ideal low-pass has
up to the cut-off frequency and 0 beyond.
Parseval and energy
![]()
A signal’s energy can be computed in time or in frequency.
is the energy spectral density, and it is what a spectrum analyser shows.
Duality
The two formulas of the pair are almost identical: only the sign of the exponent and the
factor change. It follows that if
has transform
, the signal
has transform
. So, since the rectangular pulse has a sinc spectrum, a sinc signal in time has a rectangular spectrum: it is the perfectly band-limited signal, the basis of the sampling theorem.
The sampling theorem
If a signal contains no frequencies above
, it can be rebuilt exactly from samples taken at a frequency
![]()
(Nyquist-Shannon theorem). Sampling creates copies of the spectrum around every multiple of
; if
the copies do not overlap and a low-pass filter recovers the original. If they do overlap there is aliasing: high frequencies masquerade as low ones, and it cannot be undone. That is why CD audio is sampled at 44.1 kHz (hearing reaches about 20 kHz) and why every analogue-to-digital converter is preceded by an anti-aliasing filter.
Fourier transform in depth: Gaussian, Parseval, spectral decay, uncertainty and sampling
This page goes deeper into the lesson on the Fourier transform. It computes step by step the transform of the Gaussian, proves the properties and Parseval’s theorem, explains why a spectrum decays more or less quickly depending on the smoothness of the signal, derives the uncertainty principle and proves the sampling theorem with the reconstruction formula. At the end are the tables to remember of transform pairs and properties.
Convention:
,
.
The Gaussian: a function that transforms into itself
Theorem.
.
Proof. Let
with
. The function satisfies the differential equation
. Transform both sides: on the left the derivative becomes
; on the right, since
(differentiating the definition with respect to
under the integral sign), we get
. So
![]()
It is the same equation, with
in place of
:
. Finally
(Gaussian integral). ∎
A Gaussian that is narrow in time (small σ) is wide in frequency (width
), and vice versa: the product of the two widths is constant.

The properties, proved
They all follow from the definition with a change of variable.
- Delay.
, with
, becomes
. - Modulation.
. With cosine,
, the spectrum splits into two halved copies centred at
. - Scaling. For
, with
:
. - Derivative. By parts, if
at infinity:
. - Real signal. If
is real,
: the magnitude is even and the phase odd. This is why instruments show only positive frequencies.

Theorem (Parseval).
.
Proof. Write
and replace
with the conjugate inversion formula:
![]()
swapping the order of the integrals. ∎
Smoothness and spectral decay
How fast
goes to zero as
depends on how “smooth” the signal is:
- if
has a jump (rectangular pulse),
; - if
is continuous but its derivative has a jump (triangular pulse),
; - in general, if the first
derivatives are continuous and the
-th has a jump,
; - if
has all derivatives (Gaussian),
decays faster than any power.
Why. Applying the derivative rule
times,
. If
has a jump of size
at
, its derivative contains
, whose transform does not decay: so
stays bounded and non-zero. ∎
This is of great practical importance: the steep edges of digital signals generate harmonics up to very high frequencies and hence interference (electromagnetic compatibility). This is why fast signals are “rounded” with edges of controlled duration.


The uncertainty principle
Define the duration and the bandwidth of a signal as standard deviations, weighted by energy:
![Rendered by QuickLaTeX.com \[ \Delta t^2 = \frac{\int t^2|f|^2dt}{\int|f|^2dt},\qquad \Delta\omega^2 = \frac{\int\omega^2|F|^2d\omega}{\int|F|^2d\omega} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-048031d1b35a6809e98aded64a1f53f2_l3.png)
Theorem. For every signal (decaying fast enough at infinity)
, with equality only for the Gaussian.
Idea of the proof. By Parseval and the derivative rule,
. By the Cauchy-Schwarz inequality,
, and integrating by parts the left-hand side is at least
. Putting things together gives the inequality; equality in Cauchy-Schwarz requires
, i.e. the Gaussian. ∎
It is the same as Heisenberg’s principle in quantum mechanics, where time and frequency become position and momentum.
The sampling theorem, proved
Theorem (Nyquist-Shannon). If
for
and one samples with period
such that
, then
![Rendered by QuickLaTeX.com \[ f(t) = \sum_{n=-\infty}^{\infty}f(nT)\,\text{sinc}\left(\frac{\pi(t - nT)}{T}\right),\qquad \text{sinc}(x) = \frac{\sin x}{x} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-ce673ceb624f7dbe629765ae9d2dda1c_l3.png)
Proof. The sampled signal is
. The Dirac comb has transform
(lesson on the delta), and the product in time becomes a convolution in frequency divided by
:
. The spectrum repeats with period
. If
the copies do not overlap, and an ideal low-pass filter
for
gives back
. The impulse response of that filter is
, and the output
is the sum in the formula. ∎
Each sample contributes a sinc centred at its instant, which is 1 there and 0 at all other sampling instants: the formula interpolates exactly. If instead
, the copies overlap and high frequencies “fold” onto low ones (aliasing), irreparably: this is why every A/D converter is preceded by an anti-aliasing filter.

Tables to remember
Transform pairs (
;
is the step,
is 1 for
,
is the triangle of base
and height 1)
| 1 | |
| 1 | |
Properties (besides those in the lesson):
;
(duality);
;
and
(areas);
(generalised Parseval).
Exercises from basic to exam level are on the exercise page linked at the top.
Exercises
Exercises on the Fourier transform of the kind set in Mathematical Methods for Engineering and Signal Theory courses, in three levels: basic, with transforms from the definition; intermediate, with properties, convolution, duality and Parseval; exam, with filters, energy, sampling and the uncertainty principle. The result is given straight away; the full solution, with the graph, opens with a click. Convention:
;
.
Basic level
Exercise 2. The one-sided exponential: magnitude and phase
Compute the transform of
and write its magnitude and phase. What are they at
?
Exercise 3. A delayed pulse
Compute the transform of the pulse that is 1 for
and 0 elsewhere. What changes compared with the pulse centred at the origin?
Exercise 4. The triangle as a convolution
Show that the convolution of
with itself is the triangle
(base from
to 1, height 1) and derive the transform of the triangle.
Intermediate level
Exercise 5. Amplitude modulation
A signal
has a triangular spectrum, zero for
. It is transmitted as
. Sketch the spectrum of
and explain how
is recovered.
6The Dirac delta and distributions
Engineers used the Dirac delta “function” long before mathematicians could say what it was: an infinitely short and infinitely tall pulse with area 1. It is not a function in the usual sense but a distribution. With this concept the transforms of a sine, a constant and the step make sense, and the impulse response becomes the tool for describing any linear system.
The idea: a pulse of unit area
Consider the rectangle
of width
and height
, centred at the origin. Its area is always 1. Letting
tend to zero gives a “pulse” concentrated at
.

As a function the limit makes no sense (it would be 0 everywhere except at one point where it is infinite, and its integral would be zero). But the effect of the rectangles on a continuous function
has a precise limit:
![Rendered by QuickLaTeX.com \[ \int_{-\infty}^{\infty}\delta_\varepsilon(t)\,\varphi(t)\,dt = \frac1\varepsilon\int_{-\varepsilon/2}^{\varepsilon/2}\varphi(t)\,dt \to \varphi(0) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-1198f2e19177185868e93bd005258899_l3.png)
because the average of
over a shrinking interval tends to its value at the centre (mean value theorem for integrals).
The definition
The Dirac delta is defined by its action on smooth functions:
![]()
The delta “samples” the function at the point
. More generally, a distribution is a linear and continuous way of assigning a number to each test function
(infinitely differentiable and zero outside a bounded interval). Ordinary functions are distributions, through
; the delta is a distribution that does not come from any function.
Useful properties.
;
;
;
: the delta is the identity element of convolution.
The derivative of the step
The unit step
is 0 for
and 1 for
: it describes a switch closing. As a function it is not differentiable at 0. As a distribution it is: integrating by parts, for every test function
![]()
so
![]()
The derivative of a jump is an impulse with area equal to the jump. It is the right language for circuits: the current that charges an ideal capacitor when a switch closes onto a constant voltage,
, is exactly an impulse, and in a real circuit it is “spread out” by the resistance of the wires.
The impulse response
A linear time-invariant system is completely described by its impulse response
, the output when the input is
. Indeed any input can be written as a “sum” of impulses:
![]()
By linearity and time invariance, each impulse
produces
, so
![]()
It is the convolution of the lesson on the Fourier transform, now proved. A system is causal (it does not respond before being excited) if
for
, and stable (bounded input, bounded output) if
is finite.
Example. An RC low-pass circuit has
: after the kick, the capacitor voltage jumps up and then decays exponentially. In acoustics the impulse response of a hall is measured with a starter pistol or a bursting balloon, and then used to simulate that hall’s echo on any recording.
Fourier transforms that did not exist before
With the delta, signals that are not integrable can be transformed.
| Signal | Fourier transform |
|---|---|
The first row reads: an impulse contains every frequency with the same amplitude. That is why lightning interferes with every radio station, and why the impulse response holds all the information about the system: its transform is exactly the frequency response
.
The fourth row says that a pure sinusoid has a spectrum made of two lines, at
: what you see on a spectrum analyser when a sinusoidal signal is applied.
The Dirac comb and sampling
The comb
, a train of impulses with period
, has as its transform another comb, with period
in frequency. Sampling a signal means multiplying it by the comb; in the frequency domain the multiplication becomes a convolution, which copies the spectrum around every multiple of the sampling frequency. It is the compact proof of the sampling theorem seen in the lesson on the Fourier transform.
7The Laplace transform
The Fourier transform does not exist for growing signals, such as
, and it does not naturally account for initial conditions. The Laplace transform solves both problems by multiplying the signal by an exponential that damps it. It is the standard tool for circuits in transient conditions and for control engineering: it turns differential equations into algebraic ones and leads directly to the idea of a transfer function.
Definition
For a signal
that is zero for
(as all signals “switched on” at some instant):
![]()
With
you get back the Fourier transform. The real part
adds a factor
that damps the signal and makes the integral converge even for exponentially growing functions. The integral converges in the half-plane
, where
is the abscissa of convergence.
The basic transforms
Exponential.
, for
. Every other row of the table follows from this one.
Sine and cosine come from
:
.
Properties
- Linearity.
- Frequency shift:
. Multiplying by an exponential shifts the transform. - Delay:
. - Derivative:
, and
. - Integral:
. - Convolution:
.
Proof of the derivative rule
Integrating by parts:
![]()
because in the half-plane of convergence
. It is the key property: differentiation becomes multiplication by
, and the initial conditions enter the equation by themselves. With Fourier you had
; here you have
, plus the
term.
Initial and final value theorems
![]()
The second holds only if the limit really exists, that is if every pole of
has a negative real part. They give the start and end of a response without inverting: for example the steady-state output of a system after a step.
Inversion with partial fractions
In practical problems
is almost always a rational function
. It is split into partial fractions, and each fraction is inverted with the table.
Example.
![]()
,
. So
.
Computing
and
is exactly the residue computation of the lesson on the residue theorem: in general the inverse transform is the sum of the residues of
at the poles of
. A pair of complex conjugate poles
produces a damped oscillation
.
The s-plane and stability
Each pole
of
contributes to the time response a term
. The position of the pole in the complex plane therefore tells everything about the behaviour of that term.

- Negative real part: the term dies away. The further left the pole, the faster.
- Positive real part: the term grows exponentially. The system is unstable.
- On the imaginary axis: an oscillation of constant amplitude (or linear growth if the pole is double).
- The imaginary part gives the frequency of oscillation.
A linear system is stable if and only if every pole of its transfer function has a negative real part. It is the golden rule of control engineering: designing a controller means moving the system’s poles into the right region of the s-plane.
Laplace transform in depth: convergence, properties, final value and inverse transform in every case
This page goes deeper into the lessons on the Laplace transform and its applications. It proves when the transform exists, derives all the properties in the table, proves the initial and final value theorems together with the cases where they fail, works out the inverse transform with repeated and complex conjugate poles, deals with periodic signals and explains the precise link with the Fourier transform. At the end are the tables to remember.
When the transform exists
A signal
, zero for
, is of exponential order if there exist
and
with
for every
. Almost all engineering signals are: polynomials, exponentials, sines, steps.
is not.
Theorem. If
is piecewise continuous and of exponential order
, the integral
converges absolutely for
, and
as
.
Proof. With
,
, and
is finite for
. This estimate also gives
. ∎
The half-plane
is the region of convergence. For a rational function the boundary passes through the rightmost pole: the transform is analytic (lesson on complex functions) in the whole half-plane, and all the poles lie to the left.

The properties, proved
- Shift in s.
. - Delay. With
:
. - Second derivative. Applying the derivative rule twice:
. - Integral. If
, then
and
:
, i.e.
. - Multiplication by
. Differentiating the definition with respect to
under the integral sign:
, so
. Repeating,
. - Convolution.
. Swapping the integrals (integrating over the region
) and setting
:
.
The rule
explains where the rows of the table with
come from: from
one gets
,
, and so on. They are the terms produced by repeated poles.

The initial and final value theorems
Theorem. If
and
are transformable,
. If moreover all the poles of
have negative real part,
.
Proof. Start from
.
*Initial value:* as
the left-hand side tends to 0 (existence theorem applied to
), so
.
*Final value:* as
the left-hand side tends to
, provided this limit exists. So
. ∎
When it fails. The final value theorem always gives a number, even when the limit in time does not exist. With
,
, but
diverges (the pole at
is on the right). With
(the sine),
, but the sine oscillates forever (poles on the imaginary axis). Before using it one must always check the poles.

The inverse transform in every case
For a rational
with the degree of
less than that of
, the inverse transform is the sum of the residues of
at the poles of
(residue theorem applied to the Bromwich integral). In practice:
Simple pole
: contribution
, with
(Heaviside’s rule: “cover up” the factor
and substitute
).
Pole of multiplicity
at
: with
, the contribution is
![Rendered by QuickLaTeX.com \[ e^{pt}\sum_{k=0}^{m-1}\frac{G^{(m-1-k)}(p)}{(m - 1 - k)!}\cdot\frac{t^k}{k!} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d97a692f823870767b5d230f9a0c90b3_l3.png)
which follows from the fractions
.
Complex pair
: instead of working with complex numbers, complete the square. A term
is rewritten as
![]()
The pair produces an oscillation of angular frequency
inside an envelope
: the signature of underdamped second-order systems.

Periodic signals
Theorem. If
has period
and
is the transform of the first period, then
![]()
Proof. Split the integral into periods and use the delay:
, a geometric series with ratio
, with
for
. ∎
Example. The square wave that is 1 in the first half of the period and 0 in the second:
, and
, because
. There are infinitely many poles, on the imaginary axis, corresponding to the harmonics of the Fourier series.

The link with Fourier
If the region of convergence contains the imaginary axis (i.e.
: all poles on the left), then the Fourier transform of the causal signal exists and equals
. For a stable system, therefore, the frequency response is obtained by substituting
in the transfer function. If instead there are poles on the axis (step, sine) the Fourier transform exists only as a distribution and contains deltas; if there are poles on the right it does not exist at all, while Laplace does: this is why control theory uses Laplace, which also handles unstable systems that need to be stabilised.
Tables to remember
Transforms (for
)
| 1 | |
Properties
| Time | Laplace |
|---|---|
| periodic with period |
Second-order system
, with
: overshoot
; peak time
; 2 % settling time
; damped angular frequency
.
Exercises from basic to exam level, with differential equations, circuits and systems, are on the exercise page linked at the top.
Exercises
Exercises on the Laplace transform of the kind set in Mathematical Methods, Circuit Theory and Control courses, in three levels: basic, with direct transforms and inverse transforms; intermediate, with differential equations, delays, final value theorems and convolution; exam, with circuits, second-order systems, periodic signals and integral equations. The result is given straight away; the full solution, with the graph, opens with a click. The tables are in the in-depth study linked at the top.
Basic level
Intermediate level
Exercise 7. The final value theorem, used well and used badly
Compute, if it exists, the final value of
for
and for
.
8Laplace transform applications
With the Laplace transform a differential equation with its initial conditions becomes an algebraic equation, solved with basic arithmetic. In this lesson we use it to solve differential equations, to analyse circuits directly in the
domain and to study the transfer function and the step response of second-order systems, the most common in electronics and control.
Solving a differential equation
The method has three steps: transform the equation, solve for
, invert.
Example.
![]()
Transforming, with
and
:
![]()
Partial fractions:
, with
,
,
. So
![]()
Check:
,
, and in steady state
, as the final value theorem says:
. No constants to find at the end: the initial conditions entered the calculation from the start.
Circuits in the s domain
Transforming the component laws, with zero initial conditions:
| Component | Time | Impedance | |
|---|---|---|---|
| resistor | |||
| inductor | |||
| capacitor |
They are the impedances of the AC lesson with
in place of
. The circuit is solved with the generalised Ohm’s law, dividers and Kirchhoff’s laws, as if it were made of resistors. Non-zero initial conditions are represented by extra sources: a capacitor charged to
becomes the impedance
in series with a source
.
Example: the RC low-pass. The divider between
and
gives
![]()
With a step input,
, one gets
and therefore
: the capacitor charging, in three lines.
The transfer function
For a linear system with zero initial conditions, the ratio of the output and input transforms does not depend on the input:
![]()
It is the transfer function, and it is the Laplace transform of the impulse response. It holds the whole system:
- its poles give the natural modes and stability;
- evaluated at
it gives the frequency response:
is the gain and
the phase shift at each frequency, from which Bode plots are drawn; - multiplied by the input transform it gives the output.
Cascading systems means multiplying transfer functions. With negative feedback, a block
with feedback
becomes
![]()
the formula behind feedback op-amp amplifiers and every control system.
The second-order system
A great many systems (the RLC circuit, a suspension, a hard disk motor) behave like
![Rendered by QuickLaTeX.com \[ H(s) = \frac{\omega_0^2}{s^2 + 2\zeta\omega_0 s + \omega_0^2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-e85d87c109e0aca9572c334d25d4fcda_l3.png)
where
is the natural angular frequency and
the damping ratio. The poles are
![]()
real and distinct if
, coincident if
, complex conjugate if
.

,
,
,
and
. With low damping the response overshoots the final value and rings for a long time; with
it arrives without overshooting; with high damping it is slow.For
the step response is
![Rendered by QuickLaTeX.com \[ y(t) = 1 - \frac{e^{-\zeta\omega_0 t}}{\sqrt{1 - \zeta^2}}\sin\!\left(\omega_d t + \varphi\right),\qquad \omega_d = \omega_0\sqrt{1 - \zeta^2},\quad \cos\varphi = \zeta \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-248d83d7417dfd37958d480d9eb6b783_l3.png)
The parameters found in specifications:
- the maximum overshoot,
: 37% with
, 4.6% with
, zero with
; - the 2% settling time, about
; - the rise time, inversely proportional to
.
The value
is a classic compromise: a fast response with an overshoot of a few per cent. It is the damping of a second-order Butterworth filter (
), the one with the flattest possible frequency response.
Example. A series RLC with the output across the capacitor has
, so
and
. With
mH and
µF,
rad/s (5 kHz); to get
you need
Ω.
9The Z transform
Digital systems do not work with continuous signals but with sequences of samples:
, taken at time intervals
. An audio filter in a DSP chip, a controller in a microcontroller, an equaliser in a modem compute each output from the latest samples. The Z transform does for these systems what the Laplace transform does for continuous ones: it turns difference equations into algebraic equations, defines the transfer function and ties stability to the position of the poles.
Definition
For a sequence
, zero for
:
![Rendered by QuickLaTeX.com \[ X(z) = \mathcal Z\{x[n]\} = \sum_{n=0}^{\infty}x[n]\,z^{-n} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-bf02efd41149bd24ea4b49d42a9e88ad_l3.png)
It is a power series in
, so it converges outside a circle: for
, the region of convergence.
Examples.
- Unit impulse
(1 for
, 0 elsewhere):
. - Step
(1 for
):
, for
. - Exponential
:
, for
. It is the geometric series, and almost every other transform follows from it.
Properties
- Linearity.
- One-sample delay:
. It is the key property:
is a delay of one sample, and in digital filter block diagrams it is drawn precisely as the symbol
, a memory register. - Advance:
, the counterpart of the derivative with its initial condition. - Convolution:
, with
. - Final value:
, if the limit exists.
Difference equations and the transfer function
A discrete linear time-invariant system is described by a difference equation. Example: a filter taking the weighted average of the new sample and the previous output,
![]()
Transforming, with zero initial conditions:
, so
![]()
It is the simplest digital low-pass (exponential moving average), the “filter” used in microcontrollers to clean up a sensor reading: with
each new reading weighs 10%. The step response is
, which tends to 1.
The two big families of digital filters:
- FIR (finite impulse response):
.
is a polynomial in
: it has poles only at the origin, so it is always stable, and it can have exactly linear phase. - IIR (infinite impulse response): they also contain terms
, that is feedback, like the example above. With few coefficients they achieve very selective filters, but they can become unstable.
The z-plane and stability

A pole
produces a term
in the response. If
the term dies away, if
it grows. Hence
a discrete system is stable if and only if every pole of its transfer function lies inside the unit circle.
In the example filter the pole is at
: stable for
. With
the output would grow by 5% at every sample.
The link with Laplace and Fourier
Sampling a continuous signal with period
corresponds to the substitution
![]()
The left half of the
plane (
) maps inside the unit circle (
), the imaginary axis
maps onto the circle
. That is why the stability rules correspond: “negative real part” becomes “modulus less than 1”.
Evaluating
on the unit circle,
, gives the frequency response of the discrete system. One full turn of the circle corresponds to the sampling frequency: the frequency response of a digital system is periodic, which is another way of seeing aliasing. Useful frequencies run from 0 (at
) to half the sampling frequency (at
).
Example. A filter with a zero at
, such as
(the average of the last two samples), completely removes the Nyquist frequency: a signal alternating
gives zero output. It is the simplest FIR low-pass.
Inversion
As with Laplace, partial fractions are used, but it pays to split
, so that the terms become
, which correspond to
. For example
![]()
Alternatively you can always divide the numerator by the denominator and read the samples as the coefficients of the series in
: exactly what a processor does when it runs the difference equation sample after sample.
Z transform in depth: stability, z plane, ZOH, Euler and Tustin
This page goes deeper into the lesson on the Z transform, the tool used to design every system that runs on a processor: digital filters, controllers in microcontrollers, car ECUs. It proves the properties and the initial and final value theorems, works out the inverse transform with three methods, proves the stability criterion (poles inside the unit circle), explains how the map
transforms the
plane into the
plane and compares the methods for going from a continuous system to a discrete one: zero-order hold, Euler and Tustin. At the end are the tables to remember and a Python example.
The properties, proved
Definition:
, for sequences that are zero for
.
- Delay by
samples.
, with
, becomes
(terms with
are zero). - Advance.
. More generally
: initial conditions enter as in Laplace. - Scaling.
: multiplying by
moves the poles by a factor
. - Multiplication by
. Differentiating
with respect to
:
, so
. From
one gets
. - Convolution.
.
Theorem (initial and final values).
. If the poles of
lie inside the unit circle,
.
Proof. The first: as
all the terms
with
tend to 0. The second:
. As
the left-hand side tends to
(telescoping series), so
. ∎
The inverse transform: three methods
1. Partial fractions of
. Expand
and multiply back by
, so each term is
. For a double pole,
.
2. Long division. Divide the numerator by the denominator in powers of
: the coefficients of the quotient are the samples. It does not give a closed formula, but it is exactly what the processor does when it runs the difference equation.
3. Residues.
at the poles of
: this is the inversion formula, an integral around a circle in the region of convergence (lessons on Cauchy’s formula and residues).
Stability, proved
A discrete system is stable (BIBO: bounded input, bounded output) if and only if its impulse response is summable,
.
Theorem. A system with rational
is stable if and only if all its poles have modulus less than 1.
Proof. With partial fractions,
is a combination of terms
, one for each pole
(
less than the multiplicity). If
,
converges (ratio test: the ratio tends to
), and the sum of finitely many convergent series converges. If instead a pole has
, the corresponding term does not tend to zero (for
it has constant or growing modulus), so
is not summable. Finally, if
and
,
: bounded output. ∎

A negative pole has no continuous counterpart: it produces an oscillation at the Nyquist frequency (one sample up, one down). Complex poles
produce
: damping given by the modulus, frequency by the angle.

In practice, to check stability without computing the poles one uses the Jury criterion (Digital Control lesson), or the bilinear transformation
, which maps the unit circle onto the left half of the
plane, and then the Routh criterion.
From the s plane to the z plane
Sampling with period
, a continuous pole
becomes the discrete pole
(the sampled term
is
). With
:
and
.
- the left half-plane (
) goes inside the unit circle, the imaginary axis onto the circle; - a vertical line
goes into a circle of radius
: constant settling time; - the map is not one-to-one:
and
go to the same
. The strip
alone already covers the
plane, and frequencies outside that strip are confused with those inside: this is aliasing, seen from the complex plane.

Discretising: ZOH, Euler, Tustin
A controller designed in continuous time,
, must be turned into a
to run on the processor. The main methods:
Zero-order hold (ZOH). It is the exact model of a continuous process
driven by a D/A converter that holds its output constant between samples:
![]()
Proof. The discrete impulse, after the hold, is a pulse of duration
:
. Its output is the step response
minus the same delayed by
. Sampled and transformed, it gives
. ∎
For
:
, so
. The pole is exactly
.

Forward Euler:
(derivative approximated with the forward difference). Backward Euler:
. Tustin (bilinear transformation, trapezoidal rule):
.
Theorem. Tustin maps the left half-plane exactly into the unit circle: a stable continuous controller stays stable for every
. Forward Euler does not: a stable continuous pole becomes unstable if
is too large.
Proof. Tustin:
. With
, the numerator is closer to the origin than the denominator (they are symmetric about the imaginary axis, and
lies on the left), so
. Forward Euler:
. The disc
corresponds in
to the disc
: only poles inside that disc stay stable. A real pole
becomes
, unstable for
. ∎

The price of Tustin: frequency warping. On the circle
, the substitution gives
: the digital angular frequency
corresponds to the analogue angular frequency
. For small
the two coincide; near Nyquist the tangent blows up. To make an important frequency coincide (for example the cut-off of a filter, or the crossover of a controller) one uses prewarping: the continuous design is done at the corrected frequency
.

Frequency response of discrete systems
With
,
is the frequency response, periodic with period
and (for real coefficients) symmetric: it is enough to look at it between 0 and the Nyquist frequency
. The two-sample moving average
has magnitude
, zero at Nyquist; the exponential filter
with
is a much more selective low-pass, but with feedback (IIR).

A Python example
With the free python-control library (in MATLAB the functions have almost the same names: tf, c2d, step) a system is discretised and the methods are compared:
import control as ct
T = 0.1 # sampling period [s]
G = ct.tf([2], [1, 2]) # G(s) = 2/(s + 2)
Gzoh = ct.sample_system(G, T, method='zoh')
Gtus = ct.sample_system(G, T, method='tustin')
print(Gzoh) # 0.1813 / (z - 0.8187)
print(Gtus) # (0.09091 z + 0.09091) / (z - 0.8182)
print(ct.poles(Gzoh)) # [0.8187] = exp(-2*0.1)The ZOH pole is exactly
; the Tustin one,
, is very close because
is small. In MATLAB: G = tf(2,[1 2]); Gz = c2d(G, 0.1, 'zoh').
Tables to remember
Transforms (sequences that are zero for
)
| 1 | |
Properties:
;
;
;
;
;
; initial value
; final value
.
Discretisations
| Method | Substitution | Preserves stability | Notes |
|---|---|---|---|
| ZOH | yes, exact | model of the process with D/A | |
| Forward Euler | no | simple, needs small | |
| Backward Euler | yes | adds damping | |
| Tustin | yes | warps frequencies, use prewarping | |
| Pole-zero matching | yes | gain must be adjusted |
Exercises with difference equations, filters, stability and discretisations are on the exercise page linked at the top.
Exercises
Exercises on the Z transform of the kind set in Mathematical Methods, Digital Signal Processing and Digital Control courses, in three levels: basic, with transforms and inverse transforms; intermediate, with difference equations, stability and frequency response; exam, with discretisations and the implementation of a digital controller down to the code. The result is given straight away; the full solution, with the graph, opens with a click. The tables are in the in-depth study linked at the top.
Basic level
Exercise 2. Inverting with partial fractions
Find the inverse transform of
and check the first samples by division.
Exercise 3. The exponential filter and the step
A sensor is filtered with
. Find the transfer function, the step response and the number of samples after which the output exceeds 95 % of its final value.
Intermediate level
Exercise 5. Stable or unstable
Determine the stability of the systems
and
. For the second, how many samples does one oscillation last?
Exercise 6. Final value and static gain
A discrete system has
. Find the steady-state value of the unit step response.
Exercise 7. The moving average in frequency
The filter
runs at
kHz. Compute the gain at 0 Hz, at 250 Hz and at 500 Hz, and the delay it introduces.
10Partial differential equations
The differential equations of Analysis 2 had a single independent variable, time. But a signal travelling along a cable, heat spreading in a heat sink, the potential inside a semiconductor device depend on time and space. They call for partial differential equations (PDEs). In this lesson we look at the three classic equations, the method of separation of variables with the vibrating string and the heat equation, and the link with Fourier series.
The three classic equations
| Type | Equation | Phenomena |
|---|---|---|
| hyperbolic | vibrating strings, sound, electromagnetic waves, signals on transmission lines | |
| parabolic | heat conduction, carrier diffusion in semiconductors | |
| elliptic | electrostatic potential, steady-state temperature |
A unique solution needs boundary conditions (what happens at the edges of the domain) and, for equations involving time, initial conditions.
The wave equation and d’Alembert’s solution
For an infinite string, the equation
has the general solution
![]()
for any functions
and
(differentiate twice to check).
is a shape travelling right at speed
without distortion,
one travelling left. With initial conditions
and
one gets
: the initial shape splits into two halves moving in opposite directions.
On transmission lines the voltage obeys the same equation, with
(inductance and capacitance per unit length): that is why fast signals on printed circuit boards must be treated as waves, with reflections at the ends if the impedance is not matched.
Separation of variables: the vibrating string
A string of length
fixed at both ends:
. Look for solutions of the form
. Substituting into the equation and dividing by
:
![]()
The left side depends only on
, the right side only on
: they can be equal for every
and
only if both equal a constant. The PDE splits into two ordinary equations.
The eigenvalues
with
. For
the only solution is zero. For
,
:
gives
,
gives
, that is
![]()
Only a discrete sequence of shapes is allowed: the normal modes.

For each mode,
gives a harmonic oscillation with angular frequency
. The frequencies are integer multiples of the fundamental
: they are the harmonics of the lesson on Fourier series. It is the physics of every string instrument: halving the length (pressing the fret halfway up a guitar neck) doubles the frequency, one octave higher.
The general solution
By linearity, a sum of solutions is still a solution:
![Rendered by QuickLaTeX.com \[ u(x, t) = \sum_{n=1}^{\infty}\sin\frac{n\pi x}{L}\Big(a_n\cos\omega_n t + b_n\sin\omega_n t\Big) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-14a284ff45264d746e334420d429e760_l3.png)
The coefficients come from the initial conditions, and here the Fourier series returns: with the string held still in an initial shape
, we need
, so the
are the coefficients of the sine series of
:
![]()
Plucking the string at a different point changes the coefficients, that is the weight of the harmonics, and so the timbre: that is why a guitar sounds different plucked near the bridge or in the middle.
The heat equation
A bar of length
with its ends held at zero temperature and an initial distribution
:
. Separation of variables gives the same spatial modes, but the time equation is now first order:
, with a decaying exponential solution. So
![Rendered by QuickLaTeX.com \[ u(x, t) = \sum_{n=1}^{\infty}a_n\,e^{-\alpha(n\pi/L)^2t}\sin\frac{n\pi x}{L} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d85e7afbedc74b72a560b0040fc7ff74_l3.png)
Two important remarks:
- there are no oscillations: the temperature decays towards equilibrium;
- the higher modes die out much faster (the factor is
): after a short time only the first mode remains, half a sine wave. Heat smooths out the irregularities of the initial distribution.
The characteristic time is
, proportional to the square of the length. For aluminium
m²/s: a 10 cm bar settles in about
s, a 1 m bar in about 17 minutes. Doubling the distance heat must travel quadruples the time: one of the golden rules of thermal design.
Laplace’s equation
In steady state the heat equation becomes
. Separation of variables on a rectangle gives solutions like
; on a disc, in polar coordinates,
. The solutions are the harmonic functions of the lesson on complex functions, and this is where conformal mappings become useful: they take a complicated domain to a simple one where the solution is known.
When the geometry is too complicated for any analytical method, one turns to numerical methods, finite differences or finite elements, the subject of the Numerical Analysis course.
✎Exam exercises
2. Cauchy's theorem and integral formula
Exam level
Exercise 7. Cauchy’s estimate
A function
is holomorphic in the disc
and
on the circle
. How large can
be at most? Is the bound attained?
Exercise 8. A consequence of Liouville
Let
be holomorphic on the whole of
with
for every
. Prove that
is constant.
Exercise 9. Maximum modulus
Find the maximum of
on the disc
and the point where it is attained.
4. The residue theorem
Exam level
Exercise 12. Summary: which contour?
For each of the following integrals state the complex function and the contour to use, without computing them: (a)
; (b)
; (c)
; (d)
; (e)
.
5. The Fourier transform
Exam level
Exercise 9. A pulse through an RC filter
A rectangular pulse of amplitude 1 and duration
enters an RC filter with
. Compute the output in time with convolution and explain the result in frequency.
Exercise 10. How much energy is in the band
For the signal
, what fraction of the energy lies in the band
?
Exercise 11. Aliasing
A signal
is sampled at 5 kHz. What frequency does the processor “see”? And if it were sampled at 8 kHz?
Exercise 12. The uncertainty principle for the Gaussian
For
, compute the duration
and the bandwidth
defined as in the in-depth study, and check that the product is
.
7. The Laplace transform
Exam level
Exercise 9. An RLC circuit switched on to a step
A series RLC circuit with
Ω,
H,
F, initially uncharged, is connected at time 0 to a 10 V source. Find the current
.
Exercise 10. The specifications of a second-order system
A system has transfer function
. Find
,
, the overshoot, the peak time and the 2 % settling time of the step response.
Exercise 11. A periodic signal
Find the transform of the square wave with period
that is 1 for
and 0 for
.
9. The Z transform
Exam level
Exercise 8. Discretising a process with ZOH
The process
is driven by a D/A with hold, with
s. Find
and check that, for a step, the samples coincide with the continuous response.
Exercise 9. Euler versus Tustin
A controller has a pole at
. With
s, where does the pole end up when discretising with forward Euler and with Tustin? And with ZOH?
Exercise 10. Tustin with prewarping
A digital low-pass filter with a cut-off frequency of 1 kHz, sampled at 4 kHz, is to be obtained with Tustin from a continuous prototype. At what frequency should the prototype be designed?
Exercise 11. From the continuous PI to the microcontroller code
A PI controller
, with
and
s
, must run on a microcontroller with
ms. Discretise it with Tustin, write the difference equation and the code.
✓Solutions
2. Cauchy's theorem and integral formula · Exercise 1. Holomorphic or not
Result:
and 0.
With
,
,
:
![Rendered by QuickLaTeX.com \[ \oint\bar z\,dz = \int_0^{2\pi}e^{-it}\,ie^{it}dt = 2\pi i,\qquad \oint z^2\,dz = \int_0^{2\pi}e^{2it}\,ie^{it}dt = i\int_0^{2\pi}e^{3it}dt = 0 \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-f2b95ae87ed2260c15521db3c9f9bf04_l3.png)
is holomorphic (it has the antiderivative
), and Cauchy’s theorem guarantees a zero integral.
is not holomorphic: with
,
has
,
, and the Cauchy-Riemann condition
gives
, false. On the unit circle
, which is why the integral coincides with that of
.

2. Cauchy's theorem and integral formula · Exercise 2. The integral formula
Result:
.
is holomorphic everywhere and the point
is inside the circle of radius 2. Integral formula with
,
: the integral equals
.
If the circle had radius 1, the point would be outside and the integral would be 0 (Cauchy’s theorem).

2. Cauchy's theorem and integral formula · Exercise 3. One singularity inside and one outside
Result:
.
The singularities are 1 (inside) and
(outside). Write the integrand as
with
, holomorphic inside the circle. Integral formula:
.
With radius 4 both would be inside, and the result would be
(the residues at 1 and
are
and
).

2. Cauchy's theorem and integral formula · Exercise 4. The derivative formula
Result:
.
Derivative formula with
:
, with
and
(inside).
,
. Integral:
.
Typical mistake: forgetting the factorial, or using the first derivative with a cubed denominator. The power of the denominator is
.

2. Cauchy's theorem and integral formula · Exercise 5. A circle not centred at the origin
Result:
; on
it is 0.
. The circle with centre
and radius 1 contains
but not
(which is at distance 2 from the centre). With
:
.
On
both are inside: residues
and
, sum zero, integral 0. This could be predicted: for large
,
, and a large circle gives an integral tending to 0 by the ML estimate; by contour deformation, every circle containing both poles gives the same value, hence 0.

2. Cauchy's theorem and integral formula · Exercise 6. An ML estimate
Result: the estimate follows from the reverse triangle inequality; the limit is 0.
On
:
(reverse triangle inequality
). So
. The length of the semicircle is
. ML estimate:
.
This is the step that, in the in-depth study on residues, allows
to be computed by closing with the semicircle.

2. Cauchy's theorem and integral formula · Exercise 7. Cauchy’s estimate
Result:
; yes, for
.
Cauchy’s estimate (in-depth study):
.
It is attained by
: on
,
, and
.
Meaning: a holomorphic function bounded on a large disc cannot oscillate quickly at the centre. The derivatives are controlled by the values on the boundary.

2. Cauchy's theorem and integral formula · Exercise 8. A consequence of Liouville
Result: apply Liouville to
, which has modulus at most 1.
is not necessarily bounded (the imaginary part can grow), so Liouville does not apply directly. Consider
: it is holomorphic on the whole of
(composition of holomorphic functions) and
. By Liouville
is constant.
Then
, and since
never vanishes,
everywhere:
is constant.
This is the typical scheme: transform the function with another one (exponential, reciprocal,
) to obtain a bounded function.
2. Cauchy's theorem and integral formula · Exercise 9. Maximum modulus
Result:
, at
(and at
).
The polynomial is holomorphic: by the maximum modulus principle the maximum lies on the circle
. With
,
. The modulus is
, maximum for
, i.e.
:
.
Check: at
,
, modulus
. At
, the most “natural” value to try, one gets only 3.

4. The residue theorem · Exercise 1. Two simple poles in the upper half-plane
Result:
.
The denominator has degree 2 more than the numerator: close with the upper semicircle. Poles in the upper half-plane:
and
.
;
.
Sum
; integral
.
Check with partial fractions:
, with integrals
.

4. The residue theorem · Exercise 2. A double pole
Result:
.
At
there is a double pole:
. The residue of a double pole is the derivative of the rest:
.
Integral:
.
With Calculus 1 one needs the substitution
:
between
and
, which gives the same
.

4. The residue theorem · Exercise 3. An irreducible trinomial
Result:
.
Roots
; in the upper half-plane
, with residue
. Integral:
.
As expected:
, and a shift does not change the area of
.

4. The residue theorem · Exercise 4. A Fourier integral
Result:
.
Use
, which is small in the upper half-plane (
). Residue at
:
. Integral of
:
. The result is real, so it is the integral of the cosine.
Beware: with
it would not work, because
grows exponentially in both directions of the imaginary axis and the arc does not tend to zero.

4. The residue theorem · Exercise 5. When Jordan’s lemma is needed
Result:
.
With
, its imaginary part on the real axis is the integrand. Here
decays only like
: the ML estimate would give
, which does not tend to zero. Jordan’s lemma is needed, with
: the arc tends to zero.
Residue at
:
. Integral of
:
. Imaginary part:
.
The integral converges only as an improper integral (the integrand decays like
, not absolutely): exactly the case in which Jordan is indispensable.

4. The residue theorem · Exercise 6. A trigonometric integral
Result:
; in general
.
With
:
. Roots
and
: inside the circle only
. Residue:
. Integral:
.
In general,
becomes
, with roots
, inside only
. Residue
, integral
. With
and the factor 4:
, consistent. (The lesson has the example
:
.)

4. The residue theorem · Exercise 7. The squared sine integral
Result:
.
, so the integral over the whole line is
, the real part of
with
.
has a simple pole at 0 (
, so
), with residue
. Indented contour (in-depth study): no poles inside, the large arc tends to zero (Jordan, with
and
), the small semicircle gives
. So the integral on the real stretches tends to
, and
.
By symmetry
. The same result follows from Parseval’s theorem (Fourier transform exercises).


4. The residue theorem · Exercise 8. The keyhole with a equal to one third
Result:
.
It is the formula of the in-depth study
with
, i.e.
:
.
Redoing the computation: on the lower edge of the cut
; residue at
:
. So
,
. ✓
The circles do not contribute because
: the integrand is integrable both near 0 (
) and at infinity (
).


4. The residue theorem · Exercise 9. The sector for the fourth power
Result:
.
Rotating by
,
does not change: on the ray
we have
and
, so that piece, traversed towards the origin, equals
. The arc tends to zero (ML). Inside the sector there is a single pole,
, with residue
.
. With
and
:
.
It is half of the integral over the whole line,
, computed in the in-depth study with the semicircle: two different contours, same result.

4. The residue theorem · Exercise 10. A modulated Gaussian
Result:
.
With the rectangle of the in-depth study and
: the height is
, and on the upper side
. Cauchy’s theorem (no poles) and the vertical sides tending to zero give
, i.e.
(the sine part vanishes by symmetry).
General formula:
. With
one gets back the Gaussian integral
.


4. The residue theorem · Exercise 11. Summing a series with the hyperbolic cotangent
Result:
.
As in the in-depth study, use
: at every integer
it has residue
. The other poles are
:
![]()
With
and
odd: both residues equal
, in total
.
On the square
the integral tends to 0, so the sum of all residues is 0:
. Removing
and dividing by 2:
.


4. The residue theorem · Exercise 12. Summary: which contour?
Result: (a) semicircle; (b)
with indentation and Jordan; (c) keyhole; (d) unit circle with
; (e) sector of opening
.
(a) Rational function with denominator 6 degrees higher: semicircle, poles
,
,
. Result
.
(b) Simple pole on the real axis (at 0) and slow decay: use
, indented contour around 0, Jordan for the large arc, pole
inside. Result
.
(c) Non-integer power: cut along the positive half-axis, keyhole (or the formula for
). Result
.
(d) Trigonometric integral over one period:
,
; it becomes a double pole inside the circle. Result
.
(e)
is invariant under rotations by
: a sector with that opening, a single pole
. Result
.
Choosing the contour is half the exercise: it depends on where the poles are, on how the integrand decays and on the symmetries.

5. The Fourier transform · Exercise 1. The two-sided exponential
Result:
.
Split the integral over the two half-lines:
![Rendered by QuickLaTeX.com \[ F(\omega) = \int_{-\infty}^{0}e^{(a - i\omega)t}dt + \int_0^{\infty}e^{-(a + i\omega)t}dt = \frac{1}{a - i\omega} + \frac{1}{a + i\omega} = \frac{2a}{a^2 + \omega^2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-479d890e64d3afcf034e399e7af8b404_l3.png)
The integrals converge because
. The transform is real and even, like the signal (a real even signal has a real even spectrum). The shape
is called a Lorentzian: it is the spectrum of the noise coming out of an RC filter.

5. The Fourier transform · Exercise 2. The one-sided exponential: magnitude and phase
Result:
;
,
; at
:
and
.
.
Multiplying by the conjugate:
, so
and
.
At
the magnitude is
of its value at 0 (i.e.
dB) and the phase is
. This is the cut-off frequency of the RC filter, with
: the impulse response of the filter is exactly
.

5. The Fourier transform · Exercise 3. A delayed pulse
Result:
; the magnitude is the same, the phase becomes linear.
The pulse has duration
and is centred at
: it is
. The centred pulse has transform
(lesson), and by the delay property it is multiplied by
:
![]()
The magnitude
does not change: the amplitude spectrum does not say when the signal occurs. The phase changes, adding
: a straight line with slope equal to minus the delay. This is why a filter that must not distort a signal must have linear phase (all frequencies delayed by the same time).

5. The Fourier transform · Exercise 4. The triangle as a convolution
Result:
.
is the length of the overlap between the interval
and the same interval shifted by
. It is 1 for
and decreases linearly to 0 for
:
, the triangle.
By the convolution theorem the transform is the product:
.
Computing it directly from the definition would take two integrations by parts: convolution is a powerful shortcut.

5. The Fourier transform · Exercise 5. Amplitude modulation
Result:
: two halved copies centred at
.
, and by the modulation property each exponential shifts the spectrum:
.
The copies occupy the bands
and do not overlap because
. To recover
(demodulation) multiply again by
: this gives
, and a low-pass filter removes the term at angular frequency 16. This is the scheme of every AM radio and, with small variations, of digital transmission.

5. The Fourier transform · Exercise 6. Duality
Result:
.
Duality: if
, then
. With
,
:
![]()
Computing it directly would require the residue theorem (lesson). Check:
, the area of the signal.
Note that the signal is smooth (infinitely differentiable) and the spectrum decays exponentially; the spectrum has a peak at 0 and the signal decays only as
. Smoothness on one side, decay on the other.

5. The Fourier transform · Exercise 7. An integral with Parseval
Result:
.
The pulse
(1 for
) has transform
. Parseval:
![]()
The left-hand side is 2 (the duration). So
.
An integral that is hard in time becomes trivial in frequency. With the same idea, using the transform itself instead of Parseval (area = value of the transform at 0), one also finds
.

5. The Fourier transform · Exercise 8. Differentiation in frequency
Result:
.
With
,
and
. So
.
Magnitude:
, which decays as
: the signal is continuous at 0 (it is 0 on both sides), but its derivative jumps from 0 to 1. This is exactly the decay rule of the in-depth study.

5. The Fourier transform · Exercise 9. A pulse through an RC filter
Result:
for
,
for
;
.
Impulse response
. The output is
.
For
:
. For
:
. At the end of the pulse
.
In frequency.
. The filter attenuates the components beyond
rad/s: they are the ones that make up the steep edges, which indeed become exponential. The main lobe of the pulse spectrum (up to
rad/s) passes almost entirely, and the output gets close to level 1. With
much larger than
the output would stay small: the filter would “not have time” to follow the pulse.

5. The Fourier transform · Exercise 10. How much energy is in the band
Result: 50 %.
Total energy in time:
.
In frequency,
, and the energy in the band is
![]()
Fraction:
%. To contain 90 % one would need
: the slow tails of the Lorentzian make the bandwidth of a signal with a jump wide.

5. The Fourier transform · Exercise 11. Aliasing
Result: 2 kHz with 5 kHz sampling; 3 kHz (correct) with 8 kHz.
With
kHz the Nyquist limit is 2.5 kHz, and 3 kHz exceeds it. The samples are
. Since
, they are identical to those of a cosine at
Hz.
In general the apparent frequency is the distance from the nearest multiple of
:
kHz. The processor has no way of telling them apart: the information is lost at the moment of sampling.
At 8 kHz the limit is 4 kHz and the 3 kHz signal is represented correctly.

5. The Fourier transform · Exercise 12. The uncertainty principle for the Gaussian
Result:
,
, product
.
is a Gaussian with variance
(compare with
:
). The weighted mean of
is the variance:
.
In frequency
, a Gaussian with variance
:
.
Product:
, the minimum possible. No other signal is as concentrated in time and frequency: this is why Gaussian pulses are used in radar and communications (GMSK modulation in GSM, Bluetooth).

7. The Laplace transform · Exercise 1. A power times an exponential
Result:
.
With the shift in s:
, and multiplying by
replaces
with
:
.
With the derivative: from
and
:
.
The result has a triple pole at
: this is the kind of term that appears when a system has coincident poles.

7. The Laplace transform · Exercise 2. The square of sine
Result:
.
, so
![Rendered by QuickLaTeX.com \[ \mathcal L\{\sin^2 t\} = \frac{1}{2}\left(\frac{1}{s} - \frac{s}{s^2 + 4}\right) = \frac{1}{2}\cdot\frac{s^2 + 4 - s^2}{s(s^2 + 4)} = \frac{2}{s(s^2 + 4)} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-44509b4cf35697628420913bad5823f8_l3.png)
Check with the initial value:
. The final value theorem cannot be used: the poles
lie on the imaginary axis and the function oscillates.

7. The Laplace transform · Exercise 3. A double pole at the origin
Result:
.
Partial fractions:
.
: cover
and set
:
.
: cover
and set
:
.
: it is the derivative of
at
, i.e.
(or from the coefficient of
:
).
Inverting term by term:
.
Checks:
,
, consistent with
for large
. For large
,
: a delayed ramp, the response of a first-order system to a ramp.

7. The Laplace transform · Exercise 4. Complex conjugate poles
Result:
.
The denominator has
: poles
. Complete the square:
.
Rewrite the numerator in terms of
:
.
![]()
The real part of the poles (
) gives the damping, the imaginary part (2) the angular frequency.

7. The Laplace transform · Exercise 5. A differential equation with initial conditions
Result:
.
Transforming, with the initial conditions entering by themselves:
![]()
, so
.
Residues (Heaviside’s rule): at
:
; at
:
; at
:
.
. Checks:
,
,
(with the final value theorem:
, allowed because the poles of
are
and
).
Compared with the classical method (homogeneous plus particular plus constants) no system for the constants has to be solved: the initial conditions are already inside
.

7. The Laplace transform · Exercise 6. A piecewise signal
Result:
.
Write the signal with steps: it is a ramp
from which, from time 1 on, a delayed ramp
is subtracted, which “bends” it horizontal:
![]()
With the delay property:
.
Typical mistake: writing
instead of
. The delay rule only holds if the whole function is shifted.

7. The Laplace transform · Exercise 7. The final value theorem, used well and used badly
Result:
; for
the limit does not exist (the formula would give
, wrongly).
: poles
, negative real part. The theorem applies:
. It is the step response of a system with unit static gain.
: pole at
, on the right. The theorem does not apply. Indeed
(partial fractions:
), which diverges. The formula would give
, a meaningless number.

7. The Laplace transform · Exercise 8. Inverting with convolution
Result:
.
, and each factor is the transform of
. So
:
![Rendered by QuickLaTeX.com \[ f(t) = \int_0^t\sin\tau\sin(t - \tau)\,d\tau = \frac{1}{2}\int_0^t\left[\cos(2\tau - t) - \cos t\right]d\tau = \frac{1}{2}\left[\frac{\sin(2\tau - t)}{2}\right]_0^t - \frac{t\cos t}{2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-06a378abe5d408ee4c025f0d66ea505c_l3.png)
The first term equals
. Result:
.
Meaning: it is the response of an undamped oscillator
driven at its resonant frequency. The amplitude grows linearly with time: double poles on the imaginary axis are unstable.

7. The Laplace transform · Exercise 9. An RLC circuit switched on to a step
Result:
A.
In the
domain (lesson): inductor
, capacitor
, source
. Mesh law:
![]()
Poles
.
, so
A.
Checks:
(the inductor prevents jumps in current);
(the charged capacitor blocks DC). The circuit is underdamped because
Ω: with a larger resistance the current would not oscillate.

7. The Laplace transform · Exercise 10. The specifications of a second-order system
Result:
rad/s,
;
%;
s;
s.
Comparison with the standard form
:
,
;
,
.
.
s.
s. Static gain
: the output goes to 1.
The formulas come from the step response
: the peak is where the derivative first vanishes, i.e.
.

7. The Laplace transform · Exercise 11. A periodic signal
Result:
.
Transform of the first period:
. With the formula for periodic signals:
![]()
Poles:
and the zeros of
, i.e.
: the odd harmonics
rad/s, exactly those of the Fourier series of the square wave (Analysis 2 lesson). The mean value
corresponds to the pole at 0:
.

7. The Laplace transform · Exercise 12. An integral equation
Result:
.
Transforming, the integral becomes a division by
:
. So
and
, i.e.
.
Check:
, and
.
It is the law of an RC circuit seen from the current: the voltage across the resistor plus that across the capacitor (integral of the current) equals the source. Equations of this kind (Volterra equations) appear in models with memory, and Laplace turns them into algebra.

9. The Z transform · Exercise 1. Multiplication by n
Result:
.
Start from
and use
:
![]()
Double pole at 0.5: the sequence first grows (because of the factor
) and then decays (because of
), with its maximum between
and
, where it equals 0.5.

9. The Z transform · Exercise 2. Inverting with partial fractions
Result:
;
,
,
.
, with
and
.
Multiplying back by
:
, so
.
Check.
: it corresponds to
. So
,
,
. From the formula:
.

9. The Z transform · Exercise 3. The exponential filter and the step
Result:
;
; from sample
.
Transforming:
, so
. Static gain
.
Step response:
.
(residues: at 1 it is
; at 0.8 it is
). So
.
95 %:
,
, i.e.
. With 100 Hz sampling the filter responds in about 0.13 s: it is the trade-off between a clean signal and promptness.

9. The Z transform · Exercise 4. The Fibonacci numbers
Result:
, with
,
.
With the advance rule:
. With the initial values:
, so
.
Poles:
, i.e.
(the golden ratio) and
.
, which gives Binet’s formula.
The pole
outside the unit circle makes the sequence grow exponentially; the pole
, inside and negative, adds a small alternating correction that makes every term an integer. For large
,
:
, and
.

9. The Z transform · Exercise 5. Stable or unstable
Result: the first is unstable (pole 1.1); the second is stable (poles
, modulus 0.707) and oscillates with a period of 8 samples.
First.
: pole at 1.1, outside the circle. The impulse response
grows by 10 % at every sample.
Second.
. Poles:
. Modulus
: stable. Angle
: a full turn (
) takes
samples.
Damping: after one period the amplitude is
, i.e. it drops to one sixteenth: the oscillation is barely visible.


9. The Z transform · Exercise 6. Final value and static gain
Result: 1.33.
Poles:
, i.e.
and
, inside the circle: the final value exists.
With the step
:
.
The static gain of a discrete system is
, as that of a continuous one is
:
corresponds to
in the map
.

9. The Z transform · Exercise 7. The moving average in frequency
Result: 1; 0.707 (−3 dB); 0; a delay of half a sample, 0.5 ms.
. With
:
.
Magnitude
, with
: at 0 Hz it is 1; at 250 Hz
; at 500 Hz (Nyquist)
.
Phase
, linear: all frequencies are delayed by
ms. Symmetric FIR filters always have linear phase, and therefore do not distort the waveform.

9. The Z transform · Exercise 8. Discretising a process with ZOH
Result:
.
Formula of the in-depth study with
:
.
Step response:
, whose inverse transform gives
: exactly the continuous response
at the instants
. ZOH is exact for piecewise-constant inputs, because that is precisely what the D/A produces.

9. The Z transform · Exercise 9. Euler versus Tustin
Result: Euler
(unstable); Tustin
(stable); ZOH
.
Forward Euler:
. Outside the circle: a stable pole has become unstable, because
.
Tustin:
. Stable, but negative: it introduces an oscillation at the Nyquist frequency that the continuous system did not have.
ZOH (exact correspondence):
.
Moral: with poles that are fast compared with the sampling the approximate methods give very different results. The practical rule is to sample at least 10-20 times faster than the fastest dynamics to be controlled.

9. The Z transform · Exercise 10. Tustin with prewarping
Result: at
rad/s (1273 Hz) instead of 6283 rad/s (1000 Hz).
Desired digital angular frequency:
,
, so
.
With the Tustin warping,
corresponds to
rad/s, i.e. 1273 Hz.
If the prototype were designed at 1000 Hz without correction, the digital filter would cut off at
Hz, 15 % lower.
In MATLAB: c2d(H, T, 'tustin') with the option c2dOptions('PrewarpFrequency', 2*pi*1000); in Python, scipy.signal.bilinear after scaling the prototype, or control.sample_system(H, T, method='tustin', prewarp_frequency=2*pi*1000).

9. The Z transform · Exercise 11. From the continuous PI to the microcontroller code
Result:
.
With
:
. So
![]()
with
and
.
From
:
. Each
is a variable that keeps the value of the previous step. In C, run by a periodic interrupt every 10 ms:
static float u_prev = 0.0f, e_prev = 0.0f;
const float b0 = 2.05f, b1 = -1.95f;
float pi_step(float setpoint, float measure)
{
float e = setpoint - measure;
float u = u_prev + b0 * e + b1 * e_prev;
if (u > 10.0f) u = 10.0f; /* actuator saturation */
if (u < -10.0f) u = -10.0f;
u_prev = u; /* z^-1 on the output */
e_prev = e; /* z^-1 on the error */
return u;
}Saturating
and saving the already-limited value in u_prev is a simple anti-windup protection: the integrator does not keep growing when the actuator is at its limit. This is exactly the scheme that in car ECUs controls engine idle speed, turbo boost pressure or the torque of an electric motor.

∑Formula sheet
Functions of a complex variable
The complex derivative
![]()
Proof
![]()
![]()
![]()
Harmonic functions
![]()
Elementary functions
![]()
Cauchy's theorem and integral formula
The complex integral
![Rendered by QuickLaTeX.com \[ \int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-9e4c0c1afe7c9bf7b3bf31921f4833d1_l3.png)
![]()
![Rendered by QuickLaTeX.com \[ \oint_\gamma\frac{dz}{z - z_0} = \int_0^{2\pi}\frac{ire^{it}}{re^{it}}\,dt = 2\pi i \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-9d9ecf690ef959b206ffbace587d08b8_l3.png)
Cauchy's theorem
![]()
Proof (assuming
is continuous)
![]()
Cauchy's integral formula
![Rendered by QuickLaTeX.com \[ f(z_0) = \frac{1}{2\pi i}\oint_\gamma\frac{f(z)}{z - z_0}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-c90ca3c525c0d94fb25a17b5917ebebe_l3.png)
Proof
![]()
Consequences
![Rendered by QuickLaTeX.com \[ f^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_\gamma\frac{f(z)}{(z - z_0)^{n+1}}\,dz \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-3a93d423d9535edc2c89157b0745c9ff_l3.png)
Laurent series and singularities
Taylor series in the complex field
![Rendered by QuickLaTeX.com \[ f(z) = \sum_{n=0}^{\infty}a_n(z - z_0)^n,\qquad a_n = \frac{f^{(n)}(z_0)}{n!} = \frac{1}{2\pi i}\oint\frac{f(\zeta)}{(\zeta - z_0)^{n+1}}\,d\zeta \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-2e0ed7d6f8133eff5848dd98a8e3c413_l3.png)
The Laurent series
![Rendered by QuickLaTeX.com \[ f(z) = \sum_{n=-\infty}^{\infty}a_n(z - z_0)^n = \underbrace{\sum_{n=1}^{\infty}\frac{a_{-n}}{(z - z_0)^n}}_{\text{principal part}} + \underbrace{\sum_{n=0}^{\infty}a_n(z - z_0)^n}_{\text{regular part}} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-44e1d7f20c5a463b935c9194632ce141_l3.png)
The residue theorem
The residue
![]()
The residue theorem
![Rendered by QuickLaTeX.com \[ \oint_\gamma f(z)\,dz = 2\pi i\sum_{j=1}^{k}\operatorname{Res}(f, z_j) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-382880e01ee21a84bfcec52fa54f67c2_l3.png)
Computing residues
![Rendered by QuickLaTeX.com \[ \operatorname{Res}(f, z_0) = \frac{1}{(m - 1)!}\lim_{z\to z_0}\frac{d^{m-1}}{dz^{m-1}}\Big[(z - z_0)^m f(z)\Big] \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-161a98264bb41358c6995c078d8b39d7_l3.png)
Real integrals with a semicircle
![]()
![]()
![Rendered by QuickLaTeX.com \[ \int_{-\infty}^{\infty}\frac{P(x)}{Q(x)}\,dx = 2\pi i\sum_{\operatorname{Im}z_j \gt 0}\operatorname{Res}\left(\frac PQ, z_j\right) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-124527cf710959635512add8be662c02_l3.png)
Jordan's lemma and Fourier integrals
![]()
The Fourier transform
From series to transform
![]()
The fundamental example: the rectangular pulse
![Rendered by QuickLaTeX.com \[ F(\omega) = \int_{-T/2}^{T/2}e^{-i\omega t}\,dt = \frac{e^{i\omega T/2} - e^{-i\omega T/2}}{i\omega} = T\,\frac{\sin(\omega T/2)}{\omega T/2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-80824f1354b7800d1ff6111e79df18a2_l3.png)
Convolution
![]()
![]()
Proof
![]()
Parseval and energy
![]()
The sampling theorem
![]()
The Dirac delta and distributions
The idea: a pulse of unit area
![Rendered by QuickLaTeX.com \[ \int_{-\infty}^{\infty}\delta_\varepsilon(t)\,\varphi(t)\,dt = \frac1\varepsilon\int_{-\varepsilon/2}^{\varepsilon/2}\varphi(t)\,dt \to \varphi(0) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-1198f2e19177185868e93bd005258899_l3.png)
The definition
![]()
The derivative of the step
![]()
![]()
The impulse response
![]()
![]()
The Laplace transform
Definition
![]()
Proof of the derivative rule
![]()
Initial and final value theorems
![]()
Inversion with partial fractions
![]()
Laplace transform applications
Solving a differential equation
![]()
![]()
![]()
Circuits in the s domain
![]()
The transfer function
![]()
![]()
The second-order system
![Rendered by QuickLaTeX.com \[ H(s) = \frac{\omega_0^2}{s^2 + 2\zeta\omega_0 s + \omega_0^2} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-e85d87c109e0aca9572c334d25d4fcda_l3.png)
![]()
![Rendered by QuickLaTeX.com \[ y(t) = 1 - \frac{e^{-\zeta\omega_0 t}}{\sqrt{1 - \zeta^2}}\sin\!\left(\omega_d t + \varphi\right),\qquad \omega_d = \omega_0\sqrt{1 - \zeta^2},\quad \cos\varphi = \zeta \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-248d83d7417dfd37958d480d9eb6b783_l3.png)
The Z transform
Definition
![Rendered by QuickLaTeX.com \[ X(z) = \mathcal Z\{x[n]\} = \sum_{n=0}^{\infty}x[n]\,z^{-n} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-bf02efd41149bd24ea4b49d42a9e88ad_l3.png)
Difference equations and the transfer function
![]()
![]()
The link with Laplace and Fourier
![]()
Inversion
![]()
Partial differential equations
The wave equation and d'Alembert's solution
![]()
Separation of variables: the vibrating string
![]()
The eigenvalues
![]()
The general solution
![Rendered by QuickLaTeX.com \[ u(x, t) = \sum_{n=1}^{\infty}\sin\frac{n\pi x}{L}\Big(a_n\cos\omega_n t + b_n\sin\omega_n t\Big) \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-14a284ff45264d746e334420d429e760_l3.png)
![]()
The heat equation
![Rendered by QuickLaTeX.com \[ u(x, t) = \sum_{n=1}^{\infty}a_n\,e^{-\alpha(n\pi/L)^2t}\sin\frac{n\pi x}{L} \]](https://www.electronics-engineering.com/wp-content/ql-cache/quicklatex.com-d85e7afbedc74b72a560b0040fc7ff74_l3.png)
.
.
. What is the same integral on
.
.