Professional Documents
Culture Documents
2
Syllabus
3. Fourier Series and PDEs CH 11, 12
a) Review on Foundational Topics
b) Fourier, Fourier cosine and Fourier sine series and their
properties
c) Introduction to heat, vibration and potential equations with
boundary and/or initial conditions
d) Linearity, superposition and separation of variables
e) Solution of homogeneous and non homogeneous problems by
separation of variables
3
Topic 3
1. Fourier Series (CH 11)
2. Partial Differential Equations (CH 12)
4
Some waveforms you may have encountered
Common periodic waveforms
5
Some waveforms you may have encountered
Trumpet Sound
Waveform
ECG Waveform
of Heart Beat
6
Purpose of this topic
Many of the phenomena studied in engineering and
science are periodic in nature e.g. the current and
voltage in an AC circuit.
7
Purpose of this topic: Fourier Series
8
Fourier Series
Fourier series are infinite series that represent general periodic
functions in terms of simple ones, namely, cosines and sines functions.
11
3.0 Review of Foundational Topics
Learning Outcomes
1. Understand the properties of periodic functions.
2. Able to determine the values of sine and cosine
whose arguments are integer multiple of π.
3. Able to identify even / odd functions and know
their properties.
4. Able to assess the integral over a symmetric
interval based on the even/odd properties of the
integrand.
12
Review - Periodic Function - Properties
A function f(x) is called a periodic function if f(x) is
defined for all real x, except possibly at some points,
and if there is some positive number T, called a period
of f(x), such that
[1] f(x + nT) = f(x) ∀x, and n∈ ℤ
Examples of
• periodic functions: cosine, sine, tangent, and
cotangent.
• non-periodic functions: x2, x3, ex, cosh x, ln x.
3
Review - Periodic Function- Properties
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. The function which
remains unchanged when time-shifted by one period.
The smallest positive period is often called the
fundamental period.
Period function with period T
T
14
Review - Periodic Function - Properties
15
Review - Periodic Function - Properties
Why?
16
Review - Periodic Function
Visualization
Can you represent this simple function using
sinusoids? Single sinusoid
representation
17
Fourier Series
Approximation of a periodic saw-tooth wave using
trigonometric function and its harmonics
18
Review - Periodic Function
Facts
1. sin (ωx) and cos (ωx) are periodic functions with
period
𝟐𝟐𝝅𝝅
𝑻𝑻 = , where ω is the frequency.
𝝎𝝎
e.g.
for sin 2x, T = 2π /2 =π ; Frequency and period
of this function is ___.
19
Review - Periodic Function
Facts
2. If f(x) and g(x) both have period T, given any constants
a and b then the following also have the same period T.
• af(x) + bg(x) (summation)
• f(x) g(x) (product)
cos nx
sin nx
21
Review – Cos/Sin Function
Properties of cos x, cos mx, and cos mx/2 functions, m ∈ ℤ
Note:
1. cos π = -1, cos 2π = 1, cos 3π = -1, cos 4π = 1….
2. cos π/2 = 0, cos 3π/2 = 0, cos 5π/2 = 0, cos 7π/2 = 0….
Summary
−𝟏𝟏 𝒇𝒇𝒇𝒇𝒇𝒇 𝒐𝒐𝒐𝒐𝒐𝒐 𝒎𝒎 Or just, (-1)m
cos mπ = 𝟏𝟏 𝒇𝒇𝒇𝒇𝒇𝒇 𝒆𝒆𝒆𝒆𝒆𝒆𝒆𝒆 𝒎𝒎
Note:
1. sin π/2 = 1, sin 3π/2 = -1, sin 5π/2 = 1, sin 7π/2 = -1….
2. sin π = 0, sin 2π = 0, sin 3π = 0, sin 4π = 0….
Summary sin 𝒏𝒏𝝅𝝅 = 𝟎𝟎, ∀𝐧𝐧 𝝐𝝐 ℤ
(2𝑛𝑛 + 1)𝜋𝜋 −𝟏𝟏 𝒇𝒇𝒇𝒇𝒇𝒇 𝒐𝒐𝒐𝒐𝒐𝒐 𝒏𝒏
sin
2
=
𝟏𝟏 𝒇𝒇𝒇𝒇𝒇𝒇 𝒆𝒆𝒆𝒆𝒆𝒆𝒆𝒆 𝒏𝒏 Or just, (-1)n
23
Practice
The fundamental period is the smallest positive period. Find it for
24
Review – Even/Odd Function
Even function: 𝒇𝒇 −𝒙𝒙 = 𝒇𝒇 𝒙𝒙
• A function f is even on [−L, L] if its graph on [−L, 0] is the
reflection across the vertical axis of the graph on [0, L].
-a a
25
Review – Even/Odd Function
26
Review – Even/Odd Function
Even function: 𝒇𝒇 −𝒙𝒙 = 𝒇𝒇 𝒙𝒙
Examples:
f(x) = x2 + 1 f(-x) = (-x)2 + 1 = x2 + 1 = f(x)
f(x) = cos x f(-x) = cos (-x) = cos x = f(x)
f(x) = |x| f(-x) = |-x| = |x| = f(x)
In general,
x2m and cos mx
are even on [−L, L] for m ∈ ℕ.
g(x) = cos mx, m ∈ ℝ, is always an even function
g(-x) = cos m(-x) = cos (-(mx)) = cos mx = g(x)
27
Review – Even/Odd Function
Odd function: 𝒇𝒇 −𝒙𝒙 = −𝒇𝒇 𝒙𝒙
• A function f is odd on [−L, L] if its graph on [−L, 0) is the
reflection through the origin of the graph on (0, L].
=> The graph is symmetric at the origin.
• The value of the function change sign but with the same
magnitude when x is at the same distance but opposite side of
the x-axis.
f(x) = 1/x
d
d
28
Review – Even/Odd Function
Odd function: 𝒇𝒇 −𝒙𝒙 = −𝒇𝒇 𝒙𝒙
Examples:
f(x) = x3 f(-x) = (-x)3 = -x3 = - f(x)
f(x) = sin x f(-x) = sin (-x) = - sin x = -f(x)
1 1 1
f(x) = f(-x) = = − = -f(x)
𝑥𝑥 −𝑥𝑥 𝑥𝑥
In general,
x2n+1 and sin nx
are odd on [−L, L] for n ∈ ℕ.
30
Review – Even/Odd Function
Many functions are neither even nor odd.
Examples:
f(x) = x2 + x3 f(-x) = (-x)2 + (-x)3 = x2 - x3 ≠ - f(x) ≠ f(x)
f(x) = ex f(-x) = e-x ≠ - f(x) ≠ f(x)
f(x) = ex
f(x) = cos x + sin x
f(-x) = cos (-x) + sin (-x)
= cos x - sin x
≠ - f(x)
≠ f(x)
31
Properties – Hyperbolic functions sinh x /cosh x
33
Review – Even/Odd Function
Are the following functions even or odd or neither
even nor odd?
3.
34
Practice – Sketching of functions
10.
11.
35
Properties - Even/Odd Function
Even and Odd Functions
Facts:
Even function + Even function = Even function
Even function * Even function = Even function
36
Properties – Even/Odd and Symmetric Function
Even and Odd Functions This is covered in Calculus I/II
Facts: Over a symmetric interval in the form [ -L, L]
37
Properties – Even/Odd and Symmetric Function
𝑳𝑳 𝐿𝐿 1 1
∫−𝑳𝑳 𝒇𝒇 𝒙𝒙 𝒅𝒅𝒅𝒅 = ∫−𝐿𝐿 sin 2𝑥𝑥 𝑑𝑑𝑑𝑑 = − cos 2𝑥𝑥 |𝐿𝐿−𝐿𝐿 =0
2 4
39
Some important Trigonometric Identities and
Integrals
Important Facts we will use later:
3.
40
Some important Trigonometric Identities and
Integrals
7.
8.
41
Some important Trigonometric Identities and
Integrals
9.
10.
11.
12.
42
Some important Trigonometric Identities and
Integrals
43
Some important Trigonometric Identities and
Integrals
44
Foundational Topics
Euler Formula
45
Review - Euler Formula
Phasor notation:
x + iy = z eiϕ
where z = x 2 + y 2
= zz
= ( x + iy )( x − iy )
y
and ϕ = tan
−1
46 x
Review – Euler’s Formula
Euler’s formula
2 3 4
x x x
Taylor series expansions e x = 1 + x + + + + ...
2! 3! 4!
x 2 x 4 x 6 x8
Even function ( f(x) = f(-x) ) cos( x) = 1 − + − + − ...
2! 4! 6! 8!
x3 x5 x7 x9
Odd function ( f(x) = -f(-x) ) sin( x) = x − + − + − ...
3! 5! 7! 9!
2 3 4 5 6 7
x ix x ix x ix
eix = 1 + ix − − + + − − + ...
2! 3! 4! 5! 6! 7!
= cos( x) + i sin( x)
47
Review – Euler’s Formula
48