Docsity

Trigonometric Polynomial Approximation - Numerical Analysis | MATH 640, Study notes of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
MATH 640 – Numerical Analysis
Section 8.5: Trigonometric Polynomial Approximation
0.1 Fourier Polynomials and Series (For Continuous Approach)
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
X
k=0
akφk(x)
where, for each k= 0,1,· · · , n
ak=Rb
aw(x)φk(x)f(x)dx
Rb
aw(x)(φk(x))2dx =1
αkZb
a
w(x)f(x)φk(x)dx
where
αk=Zb
a
w(x)(φk(x))2dx
THIS HELD FOR ANY ORTHOGONAL FUNCTIONS, NOT JUST POLYNOMIALS!!!!
Definition 1 (Set of Trigonometric Polynomials of Degree ≤n)
Let Tndenote the set of all linear combinations of the functions, φ0, φ1,· · · , φ2n−1where
φ0(x) = 1
2
φk(x) = cos(kx)for k= 1,2,· · · , n
φn+k(x) = sin(kx)for k= 1,2,· · · , n −1
[NOTE: {φ0, φ1,· · · , φ2n−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
X
k=0
(akφk(x) + bkφn+k(x))
pf3

Partial preview of the text

Download Trigonometric Polynomial Approximation - Numerical Analysis | MATH 640 and more Study notes Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

MATH 640 – Numerical Analysis

Section 8.5: Trigonometric Polynomial Approximation

0.1 Fourier Polynomials and Series (For Continuous Approach)

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

THIS HELD FOR ANY ORTHOGONAL FUNCTIONS, NOT JUST POLYNOMIALS!!!!

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

  • an cos(nx) +

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.

0.2 Discrete Least Squares Trigonometric Approximation

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:

  • uniformly distributed across the interval [−π, π], and
  • we have 2m points, {(x 0 , y 0 ), (x 1 , y 1 ), · · · , (x 2 m− 1 , y 2 m− 1 )}, where we can write:

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