Professional Documents
Culture Documents
∫ cos θ dθ=0
−π
Periodic Functions
A function f(t) is said to be periodic with period p if f (t+ p)=f ( t ) for all values of t and if p > 0.
The period of the function f(t) is the interval between two successive repetitions.
Examples of Periodic Functions:
(a)f ( t)=sin t .
For f (t)=sint ,
f (t)=f (t +2 π ). The period is 2π.
Period = p = 2L = 4
For this function, we have:
f (t)=−3 for−1≤ t <1∧3 for 1≤ t<3
f (t)=f (t +4 )[The period is 4.]
NOTE: In this example, the period p = 4. We can write this as 2L = 4.
In the diagram we are thinking of one cycle starting at −2 and finishing at 2. For convenience when
integrating later, we let L = 2 and the cycle goes from -L to L.
Continuity
If a graph of a function has no sudden jumps or breaks, it is called a continuous function.
Examples: sine functions, cosine functions, exponential functions, parabolic functions
Finite discontinuity - a function makes a finite jump at some point or points in the interval.
Examples: square wave function, saw tooth functions
Split Functions
Much of the behaviour of current, charge and voltage in an AC circuit can be described using split
functions.
Examples of Split Functions
Sketch the following functions:
a . f ( t )={−t if −π ≤ t< 0
t if 0 ≤t < π
t if 0 ≤ t< π
b . f ( t )={
t−π if π ≤t <2 π
2
c. f ( t )={(t + π) if −π ≤ t< 0
¿
Page |4
ADVANCED ENGINEERING MATH
d. f ( t )=¿
5
2. ∑ (2 n−1)
n =1
Solution:
5
∑ (2 n−1)=1+3+5+ 7+9=25
n =1
Notice that (2n – 1) generates odd numbers.
If we want to generate even numbers, we would use 2n.
To generate alternate positive and negative number, use (-1)n+1
(−1)n
So generates ½ , -1/4, 1/6, -1/8,…
2n
5
3. ∑ n2 an
n =1
Solution:
5
∑ n2 an=a 1+ 4 a 2+ 9 a3 +16 a4 + 25 a5
n =1
5
4. ∑ nπt
L
n =1
Solution:
5
∑ nπt
L
πt 2 πt 3 πt 4 πt πt
= +
L L
+
L
+
L
= ( 1+2+3+ 4 )=10
L
πt
L
n =1
II. INTRODUCTION:
Fourier series are used in the analysis of periodic functions.
Many of the phenomena studied in engineering and science are periodic in nature e.g. the current and voltage in
an alternating current circuit. These periodic functions can be analyzed into their constituent components
(fundamentals and harmonics) by a process called Fourier analysis.
Fourier analysis allows us to model periodic phenomena which appear frequently in engineering and elsewhere
—think of rotating parts of machines, alternating electric currents or the motion of planets. Related period
functions may be complicated. Now, the ingenious idea of Fourier analysis is to represent complicated functions
in terms of simple periodic functions, namely cosines and sines. The representations will be infinite series called
Fourier series. This idea can be generalized to more general series and to integral representations.
We are aiming to find an approximation using trigonometric functions for various square, saw tooth, etc
waveforms that occur in electronics. We do this by adding more and more trigonometric functions together. The
sum of these special trigonometric functions is called the Fourier Series.
Jean Baptiste Joseph Fourier (1768-1830)
French physicist and mathematician, lived and taught in Paris, accompanied
Napoléon in the Egyptian War, and was later made prefect of Grenoble.
The beginnings on Fourier series can be found in works by Euler and by Daniel
Bernoulli, but it was Fourier who employed them in a systematic and general
manner in his main work, Théorie analytique de la chaleur (Analytic Theory of
Heat, Paris, 1822), in which he developed the theory of heat conduction (heat
equation), making these series a most important tool in applied mathematics.
Fourier was a French mathematician, who was taught by Lagrange and Laplace.
He almost died on the guillotine in the French Revolution. Fourier was a buddy of
Jean Baptiste Joseph Fourier
Napoleon and worked as scientific adviser for Napoleon's army. (1768 - 1830).
He worked on theories of heat and expansions of functions as trigonometric series... but these were
controversial at the time. Like many scientists, he had to battle to get his ideas accepted.
The function f ( x )=tan xis a periodic function that is not defined for all real x but undefined for some points
π 3π
(more precisely, countably many points), that is x=± ,± , ⋯ .)
2 2
The graph of a periodic function has the characteristic that it can be obtained by periodic repetition of its graph in
any interval of length p (Figure III).
The smallest positive period is often called the fundamental period.
Familiar periodic functions are the cosine, sine, tangent, and cotangent. Examples of functions that are not
periodic are x , x 2 , x 3 , e x , cosh x ,∧ln x ,to mention just a few.
Iff (x) has period p, it also has the period of 2p because implies f ( x +2 p )=f ( [ x + p ] + p )=f ( x+ p ) =f ( x ) ,etc.;
thus for any integer n = 1, 2, 3,⋯ ,
f ( x +np )=f ( x ) for all x.
Furthermore, if f (x) and g( x ) have period p, then af ( x ) + bg ( x) with any constant a andb also has period p.
Our problem in the first few sections will be the representation of various functions of period in terms of the
simple functions
1 , cos x , sin x , cos 2 x ,sin 2 x , ⋯ ,cos nx , sin nx , ⋯ .
All these functions have the period 2 π . They form the so-called trigonometric system. Figure IIIb shows the
first few of them (except for the constant 1, which is periodic with any period).
Page |7
ADVANCED ENGINEERING MATH
and call (5) the Fourier series of f ( x) . We shall prove that in this case the coefficients of (5) are the so-called
Fourier coefficients of f (x) , given by the Euler formulas.
π
1
(0) a 0= ∫ f ( x ) dx
2 π −π
π
(6) 1
(a) a n= ∫ f ( x ) cos nx dx n=1 ,2 , ⋯
π −π
π
1
(b) b n= ∫ f ( x ) sin nx dx n=1 ,2 , ⋯
π −π
The name “Fourier series” is sometimes also used in the exceptional case that (5) with coefficients (6) does not
converge or does not have the sum —this may happen but is merely of theoretical interest.
EXAMPLE 1: Periodic Rectangular Wave
Find the Fourier coefficients of the periodic function in
Fig. 260. The formula is
Furthermore, assuming that f(x) is the sum of the series and setting x= π/2, we have
EXAMPLE 2: We will see functions like the following, which approximates a saw-tooth signal:
2 1 2
f ( x )=1+2 sin t−sin 2 t+ sin 3 t− sin 4 t + sin 5 t+ …
3 2 5
Page |9
ADVANCED ENGINEERING MATH
How does it work? As we add more terms to the series, we find that it converges to a particular shape.
Taking one extra term in the series each time and drawing separate graphs, we have:
f (t)=1( first term of the series):
2
f ( t )=1+2 sin t−sin 2t + sin 3 t
3
2 1
f ( t )=1+2 sin t−sin 2t + sin 3 t − sin 4 t
3 2
P a g e | 10
ADVANCED ENGINEERING MATH
2 1 2
f ( t )=1+2 sin t−sin 2t + sin 3 t− sin 4 t + sin 5 t
3 2 5
We say that the infinite Fourier series converges to the saw tooth curve.
That is, if we take more and more terms, the graph will look more and more like a saw tooth. If we could
take an infinite number of terms, the graph would look like a set of saw teeth...
IV.2 FOURIER COEFFICIENTS FOR FULL RANGE SERIES OVER ANY RANGE -L TO L
If f(t) is expanded in the range -L to L (period = 2L) so that the range of integration is 2L, i.e. half the range of
integration is L, then the Fourier coefficients are given by
L
1
a 0= ∫ f ( t ) dt
L −L
L
1 nπt
a n= ∫ f ( t ) cos dt
L −L L
L
1 nπt
b n= ∫ f ( t ) sin dt
L −L L
where n = 1, 2, 3 …
NOTE: Some textbooks use
L
1
a 0= ∫ f ( t ) dt
2 L −L
and then modify the series appropriately. It gives us the same final result.
DIRICHLET CONDITIONS
o Any periodic waveform of period p = 2L, can be expressed in a Fourier series provided that
(a) it has a finite number of discontinuities within the period 2L;
(b) it has a finite average value in the period 2L;
(c) it has a finite number of positive and negative maxima and minima.
o When these conditions, called the Dirichlet conditions, are satisfied, the Fourier series for the function f(t)
exists.
o Each of the examples in this chapter obey the Dirichlet Conditions and so the Fourier Series exists.
EXAMPLE
o We need to find the Fourier coefficients a0, an and bn before we can determine the series.
L
a0 1
¿ ∫ f ( t ) dt
L −L
4
1
¿ ∫ f ( t ) dt
4 −4
0 4
1
¿ ∫ ( 0 ) dt+∫ (5)dt
4 −4 0
1
¿ ¿
4
1
¿ (20)
4
a0 =5
o Note 1: We could have found this value easily by observing that the graph is totally above the t-axis and
finding the area under the curve from t = 4 to t = 4. It is just 2 rectangles, one with height 0 so the area
is 0, and the other rectangle has dimensions 4 by 5, so the area is 20. So, the integral part has value 20;
and 1/4 of 20 = 5.
o Note 2: The mean value of our function is given by a 0/2. Our function has value 5 for half of the time and
value 0 for the other half, so the value of a0/2 must be 2.5. So a0 will have value 5.
o These points can help us check our work and help us understand what is going on. However, it is good to
see how the integration works for a split function like this.
L
an 1 nπt
¿ ∫ f ( t ) cos dt
L −L L
4
1 nπt
¿ ∫ f ( t ) cos dt
4 −4 4
0 4
1 nπt nπt
¿ ∫ ( 0 ) cos dt+∫ (5) cos dt
4 −4 4 0 4
1
¿ ¿
4
1 4
¿ x5 x ¿¿
4 nπ
5
¿ ¿
nπ
5
¿ (sin nπ−0)
nπ
an ¿0
L
bn 1 nπt
¿ ∫ f ( t ) sin dt
L −L L
4
1 nπt
¿ ∫ f ( t ) sin dt
4 −4 4
0 4
1 nπt nπt
¿ ∫ ( 0 ) sin dt +∫ (5)sin dt
4 −4 4 0 4
P a g e | 12
ADVANCED ENGINEERING MATH
1
¿ ¿
4
1 4
¿− x 5 x ¿ ¿
4 nπ
5
¿− ¿
nπ
5
bn ¿− (cos nπ−1)
nπ
At this point, we can substitute this into our Fourier Series formula:
a0 ∞ nπt
∞
nπt
f (t ) ¿ + ∑ an cos +¿ ∑ b n sin ¿
2 n=1 L n=1 L
∞ ∞
5 nπt −5 nπt
¿ + ∑ (0)cos + ¿∑ ( cos nπ −1 ) sin ¿
2 n =1 4 n=1 nπ 4
∞
5 1 nπt
¿ 2.5− ∑ ( cos nπ−1 ) sin
π n=1 n 4
a0 ∞ nπt
∞
nπt
f (t ) ¿ + ∑ an cos +¿ ∑ b n sin ¿
2 n=1 L n=1 L
∞ ∞
5 nπt −5 nπt
f (t ) ¿ + ∑ (0)cos + ¿∑ ( cos nπ −1 ) sin ¿
2 n =1 4 n=1 nπ 4
5
f (t ) ¿ 2.5− ¿
π
10
¿ 2.5+ ¿
π
Alternative approach:
Alternatively, we could observe that every even term is 0, so we only need to generate odd terms. We could have
expressed the bn term as:
5
b n ¿− ¿
nπ
5
¿− ( (−1 )n−1)
nπ
10
¿− n odd ,(0 if n is even)
nπ
To generate odd numbers for our series, we need to use:
10
bn ¿ n=1 , 2 ,3
( 2n−1 ) π
We also need to generate only odd numbers for the sine terms in the series, since the
P a g e | 13
ADVANCED ENGINEERING MATH
even ones will be 0.
So the required series this time is:
a0 ∞ nπt
∞
nπt
f (t)
¿ + ∑ an cos + ∑ b n sin
2 n=1 L n=1 L
∞ ∞
5 nπt
¿ + ∑ (0)cos +∑ ¿ ¿ ¿ ¿
2 n =1 4 n=1
∞
10
¿ 2.5+ ∑¿¿
π n=1
The first four terms series are once again:
10
f (t) ¿ 2.5+ ¿
π
[NOTE: Whichever method we choose, n must take values 1, 2, 3, ... when we are writing out the series using
sigma notation.]
If we graph many terms, we see that our series is producing the required function. We graph the first 20 terms:
20
10 1 ( 2 n−1 ) πt
2.5+ ∑ sin
π n=1 2 n−1 4
P a g e | 14
ADVANCED ENGINEERING MATH
o Exercise 1
o Find the Fourier Series for the function for which the graph is given by:
f ( t )= −3 if −π ≤ t< 0
{ 3 if 0 ≤t < π }
o We can see from the graph that it is periodic, with period 2 π . So f (t)=f (t +2 π ).
o Also, L=π .
o We can also see that it is an odd function, so we know a0 = 0 and an = 0. So, we will only need
to find bn.
o Since L = π, the necessary formulae become:
∞
f (t)
= ∑ bn sin nt
n =1
bn 1
π
= ∫ f ( t ) sin nt dt
π −π
Now
π
bn 1
= ∫ f ( t ) sin nt dt
π −π
1
= ¿
π
3
= ¿
π
3
¿ ¿
πn
P a g e | 16
ADVANCED ENGINEERING MATH
3
¿ ¿
πn
6
¿ ¿
πn
12
= n odd
πn
¿ 0 n even
o We could write this as:
12
bn ¿ n=1 , 2 ,3. .
π (2n−1)
o So the Fourier series for our odd function is given by:
∞
f (t) ¿ ∑ b n sin nt
n=1
∞
12
¿∑ sin(2 n−1)t
n=1 π (2 n−1)
∞
12 sin ( 2 n−1 ) t
¿ ∑
π n=1 (2 n−1)
o NOTE: Since bn is non-zero for n odd, we must also have odd multiples of t within the sine expression (the
even ones are multiplied by 0, so will be 0).
o Checking, we take the first 5 terms:
∞
12 sin ( 2 n−1 ) t
∑
π n=1 (2n−1)
12
¿ ¿
π
We see that the graph of the first 5 terms is certainly approaching the shape of the graph that was in the
question. We can be confident we have the correct answer.
An even function means that it must be symmetrical about the f (t) axis and this is shown in the following
figure by the broken line between t=−π and t=0 .
It is then assumed that the "triangular wave form" produced is periodic with period 2π outside of this
range as shown by the red dotted lines.
Example
f ( t )={−t if −π ≤ t< 0
t if 0 ≤t < π
and f(t) is periodic with period 2π.
a) Sketch the function for 3 cycles.
b) Find the Fourier trigonometric series for f(t), using half-range series.
Solution:
a. Sketch
Example
Determine the existence of odd or even harmonics for the following functions.
π
−t− if −π ≤t <0
2
f ( t )={
π
t− if 0 ≤ t< π
2
f ( t )=f (t +2 π )
Solution
Music Examples
1. Harmonics and Sound
When we listen to different musical instruments playing the same note, they sound different to us
because of the different combinations of harmonics contained in the note.
For example, if a flute and a violin both play G above middle C, the harmonic spectrum is quite different.
G has a frequency of 392 Hz and the harmonics are all multiples of this fundamental frequency (or about
800 Hz, 1200 Hz, 1600 Hz, etc).
Harmony (2 or more notes sounding at the same time) works because of harmonics (look for the chord
GBD contained within the harmonics of the note G).
P a g e | 20
ADVANCED ENGINEERING MATH
You can see the relative values of the harmonics in the following sound spectrum images of a flute and a
violin playing G4.
V. FOURIER INTEGRAL:
Fourier series are powerful tools for problems involving functions that are periodic or are of interest on a finite
interval only.
Many problems involve functions that are nonperiodic and are of interest on the whole x-axis, we ask what can
be done to extend the method of Fourier series to such functions. This idea will lead to “Fourier integrals.”
In Example 1 we start from a special function of period 2L and see what happens to its Fourier series if we let
Then we do the same for an arbitrary function of period 2L. This will motivate and suggest the main result of this
section, which is an integral representation given in Theorem 1 below.
Example 1: Rectangular Wave
o Consider the periodic rectangular wave of period given by
0 if −L< x ←1
f L ( x )={ 1 if −1< x <1
0 if 1< x < L
o The left part of Fig. below shows this function for as well as the nonperiodic function f(x), which we
obtain from if we let L →∞
f ( x )= lim f L ( x )={1 if −1< x <1
L→ ∞ 0 otherwise
o We now explore what happens to the Fourier coefficients of f L as L increases. Since fL is even, for all n.
For the Euler formulas (6), Sec. 11.2, give
nπ
1 1 1 ) sin(
1 1 1 nπx 2 nπx 2 L
a 0= ∫ dx= , an= ∫ cos dx= ∫ cos dx=
2 L −1 L L −1 L L0 L L nπ / L
P a g e | 21
ADVANCED ENGINEERING MATH
o This sequence of Fourier coefficients is called the amplitude spectrum of f L because ¿ a n∨¿ is the
V. FOURIER TRANSFORM:
we’ll be interested in signals defined for all t
the Fourier transform of a signal f is the function
∞
F ( ω )= ∫ f ( t ) e− jωt dt
−∞
F is a function of a real variable ω; the function value F (ω) is(in general) a complex number
∞ ∞
F ( ω )= ∫ f ( t ) cos ωt dt− j ∫ f (t ) sin ωt dt
−∞ −∞
P a g e | 22
ADVANCED ENGINEERING MATH
¿ F (ω)∨¿ is called the amplitude spectrum of f; ∠ F (ω) is the phase spectrum of f
notation: F=F (f ) means F is the Fourier transform of f; as for Laplace transforms we usually use upper case
letters for the transforms (e.g., x(t) and X(ω), h(t) and H(ω),etc.)
Laplace transform of f
∞
F ( s ) =∫ f ( t ) e− st dt
0
Fourier transform of f
∞
G ( ω ) =∫ f ( t ) e− jωt dt
−∞
Very similar definitions, with two differences:
• Laplace transform integral is over 0≤ t<∞; Fourier transform integral is over −∞ <t<∞
• Laplace transform: s can be any complex number in the region of convergence (ROC); Fourier
transform: jω lies on the imaginary axis therefore,
• if f(t)=0 for t<0,
– if the imaginary axis lies in the ROC of L(f), then
G(ω)=F( jω) ,
i.e., the Fourier transform is the Laplace transform evaluated on the imaginary axis
– if the imaginary axis is not in the ROC of L(f), then the Fourier transform doesn’t exist, but the
Laplace transform does (at least, for all s in the ROC)
• if f(t) ≠ 0 for t<0, then the Fourier and Laplace transforms can be very different
∞
2
f c ( w )=
and
√ ∫ f ( x ) cos wx dx (1 a)
π 0
∞
2
√
f ( x )= ∫ f c ( w ) cos wx dw(1b)
π 0
o Formula (1a) gives from f (x) a new function f c ( w ), called the Fourier cosine transform of
f(x). Formula (1b) gives us back f ( x ) from f c ( w )and we therefore call f ( x )the inverse Fourier
cosine transform of f c ( w ) .
o The process of obtaining the transform f c from a given f is also called the Fourier cosine
transform or the Fourier cosine transform method.
V.1.B Fourier Sine Transform
2
o we set, B (w)=
transform, of given by
√ f ( w)where s suggests “sine.” Then, writing v=x , the Fourier sine
π S
∞
2
f s (w)=
√ ∫ f ( x ) sin wx dx (2 a)
π 0
o and the inverse Fourier sine transform of f s ( w ) ,given by
∞
2
f ( x )=
√ ∫ f ( w ) sin wx dw (2 a)
π 0 s
P a g e | 23
ADVANCED ENGINEERING MATH
o The process of obtaining from is also called the Fourier sine transform or the Fourier sine
transform method.
o Other notations are
2 2 1−cos aw
f s (w)=
√ k ∫ sin wx dx=
π 0 π√k(
w
)
This agrees with formulas 1 in the first two tables where k=1.
Note that for f (x)=k=const (0< x ∞ ¿ ,these transforms do not exist. Why?
Tables of Transforms
Table I. Fourier Cosine Transforms
References:
o Kreyszig, Erwin, Advanced Engineering Mathematics, 10th Edition, John Wiley and
Sons,Inc.,2011(pdf)
o O’Neil, Peter V, Advanced Engineering Mathematics, 7th Edition, Cengage Learning, © 2012