final wednesday - math

6
Mon April 20 9.6 wave equation solutions via Fourier and d'Alembert Announcements: Warm-up Exercise : Last lecture I'll post course review notes practice final exam by Wednesday We'll provide a little more detail to the d Alembert traveling wanesoltns for X E IR and how they relate to F S Salty hope to 1B V P's Su also your last several HN problems We'll go through two examples one with free endpoints one with fixed endpoints but remember that for wave egh htt a'h the building block product salts are w s wx t Cz sin wa d ios awt dz sin awh oh O L w Wn hey oh 0 it w j n

Upload: others

Post on 02-Mar-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: final Wednesday - Math

Mon April 209.6 wave equation solutions via Fourier and d'Alembert

Announcements:

Warm-up Exercise:

Last lectureI'll post course review notes practicefinal exam byWednesday

We'll provide a little more detail to thedAlembert travelingwanesoltns for XE IRand howthey relate to F S Salty

hope to 1BVP's Sualsoyour last several HNproblemsWe'll go throughtwoexamples one with freeendpointsone with fixedendpoints

but rememberthat for waveeghhtt a'h

the building blockproductsalts are

ws w x tCzsinwa d ios awt dzsin awh

oh O L w Wn heyoh 0 it w j n

Page 2: final Wednesday - Math

The non Fourier series ("d'Alembert") approach to the wave equation: Forutt = a2uxx x

u x, 0 = f xut x, 0 = g x

the solution is

u x, t =12

f x at f x at1

2 ax at

x at

g s ds

=12

f x at f x at1

2 aG x a t G x a t .

(Here, G is any antiderivative of g). You check these facts, more or less, in problems 13-16 of the text.

You can combine the d'Alembert solution above with even and odd extensions of initial data from the interval 0 x L to solve the natural IBVP's that one can also solve with Fourier series. In this case you are not required to use Fourier series at all! But we'll use Fourier series to illustrate the connection between the two methods as well as to make movies for the traveling wave solutions. Our first example will be for the free-endpoint (type 2) boundary value problem, using the tent function. Our second example will be an impulse wave with fixed endpoints (type 1).

we know ucx.tl solves htt du from last time sinceany h x attsolves

hcxi.at W Eulx O z fk t fki t O f x

ut x t t f Ix att ta t f Catatta t Ia g x at a g x at 1as1 0 tf f Kil ai ai t Ealg x a gwa gk Stew

we'll illustrate theconnectiontodayThis is studiedmuch more deeply

is subsequent appliedmath physicscourses

Page 3: final Wednesday - Math

Example 1: Fourier series solution to type 2 boundary condition, re-interpreted in terms of traveling waves.

ut t = 9 ux x 0 x 2 , t 0

u x, 0 = f x 0 x 2 ut x, 0 = 0 0 x 2 ux 0, t = ux L, t = 0, t 0

In this example, f x is the 2 periodic tent x funtion that x from the interval , to .

f x = tent x =2

4

n = odd

1n2 cos n x .

Note that this is the Fourier series for this 2 L = 4 - periodic function, which also happens to be even and2 periodic.

1a) Use our building block product solutions and infinite superposition to find a formula for the solution u x, t

1b) Use addition angle formulas for cos to rewrite the solution as a sum of two traveling waves, one in each direction and with half the profile function as the initial displacement function f x = tent x . We know it has to be true, from page 1, that

u x, t =12

tent x 3 t tent x 3 t

a 3

type 2

tent Squareare our favorites

andoneis derivofthe

other

2E

Wwfh nhz.IE Mhz

includesh Iz m even

tent is its ownevenextension

from u x t E l In cos nx cost3 n th odd so that ulx o tentLx

Ut x o O

forthe complementarycase we'd extend

from with silt3h

u t Iz Yz Luz ios hx ios 3ht for n x ol On odd utla o tent11

Cos n x t n t t cos nx ntlcos atb

cosawsbzsinasihbeqe.twhlx.tl E E qd hwsnext34 t

adf.wsn Lx34

problem V z tent1 3t t tentCx3t

Page 4: final Wednesday - Math

1c) We worked out the formulas

u x, t = 2

4

n = odd

1n2 cos n x cos 3 n t

u x, t =4

2n = odd

1n2 cos n x 3 t

42

n = odd

1n2 cos n x 3 t

verifying

u x, t =12

tent x 3 t tent x 3 t

Now let's watch the movie at Desmos from which this screen shot was taken. The green wave is moving to the left, the purple one is moving to the right, and the red one is their superposition, u x, t :

Page 5: final Wednesday - Math

Example 2: This is for fun - if you ever take a physics class on wave phenomena you might see stuff like this. If we were still meeting in our classroom, which I miss, on the last day of class I would've brought ina slinky and we would've played with it. This visualization is the best we can do remotely.

Imagine: Two volunteers would've stretched ithe slinky practically the length of the classroom. We would've demonstrated the fundamental mode, and maybe the second mode of oscillation, for transverse oscillations with fixed endpoints. We would've shown that the slinky makes compression waves as well as transverse waves. By an accident of slinkiness, they each have approximately same wave speed, which we would've verified from our mathematical models. (This turns out to be because the slinky's tension is roughly proportional to the length it's been stretched.) We would've measured the speed of compression vs. transverse waves to test our math.

Finally, we would've shown that with fixed endpoints, a transverse impulse sent down the slinky by a person at one end, comes back the other way upside down. Which seems strange, until you think of superposition. Because you can envision the superposition of a wave train going in one direction with its opposite, going in the opposite direction, in such a way that at the ends of the slinky the two trains always cancel out exactly. Making the endpoints fixed.

With Desmos, we can pretend we're seeing the real thing! Consider the profile function on the interval 0,

f x =cos 4 x 0 x

8

08

x

The even extension feven x has this graph, courtesy of Fourier series and Desmos:

I

I

These are the sorts of tricks oneusestosolvethe various IBVP's via dAlembert

I

Page 6: final Wednesday - Math

I used technology (Maple, in my case) to compute the Fourier coefficients for feven t . This is the formula that results:

feven x =1

4 18

cos 4 x8

n 4

cosn8

n2 16cos nx .

We will use superposition and traveling waves for the wave equation with fixed boundary. Notice I haven't specified the initial displacement and velocity.

ut t = 4 ux x 0 x , t 0

u 0, t = u , t = 0, t 0 By the way we chose feven x , the following superposition of wave trains going in opposite directions

and with opposite sign will create a type-1 solution to the wave equation on the interval 0, :

u x, t = feven x 2 t feven x 2 twhich after addition angle formulas for the sum of the cos series can also be rewritten as

u x, t =14

sin 4 x sin 8 t16

n 4

cosn8

n2 16sin n x sin 2 n t

The purple bumps are moving to the right, the green ones to the left. The sum of the two functions is always zero at the endpoints x = 0, :

.

And this explains why the transverse wave comes back upside down! It's the purple one as it moves to the right, a hybrid when it's near x = ,and then the green curve when it moves back to the left. A virtual slinky!

We'll watch a movie at Desmos.

Upshot: Math is fun, especially with visualization.

fevenItcos series

a 2

L

type I7 7

C

IMO Of coursethere canbe a lot of frustrationbefore Emekabestwishes

ProfK