Solusi untuk f ( x)
f ( x) c2 sin x c3 cos x (h.6)
yang berarti :
f (0) g (t ) 0 f ( L) g (t ) (h.9)
untuk semua t 0. Oleh karena g (t ) 0 maka yang harus dipenuhi adalah
f (0) 0 dan f ( L) 0 (h.10)
f n ( x) c2 sin( n x) (h.13)
Untuk mengatasi masalah syarat awal ini Fourier mengusulkan dipilih lebih
dahulu bentuk u ( x, t ) berbentuk kombinasi linear dari un :
N N
n x ( Kn2 2t / L2 )
u ( x, t ) bnun ( x, t ) bn sin e (h.16)
n 1 n 1 L
yang juga memenuhi persamaan (h.1), dengan syarat batas di atas.
Dengan demikian bn harus ditentukan.
Fungsi yang baru u ( x, t ) juga solusi persamaan konduksi termal asalkan
memenuhi syarat batas : u (0, t ) u ( L, t ) 0 bn harus ditentukan
Apabila f ( x) pada dasarnya adalah sebarang, maka dapat dipilih suatu
deret tak hingga berbentuk
n x
f ( x) bn sin (h.17)
n 1 L
deret ini konvergen menuju f ( x) untuk kebanyakan x dalam [0, L].
Jika deret tak hingga ini dapat diperoleh, maka deret ini merupakan
representasi dari f ( x), dan kemudian disebut sebagai deret Fourier
However, this is not the only way, a function may be represented as a series of
sine and cosine terms. Such a representation is called a Fourier series.
Unlike Taylor series, a Fourier series can describe functions that are not
everywhere continuous and/or differentiable.
Fourier series may be used to represent some functions for which a Taylor series
expansion is not possible.
There are also other advantages in using trigonometrical terms. They are easy to
differentiate and integrate, their moduli are easily taken and each term contains
only one characteristic frequency.
Fourier series are often used to represent the response of a system to a periodic
input, and this response often depends directly on the frequency content of the
input.
Fourier series are used in a wide variety of such physical situations : the
vibrations of a finite string, the scattering of light by a diffraction grating , the
transmission of an input signal by an electronic circuit, etc
The Dirichlet Conditions
The particular conditions that a function f(x) must fulfil in order that it may be
expanded as a Fourier series are known as the Dirichlet conditions, and may be
summarised by the following four points:
(iii) it must have only a finite number of maxima and minima within one period;
f (t T ) f (t ) (1.2)
untuk setiap t dalam domain definisi f(t). T disebut periode fungsi f(t).
Jika T adalah periode f(t) maka 2T, 3T, 4T,........ juga periode dari f(t) :
f ( t ) f ( t T ) f ( t 2T ) f ( t 3T ) ..... (1.3)
f ( t ) f ( t T ) f ( t 2T ) .... (1.4)
Jika f(t) integrabel pada tiap interval dengan panjang T, maka f(t) juga integrabel
pada setiap selang dengan panjang sama dan nilai integralnya adalah sama
a T b T
f ( t )dt f ( t )dt (1.5)
a b
Deret Fourier adalah uraian fungsi periodik f (t) dalam suku-suku penjumlahan
tak hingga fungsi sinus dan cosinus, yang merupakan perluasan/bentuk umum
dari persamaan (h.17) seperti yang diusulkan oleh Fourier (di sini dipilih dengan
variabel bebas t).
a0
f (t ) ( an cos nt bn sin nt ) (1.7)
2 n 1
=
t
a1 cos t b1 sin t
+ +
+ + + …
a0
f (t ) ( an cos nt bn sin nt )
2 n 1
T Ta T
f ( t )dt o dt
2
an cos nt bn sin nt dt
0 0 0 n 1
T T
ao
dt an cos nt bn sin nt dt
0
2 n 1 0
T T T
ao
dt an cos ntdt dt bn sin ntdt dt
2 n 1 n 1
(1.9)
0 0 0
= 0
T T T = 0
a0 a0 a0
0
f (t )dt dt dt T
0
2 2 0 2
(1.10)
2T
ao f ( t )dt (1.11)
T0
T T T
T T T
T
( 2 ) (1)dt ( 2 )T ; n k
T 1 1
1
0 2 [cos(nt kt ) cos(nt kt )]dt 0
0 ; nk
1
T nk (1.13)
2
T T
n
b
n 1
sin( n t ) cos( k t ) dt n 2 sin(nt kt ) sin(nt kt ) dt 0
b
n 1
1
0 0
1 T
T
T
f (t ) cos(kt )dt
0 n 1
2 T nk an 2 nk an 2 ak
n 1
(1.14)
Catatan :
1 0 0 0 0
0 1 0 0 0
nk 0 0 1 0 0 Delta Kronecker
.. .. .. .. ..
0 0 0 0 1
n 1
nk an 1k a1 2 k a2 3k a3 .....
Contoh : jika k 1
n 1
a 11a1 21a2 31a3 41a4 .......
n1 n
n 1
nk an ak
1 T
T
T
f (t ) cos(kt )dt an T nk an nk ak
0 n 1 2 2 n 1 2
T
2
ak f (t ) cos(kt )dt
T 0
k index dummy k n
T
2
an f (t ) cos(nt )dt (1.15)
T 0
Dengan cara yang sama dapat dibuktikan
T
2
bn f (t ) sin(nt )dt (1.16)
T 0
a0
f (t ) (an cos nt bn sin nt )
2 n 1
2
where Fundamental frequency
T
T
2
a0 f (t )dt
T 0
T
2
an f (t ) cos ntdt
T 0
T
2
bn f (t ) sin ntdt
T 0 T /2
We have discussed Fourier series formula in t variable with period of T and angular
frequency
a0 2
f (t ) (an cos nt bn sin nt )
2 n 1 T
This series can be changed, for instance from t (time) to x (space) variable
t x
2 2
p (L = period in x (space)) (1.16)
T L
f(x)
a0
2
a n cos 2 nx b sin 2 nx
L n L
(1.17)
n1
a sin(npx)
a0
f(x) n cos (npx) bn (1.18)
2
n 1
x0 L x0 L x0 L
2
2 2 (1.19)
a0 f ( x )dx an f ( x ) cos(npx)dx bn f ( x ) sin(npx)dx
L L L
x0 x0 x0
If we choose L 2 p 1
a0
f ( x ) an cos (nx) bn sin(nx) (1.20)
2 n1
1 1 1
a0 f ( x)dx an f ( x) cos nxdx bn f ( x) sin nxdx (1.21)
Example 1
Solution
First, determine the period & describe the one period of the function:
1, 0 t 1
f (t ) f (t 2) f (t )
0, 1 t 2
[a,b], hence
2 Area below graph 2
T
2
a0 f (t )dt (1 1) 1
T 0 T over [0, T ] 2
sin n t sin n
2 1 2 1
2
an f (t ) cos ntdt 1cos n tdt 0dt
T 0 0 1 n 0 n
Notice that n is integer which leads sin n 0, since : sin sin 2 .... 0
Therefore : an 0
2
2
bn f (t ) sin ntdt
T 0
cos nt 1 cos n
1 2 1
Notice that
cos cos 3 cos 5 1
cos 2 cos 4 cos 6 1
or
cos n (1) n
1 (1) n 2 / n , n odd
Therefore, bn
n 0 , n even
Finally,
a0
f (t ) (an cos nt bn sin nt )
2 n 1
1 1 (1) n
sin nt
2 n 1 n
1 2 2 2
sin t sin 3t sin 5t
2 3 5
For n integers,
sin n 0 cos n (1) n
sin 2n 0 cos 2n 1
• The sum of the Fourier series terms can evolve (progress) into the original waveform
1 2 2 2
f (t ) sin t sin 3t sin 5t
2 3 5
It can be demonstrated that the sum will lead to the square wave:
(a) (b)
2
sin t 2 2
sin t sin 3t
3
(c)
(d)
2 2 2
sin t sin 3t sin 5t 2 2 2 2
3 5 sin t sin 3t sin 5t sin 7t
3 5 7
(e)
2 2 2 2 2
sin t sin 3t sin 5t sin 7t sin 9t
3 5 7 9
(f)
1 2 2 2
sin t sin 3t sin 23t
2 3 23
Suplementary :
The sum of other wave, the Fourier series terms can evolve (progress)
into the original waveform
Example 2
1
0
1
a0
f ( x)dx 0dx 1dx 1
0
1
0
1
an
f ( x) cos nxdx (0) cos nxdx 1cos nxdx
0
11
sin nx 0 0 ; n 0
n
1
0
1
bn
f ( x) sin nxdx (0) sin nxdx 1sin nxdx
0
1 1 cos nx 1
sin nxdx
( 1) n
1
0 n 0 n
0, n even
2
n , n odd
-2 -1 1 2
2 1
2 1
a0 f ( x)dx kdx k
4 2 2 1
2n x 2n x
2 1
2 2
an
L 2
f ( x ) cos
L
dx
4 1
k cos
4
dx
n x n
1
1 2k
k cos dx sin
2 1 2 n 2
an 0 ; n even
2k
an ; n 1,5,9,......
n
2k
an ; n 3, 7,11,.....
n
2n x 2n x
2 1
2 2
bn f ( x)sin dx k sin dx
L 2 L 4 1 4
n x
1
1
k sin dx 0
2 1 2
k 2k 1 1
f ( x) cos( x / 2) cos(3 x / 2) cos(5 x / 2) .......
2 3 5