Even and Odd Function
Even and Odd Function
Even and Odd Function
Fourier Series
1
OUTLINE
2.1: Fourier Series of Periodic Function
2.1.1: Introduction to Fourier Series
2.1.2: Fourier Series Representation
2.2 : Even and Odd Function
2.2.1: Symmetry Considerations
2.2.2 : Half Range Fourier Series Expansion
2
Symmetry Consideration
❑Symmetry functions:
▪ Even symmetry
▪ Odd symmetry
▪ Neither even nor odd
f (−t ) = f (t )
- The examples of even functions are:
f (t ) =| t |
f (t ) = t 2
t t
f (t ) = cost
t
4
Even symmetry
❑The integral of an even function from −A to +A is twice
the integral from 0 to +A
f even (t )
+A +A
t
f
−A
even (t )dt = 2 f even (t )dt
0
−A +A
5
Odd symmetry
❑Any function f (t) is odd if its plot is anti-symmetrical
about the vertical axis (or symmetrical to origin (0,0)),
i.e.
f (−t ) = − f (t )
❑The examples of odd functions are:
f (t ) = t 3 f (t ) = t
t t
f (t ) = sin t
t
Odd symmetry
❑The integral of an odd function from −A to +A is zero
f odd (t )
+A
f odd (t )dt = 0
−A +A
t
−A
[Summary]
formula f(t) → f(-t) → even / odd / neither?
Symmetrical
consideration
graph symmetry to origin/ vertical axis?
8
Example 1
Identify whether the following functions is even, odd or neither even nor odd
(a ) (b ) (c )
(d ) f (t ) = t 5 (e ) f (t ) = 2t 2 + t 4
9
Symmetry Consideration contd.
Example 2
Identify whether function f x = 𝑥 3 cos 𝑥 is even, odd or neither even nor odd
Solution:
By referring to product properties of even and odd functions,
𝒃𝒏 = 𝟎
t
T T
−
2 2
T /2 T /2 T /2
2
2 4
an = f (t ) cos ntdt =
T −T / 2 T f (t ) cos ntdt
0
bn = f (t ) sin ntdt = 0
T −T / 2
|| ||
(even) (odd)
12
Even and Odd Symmetry contd.
How?? [Odd function]
f (t )
a0 = an = 0
t
T T
−
2 2
T /2
2
a0 = f (t )dt = 0
T /2 T /2
2 4
T −T / 2 bn =
T −T / 2
f (t ) sin ntdt =
T f (t ) sin ntdt
0
(odd)
T /2 (odd) × (odd)
2
an = f (t ) cos ntdt = 0
T −T / 2 ||
(even)
(odd) × (even)
||
13
(odd)
Even and Odd Symmetry contd.
Example 3
Given − 1 , − 2 t −1
f (t ) = t , − 1 t 1
, f (t + 4 ) = f (t )
1 , 1 t 2
14
Even and Odd Symmetry contd.
Solution:
The function is described by the following graph:
f (t)
1
t
−6 −4 −2 0 2 4 6
−1
T=4
2
= =
T 2 the function is symmetrical to origin,
therefore it is an ODD function.
15
Even and Odd Symmetry contd.
Then we compute the coefficients. Since f (t) is
an odd function, then
2
2
a0 =
T −2
f (t )dt = 0
16
Even and Odd Symmetry contd.
2 2
2 4
bn =
T −2
f (t ) sin ntdt =
T 0f (t ) sin ntdt
This is integration of ½
cycle x 2→ because the
4 1 2
area are same for both
4 0 1
= t sin ntdt + 1sin ntdt
sides for ODD function
1 2 − 1 , − 2 t −1
t cos nt cos nt cos nt
1
= −
+
n 0 0 n dt + −
n 1
f (t ) = t , − 1 t 1
1 , 1 t 2
1
cos n sin nt cos 2n − cos n
=− + 2 2 −
n n 0 n
cos 2n sin n
=− + 2 2
n n
2 cos n 4 sin(n / 2) Use integration by parts
=− +
n n 2 2
17
Even and Odd Symmetry contd.
Finally,
(a
a0
f (t ) = + n cos nt + bn sin nt )
2 n =1
2 cos n 4 sin(n / 2) nt
=
n =1
−
n
+
n
2 2
sin
2
18
Solve Fourier Series
Example 4
Compute the Fourier series expansion of f (t).
19
Solve Fourier Series contd.
Solution
f (t + 3 ) = f (t )
T=3
2 2
and = =
T 3
For EVEN function, bn = 0
20
Solve Fourier Series contd.
Then, compute the coefficients:
2 2
3 1 2 3
f (t )dt = 1dt + 2dt + 1dt = (1 − 0) + 2(2 − 1) + (3 − 2) =
2 8
a0 =
T 0
3 0
1 2
3 3
2
3 3/2
4 4 1 3/2
4 3 8
a0 =
T 0
f (t )dt =
T 0
f (t )dt = 1dt + 2dt = (1 − 0) + 2 − 1 =
3 0 1 3 2 3
Or, simply
3
2 2 Total area below graph 2 8
a0 =
T 0f (t )dt =
T in a period
= 4 =
3 3
21
Solve Fourier Series contd.
3 3/2
2 4
an =
T 0
f (t ) cos ntdt =
T f (t ) cos ntdt
0
4
1 3/2
3 0
= 1cos ntdt +
1
2 cos ntdt
1 3/2
4 sin nt 4 2 sin nt
= +
3 n 0 3 n 1
4 3n
= sin n + 2 sin − sin n
3n 2
4 3n 2
= 2 sin − sin n ; =
3n 2 3
2 2n 2 2n
= 2 sin n − sin =− sin
n 3 n 3 22
Solve Fourier Series contd.
and bn = 0 since f (t) is an even function.
Finally,
(a
a0
f (t ) = + n cos nt + bn sin nt )
2 n =1
2 2n 2nt
4
= + − sin cos
3 n =1 n 3 3
1 2n 2nt
4 2
= − sin cos
3 n =1 n 3 3
y=1 y=1