Chapter 17. Fourier series

Similar documents
3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

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

FOURIER SERIES. Chapter Introduction

Linear algebra, signal processing, and wavelets. A unified approach. Matlab version Øyvind Ryan

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

C. Complex Numbers. 1. Complex arithmetic.

Physics 250 Green s functions for ordinary differential equations

Section 7.2 Addition and Subtraction Identities. In this section, we begin expanding our repertoire of trigonometric identities.

a n cos 2πnt L n=1 {1/2, cos2π/l, cos 4π/L, cos6π/l,...,sin 2π/L, sin 4π/L, sin 6π/L,...,} (2)

f (t) K(t, u) d t. f (t) K 1 (t, u) d u. Integral Transform Inverse Fourier Transform

8.5 Taylor Polynomials and Taylor Series

Fourier Integral. Dr Mansoor Alshehri. King Saud University. MATH204-Differential Equations Center of Excellence in Learning and Teaching 1 / 22

Laplace Transform Introduction

23.6. The Complex Form. Introduction. Prerequisites. Learning Outcomes

Chapter 3. Periodic functions

Overview of Complex Numbers

Section 7.3 Double Angle Identities

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

Fourier Sin and Cos Series and Least Squares Convergence

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

natural frequency of the spring/mass system is ω = k/m, and dividing the equation through by m gives

CH.4 Continuous-Time Fourier Series

Computer Problems for Fourier Series and Transforms

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

Calculus I Review Solutions

Our goal is to solve a general constant coecient linear second order. this way but that will not always happen). Once we have y 1, it will always

MATH 105: PRACTICE PROBLEMS FOR CHAPTER 3: SPRING 2010

Derivatives and Continuity

23.4. Convergence. Introduction. Prerequisites. Learning Outcomes

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

In this section we extend the idea of Fourier analysis to multivariate functions: that is, functions of more than one independent variable.

Further Mathematical Methods (Linear Algebra) 2002

Advanced Mathematics Unit 2 Limits and Continuity

Advanced Mathematics Unit 2 Limits and Continuity

1 (2n)! (-1)n (θ) 2n

Infinite series, improper integrals, and Taylor series

Chapter 6. Second order differential equations

Fourier and Partial Differential Equations

Objectives List. Important Students should expect test questions that require a synthesis of these objectives.

Notes on uniform convergence

Time-Frequency Analysis

which arises when we compute the orthogonal projection of a vector y in a subspace with an orthogonal basis. Hence assume that P y = A ij = x j, x i

Convergence of Fourier Series

Math 12 Final Exam Review 1

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

df(x) = h(x) dx Chemistry 4531 Mathematical Preliminaries Spring 2009 I. A Primer on Differential Equations Order of differential equation

Chapter 7: Techniques of Integration

(c) Find the equation of the degree 3 polynomial that has the same y-value, slope, curvature, and third derivative as ln(x + 1) at x = 0.

The Derivative of a Function Measuring Rates of Change of a function. Secant line. f(x) f(x 0 ) Average rate of change of with respect to over,

Overview of Fourier Series (Sect. 6.2). Origins of the Fourier Series.

Chapter 2 Algorithms for Periodic Functions

Topic 4 Notes Jeremy Orloff

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Complex Numbers. Integers, Rationals, and Reals. The natural numbers: The integers:

Chapter 4 Sequences and Series

SUMMATION TECHNIQUES

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

Chapter 7: Trigonometric Equations and Identities

Lecture 28 Continuous-Time Fourier Transform 2

CALCULUS II ASSIGNMENT 4 SOLUTIONS. (v) (vi) x arctan(x) dx, (vii) (viii) e u du = e u = e arctan(y).

z = x + iy ; x, y R rectangular or Cartesian form z = re iθ ; r, θ R polar form. (1)

Mathematics 256 a course in differential equations for engineering students

Fourier Series : Dr. Mohammed Saheb Khesbak Page 34

22. Periodic Functions and Fourier Series

Chapter 18. Remarks on partial differential equations

Some approximation theorems in Math 522. I. Approximations of continuous functions by smooth functions

Calculus II Lecture Notes

Mathematics 104 Fall Term 2006 Solutions to Final Exam. sin(ln t) dt = e x sin(x) dx.

MATH 103 Pre-Calculus Mathematics Dr. McCloskey Fall 2008 Final Exam Sample Solutions

Chapter 8: Taylor s theorem and L Hospital s rule

0 3 x < x < 5. By continuing in this fashion, and drawing a graph, it can be seen that T = 2.

1.10 Continuity Brian E. Veitch

CK- 12 Algebra II with Trigonometry Concepts 1

ANoteonEuler sformula

3. Use absolute value notation to write an inequality that represents the statement: x is within 3 units of 2 on the real line.

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

MATH 1902: Mathematics for the Physical Sciences I

Chapter Product Rule and Quotient Rule for Derivatives

Notes on Fourier Series and Integrals Fourier Series

Chapter 7. Homogeneous equations with constant coefficients

x 2 = 1 Clearly, this equation is not true for all real values of x. Nevertheless, we can solve it by taking careful steps:

Section 3.1 Second Order Linear Homogeneous DEs with Constant Coefficients

Power Series Solutions We use power series to solve second order differential equations

Fourier transform. Alejandro Ribeiro. February 1, 2018

Taylor and Laurent Series

TAYLOR AND MACLAURIN SERIES

Complex Numbers and Exponentials

MATH 241 Practice Second Midterm Exam - Fall 2012

(Refer Slide Time: 01:30)

Infinite series, improper integrals, and Taylor series

B Elements of Complex Analysis

MATH 320, WEEK 11: Eigenvalues and Eigenvectors

Damped harmonic motion

1 Understanding Sampling

Fourier Series. Now we need to take a theoretical excursion to build up the mathematics that makes separation of variables possible.

MATH 15a: Linear Algebra Exam 1, Solutions

MATH 117 LECTURE NOTES

Last Update: April 7, 201 0

Transcription:

Chapter 17. Fourier series We have already met the simple periodic functions, of the form cos(ωt θ). In this chapter we shall look at periodic functions of more complicated nature. 1. The basic results A function f(t) is said to be periodic of period T if f(t + T )=f(t) for all values of t that is to say, if its graph repeats every interval of T units. If f(t) is periodic of period T then it is also periodic of period nt for every integer n. Sometimes the period of f is defined to be smallest possible T for which periodicity holds. The constant functions have period T for any possible T. The functions cos(2πnt/t ) and sin(2πnt/t ) are all periodic of period T/n, hence of period T itself. Likewise the complex exponential function e 2πint/T. The basic result in the theory of Fourier series asserts that any reasonable function with period T can be expressed as a possibly infinite sum of simple periodic functions with a period dividing T. There are several useful versions of this. First of all, we know that a simply periodic function of the kind we are looking for is of the form C cos(2πnt/t θ) with n an integer, or possibly just a constant function. So the basic claim is this: If f(t) is any reasonable function with f(t + T ) = f(t) for all t, then f can be expressed as an infinite linear combination C + n> C n cos ( (2πnt/T ) θ n ). The problem now is to find a way of calculating the coefficients C n. To understand how this works, we first rewrite the expression for f(t). We know that cos ( (2πnt/T ) θ n ) can be written as a linear combination of cos(2πnt/t ) and sin(2πnt/t ), and equally well of e 2πint/T and e 2πint/T. So the first part of the following claims are more or less equivalent to the original one. If f(t) is any reasonable function with f(t + T ) = f(t) for all t, then f can be expressed as an infinite linear combination + c n e 2πint/T + + c 1 e 2πit/T + c + c 1 e 2πit/T + + c n e 2πint/T +. For the (complex) coefficients c n we have the formula c n = 1 T = 1 f(t)e 2πint/T dt f(st )e 2πins ds ( setting s = t/t ). If f(t) takes only real values then c n is the conjugate of c n. If f(t) is any reasonable function with f(t + T ) = f(t) for all t, then f can be expressed as an infinite linear combination a + a n cos(2πnt/t )+ b n sin(2πnt/t ). n> n> For the coefficients we have the formulas a = 1 T a n = 2 T b n = 2 T f(t) dt f(t)cos(2πnt/t ) dt (n >) f(t) sin(2πnt/t ) dt (n >).

Fourier series 2 We shall see later some justification for these formulas, and the relationship between them. The first version is the one which is conceptually the most important. The second gives the complex Fourier series of f(t), the third gives the real Fourier series of f(t). It is at any rate an easy step from the second to the first. If then c n = 1 T f(t)e 2πint/T dt C n =2 c n, θ n = arg c n. We shall not even attempt to prove these results, but we shall see in a while, as already mentioned, some kind of justification for them. Nor shall we consider carefully what reasonable means here. In practice, the functions we shall apply this theory to are those which have simple formulas in a finite number of pieces of the interval [,T]. Example. Let f(t) be a square wave function of period T : { 1/2 t<t/2 1/2 T/2 t<t Here is the graph of f(t) with T =1(with vertical lines added to improve visibility): In this case we have c n = 1 f(st )e 2πins ds 1/2 = 1 e 2πins ds 1 e 2πins ds 2 2 1/2 = (n =) = 1 [ ] e 2πins 1/2 1 [ ] e 2πins 1 (n ) 2 2πin 2 2πin 1/2 ( ) ( ) 1 e πin 1 e πin = + 4πin 4πin = (n even) = 1 (n odd) πin Note that if we sum the terms for n and n (n odd) we get ( ) ( ) 1 1 e 2πint/T + e 2πint/T = 2 ( e 2πint/T e 2πint/T ) ( ) 2 = sin(2πnt/t ) πin πin 2πin πn 1

Fourier series 3 since and finally sin(x) = eix e ix, 2i nodd,n> ( ) 2 sin(2πnt/t ). πn In the figure below we show successive sums of terms from this series.

Fourier series 4 The series seem to converge reasonably well, if not very rapidly, at most points but there are some problems at those sharp edges. These problems persist even if a very large number of terms are used. (In the bottom graph 1 non-zero terms were used.) The ears remain for all these finite series, and their height remains essentially constant. This sort of behaviour is not unusual for Fourier series. Exercise 1.1. Let f(t) be the function which is equal to t in the range [, 1), and extended periodically outside this range. Draw the graph of f. Find the complex and real Fourier series of f. Exercise 1.2. Let a be a constant between and 1, and let { 1 t<a a t<1 With a =1/4, graph f(t). With an arbitrary a, find its real Fourier series. Exercise 1.3. Let a be a constant between and 1, and let { t/a t<a (1 t)/(1 a) a t<1 With a =1/2 and 1/4, graph f(t). With an arbitrary a, find its real Fourier series. 2. Justification If we have an expression + c 1 e 2πit/T + c + c 1 e 2πit/T + + c n e 2πint/T +. Then we can multiply both sides of this equation by e 2πimt/T to get e 2πimt/T +c 1 e 2πimt/T e 2πit/T +c e 2πimt/T +c 1 e 2πint/T e 2πit/T + +c n e 2πimt/T e 2πint/T + or f(t)e 2πimt/T = n c n e 2πi(n m)t/t. If we integrate both sides over [,T] we get f(t)e 2πimt/T dt = c n e 2πi(n m)t/t dt. n Now if k =we have e 2πikt/T dt = dt =1

Fourier series 5 while if k we have [ e e 2πikt/T 2πikt/T dt = 2πik ] T =. Therefore all but one of the integrals in the sum on the right vanish and we have f(t)e 2πimt/T dt = c m T, c m = 1 T f(t)e 2πimt/T dt. Exercise 2.1. From the formulas for cos(x + y), sin(x + y) add and subtract to get formulas for cos(x)cos(y), cos(x)sin(y), sin(x) sin(y) in terms of cos(x + y), cos(x y), sin(x + y), sin(x y). Exercise 2.2. Calculate explicitly the following integrals, using the previous exercise, to show cos(2πnt/t )sin(2πmt/t ) dt = (all m, n) cos(2πnt/t )cos(2πmt/t ) dt = T/2 (m = n>) = (m n) sin(2πnt/t )sin(2πmt/t ) dt = T/2 (m = n) = (m n) Exercise 2.3. Use the previous result to show that if a + a n cos(2πnt/t )+ b n sin(2πnt/t ). n> n> then for the coefficients we have the formulas a = 1 T a n = 2 T b n = 2 T f(t) dt f(t)cos(2πnt/t ) dt (n >) f(t) sin(2πnt/t ) dt (n >). Exercise 2.4. Another way to derive the formulas is to set c ±n = A n ± ib n and then combine c n e 2πint/T + c n e 2πint/T using Euler s formula. Do this. 3. Even and odd functions There are special circumstances in which the calculation of Fourier series becomes a bit simpler than usual. Recall that the function f(t) is called even if f( t) =f(t), and oddif f( t) = f(t). All the functions cos 2πnt/T are even, for example, and all the functions sin 2πnt/T are odd. Because of this: If f(t) is even its Fourier series can only have cosine terms, and if f(t) is odd it can only have sine terms. This explains why the Fourier series of the shifted square wave function has the expansion 1 2 + n= 1 sin π(2n +1)t π(2n +1)

Fourier series 6 since f(t) 1/2 is odd. There are other related consequences we shall use later on in the course. Suppose f(t) to be any function defined in the interval [,l]. We can extend it to be defined for all numbers in any of several ways. (1) We can extend it to a function of period l by just repeating it over again in every interval [nl, (n +1)l]. (2) We extend it to be an even function on [ l, l] and then extend it everywhere as a function of period 2l. (3) We extend it to be an odd function on [ l, l] and then extend it everywhere as a function of period 2l. If f(t) is even with period T then we only need to calculate the cosine coefficients. We can restrict the integration to half the period, since integration over the second half just repeats the integration on the first half. We get in this case a n = 4 /2 f(t)cos(2πnt/t ) dt. T If f(t) is odd with period T then we only need to calculate the sine coefficients. We can restrict the integration to half the period, since again integration over the second half just repeats the integration on the first half. We get in this case b n = 4 /2 f(t) sin(2πnt/t ) dt. T

Fourier series 7 If we put the two features of this section together, we get: If f is any function defined on the interval [,l], there exists a decomposition of f into components where This is called the sine series for f. b n = 2 l l b n sin(πnt/l) n=1 f(t) sin(πnt/l) dt. If f is any function defined on the interval [,l], there exists a decomposition of f into components where This is called the cosine series for f. a n = 1 l a n = 2 l l l a n cos(πnt/l) n= f(t) dt f(t)cos(πnt/l) dt. We get these decompositions by extending f to an odd and an even function of period 2l, respectively. Exercise 3.1. Let 1 in [, 1]. Extend f(t) as an even function of period 2. Graph the extended function. Find the Fourier series for it. Exercise 3.2. Same f(t). Extend as an odd function. Exercise 3.3. Let { t t<1 2 t 1 t<2 Extend f(t) as an odd function of period 4. Graph the extended function. Find the Fourier series for it. Exercise 3.4. Let t in [, 1]. Extend f(t) as an even function of period 2. Graph the extended function. Find the Fourier series for it. Exercise 3.5. Same f(t). Extend as an odd function. 4. The rate of decrease of Fourier coefficients Properties of the true convergence of Fourier series are very subtle and not usually of practical importance. The basic fact that is important and roughly valid always is that if the Fourier series converges at all, in any sense, then the coefficients decrease to. c n e 2πint then f (t) = c n 2πne 2πint.

Fourier series 8 However, we have to be careful. For example, if f(t) is a square wave then nodd,n> Taking the derivative on both sides we get the formal identity f (t) = nodd,n> ( ) 2 sin(2πnt/t ). πn ( ) 4 cos(2πnt/t ). T This violates the rule I just asserted! What s going on? The point here is that the derivative of the square wave makes no sense the function f(t) has a step discontinuity at a couple of places in every period, so of course it has no well defined slope and no derivative there. Therefore its Fourier series does not in fact converge to it in the normal way, and the claim that the Fourier coefficients decrease is no longer valid. But we do have the following consequence: if the series for f (t) also converges then the coefficients nc n must also decrease to as n, so that in fact c n must decrease to faster than 1/ n. And so on, if f(t) has higher derivatives. Roughly speaking, the smoother a function f(t) is the more rapidly its Fourier coefficients c n decrease to as n. This is actually a matter of practical importance! Many compression schemes for electronic display apply Fourier analysis to small chunks of the image. For example, the common JPEG scheme looks at the image on squares of size 8 8 pixels. It applies a two dimensional version of Fourier analysis to the image, and in order to compress the amount of storage the image requires, it throws away the terms in the Fourier series of high frequency assuming that the high frequency coefficients will be smaller than those of low frequency. The first thing it must do is make a periodic function out of these images. One possibility would be to just extend it by the obvious tiling of squares. But if this is done, there will be sharp discontinuities at the boundaries of the squres, and this will cause the high frequency components not to be small, which wrecks the scheme. The trick is to extend the small image to one of size 16 16 through even reflection. The boundaries of these images will be continuous, and the high frequency components can indeed be expected to be small. Of course in doing this even extension you will be calculating a two-dimensional version of the cosine transform.