Documente Academic
Documente Profesional
Documente Cultură
hf, gi = 0 .
such that
0, for n 6= m
hun , um i =
1, for n = m .
X3 3
X 3
X
hf, ui i = h cn un , ui i = hcn un , ui i = cn hun , ui i = ci .
n=1 n=1 n=1
Then
cn = hf, un i .
Geometric meaning: cn are the projections of vector f on the
directions defined by the unit vectors un .
n (x)
n (x) = , n = 1, 2, . . . .
kn (x)k
Example
The functions
1 1 2nx
c0 (x) = , cn (x) = cos
2` ` `
1 2nx
sn (x) = sin , n = 1, 2, . . .
` `
form a orthonormal set in [0, `].
If f (x) =
P
n=1 cn n (x) for all x [0, `] and if the series can be
integrated term by term, then the coefficients are uniquely
determined by the formula
Z `
cn = hf , n i = f (x)n (x)p(x)dx . (1)
0
For a general orthonormal set and a general class of functions
f (x), it can be difficult to ensure both conditions a priori.
However, the formula (1) can be calculated even if the infinite
series does not converge to f (x) for all x. The only condition is
that f (x)n (x)p(x) are integrable in [0, `]. This is not a very
restrictive condition since it may be satisfied by general classes
of functions.
We define
Z `
2
EN = kf N k = [f (x) N (x)]2 p(x)dx (5)
0
as the mean square error when f is approximated by N .
Z `h N
X i2 Z `
EN = f (x) n n (x) p(x)dx = f (x)2 p(x)dx+
0 n=1 |0 {z }
kf k2
N
Z ` hX i2 Z ` N
X
n n (x) p(x)dx 2 f (x) n n (x)p(x)dx ,
0 n=1 0 n=1
| {z } | {z }
I2 PN
n=1 n cn
Then
N
X N
X N
X N
X
2
EN = kf k + n2 2 n cn = kf k + 2
(n cn ) 2
c2n .
n=1 n=1 n=1 n=1
| {z }
lim cn = lim hf , n i = 0 .
n n
Definition
We say that {n (x)}n=1,2,... is a orthonormal base (or a complete
set) in a function space when, for any function f belonging to
the space, its Fourier series converges to f in mean square, that
is
XN
lim kf cn n (x)k2 = 0.
N
n=1
0.4
0.3
0.2
0.1
0.0
5 10 15 20
0.1 n~
0.2
0.5 0.75
0.5
0.25 0.5
0.25
0.25
0.0 0.0
0.0 0.25 0.5 0.75 1.0
0.0
0.0 0.25 0.5 0.75 1.0
x
x
0.0 0.25 0.5 0.75 1.0
x
f(x)=x N=5
N=1 f(x)=x N=1
N=5 N=15 N=15
cn = 0.4501581581 1.0+cos(1.570796327
n
n)
n
+0.4501581581 1.0 cos(1.570796327
n
n)+(1.0)
0.8
0.6
Most of the coefficients
are 0.
0.4
The only cn 6= 0 are
0.2
c2 , c6 , c10
0.0
5 10 15 20 25 30
x
0.75
0
0.5
0.0 0.25 0.5 0.75 1.0
x 0.25
1
0.0
0.0 0.25 0.5 0.75 1.0
f(x) x
N=26
N=10
N=2 N=2
N=10 N=26
f (x) = x4 (x 1)
Fourier coefficients:
2 3 + 12 (1)1+n + (1)n n2 2
8
n5 5
0.03
0.02
The coefficients go to
0.01
0 very fast
(with n15 ).
0.0
0 1 2 3 4 5 6 7 8 9 10
0.01 x
0.02
0.02
0.05
0.015
0.025 0.01
0.005
0.0
0.0
0.0 0.25 0.5 0.75 1.0
x 0.0 0.25 0.5 0.75 1.0
x
f(x) N=2
N=5 N=5
N=2 N=10