PHYS 301 HOMEWORK #9-- SOLUTIONS

Similar documents
PHYSICS 301/MATH 355 HOMEWORK #8

2.9 Dirac Notation Vectors ji that are orthonormal hk ji = k,j span a vector space and express the identity operator I of the space as (1.

Towards understanding the Lorenz curve using the Uniform distribution. Chris J. Stephens. Newcastle City Council, Newcastle upon Tyne, UK

MATH 2710: NOTES FOR ANALYSIS

Chapter 10. Classical Fourier Series

Elementary Analysis in Q p

FOURIER SERIES PART III: APPLICATIONS

Solutions to Problem Set 5

Complex Analysis Homework 1

2 Fourier Series. 2.1 Complex Fourier Series The phases exp(inx)/ p 2, one for each integer n, are orthonormal on an interval of length 2 Z 2

MATH 361: NUMBER THEORY EIGHTH LECTURE

Advanced Calculus I. Part A, for both Section 200 and Section 501

Computer arithmetic. Intensive Computation. Annalisa Massini 2017/2018

Solved Problems. (a) (b) (c) Figure P4.1 Simple Classification Problems First we draw a line between each set of dark and light data points.

Series Handout A. 1. Determine which of the following sums are geometric. If the sum is geometric, express the sum in closed form.

Real Analysis 1 Fall Homework 3. a n.

CMSC 425: Lecture 4 Geometry and Geometric Programming

The Euler Phi Function

Chapter 7 Rational and Irrational Numbers

PROFIT MAXIMIZATION. π = p y Σ n i=1 w i x i (2)

Introduction to Group Theory Note 1

Economics 101. Lecture 7 - Monopoly and Oligopoly

F(p) y + 3y + 2y = δ(t a) y(0) = 0 and y (0) = 0.

Homework 2 - Solutions

PHYS 301 HOMEWORK #13-- SOLUTIONS

4. Score normalization technical details We now discuss the technical details of the score normalization method.

Math 104B: Number Theory II (Winter 2012)

I Poles & zeros. I First-order systems. I Second-order systems. I E ect of additional poles. I E ect of zeros. I E ect of nonlinearities

ute measures of uncertainty called standard errors for these b j estimates and the resulting forecasts if certain conditions are satis- ed. Note the e

MATH 361: NUMBER THEORY ELEVENTH LECTURE

Periodic functions: simple harmonic oscillator

HENSEL S LEMMA KEITH CONRAD

1. Solve the boundary-value problems or else show that no solutions exist. y (x) = c 1 e 2x + c 2 e 3x. (3)

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

ECE 534 Information Theory - Midterm 2

Fourier Series Tutorial

Supplementary Materials for Robust Estimation of the False Discovery Rate

Session 5: Review of Classical Astrodynamics

Elliptic Curves Spring 2015 Problem Set #1 Due: 02/13/2015

COMPUTING FOURIER SERIES

Approximating min-max k-clustering

ANALYTIC NUMBER THEORY AND DIRICHLET S THEOREM

f(r) = a d n) d + + a0 = 0

Section 0.10: Complex Numbers from Precalculus Prerequisites a.k.a. Chapter 0 by Carl Stitz, PhD, and Jeff Zeager, PhD, is available under a Creative

Almost 4000 years ago, Babylonians had discovered the following approximation to. x 2 dy 2 =1, (5.0.2)

3. Show that if there are 23 people in a room, the probability is less than one half that no two of them share the same birthday.

Convex Analysis and Economic Theory Winter 2018

Participation Factors. However, it does not give the influence of each state on the mode.

Math 121: Calculus 1 - Fall 2012/2013 Review of Precalculus Concepts

Lecture 6. 2 Recurrence/transience, harmonic functions and martingales

Use of Transformations and the Repeated Statement in PROC GLM in SAS Ed Stanek

PRIME NUMBERS YANKI LEKILI

PHYS 301 HOMEWORK #4

Pell's Equation and Fundamental Units Pell's equation was first introduced to me in the number theory class at Caltech that I never comleted. It was r

Problem set 6 for Quantum Field Theory course

8.7 Associated and Non-associated Flow Rules

Various Proofs for the Decrease Monotonicity of the Schatten s Power Norm, Various Families of R n Norms and Some Open Problems

Statics and dynamics: some elementary concepts

The Fekete Szegő theorem with splitting conditions: Part I

A construction of bent functions from plateaued functions

Math 205b Homework 2 Solutions

{ sin(t), t [0, sketch the graph of this f(t) = L 1 {F(p)}.

Cryptanalysis of Pseudorandom Generators

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION COURSE III. Wednesday, August 16, :30 to 11:30 a.m.

CSC165H, Mathematical expression and reasoning for computer science week 12

ON THE SET a x + b g x (mod p) 1 Introduction

Round-off Errors and Computer Arithmetic - (1.2)

Ordered and disordered dynamics in random networks

we get our formula for the saddle-point integral (5.294) h(w) e xf(w). (5.301) xf 00 (w) (w j )

p-adic Measures and Bernoulli Numbers

Sets of Real Numbers

Principal Components Analysis and Unsupervised Hebbian Learning

3.4 Design Methods for Fractional Delay Allpass Filters

ECON Answers Homework #2

John Weatherwax. Analysis of Parallel Depth First Search Algorithms

ALGEBRAIC TOPOLOGY MASTERMATH (FALL 2014) Written exam, 21/01/2015, 3 hours Outline of solutions

SUMS OF TWO SQUARES PAIR CORRELATION & DISTRIBUTION IN SHORT INTERVALS

Elementary theory of L p spaces

1 Gambler s Ruin Problem

Simplifications to Conservation Equations

DIRICHLET S THEOREM ON PRIMES IN ARITHMETIC PROGRESSIONS. 1. Introduction

19th Bay Area Mathematical Olympiad. Problems and Solutions. February 28, 2017

ON POLYNOMIAL SELECTION FOR THE GENERAL NUMBER FIELD SIEVE

Estimation of Separable Representations in Psychophysical Experiments

Pretest (Optional) Use as an additional pacing tool to guide instruction. August 21

AMS10 HW1 Grading Rubric

Brownian Motion and Random Prime Factorization

A Special Case of the Filon Quadrature

Number Theory Naoki Sato

On the Rank of the Elliptic Curve y 2 = x(x p)(x 2)

Beam-Beam Stability in Electron-Positron Storage Rings

GENERICITY OF INFINITE-ORDER ELEMENTS IN HYPERBOLIC GROUPS

Theoretical Statistical Physics

On the stability and integration of Hamilton-Poisson systems on so(3)

Solutions to Homework #05 MATH ln z 2 + x 2 1 = 2x2 z 2 + x 2 + ln z2 + x 2. = x. ln z 2 + x 2 2z z 2 + x 2 = 2xz

Solution Week 75 (2/16/04) Hanging chain

A glimpse of Fourier analysis

Lecture 10: Hypercontractivity

RANDOM WALKS AND PERCOLATION: AN ANALYSIS OF CURRENT RESEARCH ON MODELING NATURAL PROCESSES

DIVISIBILITY CRITERIA FOR CLASS NUMBERS OF IMAGINARY QUADRATIC FIELDS

Transcription:

PHYS 0 HOMEWORK #9-- SOLUTIONS. We are asked to use Dirichlet' s theorem to determine the value of f (x) as defined below at x = 0, ± /, ± f(x) = 0, - < x <, < x < Dirichlet's theorem tells us that the Fourier series will converge to the value of f(x) for those values of x where f is continuous, and will converge to the midoint of f(x) at discontinuities. The Fourier series for this function is: f x = Å 4 -Å Å cos x - cos x + cos 5 x 5 -... + sin x sin x - + sin x + sin 5 x - sin 6 x +... 5 6 Let' s lot a few cycles of this grah to show it is eriodic and to see where the discontinuities lie. I will lot this using the analytical exression for the Fourier coefficients a 0, a n, and b n which you can find easily from integrating the simle ste function.

hys0-009hw9s.nb Plot 4 Sum Sin n Cos n x n, n,, 5 Sum ^ n Cos n Sin n x n, n,, 5, x,,.0 0.8 0.6 0.4 0. -5 5 The function is continuous at x = 0, so the Fourier series converges to the value of function. We know from the definition of the function above that f (0) = 0. Recalling that cos 0 = and sin 0 = 0, this imlies : f 0 = 0 = Å 4 -Å -Å +Å 5 -Å 7 +... Which imlies that : Å 4 = -Å +Å 5 -Å 7 -... A result that we obtained in class and is shown on. 58 of Boas. The function is discontinuous at x = /; the midoint of the jum is /, so the value of f (/) = /. All of the cos terms in this Fourier series will be zero since cos (n /) = 0 for odd values of n, and sin (n /) is zero for even values of n, and is either + or - deending on whether n=,5,9,... or n=,7,... These results imly:

hys0-009hw9s.nb f Å = Å = Å 4 +Å -Å +Å 5 -Å 7 +... A result we already know. We can see that the function is discontinuous at x = ± by lotting several cycles of this function: The value of x at x= ± is just the midoint of the jum, so that the value of the function at ± is simly /. You should do the exercise of substituting + and - into the Fourier series exression to show that your resulting value is in fact /. Similarly, the function is continuous at x=-/, so f(-/)=0.. We need only to do the function defined in a).we will first calculate the sine/cos series, then the comlex series, then lot the function defined below. Our function is: f x = x, - < x < To find the Fourier coefficients : a 0 = Å x dx = Å - x = Å - = Å a n = Å x cos nx dx = Å - x n sin nx -Å n x sin nx dx - - = Å x n sin nx -Å n -x n cos nx - - n Å cos nx - - = Å 0 +Å n Å cos n - - cos -n + 0 = n 4 cos n n = 4 - n n To calculate b n, we could either exlicitly integrate the aroriate Fourier integral, or we can aeal to the symmetry of the functions involved. We know that x is an even function, and sin (n x) is an odd function. The roduct of an even and odd function is itself an odd function, and

4 hys0-009hw9s.nb the value of the integral of an odd function between limits symmetric across the origin is zero. In other words: -L Lf odd function dx = 0 Thus, by using the symmetry of these functions, we know that b n is 0. Therefore, we can write the sin/cos Fourier series for this function as: f x = + 4 S - n cos nx n= n To find the comlex series, find the comlex coefficients, c n : c n = f x e -inx dx = - x e -inx dx - In the case that n = 0, we obtain simly for c 0 : c 0 = x dx = - We solve this integral by arts; for ease of tying I will omit limits and aly those at the end. c n = x e -inx = -x in e-inx + in xe -inx dx = -x in + in -x in e-inx + in e -inx dx = e -inx in x + nx - i n - = - n 4 n In making the final evaluation, we make use of the fact that : e -in = cos (n ) - i sin(n ) = cos(n ) = - n.

hys0-009hw9s.nb 5 Finally, we lot three cycles of the Fourier Series using the Fourier coefficients defined above : Plot 4 Sum n Cos n x n^, n,, 7, x,, 0 8 6 4-5 5. We are asked to find the Fourier series for the function : f x = e x, - < x < Finding the Fourier coefficients : a 0 = Å e x dx = - Å e - e - To find the Fourier coefficients a n and b n, lease refer to roblem 7 of HW 7 in which we solved an integral very similar to what you will need here. Quoting only the results: e x cos nx dx = - n sinh a n = Å - n + where sinh is the hyerbolic sine function defined as : sinh x = ex - e -x.

6 hys0-009hw9s.nb The cosh function is similarly : cosh x = ex + e -x e x sin nx dx = - - n n sinh b n = Å - n + So that our Fourier series is : f x = sinh sinh + sinh S + -cos x + cos x 5 - n S - n n sin nx cos nx - = n + n + - cos x 0 +... + sin x - sin x 5 + sin x 0 +... () () Plotting this Fourier series over cycles : Plot Sinh Sum n Sinh Cos n x n^, n,, 9 Sum n n Sinh Sin n x n^, n,, 9, x,, 5 0 5 0 5-5 5 And now lotting the Fourier Series from - to and overlaying two oints which we know to be on the curve; this Fourier series aears to be a very good fit to the function e x.

hys0-009hw9s.nb 7 g Plot Sinh Sum n Sinh Cos n x n^, n,, 9 Sum n n Sinh Sin n x n^, n,, 9, x,,, Eilog Red, PointSize Large, Point, Ex,, Ex 5 0 5 0 5 - - - Comlex Fourier Series : We now solve the coefficients for the comlex Fourier series. We need to comute : c 0 = e x dx and c n = - e x e -inx dx - These are both very easy integrals to evaluate : c 0 = e x dx = - e - e - = sinh c n = e x e -inx dx = - e x -in dx = - - in e e -in - e - e in = cos n + in e - e - + n = - n sinh n + + in - n sinh + n = - n sinh -Å n n + i In reducing this exression, we recognize that e in = cos n ±i sin n = cos(n ) since sin n is always zero for integer values of n. Additionally, we

8 hys0-009hw9s.nb multily numerator and denominator by the comlex conjugate of the term (-i n). In the last ste, we make use of the relationshi i = -, so that i = -/i. The comlex Fourier series is written as: f x = S cn e inx n=- where the index n now runs from minus infinity to lus infinity. If we grou terms as : f x = c 0 + c e ix + c - e - ix + c e ix + c e -ix +... we can write this comlex Fourier series as : f x = sinh + -e ix + eix i - e -ix - e-ix i + e ix 5 - eix 5 i + e-ix 5 - e-ix 5 i... = sinh + - cos x + sin x + cos x - sin x +... 5 5 We roduce the final equation in () by recalling the definitions of cos nx and sin nx : cos nx = einx + e -inx and sin n x = einx - e -inx i And we find, as we exect, that the exression in () matches the exression in (). () 4. We wish to roduce the Fourier Series for the function : f x = - x on - < x < This is our first encounter with eriodic Fourier series on an interval other than. In this case, we use the following versions of Fourier equations : f x = a 0 + S an cos n x n= L + b n sin n x L

hys0-009hw9s.nb 9 where the coefficients are : a n = Lf L x cos n x -L L dx and b n = Lf L x sin n x -L L dx In our current case, L =, and so we roceed : a 0 = Å - x dx = 4 - a n = Å - x cos n x - dx = Integrate x Cos n x, x,,, Assumtions Element n, Integers 0 To find the b n coefficients: b n = Å - x sin n x - dx = Integrate x Sin n x, x,,, Assumtions Element n, Integers 4 n n We then write the Fourier series on this interval as : f x = +Å 4 S - n sin n x n= n = (4) +Å 4 sin x -sin x + - sin x +... (5) Plotting this series over three cycles :

0 hys0-009hw9s.nb Plot 4 Sum ^n Sin n x n, n,, 5, x, 6, 6 4-6 -4-4 6 We can also check Dirichlet' s theorem by using our series in eq. (4) by solving for the value of the function at the jum at x =. We have from equation (4) : f x = +Å 4 S - n sin n x n= n f = +Å 4 S - n sin n n = fl since all sin (n ) terms are zero for integer values of n. This result equals the midoint of the jum at x =, and is consistent with Dirichlet' s theorem. Comlex Fourier Series The comlex Fourier series is given by (Boas,. 6) : f x = inx L S cn e n=- where the comlex coefficients are determined from : c 0 = Lf L x dx c n = L -L L f x e -inx L dx -L for this function, L =, f (x) = - x, and our integrals become : c 0 = Å 4 - x dx = -

hys0-009hw9s.nb c n = Å 4 - x e -inx dx = - Integrate x Ex n x, x,,, Assumtions Element n, Integers 4 Abs n n n n i where use the relationshi i = -/i in the last ste. We can then write the comlex Fourier series as : f x = + i - n S n=- n Look at the inut statement above. In articular, notice how we write the imaginary number in Mathematica code. If you use a simle "i" keystroke, Mathematica will assume "i" reresents a new variable name; in order to indicate the imaginary number, you enter the  iiâ; in other words, hit the escae key, the "i" key twice, followed by the escae key, with no intervening saces. We can use our comuted coefficients to write the first several terms of the comlex Fourier series : f x = c 0 + c e i x + c e -i x + c e ix + c e -ix + c e ix + c - e -ix +... = + i -ei x + e -i x + ei x - ei x + -ei x + e-i x +... = + Å sin x - sin x + sin x - +... (6) which matches the Fourier exansion in eqs. (4) and (5) 5. Find the Fourier series for : f x = sin x on the interval -Å < x < Å Here, L = /, so we have :

hys0-009hw9s.nb a 0 = sin xdx = - cos - cos - = 0 - a n = sin x cos n x dx = 0 - b n = sin x sin nx dx = - Integrate Sin x Sin n x, x,,, Assumtions Element n, Integers 8 n n 4n and to be sure that we cover all ossible cases, we exlicitly evaluate the case for n = : Integrate Sin x Sin x, x,, 8 The Fourier series for this function is then : f x = Å 8 S - n n sin nx = Å 8 n= - 4 n sin x - sin 4 x 5 + sin 6 x 5 -... Plotting cycles of this function gives us : Plot 8 Sum ^n n Sin n x 4 n, n,, 5, x,,.0 0.5 -.5 -.0-0.5 0.5.0.5-0.5 -.0 How well does this Fourier series aroximate sin ( x) on the interval (-/./)? Let' s lot the Fourier exansion and the curve for sin( x) on the same set of axes (with the sin ( x) grah lotted as a thick urle line and the Fourier series lotted with a blue, thick, dashed line) :

hys0-009hw9s.nb Plot Sin x, 8 Sum ^n n Sin n x 4 n, n,, 5, x,,, PlotStyle Thick, Purle, Blue, Thick, Dashed.0 0.5-0.4-0. 0. 0.4-0.5 -.0 And the first 5 terms of the Fourier series converge very closely to the curve of sin ( x). The Comlex Fourier series We find the coefficients : c 0 = sin x dx = - cos - cos - = 0 - c n = sin x e - inx dx = - Integrate Sin x Ex n x, x,,, Assumtions Element n, Integers 4 n n 4n We can write the result in outut line [8] as : -4i - n n - 4 n = 4 - n n i - 4 n so that our comlex Fourier series is : f x = Å 4 S - n n - i - 4 n ein x