34
Physics 351 — Friday, January 26, 2018 I Turn in HW1. We prefer for you to write your name only on the back page of your homework, so that we can avoid knowing whose paper we’re grading, until the end. I Pick up HW2 handout. It’s also online as a PDF. I Read first 30pp (§7.1–7.7) of Chapter 7 (Lagrange’s equations) for Monday, and answer the usual questions. I You can do the Mathematica extra credit any time you like (if at all), but the earlier you do it, the more you’ll be able to make use of Mathematica to reduce tedious algebra in your own homework. The “hands on start” chapters are a good tutorial. I found them both helpful and painless. Before class: use ∂f/∂y = d dx ∂f/∂y 0 to show that y = mx + b “extremizes” R x 1 x 0 dxf (x, y, y 0 ) with f (x, y, y 0 )= p 1+(y 0 ) 2 .

Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

  • Upload
    lydieu

  • View
    217

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Physics 351 — Friday, January 26, 2018

I Turn in HW1. We prefer for you to write your name only onthe back page of your homework, so that we can avoidknowing whose paper we’re grading, until the end.

I Pick up HW2 handout. It’s also online as a PDF.

I Read first 30pp (§7.1–7.7) of Chapter 7 (Lagrange’sequations) for Monday, and answer the usual questions.

I You can do the Mathematica extra credit any time you like (ifat all), but the earlier you do it, the more you’ll be able tomake use of Mathematica to reduce tedious algebra in yourown homework. The “hands on start” chapters are a goodtutorial. I found them both helpful and painless.

Before class: use ∂f/∂y = ddx ∂f/∂y

′ to show that y = mx+ b

“extremizes”∫ x1x0

dx f(x, y, y′) with f(x, y, y′) =√

1 + (y′)2.

Page 2: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 3: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 4: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Let’s go back to the complex-number driving force

For driving force F0eiωt, we found

x(t) = e−βt(Ae+Ωt +Be−Ωt) + Ceiωt

Once the transients have died away (after ∼ Q periods of ω0),

x(t) = Ceiωt

with

C =F0

−ω2 + 2iβω + ω20

Page 5: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Now suppose you have a more complicated driving force:

x+ 2βx+ ω20x = Fa e

iωat + Fb eiωbt

Since D is linear,

D[

Fa eiωat

−ω2a + 2iβωa + ω2

0

]= Fae

iωat

D[

Fb eiωbt

−ω2b + 2iβωb + ω2

0

]= Fbe

iωbt

D[

Fa eiωat

−ω2a + 2iβωa + ω2

0

+Fb e

iωbt

−ω2b + 2iβωb + ω2

0

]= Fae

iωat+Fbeiωbt

So the general solution is

x(t) =Fa e

iωat

−ω2a + 2iβωa + ω2

0

+Fb e

iωbt

−ω2b + 2iβωb + ω2

0

+ e−βt(Ae+Ωt+Be−Ωt)

where again the transient terms are irrelevant for t 1/β.

Page 6: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Now consider the more general case

x+ 2βx+ ω20x = f(t)

and suppose we’re able to write

f(t) =∑n

Fn eiωnt

Then it’s clear that the solution would be

x(t) = (transient) +∑n

Fn eiωnt

−ω2n + 2iβωn + ω2

0

If f(t) is periodic (period T ≡ 2π/ω), then Prof. Fourier tells us

f(t) =

+∞∑n=−∞

Fn einωt

Page 7: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

f(t) =

+∞∑n=−∞

Fn einωt

1

T

∫ +T/2

−T/2f(t) e−imωt dt =

∑n

FnT

∫ +T/2

−T/2dt ei(n−m)ωt =

∑n

Fnδmn = Fm

So the Fourier coefficient Fm is

Fm =1

T

∫ +T/2

−T/2f(t)e−imωt dt

Note: for f(t) real, F−m = F ∗m, i.e. the negative-frequencycoefficients are the complex conjugates of the correspondingpositive-frequency coefficients.

Page 8: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

f(t) =

+∞∑n=−∞

Fn einωt

with Fourier coefficient Fn given by

Fn =1

T

∫ +T/2

−T/2f(t)e−inωt dt

Exercise: use this complex-number Fourier formalism to find theFourier series for a square wave f(t) of period T = 2π/ω, with

f(t) = 0 for −T/2 < t < 0f(t) = A for 0 < t < T/2

Page 9: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 10: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 11: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

f(t) =

+∞∑n=−∞

Fn einωt Fn =

1

T

∫ +T/2

−T/2f(t)e−inωt dt

Exercise: use this complex-number Fourier formalism to find theFourier series for a triangle wave f(t) of period T = 2π/ω, with

f(t) = −2At/T for −T/2 < t < 0f(t) = 2At/T for 0 < t < T/2

hint :

∫te−inωtdt =

1 + inωt

(nω)2e−inωt

Page 12: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 13: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 14: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 15: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 16: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

f(t) =∑+∞

n=−∞ Fn einωt

Page 17: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 18: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 19: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 20: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 21: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Notice that the answer came out entirely real, even though weused complex exponentials. Also notice that this looks just like theresult from the book using sines and cosines:xn(t) = An cos(nωt− δn) An = fn√

(ω20−n2ω2)2+(2βnω)2

same δn

and 2fA/(πn) is just fn. (sin vs. cos depends on chosen timeoffset of square wave.)

Page 22: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Chapter 6

Page 23: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 24: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 25: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Let’s postpone going over the derivation of the Euler-Lagrangeequation until Monday. For now we’ll skip to the result.

Page 26: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

(skip for now)

Page 27: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

(skip for now)

Page 28: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

(skip for now)

Page 29: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

You already know how the story will end:

∂f

∂y=

d

dx

∂f

∂y′

Page 30: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Here’s another example:

When would this ever arise? Perhaps you want to find the pathy(x) followed by light when the index of refraction n(x) = a

√x.

Page 31: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 32: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Find a function y(x) that minimizes

I[y] =

∫ 1

0dx((y′)2 + 2yex

)subject to y(0) = 0 and y(1) = 1.

Page 33: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions
Page 34: Physics 351 | Friday, January 26, 2018positron.hep.upenn.edu/p351/files/p351_notes_20180126.pdf · It’s also online as a PDF. I Read rst 30pp ... and answer the usual questions

Physics 351 — Friday, January 26, 2018

I Turn in HW1. We prefer for you to write your name only onthe back page of your homework, so that we can avoidknowing whose paper we’re grading, until the end.

I Pick up HW2 handout. It’s also online as a PDF.

I Read first 30pp (§7.1–7.7) of Chapter 7 (Lagrange’sequations) for Monday, and answer the usual questions.

I You can do the Mathematica extra credit any time you like (ifat all), but the earlier you do it, the more you’ll be able tomake use of Mathematica to reduce tedious algebra in yourown homework. The “hands on start” chapters are a goodtutorial. I found them both helpful and painless.