Polynomial Approximation: The Fourier System

Similar documents
PART IV Spectral Methods

Vectors in Function Spaces

Numerical Methods I Orthogonal Polynomials

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Fourier Series. ,..., e ixn ). Conversely, each 2π-periodic function φ : R n C induces a unique φ : T n C for which φ(e ix 1

256 Summary. D n f(x j ) = f j+n f j n 2n x. j n=1. α m n = 2( 1) n (m!) 2 (m n)!(m + n)!. PPW = 2π k x 2 N + 1. i=0?d i,j. N/2} N + 1-dim.

Math 115 ( ) Yum-Tong Siu 1. Derivation of the Poisson Kernel by Fourier Series and Convolution

Finite-dimensional spaces. C n is the space of n-tuples x = (x 1,..., x n ) of complex numbers. It is a Hilbert space with the inner product

Math 489AB A Very Brief Intro to Fourier Series Fall 2008

Constructing Approximation Kernels for Non-Harmonic Fourier Data

Outline of Fourier Series: Math 201B

The discrete and fast Fourier transforms

Math 121A: Homework 6 solutions

Numerical Approximation Methods for Non-Uniform Fourier Data

Math 127: Course Summary

SPECTRAL METHODS: ORTHOGONAL POLYNOMIALS

Function Space and Convergence Types

The Way of Analysis. Robert S. Strichartz. Jones and Bartlett Publishers. Mathematics Department Cornell University Ithaca, New York

Numerical Analysis: Interpolation Part 1

Introduction to Microlocal Analysis

Topics in Fourier analysis - Lecture 2.

Fourier Series. 1. Review of Linear Algebra

Vector Spaces. Vector space, ν, over the field of complex numbers, C, is a set of elements a, b,..., satisfying the following axioms.

7: FOURIER SERIES STEVEN HEILMAN

Introduction to Fourier Analysis

ARTICLE IN PRESS Journal of Computational and Applied Mathematics ( )

Chapter 5: Bases in Hilbert Spaces

Hilbert Spaces. Hilbert space is a vector space with some extra structure. We start with formal (axiomatic) definition of a vector space.

Kernel Method: Data Analysis with Positive Definite Kernels

Topics in Harmonic Analysis Lecture 1: The Fourier transform

ON THE CONVERGENCE OF THE FOURIER APPROXIMATION FOR EIGENVALUES AND EIGENFUNCTIONS OF DISCONTINUOUS PROBLEMS

The Fourier spectral method (Amath Bretherton)

Chapter 1: The Finite Element Method

A collocation method for solving some integral equations in distributions

Convergence for periodic Fourier series

NUMERICAL CALCULATION OF RANDOM MATRIX DISTRIBUTIONS AND ORTHOGONAL POLYNOMIALS. Sheehan Olver NA Group, Oxford

Numerical Analysis Preliminary Exam 10 am to 1 pm, August 20, 2018

`an cos nπx. n 1. L `b

Recovery of high order accuracy in radial basis function approximation for discontinuous problems

A glimpse of Fourier analysis

Classical Fourier Analysis

SMOOTH APPROXIMATION OF DATA WITH APPLICATIONS TO INTERPOLATING AND SMOOTHING. Karel Segeth Institute of Mathematics, Academy of Sciences, Prague

f(s) e -i n π s/l d s

(0, 0), (1, ), (2, ), (3, ), (4, ), (5, ), (6, ).

The Pseudospectral Method

23.4. Convergence. Introduction. Prerequisites. Learning Outcomes

Commutative Banach algebras 79

General Inner Product and The Fourier Series

4 Hilbert spaces. The proof of the Hilbert basis theorem is not mathematics, it is theology. Camille Jordan

Fourier Series and Recent Developments in Analysis

FOURIER PADÉ APPROXIMATIONS AND FILTERING FOR SPECTRAL SIMULATIONS OF AN INCOMPRESSIBLE BOUSSINESQ CONVECTION PROBLEM

FOURIER ANALYSIS. (a) Fourier Series

Real Variables # 10 : Hilbert Spaces II

Spectral Methods and Inverse Problems

2 = = 0 Thus, the number which is largest in magnitude is equal to the number which is smallest in magnitude.

Advanced Computational Fluid Dynamics AA215A Lecture 2 Approximation Theory. Antony Jameson

MATH 590: Meshfree Methods

swapneel/207

From Fourier to Wavelets in 60 Slides

Computational Data Analysis!

x λ ϕ(x)dx x λ ϕ(x)dx = xλ+1 λ + 1 ϕ(x) u = xλ+1 λ + 1 dv = ϕ (x)dx (x))dx = ϕ(x)

Chapter 8 Integral Operators

Numerical Solutions to Partial Differential Equations

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at

JUHA KINNUNEN. Partial Differential Equations

Lecture 6 January 21, 2016

Lecture 4: Numerical solution of ordinary differential equations

23. The Finite Fourier Transform and the Fast Fourier Transform Algorithm

Numerical Analysis Preliminary Exam 10.00am 1.00pm, January 19, 2018

Proceedings of the 5th International Conference on Inverse Problems in Engineering: Theory and Practice, Cambridge, UK, 11-15th July 2005

Scientific Computing: Numerical Integration

Adaptive Nonparametric Density Estimators

1 Continuity Classes C m (Ω)

MA 201: Differentiation and Integration of Fourier Series Applications of Fourier Series Lecture - 10

Fourier Sin and Cos Series and Least Squares Convergence

Computer Problems for Fourier Series and Transforms

Moving interface problems. for elliptic systems. John Strain Mathematics Department UC Berkeley June 2010

Partial differential equation for temperature u(x, t) in a heat conducting insulated rod along the x-axis is given by the Heat equation:

FOURIER SERIES AND INTEGRALS

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES

Part 2 Introduction to Microlocal Analysis

ENO and WENO schemes. Further topics and time Integration

MATH 205C: STATIONARY PHASE LEMMA

Mathematics for Engineers II. lectures. Power series, Fourier series

OPTIMAL FILTER AND MOLLIFIER FOR PIECEWISE SMOOTH SPECTRAL DATA

1 Distributions (due January 22, 2009)

Convergence of Fourier series

MATH 124B: HOMEWORK 2

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

MATH 590: Meshfree Methods

MGA Tutorial, September 08, 2004 Construction of Wavelets. Jan-Olov Strömberg

Transform methods. and its inverse can be used to analyze certain time-dependent PDEs. f(x) sin(sxπ/(n + 1))

High Frequency Scattering by Convex Polygons Stephen Langdon

Hilbert Spaces: Infinite-Dimensional Vector Spaces

A Singular Integral Transform for the Gibbs-Wilbraham Effect in Inverse Fourier Transforms

LECTURE 5: THE METHOD OF STATIONARY PHASE

Examples of the Fourier Theorem (Sect. 10.3). The Fourier Theorem: Continuous case.

Methods of Mathematical Physics X1 Homework 3 Solutions

Wavelet Analysis. Willy Hereman. Department of Mathematical and Computer Sciences Colorado School of Mines Golden, CO Sandia Laboratories

Introduction. J.M. Burgers Center Graduate Course CFD I January Least-Squares Spectral Element Methods

Transcription:

Polynomial Approximation: The Fourier System Charles B. I. Chilaka CASA Seminar 17th October, 2007

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

Consider the function, u(x) = k= u kφ k expanded in terms of an infinite sequence of orthogonal functions. Some results: periodic functions expanded in Fourier series We observe that decay of the kth coefficient of the expansion faster than the inverse power of k, for infinitely smooth u and all the derivatives are periodic as well. Decay not exhibited immediately.

We can imagine that: Truncation after a few more steps represents a better approximation Spectral accuracy of the Fourier method. attainable for non periodic functions provided the expansion functions are chosen properly expansion introduces a linear transformation between u and the sequence of its expansion coefficients( ^u k ). ^u k = 1 2π 2π 0 u(x)e ikx dx, k = 0, ±1, ±2,... is the Fourier coefficient of u. It is called the transform of u between physical space and transform (wavenumber) space.

We will try to find: Which orthogonal systems are spectral accuracy guaranteed? What approximation properties? How to use the approximation functions? Definition: The Fourier series of a function u is defined as Su = k= ^u k φ k. φ k are the orthogonal functions. It represents the formal expansion of u in terms of the Fourier orthogonal system.

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

The set of functions φ k (x) = e ikx is an orthogonal system over the interval (0, 2π). i.e 2π. 0 φ k (x)φ l (x)dx = 2πδ kl = { 0 if k l 2π if k = l

The problems encountered are: When and in what sense is the series convergent? What is the relation between the series and the function u? How rapidly does the series converge? Approximation of Su by the sequence of the trigonometric polynomials P N u(x): P N u(x) = N/2 1 k= N/2 ^u k e ikx as N P N u is the N-th order truncated Fourier series of u.

Assumptions on the function u: Periodic function in (0, 2π) Bounded variation of u on [0, 2π] Uniform convergence of Su Pointwise convergence of P N u(x) to (u(x + ) + u(x ))/2 If u is continuous and periodic, then its Fourier series not necessarily converge at every point x [0, 2π]. Su is convergent in the mean (L 2 convergent to u) if 2π 0 u(x) P N u(x) 2 dx 0 as N

L 2 (0, 2π) is a complex Hilbert space. The inner product and norm are respectively given by and (u, v) = 2π 0 u(x)v(x)dx ( 2π u = u(x) 2 dx 0 Define the space of trigonometric polynomials of degree N/2 as: By orthogonality, ) 1 2 S N = span(e ikx N/2 k N/2 1) (P N u, v) = (u, v), v S N. P N u is the orthogonal projection of u upon the space S N

Its Fourier series converges to u in mean and by Parsevals identity, u 2 = 2π ^u k 2 k= The numerical series is convergent and conversely, for any complex sequence c k such that k= c k 2 < there exist a unique solution, u L 2 (0, 2π). For any function u, we can write u = k= ^u k φ k

By the Riesz theorem, the finite Fourier transform is an isomorphism between L 2 (0, 2π) and the space l 2 of complex sequences such that k= c k 2 < On the problem of convergence of the series, set: By Parsevals identity, k N/2 u P N u = 2π k< N/2 k N/2 k N/2 ^u k 2 1/2

For sufficiently smooth u, then max u(x) P Nu(x) 0 x 2π k N/2 ^u k For u, continuously differentiable on the domain and k 0 2π ^u k = 2π 0 u(x)e ikx dx = 1 ik (u(2π ) u(0 + ))+ 1 ik 2π 0 u (x)e ikx dx Hence, ^u k = 0(k 1 ) and iterating this argument, we have that if u is m-times continuously differentiable, then ^u k = 0(k m ), k = ±1, ±2,... The k-th Fourier coefficient of a function decays faster its negative powers.

Example: The function u(x) = sin(x/2) is infinitely differentiable in [0, 2π] but u (0 + ) u (2π ) with ^u k = 2 1 π 1 4k 2 Figure: 1: Trigonometric approximation for u(x) = sin(x/2)

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

Problems encountered when dealing with the continuous Fourier transformation: numerical methods not easy to implement. coefficients not known in closed form efficient way to recover in physical space, the information calculated in transform space We use the discrete Fourier transform: For N > 0, consider the set of points(nodes or grid points) x j = 2πj, j = 0,..., N 1 N The discrete Fourier coefficients are given by u k = 1 N 1 u(x j )e ikx j, k = N/2,..., N/2 1 N j=0

The inversion formula gives Thus u(x j ) = N/2 1 k= N/2 I N u(x) = u k e ikx j, j = 0,..., N 1 N/2 1 k= N/2 u k e ikx is the N/2 -degree trigonometric interpolant of u at the nodes. ie I N u(x j ) = u(x j ), j = 0,..., N 1. It is the discrete Fourier series of u, and the u k s depend on the values of u at the nodes. Example in figure 1(e).

The interpolation operator I N can be seen as an orthogonal projection upon the space S N w.r.t the inner product. The discrete Fourier transform(dft) is the mapping between u(x j ) and u k. Another form of the interpolant: with N 1 I N u(x) = u(x j )ψ j (x) ψ j (x) = 1 N j=0 N/2 1 k= N/2 e ik(x x j ) ψ j are the trigonometric polynomials in S N ( the characteristic Lagrange trig. polynomials at the nodes ) that satisfy ψ j (x l ) = δ lj, l, j = 0, 1,..., N 1

(I N u, v) N = (u, v) v S N The bilinear form (u, v) N = 2π N N 1 u(x j )v(x j ) coincides with the inner product if u and v are polynomials of degree N/2. By orthogonality: j=0 (u, v) N = (u, v), u, v S N and norm u = (u, u) N = (u, u) = u The interpolant satisfies:

The DFC in terms of exact Fourier coefficient of u is given by: u k = ^u k + m= m 0 ^u k+nm, k = N/2,..., N/2 1 This shows aliasing since φ k+nm (x j ) = φ k (x j ). The (k + Nm)-th wavenumber aliases the k-th wavenumber on the grid. Figure: 2.Three sine waves showing aliasing at k = -2

An equivalent formulation with R N u = I N u = P N u + R N u, N/2 1 k= N/2 m= m 0 ^u k + Nm φ k R N u is called the aliasing error and it is orthogonal to the truncation error, u P N u, so that u I N u 2 = u P N u 2 + R N u 2 This shows that the error due to interpolation is always larger than the error due to truncation.

The influence of the aliasing on the accuracy of the spectral methods is asymptotically of the same order as the truncation error. Convergence properties of I N u uniform convergence on [0, 2π] uniformly bounded on [0, 2π] and pointwise convergence to u at every continuity point for u. If u is Riemann integrable, then I N u converges to u in the mean for the discrete Fourier coefficients with u k = ũk N faster than algebraically in k 1, uniformly in N. decays

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

In transform space, If Su = k= ^u k φ k is the Fourier series of u, then Su = ik ^u k φ k k= is the Fourier series of the derivative of u. (P N u) = P N u i.e: truncation and differentiation commute. This is the Fourier projection derivative.

In physical space, the approximate derivative at the grid points are given by where (D N u) j = N/2 1 k= N/2 u k (1) e 2ikjπ/N, j = 0, 1,..., N 1 u (1) k = iku k = ik N 1 u(x l )e 2iklπ/N, k = N/2,..., N/2 1 N l=0 with D N u = (I N u)

Interpolation and differentiation do not commute, i.e (I N u) I N (u ) unless u S N. In general, D N u P N u The function D N u is called the Fourier interpolation derivative of u. Figure: 3. Fourier differentiation for u(x) = sin(x/2)

The error (I N u) I N (u ) is of the same order as the truncation error for the derivative u P N u This shows that interpolation differentiation is spectrally accurate. For u S N, D N u = u, and D N is a skew symmetric operator on S N : (D N u, v) N = (u, D N v) N, u, v S N

The entries of (D N ) jl are the derivatives of the characteristic Lagrange polynomials at the nodes. Fourier interpolating differentiation represented by a matrix: The Fourier interpolation derivative matrix is given by N 1 (D N u) j = (D N ) jl u l l=0 with This shows that (D N ) jl = 1 N N/2 1 k= N/2 (D N ) jl = ψ l (x j) ike 2ik(j l)π/n

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

characteristic oscillatory behaviour of the TFS or DFS in the neighbourhood of a point of discontinuity. observed in square waves Assume, truncation is symmetric w.r.t. N i.e set P N u = ^u k φ k with P N u(x) = 1 2π 2π 0 k N/2 k N/2 Integral representation P N u is given by P N u(x) = 1 2π 2π 0 e ik(x y) u(y)dy D N (x y)u(y)dy

Definition: Dirichlet kernel is a collection of functions sin((n+1)ξ/2) N/2 sin(ξ/2) if ξ 2jπ D N (ξ) = 1 + 2 coskξ = j Z k=1 N + 1 if ξ = 2jπ Convolution of the Dirichlet kernel with a function f (x) is (D N f )(x) = 1 2π 2π 0 f (y)d N (x y)dy This is the same as the integral representation of P N u. D N is an even function that changes sign at the points ξ j = 2jπ(N + 1) and satisfies 2π 0 D N(ξ)dξ = 1 with D N (ξ) < ɛ if N > N(ɛ, δ) and δ ξ 2π δ, δ, ɛ > 0.

For the square wave, shift the origin to the point of discontinuity, i.e { 1 0 x < π φ(x) = 0 π x < 2π The TFS is P N φ(x) = 1 2π Hence = 1 2π x x π D N (y)dy [ x D N (y)dy + 0 0 π P N φ(x) 1 2 + 1 x D N (y)dy. 2π 0 ] π D N (y)dy + D N (y)dy x π N This formula explains the the Gibbs phenomenon for the square wave.

We see that there is a Gibbs phenomenon at x = x 0. Ifx > 0, P N φ(x) is close to 1. 1 x But 2π 0 D N(y)dy has alternating maxima and minima at the points where D N vanishes, this accounts for the oscillation. For u = u(x), having a jump discontinuity at x = x 0, we can write u(x) = u(x) + j(u; x 0 )φ(x x 0 ) with P N u(x) 1 2 [u(x + 0 )+u(x 0 )]+ 1 x x0 2π [u(x + 0 ) u(x 0 )] D N (y)dy, N 0

Outline 1 Introduction and problem formulation 2 The continuous Fourier expansion 3 The discrete Fourier expansion 4 Differentiation in spectral methods 5 The Gibbs Phenomenon 6 Smoothing

We focus on the smoothing procedure that attenuate the higher order coefficients. multiply each Fourier coefficient ^u k by a factor σ k Replace P N u with S N u, the smoothed series. the Cesaro sums(take arithmetic means of the truncated series) the Lanczos smoothing the raised cosine smoothing The Cesaro sums: N/2 1 S N u = P k u = N/2 + 1 k=0 N/2 N/2 ( ) k 1 N/2 + 1 ^u k e ikx σ k = sin(2kπ/n) 2kπ/N, k = N/2,..., N/2 and σ k = 1+cos(2kπ/N) 2, k = N/2,..., N/2 are the Lanczos and raised cosine factors respectively

Figure: 4.Several smoothing of the square wave The smoothed series can be represented in terms of a singular integral as S N u(x) = 1 2π 2π 0 K N (x y)u(y)dy with N/2 K N (ξ) = 1 + 2 σk coskξ.

The only requirement here is that K N be an approximate polynomial delta function such that 1 2π 2π 0 K N (ξ)dξ = 1 Strategy to design a smoothing operator: Choose the smoothing factors σ k as σ k = σ(2kπ/n), k = N/2,..., N/2 where σ = σ(θ) called a filtering factor of order p is a real, even function satisfying:

σ is (p-1) times continuously differentiable in R for some p 1 σ(θ) = 0 if θ π σ(0) = 1, σ (j) (0) = 0 for 1 j p 1 Some other proposals have being given for the cure of Gibbs phenomenon. The general idea is that whenever the location of singularities are known, the unsmoothed coefficients contain enough information to allow for the construction of an accurate non-oscillatory approximation of the function.