

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Recall the key idea from Section 8.3 (Continuous Least Squares Approximation)
If we have an orthogonal set of functions (polynomial ), {φ 0 , φ 1 , · · · , φn}, on [a, b] with respect to the weight function w(x), the least squares (polynomial ) approximation to f on [a, b] is
Pn(x) =
∑^ n
k=
akφk(x)
where, for each k = 0, 1 , · · · , n
ak =
∫ (^) b ∫a^ w(x)φk(x)f^ (x)^ dx b a w(x)(φk(x)) (^2) dx
αk
∫ (^) b
a
w(x)f (x)φk(x) dx
where
αk =
∫ (^) b
a
w(x)(φk(x))^2 dx
Definition 1 (Set of Trigonometric Polynomials of Degree ≤ n) Let Tn denote the set of all linear combinations of the functions, φ 0 , φ 1 , · · · , φ 2 n− 1 where
φ 0 (x) =
φk(x) = cos(kx) for k = 1, 2 , · · · , n φn+k(x) = sin(kx) for k = 1, 2 , · · · , n − 1
[NOTE: {φ 0 , φ 1 , · · · , φ 2 n− 1 } are an orthogonal set of functions on [−π, π] with respect to the weight function w(x) = 1]. The set is called the set of trigonometric polynomials of degree less than or equal to n, and is denoted by Tn.
Then we can use this set of polynomials to get our approximating function, call it Sn(x), where
Sn(x) =
∑^ n
k=
(akφk(x) + bkφn+k(x))
Definition 2 (Continuous Least Squares Trigonometric Approximation) The Fourier polynomial (not the book’s term) for f (x), denoted Sn(x), is given by
Sn(x) = a 0 2
n∑− 1
k=
(ak cos(kx) + bk sin(kx))
where
ak =
π
∫ (^) π
−π
f (x) cos(kx) dx for k = 0, 1 , · · · , n
bk =
π
∫ (^) π
−π
f (x) sin(kx) dx for k = (0, ) 1, 2 , · · · , n − 1
(bn = 0)
Theorem 1 (Continuous Least Squares Trigonometric Approximation(Fourier Series))
If f ∈ C[−π, π], then Sn(x) converges uniformly to f on [−π, π], i.e.
n^ lim→∞ Sn(x) =^ f^ (x)
where the (^) nlim→∞ Sn(x) is called the Fourier Series for f.
We have a discrete analog to our continuous least squares trigonometric approximation, where our error function is once again given by:
E(a 0 , a 1 , · · · , an, b 1 , · · · , bn− 1 ) =
2 m∑− 1
j=
(yj − Sn(xj ))^2
and now our points are:
xj = −π +
j m
π for j = 0, 1 , · · · , 2 m − 1
Before we can determine the coefficients a 0 , a 1 , · · · , an, b 1 , · · · , bn− 1 that minimize this error, we need a definition and a lemma:
Definition 3 (Orthogonal Functions) We say the set of functions {φ 0 , π 1 , · · · , φ 2 n− 1 } is orthogonal with respect to summation over the equally spaced points {xj }^2 jm=0− 1 on [−π, π] if
(^2) ∑m− 1
j=
φk(xj )φl(xj ) = 0 if k 6 = l