Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Σχετικά έγγραφα
Section 8.3 Trigonometric Equations

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

Math221: HW# 1 solutions

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Example Sheet 3 Solutions

PARTIAL NOTES for 6.1 Trigonometric Identities

Section 7.6 Double and Half Angle Formulas

2 Composition. Invertible Mappings

CRASH COURSE IN PRECALCULUS

D Alembert s Solution to the Wave Equation

Areas and Lengths in Polar Coordinates

Areas and Lengths in Polar Coordinates

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD

If we restrict the domain of y = sin x to [ π, π ], the restrict function. y = sin x, π 2 x π 2

Inverse trigonometric functions & General Solution of Trigonometric Equations

If we restrict the domain of y = sin x to [ π 2, π 2

The Simply Typed Lambda Calculus

Fourier Analysis of Waves

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Homework 8 Model Solution Section

DiracDelta. Notations. Primary definition. Specific values. General characteristics. Traditional name. Traditional notation

Trigonometric Formula Sheet

Arithmetical applications of lagrangian interpolation. Tanguy Rivoal. Institut Fourier CNRS and Université de Grenoble 1

Finite Field Problems: Solutions

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Srednicki Chapter 55

EE512: Error Control Coding

C.S. 430 Assignment 6, Sample Solutions

Every set of first-order formulas is equivalent to an independent set

Section 9.2 Polar Equations and Graphs

Homework 3 Solutions

ST5224: Advanced Statistical Theory II

Section 7.7 Product-to-Sum and Sum-to-Product Formulas

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Matrices and Determinants

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Trigonometry 1.TRIGONOMETRIC RATIOS

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Approximation of distance between locations on earth given by latitude and longitude

Spherical Coordinates

Solution Series 9. i=1 x i and i=1 x i.

Uniform Convergence of Fourier Series Michael Taylor

Other Test Constructions: Likelihood Ratio & Bayes Tests

(a,b) Let s review the general definitions of trig functions first. (See back cover of your book) sin θ = b/r cos θ = a/r tan θ = b/a, a 0

Fractional Colorings and Zykov Products of graphs

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Second Order RLC Filters

Similarly, we may define hyperbolic functions cosh α and sinh α from the unit hyperbola

( y) Partial Differential Equations

University of Illinois at Urbana-Champaign ECE 310: Digital Signal Processing

Lecture 26: Circular domains

Econ Spring 2004 Instructor: Prof. Kiefer Solution to Problem set # 5. γ (0)

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Reminders: linear functions

Parametrized Surfaces

Solutions to Exercise Sheet 5

derivation of the Laplacian from rectangular to spherical coordinates

ECE Spring Prof. David R. Jackson ECE Dept. Notes 2

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Chapter 6 BLM Answers

Concrete Mathematics Exercises from 30 September 2016

4.6 Autoregressive Moving Average Model ARMA(1,1)

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Differential equations

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

1. If log x 2 y 2 = a, then dy / dx = x 2 + y 2 1] xy 2] y / x. 3] x / y 4] none of these

10/3/ revolution = 360 = 2 π radians = = x. 2π = x = 360 = : Measures of Angles and Rotations

1 String with massive end-points

Integrals in cylindrical, spherical coordinates (Sect. 15.7)

Pg The perimeter is P = 3x The area of a triangle is. where b is the base, h is the height. In our case b = x, then the area is

Review Test 3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Numerical Analysis FMN011

Homomorphism in Intuitionistic Fuzzy Automata

Differentiation exercise show differential equation

Statistical Inference I Locally most powerful tests

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Lecture 2. Soundness and completeness of propositional logic

26 28 Find an equation of the tangent line to the curve at the given point Discuss the curve under the guidelines of Section

ECE 468: Digital Image Processing. Lecture 8

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

Derivations of Useful Trigonometric Identities

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Answer sheet: Third Midterm for Math 2339

( ) 2 and compare to M.

What happens when two or more waves overlap in a certain region of space at the same time?

An Inventory of Continuous Distributions

Bessel functions. ν + 1 ; 1 = 0 for k = 0, 1, 2,..., n 1. Γ( n + k + 1) = ( 1) n J n (z). Γ(n + k + 1) k!

Section 8.2 Graphs of Polar Equations

Evaluation of some non-elementary integrals of sine, cosine and exponential integrals type

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

F19MC2 Solutions 9 Complex Analysis

Congruence Classes of Invertible Matrices of Order 3 over F 2

Finite difference method for 2-D heat equation

Transcript:

Fourier Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018

Introduction Not all functions can be represented by Taylor series. f (k) (c) A Taylor series f (x) = (x c) k is exact at x = c k! k=0 but as x moves away from c the error in the Taylor n f (k) (c) polynomial P n (x) = (x c) k grows quickly. k! k=0 Many natural phenomena are periodic and thus we may use periodic functions such as sine and cosine in infinite series.

Periodic Functions Definition A function f (x) is periodic with period T if f (x + T ) = f (x) for all x.

Periodic Functions Definition A function f (x) is periodic with period T if f (x + T ) = f (x) for all x. Example sin(k x) is periodic of period 2π k since ( [ sin k x + 2π ]) = sin (kx + 2π) = sin(k x). k Likewise cos(k x) is periodic of period 2π k.

Fourier Series Definition A Fourier Series with period 2π is an infinite series of the form a 0 2 + (a k cos(k x) + b k sin(k x)) where a k for k = 0, 1,... and b k for k = 1, 2,... are constants.

Fourier Series Definition A Fourier Series with period 2π is an infinite series of the form a 0 2 + (a k cos(k x) + b k sin(k x)) where a k for k = 0, 1,... and b k for k = 1, 2,... are constants. Questions: Which functions can be represented by Fourier series? How do we calculate the coefficients (a k and b k ) of the series? Does the Fourier series converge? If the series converges, to what function?

Answers Suppose the Fourier series converges for x π then f (x) = a 0 2 + (a k cos(kx) + b k sin(kx)) and f (x) must be 2π-periodic for all x. 10 y 8 6 4 2-3 π -2 π -π π 2 π 3 π x

Calculating the Coefficients (1 of 6) Suppose f (x) = a 0 2 + (a k cos(k x) + b k sin(k x)) Since a 0 appears outside of the infinite series, we will find it first.

Calculating the Coefficients (1 of 6) Suppose f (x) = a 0 2 + (a k cos(k x) + b k sin(k x)) Since a 0 appears outside of the infinite series, we will find it first. Integrate both sides of the equation on [, π]. f (x) dx = a 0 2 dx + (a k cos(k x) dx + b k ) sin(k x) dx

Calculating the Coefficients (2 of 6) Note: a 0 2 dx = a 0π cos(k x) dx = 0 sin(k x) dx = 0

Calculating the Coefficients (2 of 6) Note: a 0 2 dx = a 0π cos(k x) dx = 0 sin(k x) dx = 0 Thus f (x) dx = a 0 π a 0 = 1 π f (x) dx

Calculating the Coefficients (3 of 6) To calculate a n for n = 1, 2,..., multiply both sides of the Fourier series by cos(n x) and integrate over [, π]. = f (x) cos(n x) dx a 0 cos(n x) dx 2 + (a k cos(k x) cos(n x) dx + b k ) sin(k x) cos(n x) dx

Calculating the Coefficients (3 of 6) To calculate a n for n = 1, 2,..., multiply both sides of the Fourier series by cos(n x) and integrate over [, π]. = f (x) cos(n x) dx a 0 cos(n x) dx 2 + (a k cos(k x) cos(n x) dx + b k ) sin(k x) cos(n x) dx Two new types of definite integral appear on the right hand side of the equation. cos(k x) cos(n x) dx and sin(k x) cos(n x) dx We should evaluate them first.

Product-to-Sum Formulas We will need the trigonometric identities: cos(k x) cos(n x) = 1 (cos(n + k)x + cos(n k)x) 2 sin(k x) cos(n x) = 1 (sin(n + k)x sin(n k)x) 2 Proof. cos(n + k)x + cos(n k)x = cos(n x) cos(k x) sin(n x) sin(k x) + cos(n x) cos(k x) + sin(n x) sin(k x) = 2 cos(n x) cos(k x) sin(n + k)x sin(n k)x = sin(n x) cos(k x) + cos(n x) sin(k x) sin(n x) cos(k x) + cos(n x) sin(k x) = 2 cos(n x) sin(k x)

cos(k x) cos(n x) dx cos(k x) cos(n x) dx = 1 cos(n k)x + cos(n + k)x dx 2 = 1 [ ] sin(n k)x sin(n + k)x x=π + 2 n k n + k x= = 0 if n k. cos(n x) cos(n x) dx = cos(k x) cos(n x) dx = = 1 2 = 1 2 = π cos 2 (n x) dx (1 + cos(2n x)) dx [ x + 1 sin(2n x) 2n { 0 if n k, π if n = k. ] x=π x=

sin(kx) cos(nx) dx sin(k x) cos(n x) dx = 1 sin(n + k)x sin(n k)x dx 2 = 1 [ ] cos(n + k)x cos(n k)x x=π + 2 n + k n k x= = 0 if n k sin(n x) cos(n x) dx = 1 sin(2n x) dx 2 [ cos(2n x) ] x=π = 1 2 = 0 2n x=

Calculating the Coefficients (4 of 6) Now if = f (x) cos(n x) dx a 0 cos(n x) dx 2 + (a k cos(k x) cos(n x) dx + b k ) sin(k x) cos(n x) dx then f (x) cos(n x) dx = a n cos 2 (n x) dx = a n π a n = 1 π f (x) cos(n x) dx.

Calculating the Coefficients (5 of 6) To calculate b n for n = 1, 2,... multiply both sides of the Fourier series by sin(nx) and integrate over [, π]. = f (x) sin(n x) dx a 0 sin(n x) dx 2 + (a k cos(k x) sin(n x) dx + b k ) sin(k x) sin(n x) dx

Calculating the Coefficients (5 of 6) To calculate b n for n = 1, 2,... multiply both sides of the Fourier series by sin(nx) and integrate over [, π]. = f (x) sin(n x) dx a 0 sin(n x) dx 2 + (a k cos(k x) sin(n x) dx + b k ) sin(k x) sin(n x) dx One new type of definite integral appears on the right hand side of the equation. We should evaluate it first. sin(k x) sin(n x) dx

Product-to-Sum Formulas We will need the trigonometric identity: sin(k x) sin(n x) = 1 (cos(n k)x cos(n + k)x) 2 Proof. cos(n k)x cos(n + k)x = cos(n x) cos(k x) + sin(n x) sin(k x) cos(n x) cos(k x) + sin(n x) sin(k x) = 2 sin(n x) sin(k x)

sin(kx) sin(nx) dx sin(k x) sin(n x) dx = 1 cos(n k)x cos(n + k)x dx 2 = 1 [ ] sin(n k)x sin(n + k)x x=π 2 n k n + k x= = 0 if n k sin(n x) sin(n x) dx = sin(k x) sin(n x) dx = = 1 2 = 1 2 = π sin 2 (n x) dx (1 cos(2n x)) dx [ x + 1 sin(2n x) 2n { 0 if n k, π if n = k. ] x=π x=

Calculating the Coefficients (6 of 6) Now if = f (x) sin(n x) dx a 0 sin(n x) dx 2 + (a k cos(k x) sin(n x) dx + b k ) sin(k x) sin(n x) dx then f (x) sin(n x) dx = b n sin 2 (n x) dx = b n π b n = 1 π f (x) sin(n x) dx.

Euler-Fourier Formulas To summarize, the coefficients of the Fourier series for a 2π-periodic function f (x) are: a 0 = 1 π a k = 1 π b k = 1 π f (x) dx f (x) cos(k x) dx (k = 1, 2,...) f (x) sin(k x) dx (k = 1, 2,...)

Example Find the Fourier series representation of the 2π-periodic extension of the function { 0 if < x < 0 f (x) = 1 if 0 < x < π. 1.0 y 0.8 0.6 0.4 0.2-2 π -π π 2 π x

Solution a 0 = 1 π a k = 1 π f (x) dx = 1 π f (x) cos(k x) dx = 1 π 0 (1) dx = 1 0 (1) cos(k x) dx = 0 b k = 1 f (x) sin(k x) dx = 1 (1) sin(k x) dx π π 0 = 1 [ ] cos(k x) x=π = 1 π k k π (1 cos(kπ)) = (1 ( 1)k ) k π x=0

Partial Sums f (x) = 1 2 + y (1 ( 1) k ) πk sin(k x) y 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2-2 π -π π 2 π x -2 π -π π 2 π x n = 5 n = 10 y y 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2-2 π -π π 2 π x -2 π -π π 2 π x n = 50 n = 100

Example Find the Fourier series representation of the 2π-periodic extension of the function { 0 if < x < 0 f (x) = π x if 0 < x < π. y 3.0 2.5 2.0 1.5 1.0 0.5-3 π -2 π -π π 2 π 3 π x

Solution [πx x 2 ] x=π a 0 = 1 π a k = 1 π = 1 kπ 0 f (x) dx = 1 π f (x) cos(k x) dx = 1 π 0 sin(k x) dx = 1 k 2 π (π x) dx = 1 π 0 2 (π x) cos(k x) dx x=0 = π 2 [ cos(k x)]x=π x=0 = (1 ( 1)k ) k 2 π b k = 1 f (x) sin(k x) dx = 1 (π x) sin(k x) dx π π 0 = 1 ([ ] (π x) cos(k x) x=π + 1 ) cos(k x) dx = 1 π k x=0 k 0 k

Solution f (x) = π 4 + y ( (1 ( 1) k ) πk 2 cos(k x) + 1 ) sin(k x) k y 3.0 3.0 2.5 2.5 2.0 2.0 1.5 1.5 1.0 1.0 0.5-3 π -2 π -π π 2 π 3 π x 0.5-3 π -2 π -π π 2 π 3 π x n = 5 n = 10 y y 3 3 2 2 1 1-3 π -2 π -π π 2 π 3 π x -3 π -2 π -π π 2 π 3 π x n = 50 n = 100

Functions of Period T 2π If f is a function of period T = 2L > 0 then the Fourier series for f is a 0 2 + [ ( ) ( )] kπx kπx a k cos + b k sin L L where a 0 = 1 L a k = 1 L b k = 1 L L L L L L L f (x) dx ( ) kπx f (x) cos dx (k = 1, 2,...) L ( ) kπx f (x) sin dx (k = 1, 2,...) L

Convergence of Fourier Series Theorem If f is 2L-periodic and f and f are continuous on [ L, L] except for at most a finite number of jump discontinuities, then f has a convergent Fourier series expansion. f (x) = a 0 2 + [ a k cos ( kπx L ) ( kπx + b k sin L The series converges to f (c) if f is continuous at x = c. If f has a jump discontinuity at x = c then the series converges to ( ) 1 lim f (x) + lim 2 f (x). x c x c + )]

Example Find the Fourier series representation of the 2-periodic extension of the function f (x) = x. 1.0 y 0.8 0.6 0.4 0.2-3 -2-1 1 2 3 x

Solution a 0 = a k = b k = 1 1 1 = 2 k π f (x) dx = 2 1 1 1 1 1 f (x) cos(kπx) dx = 2 0 0 [ x 2 x dx = 2 2 1 0 ] x=1 x=0 = 1 x cos(k πx) dx sin(kπx) dx = 2 k 2 π 2 [cos(kπx)]x=1 x=0 = 2(( 1)k 1) k 2 π 2 f (x) sin(kπx) dx = 0

Solution f (x) = x = 1 2 + y 2(( 1) k 1) π 2 k 2 cos(kπx) y 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 x -3-2 -1 1 2 3-3 -2-1 1 2 3 n = 5 n = 10 y y x 1.0 1.0 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 x -3-2 -1 1 2 3-3 -2-1 1 2 3 n = 50 n = 100 x

Example Find the Fourier series representation of the 2-periodic extension of the function f (x) = x 2. Use the series and the Fourier Convergence Theorem to find the sums: 1 k 2 and 1.0 y ( 1) k k 2. 0.8 0.6 0.4 0.2-3 -2-1 1 2 3 x

Solution (1 of 3) a 0 = a k = 1 1 1 = 4 kπ = 4 kπ = b k = x 2 dx = 2 1 1 1 x 2 cos(kπx) dx = 2 0 ( [ x 0 x sin(k πx) dx kπ cos(kπx) [ x x 2 3 dx = 2 3 ] x=1 x=0 4 4( 1)k k 2 cos(kπ) = π2 k 2 π 2 1 1 x 2 sin(kπx) dx = 0 1 0 ] x=1 x=0 = 2 3 x 2 cos(kπx) dx ) 1 1 + cos(kπx) dx 0 kπ

Solution (2 of 3) x 2 = 1 3 + 4( 1) k k 2 π 2 cos(kπx) = 1 3 + 4 π 2 ( 1) k cos(kπx) k 2

Solution (2 of 3) x 2 = 1 3 + 4( 1) k k 2 π 2 cos(kπx) = 1 3 + 4 π 2 ( 1) k k 2 cos(kπx) Let x = 0, then (0) 2 = 1 3 + 4 ( 1) k π 2 2 12 k 2 0 = 1 3 + 4 ( 1) k π 2 = ( 1) k k 2. k 2 cos(kπ(0))

Solution (3 of 3) x 2 = 1 3 + 4 π 2 Let x = 1, then ( 1) k k 2 cos(kπx) (1) 2 = 1 3 + 4 ( 1) k π 2 cos(kπ(1)) k 2 1 = 1 3 + 4 ( 1) k π 2 ( 1) k π 2 6 = 1 k 2. k 2

Other Sums (1 of 2) x = 1 2 + 2 π 2 0 = 1 2 + 2 π 2 π 2 8 0 = 1 2 + 2 π 2 0 = 1 2 + 2 π 2 = 1 (2k 1) 2 (( 1) k 1) k 2 (( 1) k 1) k 2 (( 1) k 1) k 2 2 (2k 1) 2 cos(kπx) cos(kπ(0))

Other Sums (2 of 2) f (x) = { 0 if < x < 0 1 if 0 < x < π. = 1 2 + (1 ( 1) k ) sin(k x) kπ = 1 2 + 2 1 sin((2k 1)x) π 2k 1 f (π/2) = 1 2 + 2 ( ) 1 (2k 1)π π 2k 1 sin 2 1 = 1 2 + 2 ( 1) k+1 π 2k 1 π 4 = ( 1) k+1 2k 1