The 1-D Wave Equation



Similar documents
Second Order Linear Partial Differential Equations. Part I

The Heat Equation. Lectures INF2320 p. 1/88

ANALYTICAL METHODS FOR ENGINEERS

Chapter 15, example problems:

Spring Simple Harmonic Oscillator. Spring constant. Potential Energy stored in a Spring. Understanding oscillations. Understanding oscillations

Oscillations. Vern Lindberg. June 10, 2010

An Introduction to Partial Differential Equations

SOLUTIONS TO CONCEPTS CHAPTER 15

Displacement (x) Velocity (v) Acceleration (a) x = f(t) differentiate v = dx Acceleration Velocity (v) Displacement x

The one dimensional heat equation: Neumann and Robin boundary conditions

FLAP P11.2 The quantum harmonic oscillator

Understanding Poles and Zeros

Applications of Second-Order Differential Equations

Lecture L22-2D Rigid Body Dynamics: Work and Energy

The continuous and discrete Fourier transforms

Lecture L3 - Vectors, Matrices and Coordinate Transformations

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Solution: F = kx is Hooke s law for a mass and spring system. Angular frequency of this system is: k m therefore, k

Physics 41 HW Set 1 Chapter 15

Method of Green s Functions

Unified Lecture # 4 Vectors

Trigonometry Review with the Unit Circle: All the trig. you ll ever need to know in Calculus

1 The 1-D Heat Equation

Physics 201 Homework 8

Mechanics 1: Conservation of Energy and Momentum

Chapter 6 Circular Motion

19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Physics 1120: Simple Harmonic Motion Solutions

Dimensional Analysis

Experiment 9. The Pendulum

Simple Harmonic Motion

Standing Waves on a String

Review of Fundamental Mathematics

2.2 Magic with complex exponentials

EDEXCEL NATIONAL CERTIFICATE/DIPLOMA UNIT 5 - ELECTRICAL AND ELECTRONIC PRINCIPLES NQF LEVEL 3 OUTCOME 4 - ALTERNATING CURRENT

N 1. (q k+1 q k ) 2 + α 3. k=0

Midterm Solutions. mvr = ω f (I wheel + I bullet ) = ω f 2 MR2 + mr 2 ) ω f = v R. 1 + M 2m

Application of Fourier Transform to PDE (I) Fourier Sine Transform (application to PDEs defined on a semi-infinite domain)

Lecture L6 - Intrinsic Coordinates

Copyright 2011 Casa Software Ltd.

G. GRAPHING FUNCTIONS

APPLIED MATHEMATICS ADVANCED LEVEL

Lecture L5 - Other Coordinate Systems

7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )

Solutions to Exercises, Section 5.1

Introduction to Complex Numbers in Physics/Engineering

FRICTION, WORK, AND THE INCLINED PLANE

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

2.6 The driven oscillator

Solutions to Homework 10

Parabolic Equations. Chapter 5. Contents Well-Posed Initial-Boundary Value Problem Time Irreversibility of the Heat Equation

Determination of Acceleration due to Gravity

Let s first see how precession works in quantitative detail. The system is illustrated below: ...

Two-Dimensional Conduction: Shape Factors and Dimensionless Conduction Heat Rates

Physics 231 Lecture 15

AP1 Oscillations. 1. Which of the following statements about a spring-block oscillator in simple harmonic motion about its equilibrium point is false?

An Introduction to Partial Differential Equations in the Undergraduate Curriculum

Lesson 11. Luis Anchordoqui. Physics 168. Tuesday, December 8, 15

Does Black-Scholes framework for Option Pricing use Constant Volatilities and Interest Rates? New Solution for a New Problem

Lecture L2 - Degrees of Freedom and Constraints, Rectilinear Motion

Notice numbers may change randomly in your assignments and you may have to recalculate solutions for your specific case.

arxiv: v2 [physics.acc-ph] 27 Oct 2014

5.4 The Heat Equation and Convection-Diffusion

Math Practice exam 2 - solutions

In order to describe motion you need to describe the following properties.

Differentiation of vectors

LS.6 Solution Matrices

Angles and Quadrants. Angle Relationships and Degree Measurement. Chapter 7: Trigonometry

Trigonometric Functions and Triangles

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

16.2 Periodic Waves Example:

Numerical Solution of Differential

ASEN Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

4. How many integers between 2004 and 4002 are perfect squares?

Chapter 18 Static Equilibrium

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

y cos 3 x dx y cos 2 x cos x dx y 1 sin 2 x cos x dx y 1 u 2 du u 1 3u 3 C

Unit - 6 Vibrations of Two Degree of Freedom Systems

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

Sample Questions for the AP Physics 1 Exam

1) The time for one cycle of a periodic process is called the A) wavelength. B) period. C) frequency. D) amplitude.

226 Chapter 15: OSCILLATIONS

Numerical Analysis Lecture Notes

The two dimensional heat equation

TOPIC 4: DERIVATIVES

SAT Subject Math Level 2 Facts & Formulas

Differentiation and Integration

Chapter 6 Work and Energy

Chapter 15 Collision Theory

Chapter 9 Partial Differential Equations

Lecture 2: Acoustics

Math Placement Test Practice Problems

10 Polar Coordinates, Parametric Equations

Aim : To study how the time period of a simple pendulum changes when its amplitude is changed.

Simple Harmonic Motion Experiment. 1 f

Solutions to old Exam 1 problems

Acoustics. Lecture 2: EE E6820: Speech & Audio Processing & Recognition. Spherical waves & room acoustics. Oscillations & musical acoustics

Problem Set 5 Work and Kinetic Energy Solutions

Transcription:

The -D Wave Equation 8.303 Linear Partial Differential Equations Matthew J. Hancock Fall 006 -D Wave Equation : Physical derivation Reference: Guenther & Lee., Myint-U & Debnath.-.4 [Oct. 3, 006] We consider a string of length l with ends fixed, and rest state coinciding with x-axis. The string is plucked into oscillation. Let u (x,t) be the position of the string at time t. Assumptions:. Small oscillations, i.e. the displacement u (x,t) is small compared to the length l. (a) Points move vertically. In general, we don t know that points on the string move vertically. By assuming the oscillations are small, we assume the points move vertically. (b) Slope of tangent to the string is small everywhere, i.e. u x (x,t), so stretching of the string is negligible l (c) arc length α (t) = + u dx l. 0 x. String is perfectly flexible (it bends). This implies the tension is in the tangent direction and the horizontal tension is constant, or else there would be a preferred direction of motion for the string. Consider an element of the string between x and x + Δx. Let T (x,t) be tension and θ (x,t) be the angle wrt the horizontal x-axis. Note that u tanθ (x,t) = slope of tangent at (x,t) in ux-plane = (x,t). () x

Newton s Second Law (F = ma) states that u F = (ρδx) () t where ρ is the linear density of the string (ML ) and Δx is the length of the segment. The force comes from the tension in the string only - we ignore any external forces such as gravity. The horizontal tension is constant, and hence it is the vertical tension that moves the string vertically (obvious). Balancing the forces in the horizontal direction gives T (x + Δx,t) cosθ (x + Δx,t) = T (x,t) cosθ (x,t) = τ = const (3) where τ is the constant horizontal tension. Balancing the forces in the vertical direction yields F = T (x + Δx,t) sin θ (x + Δx,t) T (x,t) sin θ (x,t) = T (x + Δx,t) cos θ (x + Δx,t) tanθ (x + Δx,t) T (x,t) cos θ (x,t) tanθ (x,t) Substituting (3) and () yields F = τ (tanθ (x + Δx,t) tanθ (x,t)) ( ) u u = τ (x + Δx,t) (x,t). (4) x x Substituting F from () into Eq. (4) and dividing by Δx gives u u u (x + Δx,t) (ξ,t) = τ x x (x,t) ρ t Δx for ξ [x,x + Δx]. Letting Δx 0 gives the -D Wave Equation [ ] / Force Note that c has units [c] = Density u u τ = c, c = > 0. (5) t x ρ = LT of speed.. Boundary conditions Ref: Guenther & Lee 4. (p. 94), Myint-U & Debnath 4.4 In order to guarantee that Eq. (5) has a unique solution, we need initial and boundary conditions on the displacement u (x,t). There are now initial conditions and boundary conditions.

E.g. The string is fixed at both ends, u (0,t) = u (l,t) = 0, t > 0 (homogeneous type I BCs) E.g. The string is connected to frictionless cylinders of mass m that move vertically on tracks at x = 0,l. Performing a force balance at either x = 0 or x = gives T sin θ = mg (6) In other words, the vertical tension in the string balances the mass of the cylinder. But τ = T cos θ = const and tanθ = u x, so that (6) becomes τu x = T cos θ tan θ = mg Rearranging yields mg ux =, x = 0, τ These are Type II BCs. If the string is really tight and the cylinders are very light, then mg/τ and we approximate u x 0 at x = 0,, and the BCs become Type II homogeneous BCs.. Initial conditions Ref: Guenther & Lee 4. (p. 94) We need to specify both the initial position of the string and the initial velocity: u (x, 0) = f (x) and u t (x, 0) = g (x), 0 < x < l. The idea is the same as finding the trajectory of a falling body; we need to know both the initial position and initial velocity of the particle to compute its trajectory. We can also see this mathematically. The Taylor series of u (x,t) about t = 0 is t 3 u t 3 u (x,t) = u (x, 0) + u t (x, 0) t + u tt (x, 0) + (x, 0) + t 3 3! From the initial conditions, u (x, 0) = f (x), u t (x, 0) = g (x) and the PDE gives u tt (x, 0) = c u xx (x, 0) = c f (x), 3 u (x, 0) = c u txx (x, 0) = c g (x). t 3 Higher order terms can be found similarly. Therefore, the two initial conditions for u (x, 0) and u t (x, 0) are sufficient to determine u (x,t) near t = 0. To summarize, the dimensional basic -D Wave Problem with Type I BCs (fixed ends) is PDE : u tt = c u xx, 0 < x < l (7) BC : u (0,t) = 0 = u (l,t), t > 0, (8) IC : u (x, 0) = f (x), u t (x, 0) = g (x), 0 < x < l (9) 3

.3 Non-dimensionalization We now scale the basic -D Wave Problem. The characteristic quantities are length L and time T. Common sense suggests choosing L = l, the length of the string. We introducing the non-dimensional variables x t ( ) u (x,t) f (x) T g (x) xˆ =, tˆ=, u ˆ x, ˆ t ˆ =, fˆ(ˆ x) =, g ˆ(ˆ x) =. L T L L L From the chain rule, u û xˆ û u û tˆ L û = L = = L = x xˆ x xˆ, t tˆ t T tˆ and similarly for higher derivatives. Substituting the dimensionless variables into -D Wave Equation (7) gives T c û tˆtˆ = L This suggests choosing T = L /c = l/c, so that û xˆxˆ ûˆt tˆ = uˆx ˆxˆ, 0 < x ˆ <, t ˆ> 0. (0) The BCs (8) become ( ) ( ) û 0, t ˆ = 0 = u ˆ, t ˆ, t ˆ > 0. () The ICs (9) become û (ˆ x, 0) = fˆ(ˆ x), uˆ tˆ (ˆ x, 0) = g ˆ(ˆ x), 0 < x ˆ <. ().3. Dimensionless -D Wave Problem with fixed ends Dropping hats, the dimensionless -D Wave Problem is, from (0) (), PDE : u tt = u xx, 0 < x < (3) BC : u (0,t) = 0 = u (,t), t > 0, (4) IC : u (x, 0) = f (x), u t (x, 0) = g (x), 0 < x < (5) Separation of variables solution Ref: Guenther & Lee 4., Myint-U & Debnath 6., and 7. 7.3 Substituting u (x,t) = X (x)t (t) into the PDE (3) and dividing by X (x)t (t) gives T (t) X (x) T (t) = = λ (6) X (x) 4

where λ is a constant. The negative sign is for convention. The BCs (4) become which implies u (0,t) = X (0)T (t) = 0 u (,t) = X ()T (t) = 0 X (0) = X () = 0 (7) Thus, the problem for X (x) is the same Sturm-Liouville Boundary Value Problem as for the Heat Equation, X (x) + λx (x) = 0; X (0) = X () = 0. (8) Recall that the eigenvalues and eigenfunctions of (8) are The function T (t) satisfies λ n = (nπ), X n (x) = b n sin (nπx), n =,, 3,... T + λt = 0 and hence each eigenvalue λ n corresponds to a solution T n (t) Thus, a solution to the PDE and BCs is T n (t) = α n cos (nπt) + β n sin (nπt). u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) where we have absorbed the constant b n into α n, β n. In general, the individual u n (x,t) s will not satisfy the ICs. Thus we sum infinitely many of them, using the principle of superposition, u (x,t) = u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) Imposing the ICs gives n= n= f (x) = u (x, 0) = α n sin (nπx) n= g (x) = u t (x, 0) = nπβ n sin (nπx) n= Therefore, the coefficients α n and β n are given by α n = f (x) sin (nπx)dx 0 β n = g (x) sin (nπx)dx nπ 0 5

Note: The convergence of this series is harder to show, because we don t have decaying exponentials e n π t in the sum terms (more later). Note: Given BCs and an IC, the wave equation has a unique solution (Myint-U & Debnath 6.3). 3 Interpretation - Normal modes of vibration [Oct 5, 006] Ref: Guenther & Lee p. 00 problem 5 The terms u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) for n =,, 3,... are called the normal modes of vibration. The solution u (x,t) is a superposition of the normal modes u n (x,t). In physical variables, the normal modes are ( ( ( ) nπc ) ( nπc )) nπx u n (x,t ) = α n cos t + β n sin t sin. l l l 3. Frequency and Period A function f (t) is periodic if for some real number T, f (t + T ) = f (t) for all t. If t measures time (either physical or dimensionless), we define the period of a function as the smallest number T such that f (t + T ) = f (t). We say that f (t) has period T or, equivalently, that f (t) is T -periodic. The period T has the same dimensions as t. If t is dimensionless then so is T ; if t has the dimensions of time, so does T. Note that each normal mode u n (x,t) has period /n, and in physical variables, u n (x,t ) has period l/ (nc). The analog to period for spatial coordinates is the wavelength. The wavelength of a function g (x) (x is a scaled or physical spatial coordinate) is defined as the smallest L such that g (x + L) = g (x). We say g (x) is L-periodic. Again, the wavelength L has the same dimensions as x. If x is dimensionless then so is L; if x has the dimensions of length, so does L. The frequency f is defined as f = /T = /period. In physical variables, each normal mode u n (x,t ) has frequency ω n nc n τ f n = = = π l l ρ 6

with dimensions /time (e.g. Hz = cycle/sec = sec ). The angular frequency is defined as ω = πf where f is the frequency. Each mode has angular frequency ω n = πf n = nπc/l. In terms of the frequency, we can write the normal mode as ( ( ( ) πnc ) ( nπc )) nπx u n (x,t ) = α n cos t + β n sin t sin l l l ( ) nπx = (α n cos (πf n t ) + β n sin (πf n t )) sin l ( ) nπx = (α n cos (ω n t ) + β n sin (ω n t )) sin l The first harmonic is the normal mode of lowest frequency, u (x,t) or in physical variables, u (x,t ). The fundamental frequency is f, i.e. the frequency of the first harmonic. In ( ) dimensionless variables, f = /. In physical variables, f = c/ (l) = τ/ρ /l. Note that f n = nf, in other words, the frequencies of higher harmonics are just integer multiples of the fundamental frequency f. Examples. Check for yourself that sin (πx) is -periodic i.e. has period, sin (x) is π-periodic, sin (nπt) is /n-periodic, sin (nπct/l) has period l/ (nc), sin (nπx/l) has period l/n. Note that if a function has period T, then f (t + mt ) = f (t) for all m =,, 3,... In particular, sin (nπx), cos (nπx), sin (nπt), cos (nπt) are all /n-periodic, and hence ( ( )) ( ( )) m m sin nπ x + = sin nπx, cos nπ x + = cos nπx n n ( ( )) ( ( )) m m sin nπ t + = sin nπt, cos nπ t + = cos nπt n n for all m,n =,, 3,.. Therefore, the dimensionless solution u (x,t) of the wave equation has time period (u (x,t + ) = u (x,t)) since u (x,t) = u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) n= n= and for each normal mode, u n (x,t) = u n (x,t + ) (check for yourself). Thus, the period of u (x,t) is the same as that for the first harmonic u (x,t). In physical variables, the period of u (x,t ) is T = l/c = l/ τ/ρ and the frequency is f = /T = c/ (l). 7

3. A note on dimensions I ve tried to denote dimensional quantities with primes or specifically comment whether or not we are working with physical x, t (a length and time) or with dimensionless x, t (dimensions ). However, in general you should always ask the question, What are the dimensions? The quantity c/l has dimensions of /time since I have defined c, l to be a speed and a length. The argument of any mathematical function like cos, sin, exp, etc. must be dimensionless. The cosine of m or s does not make sense. Thus, the quantity t in cos (nπt) is dimensionless. Note that radians are a dimensionless ( ) πct measure of angle. Consider the quantity t in cos (ωt) or cos (πft) or cos, where l you are given that ω and f have dimensions of /time, c is a speed, and l is a length. Then t must have dimensions of time, so that the arguments ωt, πft, or πct/l of cosine are dimensionless. 3.3 Amplitude Note that u n (x,t) can be written u n (x,t) = γ n sin (nπx) sin (nπt + ψ n ) (9) ( ) α α where γ n n = n + β n, ψ n = arctan. At each point x, the n th mode vibrates β n sinusoidally according to u n (x,t) = A n (x) sin (nπt + ψ n ) where A n (x) = γ n sin (nπx). The mode u n (x,t) vibrates sinusoidally in time between the two limits ±A n (x). We call A (x) the time amplitude of the mode u n (x,t), since this sets the bounds on the oscillations in time. Locations where A n (x) = 0 are called nodes and locations where A n (x) = γ n are called antinodes. 4 Conservative system and energy Ref: Guenther & Lee p. 0, Myint-U & Debnath 4. (problem 8 p. 97, 987) Recall the solution to the Heat Problem with a homogeneous PDE (i.e. no sources, sinks) Homogenous Type I BCs (u = 0 at x = 0, ) is u (x,t) = B n sin (nπx) e n π t n= 8

and as t, u (x,t) 0. Thus, the rod looses heat energy and with it the memory of the initial state, or initial condition. In contrast, the solution to the wave equation with Homogeneous Type I BCs (fixed ends, u = 0 at x = 0, ), u (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) n= The oscillations do not decay, since we ignored gravity and resistive forces. Once plucked, the string vibrates/oscillates forever, with period l/c in physical coordinates. We call this type of system conservative: energy is conserved. In addition, the system comes back to its initial condition periodically - i.e. it maintains a memory of its initial state. We define the energy of the system as Total energy E (t ) = PE (t ) + KE (t ) where primes denote physical or dimensional variables. The local kinetic energy is KE (x,t ) = ( ) u mv = (ρδx) t and the local potential energy is PE (x,t ) = work done getting to displacement u = Force change in length of string Making a displacement Δu of a segment of string from x to x+δx results in a change in the string segment length, initially of length Δx, of ( ) Δu Δl = (Δx) + (Δu) Δx = Δx + Δx Recall the binomial expansion + a = + a + O (a 4 ). Then ( ( ) ( )) ( ) 4 ( ) Δu Δu Δx Δu Δl = Δx + + O Δx Δx Δx and hence the potential energy is PE (x,t ) = τδl ( ) ( ) τ Δu τ u Δx Δx Δx x 9

as Δx 0. Thus, the total energy is, in dimensional form, ( ) E (t ) = l ( ) ( ) u u ρ l ( ) ρ + τ dx = u t + c u x dx (0) 0 t x 0 where we use the shorthand notation u t = ( u/ t ). Substituting c = τ/ρ and the dimensionless variables into (0) gives the dimensionless total energy E (t ) ( ) E (t) = = ut + u x dx () τl 0 4. Conservation of energy for a single mode [Oct 7, 006] The energy of a given normal mode u n (x,t) is found by substituting the form (9) into Eq. () for the energy, ( ) ( ) ( ) un un E n (t) = + dx 0 t x = (nπγ n) ( ) sin (nπx) cos (nπt + ψ n ) + cos (nπx) sin (nπt + ψ n ) dx 0 ( (nπγ n ) = cos (nπt + ψ n ) sin (nπx)dx 0 ) + sin (nπt + ψ n ) cos (nπx) dx 0 Note that sin (nπx) = cos (nπx), cos (nπx) = + cos (nπx) so that sin (nπx)dx =, cos (nπx)dx = 0 0 Substituting these integrals into the energy E n (t) gives E n (t) = (nπγ n) ( cos (nπt + ψ n ) + sin (nπt + ψ n ) ) = (nπγ n ). 4 4 Thus the total energy (kinetic + potential across the rod) of each mode is constant! 4. Energy conservation for multi-mode wave To show the energy for a multi-mode wave is conserved, we proceed as follows. Differentiating the dimensionless energy equation () gives de = (u t u tt + u x u xt )dx dt 0 0

Replacing u tt = u xx (the wave PDE) gives Differentiating the BCs in time t gives de = (u t u xx + u x u xt )dx dt 0 = (u t u x ) x dx 0 = [u t u x ] x=0 () d d u (0,t) = 0, u (,t) = 0 dt dt Therefore, () becomes de = 0 (3) dt Thus { } E(t) = const = E (0) = (f (x)) + (g (x)) dx. 0 Thus the energy of a multi-mode wave system remains constant in time. This is not surprising, since all the forces involved are conservative; we have not included damping or dissipative forces. An alternate method to show E (t) = const employs the infinite series solution derived using the method of separation of variables: ( ) ( ) E (t) = u n + u n dx 0 t x n= n= ( ) u n u m u n u m = + dx 0 t t x x n= m= ( u ) n u m u n u m = + dx 0 t t x x n= m= Substituting for the normal modes u n (x,t) = γ n sin (nπx) sin (nπt + ψ n ) gives E (t) = γ n γ m nmπ cos (nπt + ψ n ) cos (mπt + ψ m ) n= m= sin (nπx) sin (mπx)dx 0 + γ n γ m nmπ sin (nπt + ψ n ) sin (mπt + ψ m ) n= m= cos (nπx) cos (mπx)dx 0

Substituting the orthogonality relations gives E (t) = γ n γ m nmπ δ mn cos (nπt + ψ n ) cos (mπt + ψ m ) n= m= δ mn + γ n γ m nmπ sin (nπt + ψ n ) sin (mπt + ψ m ) n= m= = (γ ( ) n nπ) cos (nπt + ψ n ) + sin (nπt + ψ n ) 4 n= = (γ n nπ) 4 n= which is constant for all t. 5 D Alembert s Solution for the wave equation Ref: Guenther & Lee 4., Myint-U & Debnath 4.3 5. Motivation Note that each normal mode can be written in alternative form: u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) = (α n sin (nπ (x t)) β n cos (nπ (x t))) + (α n sin (nπ (x + t)) + β n cos (nπ (x + t))) where we used the trig identities sin (a + b) + sin (a b) = cosb sin a cos (a + b) cos (a b) = sin a sin b Therefore, the mode u n (x,t) is the sum of a function of (x t) and a function of (x + t). In physical variables, we can write the solution as the sum of a function of x ct and a function of x + ct. 5. Change of variable We can define the new coordinates ξ = x t, η = x + t (4)

and let v (ξ,η) = u (x,t). The chain rule implies that u v ξ v η v v = + = + x ξ x η x ξ η u v ξ v η v v = t ξ t + η t = ξ + η Similarly, ( u v v v v ) ( v v ) = + = + + + x x ξ x η ξ ξ η ξ η η v v v = + + ξ ξ η η ( ) ( u v v v ) v = t + + + ξ ξ η ξ η η v v v = ξ ξ η + η Substituting these derivatives into the PDE u tt = u xx yields v v v v v v = ξ + ξ η + η ξ ξ η + η Simplifying and dividing by 4 gives a new form of the wave equation, v (ξ,η) ξ η = 0 (5) 5.3 Forward and backward waves We can write the new form (5) of the wave equation in two ways: ( ) ( ) v (ξ,η) v (ξ,η) = 0, = 0 ξ η η ξ Integrating the first equation in ξ gives v (ξ,η) η = G (η) (6) for some function G (η) (due to partial integration with respect to ξ). Define the antiderivative of G (η) as Q (η), i.e. such that Q (η) = G (η). Substituting this into (6) and rearranging gives v (ξ,η) η = Q (η) = (v (ξ,η) Q (η)) = 0 η 3

Integrating the right equation in η yields v (ξ,η) Q (η) = P (ξ) where the function P (ξ) is due to the partial integration with respect to η. Therefore, we can write v (ξ,η) = P (ξ) + Q (η) Substituting for η and ξ from (4) and recalling that u (x,t) = v (ξ,η) gives u (x,t) = v (ξ,η) = P (x t) + Q (x + t) (7) 5.3. Forward wave The forward wave is the function P (x t) which represents a wave travelling in the positive x-direction with scaled velocity. In physical coordinates, the function depends on x ct and the speed of the wave is c = τ/ρ. The shape of the wave is determined by the function P (x) and the motion is governed by the line x t = const. The wave (same shape) moves forward in time along the string. How do we find the speed from the line x ct = l = const? Well, in time Δt, we ve moved Δx = (l + c (t + Δt )) (l + ct ) = cδt The speed is distance traveled over elapsed time: Δx /Δt = c. 5.3. Backward wave The backward wave is the function Q (x + t) which represents a wave travelling in the negative x-direction with scaled speed. The wave shape is determined by Q (x) and the value of the wave is constant along the lines x + t = const (in physical variables, x + ct = const and speed is c). 5.4 Characteristics Ref: Myint-U & Debnath 3.(A) The solution to the wave equation is the superposition of a forward wave P (x t) and a backward wave Q (x + t), both with speed c. The lines x ±t = const are called characteristics. 4

5.5 Determining the shape functions The shapes of the forward and backward waves, P (x) and Q (x), are determined from the initial conditions, u (x, 0) = f (x) = P (x) + Q (x), (8) u t (x, 0) = g (x) = P (x) + Q (x) (9) To obtain the second equation, the chain rule was used: [ ] u u t (x, 0) = (x,t) t t=0 [ ] = (P (x t) + Q (x + t)) t t=0 = [ P (x t) + Q (x + t)] t=0 = P (x) + Q (x) It is important to differentiate in time first and then set t = 0 (that is what u t (x, 0) means!). Now, integrating (9) in x from 0 to x gives x Q (x) P (x) (Q (0) P (0)) = g (s)ds (30) 0 Eqs. (8) and (30) can be solved for P (x) and Q (x): ( x ) Q (x) = f (x) + g (s)ds + Q (0) P (0) (3) 0 ( x ) P (x) = f (x) g (s)ds Q (0) + P (0) (3) 0 5.6 D Alembert s solution to the wave equation [Oct 9, 006] Ref: Guenther & Lee 4., Myint-U & Debnath 4.3 Summarizing our results: from (7), (3) and (3), the wave equation and initial conditions u tt = u xx u (x, 0) = f (x) u t (x, 0) = g (x) has the solution u (x,t) = P (x t) + Q (x + t) = [f (x t) + f (x + t)] + x+t x t g (s)ds (33) This is called D Alembert s solution to the wave equation. We have not yet considered the BCs [we will soon], so right now we re thinking about an infinite string. 5

5.6. Solution method and domain of dependence At a given position x = x 0 on the string, the solution at time t = t 0 is u (x 0,t 0 ) = x0 +t 0 [f (x 0 t 0 ) + f (x 0 + t 0 )] + g (s)ds. x 0 t 0 In other words, the solution is found by tracing backwards in time along the characteristics x t = x 0 t 0 and x + t = x 0 + t 0 to the initial state (f (x), g (x)), then applying (33) to compute u (x 0,t 0 ) from the initial state. Information from the initial state from the interval x 0 t 0 x x 0 + t 0 is all that is needed to find u (x 0,t 0 ). In the tx-plane, we can think of a triangle opening backwards in time from (x 0,t 0 ) to the line t = 0. Compare this to the rectangle {0 x, 0 t T } we required to find the solution u (x,t) for the heat equation. For simpler forms of f (x) and g (x) the solution method can be simplified significantly, and only a handful of characteristics will be needed. 5.6. Simplified solution method for infinite string For the examples we ll be considering, f (x) and g (x) will be case functions. The general approach is then: Step. Write down D Alembert s solution, u (x,t) = x+t [f (x t) + f (x + t)] + x t g (s)ds Step. Identify the regions. In general, the function f (x) and g (x) are case functions. You need to determine various regions by plotting the salient characteristics x ± t = const. The regions determine where x t and x + t are relative to the cases for the functions f (x) and g (x) and tells us what part of the case functions should be used in each region. Step 3. Determine the solution in each region. Step 4. For each specific time t = t 0, write the x-intervals corresponding to the regions. For example, consider f (x) and g (x) of the following form, { { F (x), x G (x), x f (x) =, g (x) = (34) 0, x > 0, x > Step. D Alembert s solution to the wave equation is u (x,t) = x+t [f (x t) + f (x + t)] + x t g (s)ds 6

t 3.5 x+t= x t= R 4.5 R R 3 x+t= x t= 0.5 x (t) x (t) x (t) x (t) A B C D R R R 5 6 0.5 0.5 0 0.5.5 x Figure : Regions of interest separated by four characteristics. Step. Identify the regions. The functions f (x) and g (x) are equal to functions F (x) and G (x), respectively, for x and are zero for x >. Thus, the regions of interest are found by plotting the four characteristics x ± t = ± (Figure ). The regions are identified in the plot, and are given mathematically by R = {(x,t) : x t and x + t } R = {(x,t) : x t and x + t } R 3 = {(x,t) : x t and x + t } (35) R 4 = {(x,t) : x t and x + t } R 5 = {(x,t) : x + t }, R 6 = {(x,t) : x t } The regions determine where x t and x + t are relative to ±, which tells us what part of the case functions f (x) and g (x) should be used. It is helpful to define the lines x A (t) = t, x B (t) = t, x C (t) = t +, x D (t) = t +. Step 3. Consider the solution in each region. In R, we have x ± t, so that (34) implies x+t x+t f (x t) = F (x t), f (x + t) = F (x + t), g (s)ds = G (s)ds, x t x t 7

and hence x+t u (x,t) = (F (x t) + F (x + t)) + G (s)ds. x t In region R, we have x t and x + t so that f (x + t) = 0, f (x t) = F (x t), x+t x+t g (s)ds = g (s)ds + g (s)ds = G (s)ds + 0, x t x t x t and hence F (x t) u (x,t) = + G (s)ds. x t In region R 3, we have x + t and x t so that x+t x+t f (x + t) = F (x + t), f (x t) = 0, g (s)ds = G (s)ds, x t and hence F (x + t) x+t u (x,t) = + G (s)ds. In region R 4, x t and x + t, so that f (x + t) = 0 = f (x t), x+t x+t g (s)ds = g (s)ds + g (s)ds + g (s)ds = 0 + G (s)ds + 0, x t x t and hence x+t u (x,t) = g (s)ds = G (s)ds = const. x t In regions R 5 and R 6, f (x + t) = 0 = f (x t) and g (s) = 0 for s [x t,x + t], hence u = 0. To summarize, (F (x t) + F (x + t)) + G (s)ds, (x,t) R x t F(x t) + G (s)ds, (x,t) R x t F(x x+t u (x,t) = + G (s)ds, (x,t) R +t) 3 (36) G (s)ds, (x,t) R 4 0 (x,t) R 5,R 6 x+t Step 4. For each specific time t = t 0, write the x-intervals corresponding to the intersection of the sets R n with the line t = t 0. This amounts to computing the values of x A (t), x B (t), x C (t), x D (t) for each time t 0 / x A (t) = t.5 3 x B (t) = t 0.5 0 x C (t) = t + 0.5 0 x D (t) = t +.5 3 8 (37)

At t = 0, we use Table (37) and Figure to find the x intervals R n corresponding to the intersection of R n with the line t = 0: R 5 = (, ], R In R, we have (recall that t = 0), = [, ], R 6 = [, ). x+0 u (x, 0) = (F (x 0) + F (x + 0)) + G (s)ds = F (x) x 0 Similarly, we can check that in the other regions, u = 0, so that (36) becomes { { F (x), x R u (x, 0) = = [, ] F (x), x = = f (x) 0, x R 5 R 6 0, x > At t = /, we use Table (37) and Figure to find the x intervals R n corresponding to the intersection of R n with the line t = /: R 5 = (,.5], R = [ 0.5, 0.5], R 6 = [.5, ), (38) R 3 = [.5, 0.5], R = [0.5,.5]. (39) At t =, we use Table (37) and Figure to find the x intervals R n corresponding to the intersection of R n with the line t = : R 5 = (, ], R 3 = [, 0], R = [0, ], R 6 = [, ). (40) At t =, we use Table (37) and Figure to find the x intervals R n corresponding to the intersection of R n with the line t = : R 5 = (, 3], R 3 = [ 3, ], R 4 = [, ], R = [, 3], R 6 = [3, ), At this point, you usually want to draw the wave profiles for certain times t = t 0 (see problem set 3 for more). (4) 5.6.3 Worked example For an infinitely long string, consider giving the string zero initial displacement u (x, 0) = 0 and initial velocity u t (x, 0) = g (x). Suppose { cos ( ) π x, x g (x) = 0 otherwise The ICs have the form considered above for F (x) = 0 and G (x) = cos ( ) π x. 9

Step. D Alembert s solution (33) becomes u (x,t) = x+t x t g (s)ds above. Step. The regions are the same as those in (35) and are plotted in Figure Step 3. Determine u (x,t) in each region. From (36), we have x+t G (s)ds, (x,t) R x t G (s)ds, (x,t) R x t x+t u (x,t) = G (s)ds, (x,t) R 3 G (s)ds, (x,t) R 4 0 (x,t) R 5,R 6 Note that b ( ) π b b a sin (πb) sin (πa) cos x dx = ( + cos (πx)) dx = + π a Thus x+t G (s)ds = t + x t G (s)ds = a sin (π (x + t)) sin (π (x t)) = t + cos (πx) sin (πt) π π (x t) sin (π (x t)) x t π x+t + x + t sin (π (x + t)) G (s)ds = + π G (s)ds = Thus t + π sin (πt) cos (πx), (x,t) R (x t) sin(π(x t)), (x,t) R 4 4π +x+t sin(π(x+t)) u (x,t) = +, (x,t) R 3 (4) 4 4π, (x,t) R 4 0 (x,t) R 5,R 6 Step 4. We consider early, intermediate and later times, t = /,,. At t = /, the regions R n are given by (38), (39) and (4) becomes cos πx +, x ( ) ( 4 ) π 3 cos πx 3 4 = ( x ) +, x 4π u x, 3 cos πx 3 4 + x + 4π, x 3 0 x 0

0.5 t=/ u(x,t 0 ) t=0 0 4 3 0 3 4 x Figure : The profiles of the displacement u(x,t) for the times t = 0, /,,. At t =, the regions R n are given by (40) and (4) becomes x sin( πx) +, 0 x 4 4π + x u (x, ) = sin( πx), x 0 4 4π 0 x At t =, the regions R n are given by (4) and (4) becomes 3 x sin( πx), x 3 4 4π 3+ x sin(πx) +, 3 x 4 4π u (x, ) =, x 0 x 3 In Figure, the profiles of the displacement u(x,t) are plotted for the times t = 0, /,,. 6 Waves on a finite string [Oct 4, 006] Ref: Myint-U & Debnath 4.4 4.6, Guenther & Lee 4.5 We now consider D Alembert s solution for a finite string. The dimensionless

problem with homogeneous Type I BCs (ends of string fixed) is We found that this has solution where u tt = u xx u (0,t) = 0 = u (,t) (43) u (x, 0) = f (x) u t (x, 0) = g (x) u (x,t) = u n (x,t) = (α n cos (nπt) + β n sin (nπt)) sin (nπx) We wrote, equivalently, that n= n= α n = f (x) sin (nπx)dx 0 β n = g (x) sin (nπx)dx nπ 0 u (x,t) = P (x t) + Q (x + t) where P (x t) = Q (x + t) = (α n sin (nπ (x t)) β n cos (nπ (x t))) n= (α n sin (nπ (x + t)) + β n cos (nπ (x + t))) n= 6. Zero initial velocity The simplest ICs involve the case of zero initial velocity u t (x, 0) = 0 and a specified initial displacement u (x, 0) = f (x). In this case, β n = 0 for all n and where u (x,t) = α n cos (nπt) sin (nπx) = P (x t) + Q (x + t) n= P (s) = Q (s) = α n sin nπs = fˆ(s) (44) n= where fˆ(x) is the odd -periodic extension (Sine series) of f (x). We can thus write ( ) u (x,t) = P (x t) + Q (x + t) = fˆ(x t) + fˆ(x + t). (45)

This looks like D Alembert s solution for the infinite string - but fˆ replaces f (x) so we ll see that some properties of the solution are different. To see directly that (45) satisfies the BCs, note that since fˆis odd, fˆ( t) = fˆ(t), and since fˆ is -periodic and odd, fˆ( t) = fˆ( t) = fˆ( + t) Thus, ( ) u (0,t) = fˆ( t) + fˆ(t) = 0 ( ) u (,t) = fˆ( t) + fˆ( + t) = 0 Therefore, (45) satisfies the Type I BCs (fixed ends). One can also check directly that (45) satisfies the ICs and PDE. To summarize, we have written the displacement of the string in terms of the odd -periodic extension of the initial condition f (x). Eq. (45) is the solution for the finite string problem (43) with Type I BCs (fixed ends), zero initial velocity u t (x, 0) = 0 and initial displacement u (x, 0) = f (x). To draw the solution, note that x only goes from 0 to, but time t [0, ). Thus x + t [0, ) and x t [0, ). We use the -periodic and odd properties of fˆ to see what u (x,t) looks like for 0 < x <. Example. Suppose f (x) is a thin pulse symmetric about x = / and with a maximum at x = /. The initial pulse breaks into forward and backward waves, each propagating with speed in opposite directions. The peak of the forward wave (at x = /) first reaches the end of the string x = when t = = t = At the same time, the peak of the backward wave reaches the end x = 0. Then what happens? On the first half of the string 0 x / and times / t, x t 0 and thus fˆ(x t) = fˆ(t x) = f (t x) Recall that f (x) is the shape of the original pulse, so that on the first half of the string we have the negative of the forward wave. In other words, the forward wave went off the end x = and reappeared at x = 0, UPSIDE DOWN (i.e. with negative sign)! On the second half of the string / x and times / t, x + t 3

and thus fˆ(x + t) = fˆ(x + t ) = f (x + t ) Thus the backward wave went off the end x = 0 at t = / and reappeared at the other end x = (also at t = /) and upside down (negative sign). At t =, the waves meet in the center, ( ) ( ) u (x, ) = fˆ(x ) + fˆ(x + ) = fˆ(x) fˆ(x) = fˆ(x) = f (x) and the displacement is the upside-down version of the initial displacement. The process continues in this manner. The characteristics x ± t crisscross each other in the xt-plane. We can summarize the behavior using the following table: time x range x t x + t left half string right half string range range 0 t / [0, /] [0, ] bkwd wave [/, ] [0, ] fwd wave / t [0, /] [, 0] fwd wave, upside down [/, ] [, ] bkwd wave, upside down 4