Anda di halaman 1dari 72

Deret Fuorier

Pengantar

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Water tower structure subjected to dynamic
loads.

EDUNEX ITB
EDUNEX ITB
EDUNEX ITB
Deret Fuorier

Fungsi Periodik

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Fungsi Periodik [1]
• Fungsi f(x) dikatakan periodik jika nilai dari fungsi tersebut berulang
dalam interval yang reguler. Interval diantara perulangan itu disebut
sebagai periode.

EDUNEX ITB
Fungsi Periodik [2]
• y=A sin nx
• Amplitudo = A
• Periode =
(360o/n)=2π/n
• n cycle dalam 360o

• Contoh fungsi f(x)=y=sinx

EDUNEX ITB
Fungsi Periodik [3]

• Contoh fungsi f(x)=y=5sin2x


Periode = π
Amplituddo = 5
EDUNEX ITB
Deret Fuorier

Fungsi Periodik Non-


Sinusoidal

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Fungsi Periodik Non-Sinusoidal
• Sebelumnya ditunjukan fungsi periodik berbasiskan fungsi sinus.
• Meskipun fungsi periodik dapat digambarkan dalam bentuk non
sinus.

• Periode : 8 ms

EDUNEX ITB
Deskripsi Analitik Fungsi Periodik [1]

• Antara x=0 dan x=4, f(x)=y=3 3 0 x4


• Antara x=4 dan x=6, f(x)=y=0 f ( x) = 
0 4 x6
• Yang dapat dituliskan sbb: f ( x + 6) = f ( x )

EDUNEX ITB
Deskripsi Analitik Fungsi Periodik [2]

• Antara x=0 dan x=2, f(x)=y=x


• Antara x=2 dan x=6, f(x)=y=-(x/2)+3
• Yang dapat dituliskan sbb: x 0 x2
f ( x) = 
3 − x / 2 2 x6
f ( x + 6) = f ( x ) EDUNEX ITB
Deret Fuorier

Konsep Fourier #1

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Pertambahan Fungsi Sinus

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Concept of Fourier Series

EDUNEX ITB
Deret Fuorier

Konsep Fourier #2

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Deret Fourier [1]

• Gambar diatas merepresentasikan fungsi periodik dengan


periode 2π. Jika fungsi tersebut dituliskan dalam bentuk deret ,
maka dapat dituliskan sebagai berikut :

cos x, sin x, cos 2 x, sin 2 x, cos 3 x, sin 3 x,..., cos nx, sin nx,...
EDUNEX ITB
Deret Fourier [2]
• Deret tersebut kemudian dapat dijumlah dalam bentuk persamaan
berikut :
a0 + a1 cos x + b1 sin x + a2 cos 2 x + b2 sin 2 x + ...

f ( x) = a0 +  (a cos nx + b sin nx)
n =1
n n

• Dimana, koefisiennya (i.e., a0, an, bn) dapat dihitung sebagai berikut :
1  1  1 
a0 =

f ( x) dx; an =
2 − 
f ( x) cos nxdx; bn =
 − 
f ( x) sin nx dx;
 −

n = 1, 2, 3, ...
EDUNEX ITB
Integral Fungsi Periodik [1]
( A)  dx = x − = 2
 
−

  sin nx 
( B )  cosnx dx =   ( n  0)
−
 n  −
 sin n sin (− n )
−cosnx dx = n − n =0 karena sin n = 0

  cos nx 
(C )  sinnx dx = −  ( n  0)
−
 n  −
 cos n cos(− n )
−sin nx dx = − n + n =0 karena cos n = cos(−n )

EDUNEX ITB
Integral Fungsi Periodik [2]
( D)  cos mxcosnx dx =  cos (m + n) x + cos (m − n) x dx
 1 
− 2 −
karena 2 cosA cos B = cos ( A + B ) + cos( A − B )

1  sin( m + n) x sin( m − n) x 
=  +  (m  n )
2  m+n m − n  −
1   sin( m + n) sin( m − n)   sin( m + n) −  sin( m − n) −   
=   +  − +  
2  m+ n m−n   m+n m−n 

karena sin n = 0

 cos mxcosnx dx = 0
− EDUNEX ITB
Fungsi Ortogonal
• Jika terdapat dua fungsi berbeda f(x) dan g(x) yang terdefinisi didalam
interval a≤x≤b dan
b
a
f ( x) g ( x)dx = 0

• Kemudian dapat dikatakan bahwa 2 fungsi tersebut adalah ortogonal


satu sama lain pada interval a≤x≤b. Contoh :
 


cos mxcosnx dx = 0 dan


sinmx sin nx dx = 0 (m  n)

EDUNEX ITB
Deret Fuorier

Contoh Deret Fourier

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Contoh Deret Fourier

 
• Tentukan deret fourier 0 −  x  −
dari gambar tersebut  2
pada periode x=-π dan   
f ( x ) = 4 − x
x=π.  2 2
 
0  x 
 2
EDUNEX ITB
f ( x + 2 ) = f ( x)
Contoh Deret Fourier
  − 
 

   
1 1  2 
a0 = f ( x ) dx =  0 dx + − 4 dx +  0 dx 
2
2 − 2  − 
 2 2 

a0 =
1
4 x−2 = 2
2
2

  − 
 

   
1 1 2 
an = f ( x) cos nxdx =  0 cos nx dx + −2 4 cos nxdx +  0 cos nx dx 
 −   − 
 2 2 
   4 sin  n    n
 4 sin n  8 sin
1  4 sin nx  2 1 2 +  2  = 2
Karena : sin(-x) = -sin(x)
an =  =
  n  −   n n  n
2   EDUNEX ITB
 
2 −
2

  − 
 

 Deret Fourier
  
1 
Contoh
an =
1
f ( x) cos nxdx =  2 0 cos nx dx + −2 4 cos nxdx +  0 cos nx dx 
 −   − 
 2 2 
   4 sin  n    n
 4 sin n  8 sin
1  4 sin nx  2 1 2 +  2  = 2
an =  =
  n  −   n n  n
2  
 
Jika n genap an = 0
Jika n = 1, 5, 9 an = 8
n
Jika n = 3, 7,11 an = − 8
n

EDUNEX ITB
Contoh Deret Fourier
( A)  dx = x − = 2
 
−
1  1  −2 
 
bn =   f ( x) sin nx
 dx =
sin nx  − 0 sin nx dx + − 4 sin nxdx +  0 sin nx dx 
2


( B ) cosnx dx = 
−
−   ( n  0)
 n  −
 2 2 
  4 cos − n   
1cosnx

  sin
2sin n1 (
4 cos−nn ) 
bn = −−

x = = −−  
2 + = 0 karena sin = 0 n = 0
4 cosdnx 2
 
n  − n   nn n 
2
  
  cos nx 
(C )  sinnx dx = −  ( n  0)
−
 n  −
 cos n cos(− n )
−sin nx dx = − n + n =0 karena cos n = cos(−n )

EDUNEX ITB
Contoh Deret Fourier [4]
• Sehingga deret fourier untuk fungsi tersebut dapat dituliskan sebagai
berikut :

8 1 1 1 
f ( x) = 2 + cos x − cos 3 x + cos 5 x − cos 7 x + ...
 3 5 7 

a0 + a1 cos x + b1 sin x + a2 cos 2 x + b2 sin 2 x + ...



f ( x) = a0 +  (a cos nx + b sin nx)
n =1
n n

EDUNEX ITB
Deret Fuorier

Efek Harmoni

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Effect of Harmonics [1]

8 1 1 1 
f ( x) = 2 + cos x − cos 3 x + cos 5 x − cos 7 x + ...
 3 5 7 

EDUNEX ITB
Effect of Harmonics [2]

EDUNEX ITB
Effect of Harmonics [3]

EDUNEX ITB
Deret Fuorier

Deret Fourier untuk Fungsi


Periode Lain

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Deret Fourier untuk Fungsi Periode Lain [1]
• Pengunaan deret fourier pada bagian sebelumnya banyak berkutat
dalam fungsi berperiode 2π.
• Definisikan sebuah fungsi yang memiliki variabel independen t dan
periode L.

f (t + L) = f ( x)

L EDUNEX ITB
Deret Fourier untuk Fungsi Periode Lain [2]
• Deret Fourier kemudian didefinisikan sebagai berikut :
a0   2nx 2nx 
f ( x) = +   an cos + bn sin 
2 n =1  L L 
• Dimana koefisiennya dapat diestimasi sebagai berikut :
2 L 2 L 2nx 2 L 2nx
a0 =  f ( x) dx; an =  f ( x) cos dx; bn =  f ( x) sin dx;
L 0 L 0 L L 0 L

n = 1, 2, 3, ...

EDUNEX ITB
Deret Fourier untuk Fungsi Periode Lain [3]
• Atau dalam persamaan yang lebih umum,

2 e+ L
a0 =  f ( x) dx;
L e n = 1, 2, 3, ...
2 e+ L 2nx
an =  f ( x) cos dx;
L e L
2 e+ L 2nx
bn =  f ( x) sin dx;
L e L

EDUNEX ITB
Deret Fuorier

Contoh Deret Fourier untuk


Fungsi Periode Lain

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Contoh Fourier Periode Lain
• Tentukan deret fourier untuk persamaan berikut :
0 − 2  x  −1
 2 e+ L
a0 =  f ( x) dx;
f ( x ) = k −1  x  1 L e
2nx
0 1 x  2
2 e+ L
an =  f ( x) cos dx;
 L e L
2 e+ L 2nx
f ( x + 4) = f ( x ) bn =  f ( x) sin
L e L
dx;

• Tentukan koefisien deret fourier


2 e+ L
a 0 =  f ( x ) dx =
L e
2
4

−2
−1 1 2

0 dx +  k dx +  0 d x = k
−1 1
EDUNEX ITB
Contoh Fourier Periode Lain
2 e+ L 2nx 1  −1 2nx 1 2nx 2 2nx 
an =  f ( x) cos dx =  0 cos dx +  k cos dx +  0 cos dx 
L e L 2 − 2 4 −1 4 1 4 
2nx nx  n
1
2 L 1  2k 2k
L − L
an = f ( x ) cos d x = sin = sin
L 2  n 2  −1 n 2

Jika n genap an = 0
Jika n = 1, 5, 9 an = 2 k
n
Jika n = 3, 7,11 an = − 2 k
n

EDUNEX ITB
Contoh Fourier Periode Lain
2 e+ L 2nx 1  −1 2nx 1 2nx 2 2nx 
bn =  f ( x) sin dx =  0 sin dx +  k sin dx +  0 sin dx 
L e L 2 − 2 4 −1 4 1 4 
2nx nx 
1
2 e+ L 1  2k
=  sin fn(x=
= 0 bnkarena ) sin
0 dx =  − cos  =0
L e L 2  n 2  −1

=0 karena cos n = cos(−n )

EDUNEX ITB
Contoh Fourier Periode Lain
• Sehingga deret fourier untuk fungsi tersebut adalah :

k 2k   1 3 1 5 1 7 
f ( x) = + cos x − cos x + cos x − cos x + ...
2   2 3 2 5 2 7 2 

EDUNEX ITB
Deret Fuorier

Fungsi Ganjil dan Genap

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Fungsi Ganjil dan Genap [1]
• Sebuah fungsi periodik dikatakan sebagai fungsi genap ketika :
f (− x) = f ( x)
• Contoh f(x)=x2

• Contoh f(x)=cosx

EDUNEX ITB
Fungsi Ganjil dan Genap [2]
• Sebuah fungsi periodik dikatakan sebagai fungsi ganjil ketika :
f (− x) = − f ( x)
• Contoh f(x)=x3

• Contoh f(x)=sinx

EDUNEX ITB
Produk dari Fungsi Ganjil dan Genap
(genap)  (genap) = (genap) seperti (+)  (+) = (+)
(ganjil)  (ganjil) = (genap) seperti (−)  (−) = (+)
(ganjil)  (genap) = (ganjil) seperti (−)  (+) = (−)

• Bukti sederhana, berikan f(x) merupakan fungsi genap


dan g(x) merupakan fungsi ganjil, maka

F ( x) = f ( x) g ( x)
F (− x) = f (− x) g (− x) = f ( x) − g ( x) = − f ( x) g ( x)
F (− x) = − F ( x)
EDUNEX ITB
Deret Fourier untuk Fungsi Genap
• Jika f(x) terdefinisi sepanjang -π<x< π dan f(x) merupakan fungsi
genap. Maka deret fourier dari fungsi tersebut hanya mengandung
bagian kosinus semata.


f ( x) = a0 +  ( an cos nx + bn sin nx )
n =1

bn = 0; n = 1, 2, 3, ...

EDUNEX ITB
Deret Fourier untuk Fungsi Ganjil
• Jika f(x) terdefinisi sepanjang -π<x< π dan f(x) merupakan fungsi
ganjil. Maka deret fourier dari fungsi tersebut hanya mengandung
bagian sinus semata.

f ( x) = a0 +  ( an cos nx + bn sin nx )
n =1
an = 0
n = 1, 2, 3, ...

EDUNEX ITB
Deret Fuorier

Deret Fourier Separuh


Jangkauan

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Deret Fourier Separuh Jangkauan (Half-
Range) [1]
• Terkadang sebuah fungsi yang memiliki periode 2π, hanya memiliki
informasinya pada rentang 0 hingga π. Sehingga diperlukan proses
selanjutnya untuk melengkapi fungsi tersebut.
• Contoh, pada x=0 hingga x= π, terdefinisi sebuah fungsi f(x)=2x.
Meskipun karena fungsi tersebut memiliki periode 2 π, kita tidak
memiliki bukti bagaimana fungsi itu berlaku pada x=-π hingga x= 0

EDUNEX ITB
Deret Fourier Separuh Jangkauan (Half-
Range) [2]
• Berlaku seperti fungsi genap (i.e., hanya
mengandung fungsi cosinus)
• Berlaku seperti fungsi ganjil (i.e., hanya
mengandung fungsi sinus)
• Berlaku tidak ganjil dan genap

EDUNEX ITB
Contoh Separuh Jangkauan[1]
f ( x) = 2 x 0 x 
f ( x + 2 ) = f ( x)

• Temukan separuh jangkauan dari fungsi tersebut


dengan asumsi mengikuti fungsi genap.

EDUNEX ITB
Contoh Separuh Jangkauan [2]
a0 =
1


0
f ( x ) dx =
1
 0

2 x dx =
1

x 
2 
0 = 2

2  2  
4  x sin nx  1  

 
an = f ( x) cos nxdx = 2 x cos nxdx =   −  sin xdx 
0  0   n  0 n 0



4  −   
an = 0 − 0 − 
1 cos nx 4
  = 2 (cos n − 1)
 n n 0  n
8
an = 0 (n genap) an = 2 (n ganjil)
n
bn = 0 (karena fungsi genap)
8 1 1 
f ( x) =  − cos x + cos 3 x + cos 5 x + ...
 9 25  EDUNEX ITB
Deret Fuorier

Quiz

Dr. Eng. Febri Zukhruf

KK Rekayasa Transportasi-FTSL Matematika Rekayasa

EDUNEX ITB
Quiz 13.1
Tentukan Periode dan amplitudo dari fungsi berikut :
a) y=3 sin 5x
b) y=2cos 3x
c) y=sin x/2
d) y=4 sin2x
e) Y=5cos4x
f) Y=2sinx
g) Y=3cos6x
h) Y=6sin(2x/3)
EDUNEX ITB
Quiz 13.2
• (a)

• (b)

Tentukan Periodenya…

EDUNEX ITB
Quiz 13.3
• Deskripsikan
secara analitik
kurva
disamping

EDUNEX ITB
Quiz 13.4

• Tentukan deret fourier dari gambar tersebut pada


periode x=0 dan x=2π.

EDUNEX ITB
Quiz 13.5
• Tentukan apakah fungsi periodik berikut merupakan
fungsi ganjil atau fungsi genap?
• (A)

• (B)

• (C)
EDUNEX ITB
Terima Kasih

EDUNEX ITB
Pendekatan dengan Trigonometri Polinomial
[1]
• f(x) merupakan sebuah fungsi pada interval -π≤x≤ π, yang dapat
direpresentasikan pada interval ini dengan menggunakan deret
fourier. Kemudian sejumlah N pertambahan parsial dari deret fourier
dapat dituliskan sebagai berikut:

N
f ( x)  a0 +  (a cos nx + b sin nx)
n =1
n n

EDUNEX ITB
Pendekatan dengan Trigonometri Polinomial
[2]
• Kemudian didefinisikan pendekatan terbaik dari f dengan
trigonometri polinomial pada jumlah N yang sama dalam bentuk
berikut:

N
F ( x)  A0 +  (A cos nx + A sin nx)
n =1
n n ( N fixed )

EDUNEX ITB
Pendekatan dengan Trigonometri Polinomial
[3]
• Level kesalahan (error) dari pendekatan tersebut terhadap fungsi f
kemudian dapat dituliskan sbb:



E=

• Dalam bentuk yang −
( f − F ) 2 dx
lebih detail error dapat dituliskan sebagai berikut:

 
( )
 N
E* =

−
f 2 dx −  2a0 2 +

 n =1
an 2 + bn 2 

 EDUNEX ITB
Contoh [1]
• Hitung minimum square error (E*) dari F(x) pada fungsi berikut :
f ( x) = x +  (−  x   )
• Solusi :

1 1 (−1) N +1
F ( x) =  + 2(sin x − sin 2 x + sin 3 x − +... + sin Nx )
2 3 N

  N 
E* =

−

( x +  ) 2 dx −   2 2 + 4

 n
1 
2 
 n =1 

EDUNEX ITB
Contoh [2]

N=20

EDUNEX ITB
EDUNEX ITB

Anda mungkin juga menyukai