Return to computing page for the first course APMA0330
Return to computing page for the second course APMA0340
Return to computing page for the fourth course APMA0360
Return to Mathematica tutorial for the first course APMA0330
Return to Mathematica tutorial for the second course APMA0340
Return to Mathematica tutorial for the fourth course APMA0360
Return to the main page for the first course APMA0330
Return to the main page for the second course APMA0340
Return to the main page for the fourth course APMA0360
Return to Part V of the course APMA0340
Introduction to Linear Algebra with Mathematica
Our presentation of Fourier series in this section is not done in great depth or generality to meet the pure mathematician's criteria for accuracy. For example, we utilize Riemann integration in the majority of proofs rather than Lebesgue's one in order to make all concepts friendly accessible. Also, maximum is used for definition of uniform norm instead of "supremum" because it is sufficient in most applications.
Our exposition is intended as a shop window for basic ideas, techniques, and elegant results of Fourier analysis, with suggested references for further study.
Although there are many methods for signal representations, Fourier analysis
involving the resolution of signals into sinusoidal components dominates.
Periodic signals occur in a wide range of physical phenomena, a few examples
of which are acoustic and electromagnetic waves, periodic vibrations of
musical instruments, vertical displacement of a mechanical pendulum, and
periodic signals in electrical engineering.
From theoretical or mathematical point of view, a Fourier series of a function is its spectral decomposition with respect to orthogonal basis formed by eigenfunctions corresponding to a Sturm--Liouville problem.
This section presents a particular application of eigenfunction expansion corresponding to the regular Sturm--Liouville problem with periodic condition,
where the momentum operator\( \hat{p} = -{\bf j}\,\texttt{D} = -{\bf j}\,{\text d}/{\text d}x \) is the first order self-adjoint differential operator with j being the unit vector along the positive vertical direction on the complex plane ℂ, so j² = −1.
As usual, we use Lagrange's notation for the derivative: \( \quad y' = {\text d}y/{\text d}x . \)
The formulated problem contains a parameter μ, and it asks to determine the values of the parameter for which the problem has nontrivial (not identically zero) solutions. Such values of parameter μ are referred to as eigenvalues, and corresponding solutions are called eigenfunctions.
The general solution of the differential equation \( \quad {\bf j}\,u'(x) + \mu\, u(x) =0 \) is \( u(x) = C\,e^{{\bf j}\mu x} , \) for some constant C. To satisfy the periodic boundary condition, we have to set μ = nπ/ℓ for some integer n ∈ ℤ = { 0, ±1, ±2, …}. So the eigevalues for this first order differential equation are \( \mu_n = \frac{n\pi}{\ell} , \quad n = 0, \pm 1, \pm 2, \ldots , \) to which correspond eigenfunctions \( u_n (x) = e^{{\bf j}\pi n x/\ell} , \) up to some nonzero constant multiple.
Instead of the first order differential operator
\( \hat{p} = -{\bf j}\,\texttt{D} = -{\bf j}\,{\text d}/{\text d}x \) with complex coefficient j, it is
convenient to square it in order to get rid of the coefficient. Therefore, the corresponding Sturm--Liouville problem with a parameter λ can be written in the form:
where λ is a nonnegative number and \( L_2 \left[ \texttt{D} \right] = - \texttt{D}^2 = \left( -{\bf j}\texttt{D} \right)^2 = \left( \hat{p} \right)^2 \) is the second order differential operator with \( \texttt{D} = {\text d}/{\text d}x . \) In physics, this operator is called Hamiltonian and it is denoted by Ĥ.
The problem assumes that its solution y(x) is a real-valued function defined on a symmetric interval (chosen for simplicity, without any loss of generality) of length T = 2ℓ. Because of periodic boundary conditions, the function y(x) can be considered only on this finite interval, assuming that y(x + T) = y(x) for all x ∈ ℝ. As it was shown in the openning section, the self-adjoint operator \( L_2 \left[ \texttt{D} \right] = - \texttt{D}^2 \) has an infinite discrete set of nonnegative/positive eigenvalues \( \lambda_k = \left( \frac{k\pi}{\ell} \right)^2 , \quad k=0,\pm 1, \pm 2,\ldots ; \) therefore, L2 is called a nonnegative/positive operator.
Since the differential operator L2 is a square of of the first order momentum operator \( L_2 \left[ \texttt{D} \right] = \hat{p}^2 , \) its eigenvalues must be squares of the latter:
Therefore, eigenvalues λk = λ−k collide for positive and negative indices. However, their eigenfunctions don't, and we have the sequence of real-valued eigenfunctions:
As it was shown in the previous section, the unboundedlinear operatorL2 with periodic condition is a non-negative operator, meaning that all its eigenvalues are not negative.
Any eigenvalue problem can be written in abstract way as
\( L\, y = \lambda\,y , \) which is actually a spectral representation of the linear operator L. The idea of such representation is to reduce action of the operator L on a function to multiplication operation. In contrast to finite dimensional case (matrices), an unbounded operator has infinite many (maybe continuous) eigenvalues.
Assuming λ≥0, we solve the Sturm--Liouville problem for L2.
It is a custom to set the period to be an even number: T = 2ℓ. Then due to periodicity of the problem, it is also convenient to consider a symmetric interval [−ℓ, ℓ] because any interval of length T = 2ℓ can be used.
The first order differential operator \( \hat{p} \) acts on complex-valued functions (as well as on real-valued functions). The general solution of \( {\bf j}\,u' + \mu\, u = 0 \) depends on one arbitrary complex number A = 𝑎 + jb (where 𝑎 and b are real numbers):
\[
u(x) = A\, e^{{\bf j}\mu x} = \left( a + {\bf j}b \right) e^{{\bf j}\mu x} = \left( a + {\bf j}b \right) \left( \cos \mu x + {\bf j}\,\sin \mu x \right) .
\]
The function u(x) is a periodic function (independently on A) when
An essential part of the Sturm--Liouville theory includes function expansions with respect to the (infinite) system of eigenfunctions---a complete set for every self-adjoint differential operator of the second order. The majority of applications of the Sturm--Liouville theory utilizes expansions of a function f(x) that satisfies the homogeneous boundary conditions (in our case, they are periodic conditions)
where ϕk(x) are eigenfunctions for either second order operator \( L_2 \left[ \texttt{D} \right] = - \texttt{D}^2 \) or momentum operator \( \hat{p} = - {\bf j} \texttt{D} . \)
The coefficients ck = ck(f) of the expansion, \( f(x) = \sum_k c_k \phi_k (x) , \) for a function f(x) over the set of eigenfunctions
{ϕk(x)} are called the Fourier coefficients. An ordered list of Fourier coefficients can be considered as a vector in infinite dimensional space spanned on eigenfunctions. We prefer to use Dirac's's notation for identification of this discrete list of Fourier coefficients:
Since every eigenfunction ϕk(x) in decomposition \eqref{EqFourier.0} satisfies the periodic condition, we expect that the function f(x) also matches this condition, so we require that f(−ℓ) = f(ℓ). Anyway, the Fourier expansion \eqref{EqFourier.0} assigns numerical values at endpoints for f(x).
If the values of f(x) at the endpoints do not match, then this just means that there is a discontinuity at that point---don't worry, the Fourier series will correct you.
Hence, the Fourier series dictates the determination of f at endpoints according to the average of its one sided limits:
In many applications, particular values of f(x) at endpoints do not matter because
function f(x) is specified on an open interval (−ℓ, ℓ) rather than closed interval. Actually, the Fourier series assigns numerical values at every point of the closed interval [−ℓ, ℓ], including endpoints.
Pointwise convergence of series \eqref{EqFourier.0} is discussed in convergence section and other issues of convergence in mean convergence section.
Historically, Fourier series was a first example of expansions with respect to eigenfunctions corresponding to a Sturm--Liouville problem with periodic boundary conditions. Since a function to be decomposed into Fourier series should match thess boundary conditions, we assume that this function is a periodic function.
In addition, we assume
that all periodic functions have period T = 2ℓ, without any loss of generality. Therefore, it is sufficient to consider real-valued functions f : [−ℓ, ℓ] → ℝ with the values at endpoints \( f(-\ell ) = f(\ell ) = \frac{1}{2} \left[ f(-\ell + 0) + f(\ell -0) \right] \) to match the periodicity condition.
Every expansion can be written in the series form \eqref{EqFourier.0}. Therefore, it includes two mutually depending ingredients: Fourier coefficients {ck} and the set of eigenfunctions { ϕk }. Mathematicians proved (because Sturm and Liouville did not demonstrate existence of eigenvalues and eigenfunctions) that an unbounded self-adjoint differential operator of second order subject to some homogeneous boundary conditions possesses a discrete set of eigenvalues and corresponding eigenfunctions. Synthesizing function f(x) from its discrete list | f 〉 of Fourier coefficients is referred to as the Fourier series for function f(x). In other words, the Fourier series of a function f(x) is its decomposition into periodic waves---one of the most useful concepts in physics, and features in many branches of engineering.
Restoring the function from its Fourier coefficients is an ill-posed problem.
There are two equivalent forms of Fourier series based on two eigenfunction expansions corresponding to the first order operator \( \hat{p} = - {\bf j}\,\texttt{D} \) and the second order operator \( L_2 \left[ \texttt{D} \right] = - \texttt{D}^2 = \left( -{\bf j} \texttt{D} \right)^2 = \left( \hat{p} \right)^2 = \hat{H}(p) . \) The former one provides an eigenfunction expansion in a complex form (or exponential form)
where T = 2ℓ is the period and x is a real variable.
As usual, j is the unit (imaginary) vector on complex plane ℂ, so j² = −1.
Here «P.V.» abbreviates the Cauchy principal value, which is a regularization of the infinite summation.
Since this series may or may not converge, and if it converges, we don't know whether its sum is f(x), we cannot write
\( f(x) \,=\, \sum_{n=-\infty}^{\infty} \hat{f}(n)\, e^{n{\bf j} \pi x/\ell} . \) Hence, we use a tilde (∼) instead of equal symbol (=) simply to denote the fact that the Fourier coefficients \( \hat{f}(n) \) are evaluated according to the Euler--Fourier formulas:
This means that the function f(x) is expanded into formal series \eqref{EqFourier.1} that is convenient to denote the latter by S[f].
Since a restoration of the function f(x) from its Fourier coefficients \eqref{EqFourier.2} is an ill-posed problem, a natural definition of two-sided infinite series (that you learnt in calculus)
The constant coefficient in series \eqref{EqFourier.3} is written in the form 𝑎0/2 for convenience to keep all Euler--Fourier formulas \eqref{EqFourier.4} uniform.
Series \eqref{EqFourier.3} is also understood in
the Cauchy principal value sense because generally speaking it should be written as
where \( A_k = \sqrt{a_k^2 + b_k^2} \quad \) is the wave amplitude, \( \quad \varphi_k = \arctan \left( b_k / a_k \right) , \quad \phi_k = \arctan \left( a_k / b_k \right) \) is the phase; and kπ/ℓ is the wave number (or angular frequency), where the wavelength is
ℓ/(2k). Therefore, the Fourier series is a way of expressing a function as a sum, or linear superposition of waves of different frequencies that are referred to as modes.
For any real x and absolutely integrable on interval [−ℓ, ℓ] function f, we denote by S[f] the Fourier series generated by function f(x) either in trigonometric form
Example 2:
Let us consider two functions that can be used to generate saw-tooth graphs. One of them is the absolute value function (on a finite interval) and another one is just its shift:
Function f(x) and its 20 term Fourier approximation.
Mathematica code
End of Example 2
A derivation of Euler--Fourier formulas \eqref{EqFourier.2} and \eqref{EqFourier.4} are given in section devoted to orthogonal expansions.
The complex Fourier series \eqref{EqFourier.1} is more elegant and shorter to write down than the one expressed in terms of sines and cosines \eqref{EqFourier.3}, but it has the disadvantage that the coefficients might be complex numbers even if the given function is real-valued.
The trigonometric form is based on Euler's formulas:
Here, j is the unit vector in the positive vertical direction on the complex plane ℂ, so j² = −1. Of course, these two decompositions \eqref{EqFourier.1} and \eqref{EqFourier.3} are equivalent when each series \eqref{EqFourier.1} and \eqref{EqFourier.3} converges.
In a memorable session of the French Academy on the 21st of
December 1807, the mathematician and politician Joseph Fourier
announced a thesis that commenced a new chapter in mathematical physics. The claim of Fourier appeared to the older members
of the Academy, including the great analyst Lagrange, as entirely incredible. Fourier claimed that an arbitrary function, defined in a
finite interval by an arbitrarily capricious graph, can always be decomposed
into a sum of pure sine and cosine functions. The academicians had
good reasons to question Fourier's theorem. Any superposition of
sine and cosine functions could never give anything but an infinitely
differentiable function called holomorphic or analytic. Such a function was very
far from the capricious course of an arbitrarily drawn graph. In
fact, an analytic function had the property" that given its course in
an arbitrarily small interval, the continuation of its course to the right
and to the left was uniquely determined. How could one reconcile
this fact with the generality claimed by Fourier's theorem?
Subsequent investigations demonstrated that Fourier's claim was
entirely justified, although he himself was not able to provide the exact
proofs demanded, because the corresponding theory, called after Sturm (1803--1855) and Liouville (1809--1882) appeared only thirty years later.
Fourier dissertation (and successive monograph publication in 1822) initiated further development in mathematics. First of all, the cornerstone concept of function was establish. Before Fourier's discovery, functions were considered either by analytic formula or geometrically if they could be drawn with the hand. Daniel Bernoulli (1700--1782) believed that any functions can be defined by a formula.
In the later development of mathematics, evaluation of Fourier coefficients requres a proper definition of integrability that was successfully addressed by Bernhard Riemann (1826--1866). He developed a concept of " Riemann-integrability" in 1854, but not published in a journal until 1868.
Even this definition was not sufficient for the more abstract speculations of modern mathematics and was once more generalized by Émile Borel (1871--1956) and Henri
Lebesgue (1875--1941), who in 1904 extending the
applicability of the Fourier series to a still larger class of functions.
Note that for all applications
of the Fourier series in relation to the physical universe the less
sophisticated concept of Riemann is quite satisfactory.
It is well-known that partial Fourier sums display in general a rather irregular behavior as the number of terms grows to infinity. In 1900, Lipót Fejér discovered that the Cesàro means (which is an extension of regular summation method) of the partial sums display a strikingly simpler behavior. This
broadened the validity of the Fourier
series to a much larger class of functions that does not demand
more than mere integrability of functions, without adding any other restrictions concerning continuity or differentiability.
In 1902,
Jacques Salomon Hadamard (1865--1963) introduced definition of well-posed problem. Correspondingly, a problem that is not well-posed, is called ill-posed. It turns out that restoration of a function from its set of Fourier coefficients is an ill-posed problem.
This becomes clear in 1899 when Willard Gibbs reported a phenomenon of conditionally convergent Fourier series that now bare his name. Actually, it was known 50 years before to Henry Wilbraham (1825--1883).
﹡ ⁎ ✱ ✲ ✳ ✺ ✻ ✼
✽ ❋
<
In calculus, you learnt that an infinite series \( \sum_{k\ge 0} a_k \) converges (or is convergent) to S if the sequence of partial sums \( S_n = \sum_{k= 0}^n a_k \) tends to S as n → ∞. In case of Fourier series, elements of series depend on real parameter x ∈ [−ℓ, ℓ], and we come to definition of its partial sums.
Theorem 1:
For any real-valued function f : [−ℓ, ℓ] → ℝ and any positive integer N ∈ ℕ = { 0, 1, 2, … }, its N-th partial Fourier exponential sum
are the same; here coefficients 𝑎k, bk and \( \displaystyle \hat{f}(n) \) are determined by the Euler--Fouier formulas \eqref{EqFourier.2} and \eqref{EqFourier.4}, respectively. Moreover, the N-th partial Fourier sum is expressed in an integral form, known as a convolution, which is denoted by star:
because \( \displaystyle \frac{2}{x} \le \frac{1}{\left\vert \sin (x/2) \right\vert} . \) In the latter integral, we make substitution \( \displaystyle t = \left( 2N+1 \right) x/2 \) to obtain
where HN is the harmonic number that approaches infinity as logarithm when N → ∞. Indeed, Hn = lnn + γ +o(n) as n → ∞, where γ = 0.5772156649 is the Euler–Mascheroni constant.
The Dirichlet kernel is related to Fourier expansion of the Dirac delta function:
we derive the required formula for the Dirichlet conjugate kernel.
■
Change of Scale
Coefficient evaluations in the Euler--Fourier formulas \eqref{EqFourier.2} and \eqref{EqFourier.4} can be obtained upon integration over any interval of length T = 2ℓ because of periodically condition.
Sometimes it is convenient to consider a function on interval [0,T] (or any interval of length T). Let f(x) be a periodic function over the range 0 ≤ x < T. Then its Fourier series becomes
(E^(-2 I n \[Pi]) (-2 I + 2 I E^(2 I n \[Pi]) + 4 n \[Pi] +
4 I n^2 \[Pi]^2))/(2 n^3 \[Pi]^3)
Integrate[x^2 *Exp[-0*I*Pi*x], {x, 0, 2}]/2
4/3
■
Example 5:
We expand the sine function into Fourier series for different values of parameter ℓ that defines the interval from which a function is periodically expanded.
Example 5A:
Let us start with ℓ = π. Then sinx itself is its Fourier series; so no work is required.
Example 4B:
For ℓ = π/2, we get Fourier coefficients
Numerical evaluation of Fourier coefficients becomes a challenging problem for large indices because it leads to integrals with very fast oscillating integrands.
The following formulas could be helpful for evaluations of Fourier coefficients
(\( \texttt{D} = \texttt{D}_t = {\text d}/{\text d}t \) is the derivative operator):
Example 15:
Let's consider the following half-wave rectifier of the function cosx on interval [−π/2, ;π/2]:
\[
f(x) = \begin{cases}
\cos x, & \ \mbox{ when } \ -\frac{\pi}{2} \le x \le \frac{\pi}{2} ,
\\
0 , & \ \mbox{ when } \ \frac{\pi}{2} \le x \le \frac{3\pi}{2} .
\end{cases}
\]
Outside the interval of length 2π, the function f(x) is expanded periodically.
f[t_] = Piecewise[{{Cos[t], -Pi/2 < t < Pi/2}, {0, -Pi < t < -Pi/2 && Pi/2 < t < Pi}}]
Out[1]= { Cos[t] - Pi/2 < t < Pi/2
{ 0 True
Plot[f[t], {t, -Pi, Pi}, PlotStyle -> Thick]
Mathematica will treat the function f[t] outside the interval [-π ,
π ] as zero
Plot[f[t], {t, -3*Pi, 3*Pi}, PlotStyle -> Thick]
As we see, Mathematica rescales vertical and horizontal lines so that the picture becomes almost symmetric. You can return to the proper picture by using AspectRatio option:
A partial sum with N = 20 terms gives a very good approximation:
Example 16:
We consider a piecewise continuous function that cannot be extended into Taylor series because it is identically zero on the interval (1,2). However, we can find its Fourier series.
f[x_] = Piecewise[{{1 - x, 0 < x < 1}, {0, 1 < x < 2}}]
Out[2]= { 1-x, if 0<x<1 and 0 for 1<x<2.
The standard Mathematica command FourierTrigSeries provides you the Fourier series of the function that is extended periodically from the standard interval (-π,π):
We can plot the partial sum with say 50 terms. Since Fourier partial sums oscillate near points of discontinuity exhibiting so called Gibbs phenomenon, we indicate maximum wiggle (overshoot) and minimum one:
Computing an integral in Mathematica is fairly painless, and it's tempting to simply use a partial Fourier sum depending to the number of terms n.
We show how these commands work with several examples.
Mathematica has four default commands to calculate Fourier series:
FourierSeries (* to calculate complex coefficient expansion *) FourierTrigSeries (* to calculate standard Fourier expansion via sine and cosine *) FourierCosSeries (* to calculate cosine Fourier series *) FourierSinSeries (* to calculate sine Fourier series *)
The option FourierParameters has two parameters and when applied, it looks as FourierParameters->{𝑎,b}
In trigonometric form, with setting \( {\bf FourierParameters} \,-> \,\{ a, b \} \) the following series is returned:
Syntax for the FourierSeries command is: FourierSeries [ function , variable , number of terms ]
Changing the FourierParameters setting allows you to control the limits of integration on the coefficients, and therefore, the base frequency of the series. Some work will go into calculating what value for “b” will give the proper limits of integration. There is ordinarily no reason to change “𝑎” from its default setting, which is 1.
Example 6:
We consider a pulse function of length h:
Example 8:
Consider the function \( f (x) = x^2 \) on the interval [-1,1]. Let us take 16 equally spaced points \( x_k = -1 + \frac{2k}{15} , \quad k=0,1,2,\ldots , 15. \) Suppose we want to find the trigonometric polynomial approximation for M = 6 to the 15 data points \( \left\{ (x_k, y_k ) \right\}_{k=1}^{15} . \)
Since the periodic extension is assumed, at a point of discontinuity x = 1, the function value f(1) must be computed using the formula
The function \( f (x) = x^2 \) is an even continuous function that is extended periodically; hence the coefficients for the sine terms are all zero (i.e. \( b_j =0 \) for all j). The trigonometric polynomial of degree M = 6 involves only the cosine terms, and we get
Let f(x) be an absolutely integrable function on a symmetric interval [−ℓ, ℓ], which we abbreviate as f ∈ 𝔏¹;([−ℓ, ℓ]). Generally speaking, this abbreviation means that function f(x) is integrable in Lebesgue sense. However, you can use Riemann integration instead without any harm.
Recall that Fourier coefficients are determined by the Euler--Fourier formulas either in complex form
Linearity: If f, g ∈ 𝔏¹([−ℓ, ℓ]), and α, β are arbitrary scalars (real or complex), then
\[
a_k \left( \alpha f + \beta g \right) = \alpha\,a_k (f) + \beta\,a_k (g) , \qquad
b_k \left( \alpha f + \beta g \right) = \alpha\,b_k (f) + \beta\,b_k (g) .
\]
If periodic function f(x) has a continuous derivative on [−ℓ, ℓ], then Fourier coefficient of f and its derivative are related according to the following relations:
These examples of the Fourier series allow us to make an observation. The Fourier series for monomians with even powers converge uniformly as there general term decreases as 1/n². However, for odd poweers, Fourier series converge but slowly.
■
Riemann--Lebesgue lemma:
For every Riemann intagrable function f(x) on interval [−ℓ, ℓ],
where j is the imaginary unit on complex plane ℂ, so j² = −1.
Let t = ξ − 𝑎; the limits of integration do not change as f is assumed to be 2π-periodic function, so we have
If f is a continuous function (it is abbreviated as f ∈ C0), then \( \left\vert f(t) - f(t-a) \right\vert \to 0 \) for every t ∈ [−ℓ, ℓ]. Hence, by the Dominated Convergent Theorem,
\[
\lim_{n\to\infty} \int_{-\ell}^{\ell} \left\vert f(t) - f\left( t - \frac{\pi}{n} \right) \right\vert {\text d} t = 0 .
\]
In general, if f ∈ 𝔏¹, then there exists continuous function g(x) such that for arbitrary positive ε, \( \| f(x) - g(x) \|_1 < \varepsilon \) Take K large enough so that \( \left\vert \hat{g}(k) \right\vert < \varepsilon /2 \) whenever |k| ≥ K. Then
The following two statements belong to slightly advanced material that is covered in section on mean convergence.
Theorem 4 (Bessel's inequality):
Suppose that f(x) is square integrable on the interval [0, T]. Let 𝑎n, bn and \( \hat{f}(n) \) be the Fourier coefficients defined by Eq.\eqref{EqFourier.4} and Eq.\eqref{EqFourier.2}, respectively. Then
Since the left-hand side is positive (at least not negative) we obtain the required indequality when N → ∞,
Actually, Bessel's inequlity can be improved and converted into identity, named after Marc-Antoine Parseval (1755--1836) that expresses the energy of a signal in time-domain in terms of the average energy in its frequency components. In 1799, he stated the following theorem, but did not prove (claiming it to be self-evident). It is also known as Rayleigh's energy theorem, or Rayleigh's identity, after John William Strutt, Lord Rayleigh. [Rayleigh, J.W.S. (1889) "On the character of the complete radiation at a given temperature," "Philosophical Magazine", vol. 27, pages 460-469.]
Although the term "Parseval's theorem" is often used in applications, the most general form of this property is more properly called the Plancherel theorem. [Plancherel, Michel (1910) "Contribution a l'etude de la representation d'une fonction arbitraire par les integrales définies," "Rendiconti del Circolo Matematico di Palermo", vol. 30, pages 298-335.]
Parseval des Chênes, Marc-Antoine "Mémoire sur les séries et sur l'intégration complète d'une équation aux differences partielle linéaire du second ordre, à coefficiens constans" presented before the Académie des Sciences (Paris) on 5 April 1799. This article was published in "Mémoires présentés à l’Institut des Sciences, Lettres et Arts, par divers savans, et lus dans ses assemblées. Sciences, mathématiques et physiques. (Savans étrangers.)", vol. 1, pages 638-648 (1806).
where the Fourier coefficients 𝑎n, bn and \( \hat{f}(n) \) are defined by Eq.\eqref{EqFourier.4} and Eq.\eqref{EqFourier.2}, respectively.
Parseval's identity is a fundamental result on the summability of the Fourier series of a function. It actually establishes completeness of the set of eigenfunctions of the Sturm--Liouville operator L2. Parseval's identity is closely related to the Riesz–Fischer theorem.
Example 10:
We consider the power function \( f(x) \left( x^2 - \ell^2 \right)^2 . \) Expanding it into Fourier series, we get
We investigate the interplay between the smoothness of a function and the decay of its Fourier coefficients.
Let us consider a function f(x) having N continuous derivatives on [−ℓ, ℓ]. The integrals in Euler--Fourier formulas \eqref{EqFourier.2} and \eqref{EqFourier.4} can be integrated by parts N times. Taking one coefficient, say 𝑎k, and integrate by parts twice, we obtain
So we see that if function f(x) has one periodic derivative and the second derivative is integrable, the Fourier coefficients decay as 1/k². Clearly, this process can be continued until the N-th differential appears in the integral, but useful information can be greened from these expressions.
Theorem 6:
If a periodic function f(x) is continuous and has continuous periodic derivatives up to the (N−1)-st order and if its N-th derivative is integrable on interval [−ℓ, ℓ], then its Fourier coefficients can be estimated by
Euler--Fourier formulas \eqref{EqFourier.2} or \eqref{EqFourier.4} provide discretization of a corresponding function f, so they can be considered as transferring a signal into discrete sets:
provide the inverse transformation from discrete (or digital) form ∣f 〉 into analog form. Restoration of a function f(x) from its discrete set
∣f 〉 is an ill-posed problem. It depends not only on properties of the function f(x), but also on the definition of convergence of infinite series.
Example 12:
Let us consider a piecewise continuous function
Is it true that partial Fourier sums SN(f; x) converge to the function f(x) as N → ∞? In general, that is far too much to hope for because restoration of a function from its Fourier coefficients ∣f 〉 is an ill-posed problem.
Not every function is suitable for a Fourier series expansion, but those that satisfy some conditions. For example, the tangent function tan(x) cannot be expanded into the Fourier series on any interval containing the roots of the equation cos(x) = 0 simply because the Fourier coefficients do not exist.
For certain kinds of functions convergence is assured; but we will see that some functions are so weird that SN(f; x) diverges for every x.
It was a surprise when
the German mathematician Paul David Gustav du Bois-Reymond (1831--1889) was able in 1873 to construct a continuous function whose Fourier series diverges at a point.
Despite this negative result, we might ask what happens if we add more smoothness conditions on a generating function.
Although we don't know necessary and sufficient conditions for a function to be expanded into a Fourier series, we know some sufficient conditions that guarantee a Fourier series expansion. The Fourier series does not exist unless, for example, 𝑎0 exists (i.e.,
\( \left\vert \int_{-\ell}^{\ell} f(x) \,{\text d}x \right\vert < \infty \) ). Even when the integral for 𝑎0 exists, the Fourier series may converge to another function.
Example 13:
End of Example 11
■
All expansion formulas involve infinite series; their convergence is based on properties of partial sums, either \eqref{EqFourier.1}
for real-valued functions. A Fourier series converges when its partial sums SN(f; x) approach a limit in some sense; it exists not for arbitrary functions. Since a Fourier series is a series involving trigonometric functions, the corresponding partial sums depend on a parameter x∈ℝ. Upon considering partial sums for every value of x, we arrive at the pointwise convergence of the series of functions (in our case, trigonometric functions).
A pointwise convergence of Fourier series is a very delicate matter, which we touch in convergence section.
A natural question that comes to your mind is whether the series \eqref{EqFourier.1} or \eqref{EqFourier.3} converges and if they converge, do they converge to generating function f(x)? Mathematicians tell us that none of these questions have simple
answers. We still do not know the exact conditions to fully identify the class of functions whose Fourier series pointwise converge to the same functions.
Identification of the function from its Fourier coefficients is an ill-posed problem, and in many cases it requires a regularization.
One of such possible regularization is discussed in Cesàro summation section.
Nonetheless, Fourier series usually work quite well (especially in situations where
they arise from physical problems).
We leave discussion of convergence of Fourier series to two following sections; however, here we use a simple sufficient conditions that is easy to verity.
Theorem 7:
Every function from the domain of a self-adjoint differential operator of second order can be expanded into uniformly convergent Fourier series over the set of its eigenfunctions.
The proof of this theorem is based on reduction of the problem to an integral equation. Then using the Hilbert--Schmidt theorem, a function is expanded into series over eigenfunctions. See details in a course on integral equations.
Recall that the domain of a linear differential operator of order n consists of all functions that have continuous derivatives up to the order n and satisfy the differential equation and the boundary conditions that generate the linear operator. Since a Fourier series is an expansion over eigenfunctions of the second order differential operator \( L_2 \left[ \texttt{D} \right] = - \texttt{D}^2 = - {\text d}^2 /{\text d}x^2 , \) subject to the periodic boundary conditions, the domain of L2 consists of all periodic twice differentiable functions. The equation \( L_2 \left[ \texttt{D} \right] y = \lambda\, y \) to be satisfied requires that the second derivative is also a periodic function.
Theorem 8:
If a periodic function f possesses two continuous derivatives, then its Fourier series S[f](x) converges uniformely to f(x).
Remember that a Fourier series is also generated by the first order self-adjoint differential operator \( \hat{p} = - {\bf j}\,\texttt{D} , \) with j being the imaginary unit on ℂ.
However, the Sturm--Liouville theory is applicable only to the second order self-adjoint differential operators, and its application to the first order operators requires further development. Nevertheless, we will see later that existence of periodic continuous derivative will be sufficient for convergence of the Fourier series.
Example 14:
We consider the the function f(x) = (cosx)4 on interval [−π, π].
Expanding it into Fourier series, we get
Since the Fourier coefficients of function f(x) are determined through integrals \eqref{EqFourier.2} or \eqref{EqFourier.4}, it requires f(x) to be integrable, so f ∈ 𝔏¹. Assuming that the Fourier series for f(x) converges to f in an appropriate sense, the natural question should appear: is this series unique? This would lead to the following statement: if \( \hat{f}(n) = 0 \) for all n ∈ ℤ, then f(x) ≡ 0.
This assertion cannot be correct without reservation because calculating Fourier coefficients requires integration, and we know that any two functions that differ at finitely many (or discrete) points have the same Fourier series. However, we do have the following positive result.
Theorem 9:
Let f be a periodic integrable on finite interval [−ℓ, ℓ] function. Suppose that f is 0 in a neighbourhood of x; that is, there exists δ >0 such that f(t) ≡ 0 for all t∈(x−δ, x+δ). Then the partial Fourier sum SN(f; x) → 0 as N → ∞.
This result is significant in that while the Fourier coefficients \( \hat{f}(n) \) depends on the values of f globally— that is, to calculate \( \hat{f}(n) \) one needs to know f everywhere withing the full interval — the convergence of SN(f; x) only depends on a local neighbourhood of that point.
Uniqueness Theorem:
Suppose that f(x) is a periodic integrable function on the interval [−ℓ, ℓ] (it is abbreviated as f∈𝔏¹) with Fourier coefficients \( \hat{f}(n) =0 \) for all n ∈ ℤ={ 0, ±1, ±2, … }. Then f(ξ) = 0 whenever f(x) is continuous at the point ξ ∈[−ℓ, ℓ].
We suppose first that f is real-valued, and argue by contradiction. Assume, without loss of generality, that f is defined on {−π, π] and ξ = 0, with f(ξ) > 0. The idea now is to construct a family of trigonometric polynomials {pk} that “peak” at 0, and so that \( \int p_k (t)\,f(t)\,{\text d}t \to \infty \) as k → ∞. This will be our desired contradiction since these integrals are equal to zero by assumption.
Since f is continuous at 0, we can choose 0 < δ π/2, so that f(ξ) f(0)/2,
whenever |ξ| < δ. Let
\[
p(t) = \epsilon + \cos t,
\]
where ϵ > 0 is chosen so small that |p(t)| < 1 −ϵ/2, whenever δ ≤ |t| ≤ π. hen, choose a positive η with η < δ so that
p ≥ 1 + ϵ/2, for |t| < η. Finally, let
\[
p_k (t) = \left[ p(t) \right]^k ,
\]
and select B so that |f(t)| < B for all t. This is possible since f is integrable, hence bounded.
By construction, each pk is a trigonometric polynomial, and since \( \hat{f}(n) = 0 \) for all n ∈ ℤ, we must have
Therefore, \( \int p_k (t) \,f(t)\,{\text d}t \to\infty \) as k → ∞. This concludes the proof when f is real-valued. In general, write f(t) = u(t) + jv(t), where u and v are real-valued. If we define complex conjugate \( \overline{f} (t) = \overline{f(t)}, \) then
and since \( \hat{\overline{f}}(n) = \overline{\hat{f}(-n)} , \) we conclude that the Fourier coefficients of u and v all vanish; hence f= 0 at its points of continuity.
Corollary 1:
If f(x) is a periodic continuous function and its Fourier coefficients are all zero, then f(x) ≡ 0.
Example 17:
Consider the piecewise continuous function on the interval [-2,2]:
The proofs are simple and straightforward (so we omit them).
Theorem 12:
If \( f(x) \sim \sum_{n=-\infty}^{+\infty} \alpha_n e^{{\bf j}\pi nx/\ell} \) and \( g(x) \sim \sum_{n=-\infty}^{+\infty} \beta_n e^{{\bf j}\pi nx/\ell} , \) then
\[
\sum_{n=-\infty}^{+\infty} \alpha_n \beta_n e^{{\bf j}\pi nx/\ell} = \frac{1}{2\ell}\,f\star g (x) = \frac{1}{2\ell} \int_{-\ell}^{\ell} f(x-y)\,g(y) \,{\text d} y .
\]
We show first that the convolution integral exists for almost all x. We can assume that functions f and g are real-valued functions. Without any loss of generality, we can assume that both functions are not negative. Then
The operations performed here are justified because the kernel of convolution, f( x - y) g(y) is measurable in the (x, y) as a product of two measarable functions. Allso, the order of integration is irrelevant.
The kernel f(x−y) g(y) is integrable over the square 0 ≤ x, y ≤ 2ℓ. Thus, for arbitrary integrable functions, \( \left\vert f(x-y)\,g(y)\,e^{{\bf j} n\pi x/\ell} \right\vert \) is integrable over the square and the following argument is also legimate:
\begin{align*}
\frac{1}{2\ell} \int_{-\ell}^{\ell} \left( f \star g \right) e^{-{\bf j}\pi nx/\ell} {\text d} x &= \frac{1}{2\ell} \int_{-\ell}^{\ell} \left\{ \frac{1}{2\ell} \int_{-\ell}^{\ell} f(x-y)\, e^{-{\bf j}\pi n\left( x-y \right) /\ell} g(y)\, e^{-{\bf j}\pi ny/\ell} {\text d} y \right\} {\text d} x
\\
&= \frac{1}{2\ell} \int_{-\ell}^{\ell} g(y)\,e^{-{\bf j}\pi ny/\ell} {\text d} y \left\{ \frac{1}{2\ell} \int_{-\ell}^{\ell} f(x-y)\, e^{-{\bf j}\pi n\left( x-y \right) /\ell} {\text d} x \right\} = \alpha_n \beta_n .
\end{align*}
Term-by-term differentiation of infinite series
Not every Fourier series can be term-by-term differentiated, but those that correspond to functions having derivatives expanded into Fourier series. Term-by-term differentiation is not justified for functions having an unbounded jump discontinuity. In mathematics, there is a special class of functions, called absolute continuous that have derivatives almost everywhere.
Suppose that a periodic function f(x) is an integral, i.e., f(x) is absolutely continuous. Integrating by parts gives
so that \( \hat{f'}(n) = {\bf j}n\,\hat{f}(n) , \) where \( \hat{f'}(n) \) is the Fourier coefficient of the derivative of f(x). Since f(x) is periodic, \( \hat{f'}(0) = 0. \) Similar for trigonometric series \eqref{EqFourier.3}, we have
This is precisely what would be obtained by differentiating the Fourier series of f(x) term by term. Hence, even though the Fourier series S[f'] of f'(x) may not converge uniformly or even converge at all, it can still be obtained by differentiating the Fourier series S[f] of f(x) term by term.
Theorem 13:
If f(x) is m-th integral (m = 1, 2, …), then \( S^{(m)}[f] = S[f^{(m)}] , \) where S[f] is the Fourier series for function f.
Example 19:
Let us consider a function f(x) = x on the interval [0, ℓ]. Its Fourier series is
You will learn later in the even and odd section how to construct this series and determine the coefficients, but now you have to trust me or plot partial sums to verify the identity.
If we differentiate the function on the left-hand
side, then we get the function 1. However, if we formally differentiate term by term the
function on the right, then we arrive at
The series at the left does not converge because its general term does not tern to zero. However, we will see later that if we use another definition of convergence, called Cesàro summation, the right-hand side series converges to 1. If we formally apply geometric series formula (see Example 2 in Cesàro summation section)
Fourier sine series of the derivative f'(x) = 1
can be obtained by term-by-term differentiation of the Fourier cosine series of f(x) = x.
Assuming that term-by-term differentiation is valid as claimed, it follows that
Theorem 14:
Suppose that f(x) has discontinuities of the first kind (finite jumps) at the points 0 < x1 < x2 < ··· < xm < 2π, and that f(x) is absolutely continuous in each of the subintervals (xi, xi+1), if completed by continuoity at the end points xi, xi+1. Let
\[
\Phi (x) = d_1 \phi \left( x - x_1 \right) + d_2 \phi \left( x - x_2 \right) + \cdots + d_m \phi \left( x - x_m \right)
\]
has the same points of discontinuity and the same jumps, as f(x). The difference g(x) = f(x) − Φ(x) is therefore continuous, indeed, absolutely continuous. Moreover,
In general, an antiderivative of a periodic function is not periodic. For example, f(x) = 1 is periodic (of any period) but its antiderivatives F(x) = x+C are not periodic. The following lemma gives a necessary and sufficient condition for an antiderivative to be periodic.
Lemma 3:
Let f(x) be a periodic integrable function of a real variable. The antiderivative F of f defined by
\[
F(x) = \int_0^x f(t)\,{\text d} t
\]
is T-periodic if and only if
\[
\int_0^T f(x)\,{\text d}x = 0.
\]
Suppose that the integral condition is satisfied. We need to show that the antiderivative is periodic,, F(x + T) = F(x). We have
Consider the antiderivative of f defined by \( F(x) = \int_0^x f(t)\,{\text d} t . \) Then the Fourierseries of F is obtained from that of f by termwise integration. That is, if
where \( \displaystyle A_0 = \sum_{k\ge 1} \frac{b_k}{k} . \)
The antiderivative F is continuous and it is also 2π-periodic function according to the previous lemma. Since F′ = f is piecewise smooth, then we can apply the previous Theorem aboutdifferentiation of Fourier series. Consider the Fourier series of F:
Suppose we have two Fourier sum-functions f(x) and g(x). When these functions are defined by trigonometric series
\eqref{EqFourier.5}, there is no suitable formula to determine the Fourier coefficients for their product (f g)(x). However, when these functions are expanded into complex Fourier series
is known as the convolution of two Fourier series.
Theorem 17:
If two trigonometric series S and T have coefficients o(1/n) and O(1/n), respectively, and converge at x0 to sums s and t, then the product ST
converge at x0 to sum st.
The condition of the theorem is false if both S and T have coefficients O(1/n). For if
Hunt, R., On the convergence of Fourier series, Orthogonal Expansions and their
Continuous Analogues (Proc. Conf. Edwardsville, IL, 1967), Southern University Press,
Carbondale, IL, 1968, pp. 235–255.
R. Hunt and M. Taibleson, Almost everywhere convergence of Fourier series on the ring of
integers of a local field, SIAM J. Math. Anal. 2 (1971), pp. 607–625.
Walker, J.S., Fourier Analysis, 1988, Oxford University Press, New York.
Zhizhiashvili, L.V., Trigonometric Fourier Series and their Conjugates, Kluwer Academic Publishers, Boston, London, 1994.
Zygmund, A., Trigonometric Series, Volumes I and II combined, Third edition, Cambridge University Press, 2003. ISBN-13 : 978-0521890533
Return to Mathematica page
Return to the main page (APMA0340)
Return to the Part 1 Matrix Algebra
Return to the Part 2 Linear Systems of Ordinary Differential Equations
Return to the Part 3 Non-linear Systems of Ordinary Differential Equations
Return to the Part 4 Numerical Methods
Return to the Part 5 Fourier Series
Return to the Part 6 Partial Differential Equations
Return to the Part 7 Special Functions