Time-Frequency Analysis: Fourier Transforms and Wavelets

Similar documents
Time-Frequency Analysis: Fourier Transforms and Wavelets

Time-Frequency Analysis

3.3 Eigenvalues and Eigenvectors

Numerical Linear Algebra

3.2 Iterative Solution Methods for Solving Linear

Math 214 Spring problem set (a) Consider these two first order equations. (I) dy dx = x + 1 dy

Section 1.2: A Catalog of Functions

16.5. Maclaurin and Taylor Series. Introduction. Prerequisites. Learning Outcomes

1.2 Functions and Their Properties PreCalculus

Representation of Functions by Power Series. Geometric Power Series

Differentiation and Integration of Fourier Series

Limits 4: Continuity

10.5 Graphs of the Trigonometric Functions

5.6 RATIOnAl FUnCTIOnS. Using Arrow notation. learning ObjeCTIveS

KEY IDEAS. Chapter 1 Function Transformations. 1.1 Horizontal and Vertical Translations Pre-Calculus 12 Student Workbook MHR 1

In everyday speech, a continuous. Limits and Continuity. Critical Thinking Exercises

Chapter 8 More About the Trigonometric Functions

10.2 The Unit Circle: Cosine and Sine

67. (a) Use a computer algebra system to find the partial fraction CAS. 68. (a) Find the partial fraction decomposition of the function CAS

2.5 CONTINUITY. a x. Notice that Definition l implicitly requires three things if f is continuous at a:

The Singular Value Decomposition (SVD) and Principal Component Analysis (PCA)

7-6. nth Roots. Vocabulary. Geometric Sequences in Music. Lesson. Mental Math

6.4 graphs OF logarithmic FUnCTIOnS

Copyright PreCalculusCoach.com

Analytic Trigonometry

Notes 7 Analytic Continuation

FOURIER ANALYSIS. (a) Fourier Series

Introduction to Differential Equations. National Chiao Tung University Chun-Jen Tsai 9/14/2011

APPENDIX D Rotation and the General Second-Degree Equation

Uniform continuity of sinc x

1.5. Analyzing Graphs of Functions. The Graph of a Function. What you should learn. Why you should learn it. 54 Chapter 1 Functions and Their Graphs

A function from a set D to a set R is a rule that assigns a unique element in R to each element in D.

1.2 Functions and Their Properties PreCalculus

Re(z) = a, For example, 3 + 2i = = 13. The complex conjugate (or simply conjugate") of z = a + bi is the number z defined by

x c x c This suggests the following definition.

Continuity, End Behavior, and Limits. Unit 1 Lesson 3

Polynomial and Rational Functions

8.1 Exponents and Roots

Exponential and Logarithmic Functions

Additional Topics in Differential Equations

The Laplace Transform

Chapter One. Chapter One

Properties of Limits

NATIONAL UNIVERSITY OF SINGAPORE Department of Mathematics MA4247 Complex Analysis II Lecture Notes Part I

Fourier Analysis Fourier Series C H A P T E R 1 1

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

More on Fourier Series

Derivatives of Multivariable Functions

Derivatives of Multivariable Functions

Limits and Continuous Functions. 2.2 Introduction to Limits. We first interpret limits loosely. We write. lim f(x) = L

4 The Harmonics of Vibrating Strings

Functions and Graphs TERMINOLOGY

4.2 The Fourier Transform

Chapter 8 Notes SN AA U2C8

LESSON #48 - INTEGER EXPONENTS COMMON CORE ALGEBRA II

3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS

Math Review Packet #5 Algebra II (Part 2) Notes

Integration. 5.1 Antiderivatives and Indefinite Integration. Suppose that f(x) = 5x 4. Can we find a function F (x) whose derivative is f(x)?

LESSON #42 - INVERSES OF FUNCTIONS AND FUNCTION NOTATION PART 2 COMMON CORE ALGEBRA II

MATH 2300 review problems for Exam 3 ANSWERS

4 The Cartesian Coordinate System- Pictures of Equations

Math 123 Summary of Important Algebra & Trigonometry Concepts Chapter 1 & Appendix D, Stewart, Calculus Early Transcendentals

5.6. Differential equations

Limits and Their Properties

We have examined power functions like f (x) = x 2. Interchanging x

(MTH5109) GEOMETRY II: KNOTS AND SURFACES LECTURE NOTES. 1. Introduction to Curves and Surfaces

Wave Phenomena Physics 15c

A.5. Complex Numbers AP-12. The Development of the Real Numbers

N coupled oscillators

Limits and Continuity of Functions of several Variables

INTRODUCTION TO DIFFERENTIAL EQUATIONS

Finding Limits Graphically and Numerically. An Introduction to Limits

Chapter 4 Analytic Trigonometry

Chapter 3: Three faces of the derivative. Overview

1.7 Inverse Functions

Infinite Limits. Let f be the function given by. f x 3 x 2.

Lesson 15: Piecewise Functions

Wave Phenomena Physics 15c

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y

Polynomial and Rational Functions

A BRIEF REVIEW OF ALGEBRA AND TRIGONOMETRY

y = 3 2 x 3. The slope of this line is 3 and its y-intercept is (0, 3). For every two units to the right, the line rises three units vertically.

Finding Limits Graphically and Numerically. An Introduction to Limits

4Cubic. polynomials UNCORRECTED PAGE PROOFS

BIG IDEAS MATH. Ron Larson Laurie Boswell. Sampler

Fitting Integrands to Basic Rules

Increasing and Decreasing Functions and the First Derivative Test. Increasing and Decreasing Functions. Video

QUADRATIC FUNCTION REVIEW

6 = 1 2. The right endpoints of the subintervals are then 2 5, 3, 7 2, 4, 2 9, 5, while the left endpoints are 2, 5 2, 3, 7 2, 4, 9 2.

Vocabulary. Term Page Definition Clarifying Example degree of a monomial. degree of a polynomial. end behavior. leading coefficient.

8 Differential Calculus 1 Introduction

Section J Venn diagrams

Fitting Integrands to Basic Rules. x x 2 9 dx. Solution a. Use the Arctangent Rule and let u x and a dx arctan x 3 C. 2 du u.

Fixed Point Theorem and Sequences in One or Two Dimensions

Additional Topics in Differential Equations

x y x 2 2 x y x x y x U x y x y

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f

LESSON #28 - POWER FUNCTIONS COMMON CORE ALGEBRA II

Pure Further Mathematics 2. Revision Notes

Physics Gravitational force. 2. Strong or color force. 3. Electroweak force

Transcription:

Chapter 4 Time-Frequenc Analsis: Fourier Transforms and Wavelets 4. Basics of Fourier Series 4.. Introduction Joseph Fourier (768-83) who gave his name to Fourier series, was not the first to use Fourier series neither did he answer all the questions about them. These series had alread been studied b Euler, d Alembert, Bernoulli and others before him. Fourier also thought wrongl that an function could be represented b Fourier series. However, these series bear his name because he studied them etensivel. The first concise stud of these series appeared in Fourier s publications in 87, 8 and 8 in his Théorie analtique de la chaleur. He applied the technique of Fourier series to solve the heat equation. He had the insight to see the power of this new method. His work set the path for techniques that continue to be developed even toda. Fourier Series, like Talor series, are special tpes of epansion of functions. With Talor series, we are interested in epanding a function in terms of the special set of functions,,, 3,... or more generall in terms of, ( a), ( a), ( a) 3,... You will remember from calculus that if a function f has a power series representation at a then f () = n= f (n) (a) n! ( a) n (4.) Remember from calculus that a series is an infinite sum. We never use the full series, we usuall truncate it. In other words, if we call S N () = ( a) n, N f (n) (a) n! 39 n=

4CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS then we approimate f () b S n (). S n () is called a partial sum. A reason for using Talor series is that their partial sums are polnomials and polnomials are the easiest functions to work with. With Fourier series, we are interested in epanding a function f in terms of the special set of functions, cos π π 3π π π, cos, cos,..., sin, sin, sin 3π,... Thus, a Fourier series epansion of a function is an epression of the form f () = A + ( A n cos nπ + B n sin nπ ) for some positive constant. Finding the Fourier series for a given function f () (if it eists) amounts to finding the coeffi cients A n for n =,,,... and B n for n =,, 3,... In this section, we will not focus on theoretical considerations such as convergence, differentiation and integration of Fourier series. We will onl define Fourier series and give a few eamples and applications. 4.. Euler s Formulas for the Coeffi cients Definition 4.. The Fourier series of a function f () on the interval [, ] where > is given b f () = A + ( A n cos nπ + B n sin nπ ) (4.) The coeffi cients which appear in the Fourier series were known to Euler before Fourier, hence the bear his name. The are given b the following formulas. To find the coeffi cients, the following formulas pla an important role:.. nπ cos d = for n =,,... nπ sin d = for n =,,... 3. nπ sin 4. nπ sin cos mπ d = for ever m, n { mπ = if m n sin d = = if m = n 5. { nπ mπ cos cos d = = if m n = if m = n We give an outline on how to find these coeffi cients. integrate this Fourier series term b term. We assume we can

4.. BASICS OF FOURIER SERIES 4 Computation of A From equation 4., if we integrate each side from to we get ( f () d = A d+ A n cos nπ ) d + B n sin nπ d Using the properties listed above, we are left with Hence, f () d = = A A = f () d A d Computation of A m for m =,,... From equation 4. we multipl each side b cos mπ d and integrate each side from to we get f () cos mπ ( d = A cos mπ d+ A n cos nπ cos mπ d + B n From the properties listed above, A cos mπ d =, nπ sin d = and nπ mπ cos cos d = for ever n m and for the value of n = m we have nπ mπ cos cos d = mπ cos cos mπ d =. Hence, we are left with Thus A m = f () cos mπ d = A m f () cos mπ d for m =,,... mπ cos Computation of B m for m =,,... We proceed in a similar manner, but we multipl each side of equation 4. b sin mπ d. Theorem 4.. The coeffi cients in equation 4. are given b A n = A = f () d (4.3) f () cos nπ d for n =,,... (4.4) sin nπ ) mπ cos d

4CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS B n = f () sin nπ d for n =,,... (4.5) Definition 4..3 For a positive integer N, we denote the N th partial sum of the Fourier series of f b S N (). So, we have S N () = A + N ( A n cos nπ We now illustrate what we did with some eamples. + B n sin nπ ) 4..3 Eamples of Fourier Series Eample 4..4 Find the Fourier series of f () = sin on [ π, π]. Using the formulas above along with equation 4., we find that B n = π A n = π π A = sin d = π π π sin cos nd = for all n sin sin nd = ecept when n = When n =,we have A =. Thus, a Fourier series of sin is sin. Of course, this was to be epected. Eample 4..5 Find the Fourier series of f () = sin on [ π, π]. Clearl, this function is π-periodic. Its graph is shown in figure 4... Computation of A. Using the formulas above along with equation 4., we find that A = π = π = π π sin d sin sin d since is even and sin on [, π]. Computation of A n. Remembering that sin a cos bd = cos (a + b) (a + b) cos (a b), we (a b)

4.. BASICS OF FOURIER SERIES 43.4...8.6.4. 8 6 4 4 6 8..4 Figure 4.: Graph of sin have A n = π π sin cos nd = sin cos nd π = cos n + cos n π n + n = ( π n + + ) n = n + n + π (n + ) ( n) 4 = π (4n ) π 3. Computation of B n. B n = sin sin nd π π = since sin sin n is odd

44CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS 4. In conclusion sin = π + 4 π (4n cos n ) To see how this series compares to the function, we will plot some of the partial sums. et S N () = π + N 4 π (4n cos n ).4...8.6.4. 8 6 4 4 6 8..4 Figure 4.: Graph of sin and S () Eample 4..6 We now look at a π-periodic function with discontinuities and derive its Fourier series using the formulas of this section (assuming it is legitimate). This function is called the sawtooth function. It is defined b g () = { (π ) if < π g ( + π) otherwise In other words, the function repeats itself over ever interval of length π. But, it will have discontinuities when = nπ for ever integer n. Find the Fourier series for this function. Plot this function as well as S (), S 7 (), S () where S N () is the N th partial sum of its Fourier series. Since this function is π-periodic, we would compute its Fourier series on [ π, π]

4.. BASICS OF FOURIER SERIES 45.4...8.6.4. 8 6 4 4 6 8..4 Figure 4.3: Graph of sin and S 4 ().4...8.6.4. 8 6 4 4 6 8..4 Figure 4.4: Graph of sin and S ()

46CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS and all the integrals involved in computing the coeffi cients would be from π to π. However, in our case, f is π-periodic but described between and π. Using the fact that if a function f is T -periodic then for an real number a, we have T f () d = a+t f () d, we can compute the Fourier coeffi cients a integrating between and π instead of between π and π.. Computation of A. A = π = 4π = g () d (π ) d. Computation of A n. A n = π = π = π g () cos nd for n =,,... [ π (π ) cos nd cos nd ] cos nd The first integral is. The second can be evaluated b parts. cos nd = n sin n π n = π n cos n = sin nd so A n = 3. Computation of B n. B n = π = π = π g () sin nd for n =,,... [ π (π ) sin nd sin nd ] sin nd

4.. BASICS OF FOURIER SERIES 47 The first integral is. The second can be done b parts. sin nd = n = π n = π n π cos n + n + sin n n π cos nd Therefore B n = [ π ] π n = n 4. Conclusion. The Fourier series of the sawtooth function is g () = sin n n Below, we show the graphs of S (), S 7 (), S (). 4 3 6 4 4 6 8 3 4 Graph of the sawtooth function (black) and S () (red)

48CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS 4 3 6 4 4 6 8 3 4 Graph of the sawtooth function (black) and S 7 () (red) 4 3 6 4 4 6 8 3 4 Graph of the sawtooth function (black) and S () (red) Remark 4..7 Several important facts are worth noticing here.. The Fourier series seems to agree with the function, ecept at the points of discontinuit.

4.. BASICS OF FOURIER SERIES 49. At the points of discontinuit, the series converges to, which is the average value of the function from the left and from the right. 3. Near the points of discontinuit, the Fourier series overshoots its limiting values. This is a well known phenomenon, known as Gibbs phenomenon. 4..4 Piecewise Continuous and Piecewise Smooth Functions After defining some useful concepts, we give a suffi cient condition for a function to have a Fourier series representation. Notation 4..8 We will denote f (c ) = lim f () and f (c+) = lim f () c c + Remembering that a function f is continuous at c if and onl if lim c f () = f (c), we see that a function f is continuous at c if and onl if f (c ) = f (c+) = f (c) Definition 4..9 (Piecewise Continuous) A function f is said to be piecewise continuous on the interval [a, b] if the following are satisfied:. f (a+) and f (b ) eist.. f is defined and continuous on (a, b) ecept possibl at a finite number of points in (a, b) where the left and right limit at these points eist. Such points are called jump discontinuities. Definition 4.. (Piecewise Smooth) A function f, defined on [a, b] is said to be piecewise smooth on [a, b] if both f and f are piecewise continuous on [a, b]. Eample 4.. The sawtooth function is piecewise smooth. Eample 4.. A simple eample of a function which is not piecewise smooth is 3 for. Its derivative does not eist at, neither do the one sided limits of its derivative at. Eample 4..3 The function f () = is not piecewise continuous on [, ] since it is not continuous at and lim f () does not eist. Definition 4..4 The average of f at c is defined to be f (c ) + f (c+) Clearl, if f is continuous at c, then its average at c is f (c). We are now read to state a fundamental result in the theor of Fourier series.

5CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS Theorem 4..5 Suppose that f is a piecewise smooth function on [, ]. Then, for all in [, ], we have f ( ) + f (+) = A + ( A n cos nπ + B n sin nπ ) (4.6) f ( ) + f (+) that is the Fourier series converges to, where the coeffi cients are given b equations 4.3, 4.4, and 4.5. In particular, if f is piecewise smooth and continuous at, then f () = A + ( A n cos nπ that is the Fourier series converges to f (). + B n sin nπ ) (4.7) Thus, at points where f is continuous, the Fourier series converges to the function. At points of discontinuit, the series converges to the average of the function at these points. This was the case in the eample with the sawtooth function. Remark 4..6 In the case f is -periodic, we have an even stronger result. Convergence of the Fourier series is for ever, not just for ever in [, ]. We do one more eample. Eample 4..7 (Triangular Wave) The π-periodic triangular wave is given on the interval [ π, π] b { π + if π h () = π if π. Find its Fourier series.. Plot h () as well as some partial sums of its Fourier series. 3. Show how this series could be used to approimate π ( actuall π ). Solution 4..8. We begin b plotting h ()We see the function is piecewise smooth and continuous for all. Computation of A. A = π = π π = π π h () d

4.. BASICS OF FOURIER SERIES 5 5 4 3 8 7 6 5 4 3 3 4 5 6 7 8 Figure 4.5: Plot of the triangular wave Computation of A n. A n = h () cos nd π π = [ (π + ) cos nd + π π ] (π ) cos nd = (π ) cos nd replacing b in the first integral π = [ π π sin n π n + ] sin nd n = [ π] cos n π n = [ ] cos nπ + π n n = [ ] π n ( )n n { if n even = 4 πn if n odd

5CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS Computation of B n. B n = π π h () sin nd = since the integrand is odd (wh?) Conclusion. h () = π + 4 π n= cos (n + ) (n + ). et S N () = π + 4 π N n= cos (n + ) (n + ). We plot S (), S 5 () 5 4 3 8 7 6 5 4 3 3 4 5 6 7 8 Figure 4.6: Plot of the triangular wave and S () 3. From h () = π + 4 π n= cos (n + ) (n + ), if we let = then h () = h () =

4.. BASICS OF FOURIER SERIES 53 5 4 3 8 7 6 5 4 3 3 4 5 6 7 8 Figure 4.7: Plot of the triangular wave and S 5 () π, hence we get F (, ) = π + π = π + 4 π π π 8 = 4 π = n= This allows us to approimate π. n= 4 π(4n ) cos n n= (n + ) (n + ) (n + ) = + 3 + 5 + 7 +... 4..5 Fourier Series of Even and Odd Functions We finish this section b noticing that in the special cases that f is either even or odd, the series simplifies greatl. If f is even, then nπ f () sin is odd so that B n = and the series is simpl a cosine series. Similarl, if f is odd, then nπ f () cos is odd and A n = and the series is simpl a sine series. We summarize this in a theorem.

54CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS Theorem 4..9 Suppose that on [, ] f has the Fourier series representation [ f () = A + A n cos nπ + B n sin nπ ] Then:. If f is even then B n = for all n and in this case f () = A + A n cos nπ. If f is odd then A n = for all n and in this case f () = B n sin nπ 4..6 Fourier Series in Comple Form Recall Euler s identit e ±i = cos ± i sin (4.8) The Fourier series of a function f on [, ] can be written where f () = n= C n e inπ (4.9) C n = f () e inπ d (4.) The relationship between A n and B n on one hand and C n on the other is given b and C = A C n = A n ib n C n = A n + ib n A = C A n = C n + C n B n = i (C n C n )

4.. BASICS OF FOURIER SERIES 55 4..7 Some Applications Fourier series are found in the following applications:. One of the main uses of Fourier series is in solving some of the differential equations from mathematical phsics such as the wave equation or the heat equation. Fourier developed his theor b working on the heat equation.. Fourier series also have applications in music snthesis and image processing (signal processing). When we represent a signal f (t) b its Fourier [ series f (t) = A + A n cos nπt + B n sin nπt ], we are finding the con- tribution of each frequenc nπ to the signal. The value of the corresponding coeffi cients give us that contribution. The n th term of the partial sum of the Fourier series, A n cos nπt + B n sin nπt, is called the nth harmonic of f. Its amplitude is given b A n + B n. 3. Conversel, we can create a signal b using the Fourier series A + [ A n cos nπt for a given value of and plaing with the value of the coeffi cients. Audio signals describe air pressure variations captured b our ears and perceived as sounds. We will focus here on periodic audio signals also known as tones. Such signals can be represented b Fourier series. A pure tone can be written as (t) = a cos (ωt + φ) where a > is the amplitude, ω > is the frequenc in radians/seconds and φ is the phase angle. An alternative wa to represent the frequenc is in Hertz. The frequenc f in Hertz is given b f = ω π. The pitch of a pure tone is logarithmicall related to the frequenc. An octave is a frequenc range between f and f for a given frequenc f in Hertz. Tones separated b an octave are perceived b our ears to be ver similar. In western music, an octave is divided into notes equall spaced on the logarithmic scale. The ordering of notes in the octave beginning at the frequenc Hz are shown below + B n sin nπt ] Note A A# B C C# D D# E F F# G G# A Frequenc (Hz) 33 47 6 77 94 3 33 349 37 39 44 44 A more complicated tone can be represented b a Fourier series of the form (t) = a cos (ωt + φ ) + a cos (ωt + φ ) +...

56CHAPTER 4. TIME-FREQUENCY ANAYSIS: FOURIER TRANSFORMS AND WAVEETS 4..8 Eercises. In this section, we learned how to epress a function f () as a Fourier series, that is we learned how to compute the coeffi cients A, A n and B n ( for n =,, 3,... such that f () = A + A n cos nπ + B n sin nπ ). Suppose that f () represents some one-dimensional signal and we are given its Fourier series representation, that is we are given A, A n and B n. How would one recover the signal f () from these coeffi cients?. Using question, give an idea how one might remove noise from a nois signal given b a function f (). Give some justification to our idea. Give some shortcomings our method might have, if an. 3. Using question, give an idea how one might compress a signal given b a function f (). Give some justification to our idea. Give some shortcomings our method might have, if an.

Bibliograph [] M. C, S. M, Y. Z, V. C., Big data: related technologies, challenges and future prospects, Springer, 4. [] J. D, Big data, data mining, and machine learning: value creation for business leaders and practitioners, John Wile & Sons, 4. [3]. G, What s this all about?, Time, 86 (5), pp. 4 43. [4] H. A. K, Big Data: techniques and technologies in geoinformatics, CRC Press, 4. [5] J. N. K, Data-Driven Modeling & Scientific Computation: Methods for Comple Sstems and Big Data, Oford Universit Press, 3. [6] F. R. I, Google le nouvel einstein, Science & Vie, 38 (), pp. 46 63. [7] K.-C., H. J,. T. Y, A. C, Big Data: Algorithms, Analtics, and Applications, CRC Press, 5. [8] T. M P, Will our data drown us, IEEE Spectrum, (5), pp. 67 69. [9] T. P, Giving our bod a "check engine" light, IEEE Spectrum, (5), pp. 34 36. []. S, Should ou get paid for our data, IEEE Spectrum, (5), pp. 6 6. [] E. S, Their prescription: Big data, IEEE Spectrum, (5), pp. 58 59. [] S. Q. Y, Big data analsis for bioinformatics and biomedical discoveries, CRC Press, 6. 3