0% found this document useful (0 votes)
129 views13 pages

337week0405 PDF

1. The document discusses the wave equation utt - c2uxx = 0 and its Cauchy problem. 2. D'Alembert's formula provides the solution to the Cauchy problem by using the prescribed initial values of u and ut along a curve (typically the x-axis) to determine the arbitrary functions φ and ψ in the general solution. 3. According to D'Alembert's formula, the solution u(x,t) at a point depends only on the initial values within the "domain of dependence", which is the region bounded by the characteristics lines x±ct.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views13 pages

337week0405 PDF

1. The document discusses the wave equation utt - c2uxx = 0 and its Cauchy problem. 2. D'Alembert's formula provides the solution to the Cauchy problem by using the prescribed initial values of u and ut along a curve (typically the x-axis) to determine the arbitrary functions φ and ψ in the general solution. 3. According to D'Alembert's formula, the solution u(x,t) at a point depends only on the initial values within the "domain of dependence", which is the region bounded by the characteristics lines x±ct.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Week 04 - 05 : Wave Equations

In this chapter, we will consider the ( 1 D) wave equation

u t t − c 2 u x x = 0. (1)
As we have seen, the general solution is
u( x , t) = f( x + c t) + g( x − c t) ( 2)

with two artibrary functions f and g. In practice, the wave equation describes ( among other phenomena)
the vibration of strings or membranes or propagation of sound waves. In these phenomena obviously there
is no arbitrary functions involved.
Now how do we “fix” the arbitrariness? Remember that for first order PDE ( with two variables) , the
solutions are surfaces in the space. One way to choose one from the infinitely many surfaces is the pre-
scribe one curve in the space and require the solution surface to pass through it. Remember that the coor-
dinates are ( x , y , u) , thus a curve in the space is represented by values of u assigned to a curve ( x( t) ,
y( t) ) . Such a problem is called Cauchy problem.
When we deal with second order equations, it turns out that assigning u along a curve is not enough,
we also need to assign derivatives. To see why, we can rewrite a second order eqution into a system of
first order equations by assigning new variables
v = ux , w = u y. ( 3)

Then intuitively to “fix” one solution, we need to assign v , w along the curve too.
In this chapter, we will consider the Cauchy problem for ( mostly 1 D) wave equation

u t t − c 2 u x x = 0. ( 4)
1 . D’ Alembert’ s formula.
As a start, we study the simplest one, with u and u t assigned along the x-axis: 1

u t t − c 2 u x x = 0, x ∈ R, t > 0 ( 5)
u( x , 0) = f( x) , x∈ R ( 6)
u t ( x , 0) = g( x) , x ∈ R. ( 7)

From past lectures we know that the general solution is

φ( x + c t) + ψ( x − c t) . ( 8)

We would use the values of u , u t along the x-axis to fix the two arbitrary functions φ and ψ. We have

φ( x) + ψ( x) = u( x , 0) = f( x) , ( 9)
c φ 0 ( x) − c ψ 0 ( x) = u t ( x , 0) = g( x) . ( 1 0)

From this we have

φ 0 ( x) + ψ 0 ( x) = f 0 ( x) (11)
g( x)
φ 0 ( x) − ψ 0 ( x) = , ( 1 2)
c
whose solutions are
 
1 g( x)
0
φ ( x) = f 0 ( x) + , ( 1 3)
2 c
 
1 g( x)
ψ 0 ( x) = f 0 ( x) − . ( 1 4)
2 c

1 . T hink: why is assigning u t enough?


These give
Z
1 1
φ( x) = f( x) + g( x) + C1 ( 1 5)
2 2cZ
1 1
ψ( x) = f( x) − g( x) + C2 ( 1 6)
2 2c
Using
φ( x) + ψ( x) = f( x) ( 1 7)
again, we can conclude C1 + C2 = 0, that is
Zx
1 1
φ( x) = f( x) + g( y) + C ( 1 8)
2 2 c Z0
x
1 1
ψ( x) = f( x) − g( y) − C ( 1 9)
2 2c 0
As a consequence the solution formula is
Zx + ct
1 1
u( x , t) = φ( x + c t) + ψ( x − c t) = [ f( x + c t) + f( x − c t) ] + g( y) dy. ( 20)
2 2c x − ct

This is called the d’ Alembert formula .

Example 1 . ( § 5. 1 2, 1 b) ) Determine the solution.


u t t − c 2 u x x = 0, u( x , 0) = sin x , u t ( x , 0) = x 2 . ( 21 )
Solution. We use the d’ Alembert formula:
Zx+ct
1 1
u( x , t) = [ sin( x + c t) + sin( x − c t) ] + y 2 dy. ( 22)
2 2c x − ct

Some calculation yields


1 2 3
u( x , t) = sin x cos c t + x 2 t + c t . ( 23)
3

Example 2. ( § 5. 1 2, 1 e) ) Determine the solution.



u t t − c 2 u x x = 0, u( x , 0) = log 1 + x 2 , u t ( x , 0) = 2. ( 24)
Solution. We use the d’ Alembert formula:
Zx + ct
1h    i 1
u( x , t) = log 1 + ( x + c t) 2 + log 1 + ( x − c t) 2 + 2 dy. ( 25)
2 2 c x − ct
Some calculation gives
1h    i
u( x , t) = log 1 + ( x + c t) 2 + log 1 + ( x − c t) 2 + 2 t. ( 26)
2
( Note: It is not necessary to further “simplify” as the book did.

From the d’ Alembert formula we see that


− the solution u at ( x , t) only depends on the values of f at two points x ± c t and the values of g
between these two points. In other words, what happens outside the interval ( x − c t, x + c t) does
not affect the value u( x , t) at all. If we do not treat t = 0 specially, we see that the value u( x , t) is
only affected by what happens inside the cone formed by the two rays from ( x , t) passing ( x − c t,
0) and ( x + c t, 0) respectively. This cone is called domain of dependence .
− on the other hand, if we represent u( x , t) using values along t = t 0 , we have
Z x + c ( t − t0 )
1
u( x , t) = u( x + c ( t − t 0 ) , t 0 ) + u( x − c ( t − t 0 ) , t 0 ) + u t ( y , t 0 ) dy. ( 27)
2 c x − c ( t − t0 )
We see that the values u( x 0 , t 0 ) and u t ( x 0 , t 0 ) are only involved in formulas for u( x , t) with x ∈
[ x 0 − c ( t − t 0 ) , x 0 + c ( t − t 0 ) ] . Or equivalently, what happens at ( x 0 , t 0 ) only affects what happens
in the cone formed by the two rays from ( x 0 , t 0 ) passing through ( x 0 − c ( t − t 0 ) , t) and ( x 0 + c ( t −
t 0 ) , t) . This cone is called the range of influence .
Finally we look at a general hyperbolic Cauchy problem.

Example 3. ( § 5. 1 2, 4) Solve
u x x + 2 u x y − 3 u y y = 0, u( x , 0) = sin x , u y ( x , 0) = x. ( 28)

Solution. First we need to reduce the equation to canonical form.


The characteristics equation is
2 2
( dy) − 2 ( dx) ( dy) − 3 ( dx) = 0 ( d y − 3 dx) ( dy + dx) = 0 ( 29)
which gives
d( y − 3 x) = 0, d( y + x) = 0 ( 30)
and leads to
ξ = y − 3 x, η = y + x. ( 31 )
Now we perform the change of variables. Calculate
ξx = − 3, ξ y = 1 , ξx x = ξx y = ξ y y = 0, ( 32)

ηx = 1 , η y = 1 , η x x = ηx y = η y y = 0. ( 33)
This gives

ux x = 9 u ξ ξ − 6 u ξ η + u η η , ( 34)
ux y = − 3 u ξ ξ − 2 u ξ η + u η η , ( 35)
uyy = uξξ + 2 uξη + uηη , ( 36)

This transforms the equation to


0 = ( 9 u ξ ξ − 6 u ξ η + u η η) + 2 ( − 3 u ξ ξ − 2 u ξ η + u η η) − 3 ( u ξ ξ + 2 u ξ η + u η η) = − 1 6 u ξ η. ( 37)

Thus the general solution is


u( ξ, η) = φ( ξ) + ψ( η) u( x , y) = φ( y − 3 x) + ψ( y + x) . ( 38)

Now the Cauchy data leads to


φ( − 3 x) + ψ( x) = u( x , 0) = sin x , ( 39)

φ 0 ( − 3 x) + ψ 0 ( x) = u y ( x , 0) = x. ( 40)

Taking derivative of the first equation we have


− 3 φ 0 ( − 3 x) + ψ 0 ( x) = cos x. ( 41 )
Thus we can solve
x − cos x − x/ 3 − cos( − x/ 3) cos x + 3 x
φ 0 ( − 3 x) = φ 0 ( x) = , ψ 0 ( x) = . ( 42)
4 4 4
Integrate, we obtain
x2 3 3 x2 1
φ( x) = − + sin( − x/ 3) + C1 , ψ( x) = + sin x + C2 . ( 43)
24 4 8 4
The Cauchy data
φ( − 3 x) + ψ( x) = u( x , 0) = sin x ( 44)
then gives C1 + C2 = 0. Finally
2
( y − 3 x) 3 ( y + x) 2 1 3
u( x , y) = φ( y − 3 x) + ψ( y + x) = − + + sin( y + x) + sin( x − y/ 3) . ( 45)
24 8 4 4
This can be further simplified to
y2 1 3
u( x , y) = + x y + sin( y + x) + sin( x − y/ 3) . ( 46)
3 4 4

2. Initial-boundary value problems.


2. 1 . S emi-infinite string with a fixed end.
We consider the case

u t t − c2 u x x = 0, 0 < x < ∞, t > 0 ( 47)


u( x , 0) = f( x) , 0 6 x < ∞, ( 48)
u t ( x , 0) = g( x) , 0 6 x < ∞, ( 49)
u( 0, t) = 0, 0 6 t < ∞. ( 50)

Remark 4. Obviously to obtain continuous solutions, we need to require the consistency condition
f( 0) = g( 0) = 0 and f 00 ( x) = 0.

Again we try to fix the two arbitrary functions in the formula


φ( x + c t) + ψ( x − c t) . ( 51 )

Using the initial-boundary values we have

φ( x) + ψ( x) = f( x) , 06 x<∞ ( 52)
g( x)
φ 0 ( x) − ψ 0 ( x) = , 06 x< ∞ ( 53)
c
φ( c t) + ψ( − c t) = 0, 0 6 t < ∞. ( 54)

From the first two equations we obtain


 
1 g( x)
φ 0 ( x) = f 0 ( x) + , 06 x< ∞ ( 55)
2 c
 
1 g( x)
ψ 0 ( x) = f 0 ( x) − , 06 x< ∞ ( 56)
2 c
which gives us Zx Zx
1 1 1 1
φ( x) = f( x) + g( y) + C , ψ( x) = f( x) − g( y) − C ( 57)
2 2c 0 2 2c 0

but only for x > 0.


To determine φ and ψ for x < 0, we try to use the boundary value along the t-axis. We have
Z−x
1 1
ψ( x) = − φ( − x) = − f( − x) − g( y) − C , x < 0. ( 58)
2 2c 0
But what about φ( x) for x < 0? It turns out that since we only need u( x , t) for x > 0, t > 0, x + c t is
always positive, as a consequence we already have all φ( x + c t) we need. The formula would be
 Zx+ct
 1 1
 [ f( x + c t) + f( x − c t) ] + g( y) dy x > c t
2 2 c x − ct
u( x , t) = Zx+ct . ( 59)
 1 1
 [ f( x + c t) − f( c t − x) ] + g( y) dy 0 6 x < c t
2 2 c ct− x
Example 5. ( § 5. 1 2, 7) Determine the solution of the initial-boundary value problem
ut t = 4 ux x , 0 < x < ∞, t > 0 ( 60)
u( x , 0) = x 4, 0 6 x < ∞, ( 61 )
u t ( x , 0) = 0, 0 6 x < ∞, ( 62)
u( 0, t) = 0, t > 0. ( 63)
Solution. We apply the formula. First in this problem c = 2, f( x) = x 4 , g( x) = 0.
When x > 2 t, we have
Z
1 1 x+2t
u( x , t) = [ f( x + 2 t) + f( x − 2 t) ] + g( y) dy
2 4 x− 2t
Z
1h 4 4
i 1 x+2t
= ( x + 2 t) + ( x − 2 t) + 0 dy
2 4 x− 2t
= x 4 + 24 x 2 t 2 + 1 6 t 4 . ( 64)
When x < 2 t, we have
Z
1 1 x+2t
u( x , t) = [ f( x + 2 t) − f( 2 t − x) ] + g( y) dy
2 4 2t− x
Z
1h 4 4
i 1 x+2t
= ( x + 2 t) − ( 2 t − x) + 0 dy
2 4 2t− x
1 h 
= x 4 + 8 x 3 t + 24 x 2 t 2 + 32 x t 3 + 1 6 t 4
2 
− x 4 − 8 x 3 t + 24 x 2 t 2 − 32 x t 3 + 1 6 t 4 )
= 8 x 3 t + 32 x t 3 . ( 65)

Example 6. ( § 5. 1 2, 1 0) Consider the initial-boundary value problem


ut t = c2 u x x , 0 < x < ∞ , t > 0, ( 66)
u( x , 0) = f( x) , 0 6 x < ∞, ( 67)
u t ( x , 0) = g( x) , 0 6 x < ∞, ( 68)
u( 0, t) = 0, t > 0. ( 69)
( Note that there are several typos in the book) . Show that one can solve it by extending f , g oddly.
Solution. We extend f and g:
 
f( x) x> 0 g( x) x> 0
f̃ ( x) = , g̃ ( x) = . ( 70)
− f( − x) x 6 0 − g( − x) x 6 0
and solve the initial value problem
ũ t t = c 2 ũ x x , − ∞ < x < ∞ , t > 0, ( 71 )
ũ ( x , 0) = f̃ ( x) , − ∞ < x < ∞, ( 72)
ũ t ( x , 0) = g̃ ( x) , − ∞ < x < ∞. ( 73)
The d’ Alembert formula gives
Zx+ct
1h i 1
ũ ( x , t) = f̃ ( x + c t) + f̃ ( x − c t) + g̃ ( y) dy. ( 74)
2 2c x − ct

From this we clearly have for x > 0, t > 0 ( note that x + c t is always > 0)
 Zx+ct
 1 1
 [ f( x + c t) + f( x − c t) ] + g( y) dy x > c t
2 2 c x − ct
u( x , t) = Zx+ct . ( 75)
 1 1
 [ f( x + c t) − f( c t − x) ] + g( y) dy 0 6 x < c t
2 2 c ct− x
2. 2. S emi-infinite string with a free end.
The problem is
u t t − c2 u x x = 0, 0 < x < ∞, t > 0 ( 76)
u( x , 0) = f( x) , 0 6 x < ∞ , ( 77)
u t ( x , 0) = g( x) , 0 6 x < ∞ , ( 78)
u x ( 0, t) = 0, 0 6 t < ∞. ( 79)
Similar to the above case, we first write
u( x , t) = φ( x + c t) + ψ( x − c t) ( 80)
Now using the initial value, we obtain
φ( x) + ψ( x) = f( x) , x> 0 ( 81 )
g( x)
φ 0 ( x) − ψ 0 ( x) = , x> 0 ( 82)
c
which gives Zx Zx
1 1 1 1
φ( x) = f( x) + g( y) + C , ψ( x) = f( x) − g( y) − C ( 83)
2 2c 0 2 2c 0

For ψ( x) with x < 0, we use


φ 0 ( c t) + ψ 0 ( − c t) = 0 ψ 0 ( x) = − φ 0 ( − x) for x < 0. ( 84)
This leads to
Z− x
1 0 1 1 1
ψ 0 ( x) = − f ( − x) − g( − x) ψ( x) = f( − x) + g( y) + C 0 x< 0 ( 85)
2 2c 2 2c
The constant C 0 is determined by requiring ψ( x) to be continuous, that is the two formulas should yield
the same value at x = 0, therefore C 0 = − C.
Putting everything together we have
 Zx+ct
 1 1
 [ f( x + c t) + f( x − c t) ] + g( y) dy x> ct
2 2 c x − ct
u( x , t) =  Zx + ct Zct− x  . ( 86)
 1 1
 [ f( x + c t) + f( c t − x) ] + g( y) d y + g( y) dy 0 6 x < c t
2 2c 0 0

Example 7. ( § 5. 1 2, 8) Determine the solution of the initial-boundary value problem


ut t = 9 ux x , 0 < x < ∞, t > 0 ( 87)
u( x , 0) = 0, 06 x<∞ ( 88)
u t ( x , 0) = x3, 06 x< ∞ ( 89)
u x ( 0, t) = 0. 06 t< ∞ ( 90)
Solution. Here c = 3, f = 0, g = x 3 . Using the formula we have
when x > 3 t,
Zx+3t
1 1
u( x , t) = [ f( x + 3 t) + f( x − 3 t) ] + g( y) dy
2 6 x− 3t
Zx+3t
1
= y 3 dy
6 x− 3t
1 h 4 4
i
= ( x + 3 t) − ( x − 3 t)
24
1  
= 24 x 3 t + 21 6 x t 3
24
= x 3 t + 9 x t3 . ( 91 )
when x < 3 t,
" Z Z3t− x #
x+3t
1 1
u( x , t) = [ f( x + 3 t) + f( 3 t − x) ] + g( y) d y + g( y) dy
2 6 0 0
" Z Z3t− x #
x+3t
1
= y 3 dy + y 3 dy
6 0 0
1 h 4 4
i
= ( x + 3 t) + ( 3 t − x)
24
1  
= 2 x 4 + 1 08 x 2 t 2 + 1 62 t 4
24
1 4 9 2 2 27 4
= x + x t + t . ( 92)
12 2 4

2. 3. Equations with nonhomogeneous boundary conditions.


Consider

u t t − c2 u x x = 0, 0 < x < ∞, t > 0 ( 93)


u( x , 0) = f( x) , 0 6 x < ∞ , ( 94)
u t ( x , 0) = g( x) , 0 6 x < ∞ , ( 95)
u( 0, t) = p( t) , 0 6 t < ∞. ( 96)

Remark 8. The consistency conditions are

p( 0) = f( 0) , p0 ( 0) = g( 0) , p00 ( 0) = c 2 f 00 ( 0) . ( 97)

The approach is similar to that in the homogeneous case, for x < 0 we obtain
 x
ψ( x) = p − − φ( − x) . ( 98)
c
As a consequence, the formula becomes
 Zx+ct
 1 1
 [ f( x + c t) + f( x − c t) ] + g( y) d y x> ct
2 2 c x − ct
u( x , t) = Zx+ct  . ( 99)
 1 1 x
 [ f( x + c t) − f( c t − x) ] + g( y) d y + p t − 06 x< ct
2 2 c ct− x c

Our last case is

u t t − c2 u x x = 0, 0 < x < ∞, t > 0 ( 1 00)


u( x , 0) = f( x) , 0 6 x < ∞ , ( 1 01 )
u t ( x , 0) = g( x) , 0 6 x < ∞ , ( 1 02)
u x ( 0, t) = q( t) , 0 6 t < ∞. ( 1 03)

We obtain
Z − x/c
ψ( x) = φ( − x) − c q( y) d y − C. ( 1 04)
0

and the solution for x < c t is given by


 Zx + ct Zct− x  Zt− x/c
1 1
[ f( x + c t) + f( c t − x) ] + g( y) dy + g( y) dy − c q( y) dy. ( 1 05)
2 2c 0 0 0

3. Vibration of finite string with fixed ends.


A more complicated problem is when we have two boundaries.
u t t − c2 u x x = 0, 0 < x < l, t > 0 ( 1 06)
u( x , 0) = f( x) , 0 6 x < l , ( 1 07)
u t ( x , 0) = g( x) , 0 6 x < l , ( 1 08)
u( 0, t) = 0, 06 t< ∞ ( 1 09)
u( l , t) = 0, 0 6 t < ∞. ( 1 1 0)
Once more we start with the general solution
u( x , t) = φ( x + c t) + ψ( x − c t) (111)
and try to exclude arbitrariness using the initial and boundary values.
This time, from the initial values we can only obtain
Zx Zx
1 1 1 1
φ( x) = f( x) + g( y) dy + C , ψ( x) = f( x) − g( y) dy − C , 0 6 x 6 l. ( 1 1 2)
2 2c 0 2 2c 0
But this only gives us the solution inside
{ ( x , t) : x + c t, x − c t ∈ [ 0, l ] } . ( 1 1 3)
What to do for points outside? We need to use the boundary conditions. Using them we obtain
ψ( x) = − φ( − x) , φ( x) = − ψ( 2 l − x) ( 1 1 4)
which extends the definition of ψ to [ − l , l] and that of φ to [ 0, 2 l] . Now using these two relations again,
we obtain ψ over [ − 2 l , l ] while φ over [ 0, 3 l ] . Repeating this process, we finally got ψ defined over ( − ∞ ,
l] while φ over [ 0, ∞ ) . It is clear that this is sufficient for determine u( x , t) using
u( x , t) = φ( x + c t) + ψ( x − c t) ( 1 1 5)
for all ( x , t) : 0 6 x 6 l , t > 0.

Example 9. ( § 5. 1 2, 1 5) Find the solution of the initial-boundary value problem


ut t = 4 ux x , 0 < x < 1, t > 0 ( 1 1 6)
u( x , 0) = 0, 0 6 x 6 1, ( 1 1 7)
u t ( x , 0) = x ( 1 − x) , 0 6 x 6 1, ( 1 1 8)
u( 0, t) = 0, t > 0, ( 1 1 9)
u( 1 , t) = 0. t > 0. ( 1 20)
Solution. In this problem c = 2, f = 0, g = x ( 1 − x) . Recall that the general solution is
u( x , t) = φ( x + 2 t) + ψ( x − 2 t) . ( 1 21 )
As we need u( x , t) for all 0 < x < 1 , t > 0, we need values of φ( x) for all x > 0 and ψ( x) for all x < 1 .
First using the initial values, we conclude
Z
1 x 1 1 3
φ( x) = y ( 1 − y) dy + C = x 2 − x +C ( 1 22)
4 8 12
1 1 3
ψ( x) = − x 2 + x − C. ( 1 23)
8 12
Both formulas hold only for 0 6 x 6 1 .
Now using u( 0, t) = 0 we obtain
φ( c t) + ψ( − c t) = 0 ψ( x) = − φ( − x) , ( 1 24)
using u( 1 , t) = 0 we obtain
φ( 1 + c t) + ψ( 1 − c t) = 0 φ( x) = − ψ( 2 − x) . ( 1 25)
Thus we will use ψ( x) = − φ( − x) and φ( x) = ψ( 2 − x) to determine values of φ and ψ outside 0 6 x 6 1 .
Using ψ( x) = − φ( − x) once, we obtain
1 2 1 3
ψ( x) = − x − x −C − 1 6 x 6 0. ( 1 26)
8 12
Next using φ( x) = − ψ( 2 − x) we have
1 2 1 3
φ( x) = ( 2 − x) − ( 2 − x) + C 1 6 x 6 2, ( 1 27)
8 12
and
1 2 1 3 1 2 1 3
φ( x) = ( 2 − x) + ( 2 − x) + C = ( x − 2) − ( x − 2) + C 2 6 x 6 3. ( 1 28)
8 12 8 12
Note that so far we have determined ψ on − 1 6 x 6 1 and φ on 0 6 x 6 3.
Now using ψ( x) = − φ( − x) again, we can determine ψ on − 3 6 x 6 − 1 :
1 2 1 3
ψ( x) = −( 2 + x) + ( 2 + x) − C − 2 6 x 6 − 1, ( 1 29)
8 12
1 1 3 1 1 3
ψ( x) = − ( 2 + x) + ( − x − 2) − C = − ( 2 + x) − ( 2 + x) − C. ( 1 30)
8 12 8 12
Comparing the values of ψ over − 1 6 x 6 1 and − 3 6 x 6 − 1 , we observe that ψ on − 3 6 x 6 − 1 can be
obtained from ψ over − 1 6 x 6 1 by a translation.
Carrying on the process, we see that φ and ψ are in fact obtained from periodic extension of their
values over 0 6 x 6 2 and − 1 6 x 6 1 , respectively.

Remark 1 0. As we can see from the past few lectures, the closed solution formulas are less and less
helpful in understanding the equation/ solution as the domain gets more complicated. In a few weeks, we
will study a different approach to these “more complicated” initial-boundary value problems.

4. Nonhomogeneous wave equations.


In this section we consider the initial value problem
u t t − c 2 u x x = h( x , t) , x ∈ R, t> 0 ( 1 31 )
u( x , 0) = f( x) , x∈ R ( 1 32)
u t ( x , 0) = g( x) , x ∈ R. ( 1 33)
Note that this time we do not have the formula for general solutions at hand. Nevertheless, we can try to
simplify the equation a bit using the d’ Alembert formula. Let v be defined by the d’ Alembert’ s formula
Zx + ct
1 1
v( x , t) = φ( x + c t) + ψ( x − c t) = [ f( x + c t) + f( x − c t) ] + g( y) dy. ( 1 34)
2 2 c x − ct
We know that v solves
v t t − c 2 v x x = 0, x ∈ R, t > 0 ( 1 35)
v( x , 0) = f( x) , x∈ R ( 1 36)
v t ( x , 0) = g( x) , x ∈ R. ( 1 37)
Let w = u − v. Using the linearity of the equation, we easily see that w solves
w t t − c 2 w x x = h( x , t) , x ∈ R, t> 0 ( 1 38)
w( x , 0) = 0, x∈ R ( 1 39)
w t ( x , 0) = 0, x ∈ R. ( 1 40)
All we need to do is to solve w.
In the following we will forget the physical meaning that t is time and x space, and treat them just as
the two coordinate variables for the plane. To find out w( x 0 , t 0 ) , we integrate the equation over the
domain of dependence:
Ω ≡ { ( x , t) : t > 0, x ∈ ( x 0 − c ( t 0 − t) , x 0 + c ( t 0 − t) ) } . ( 1 41 )
We have ZZ ZZ

2
w t t − c w x x dx dt = h( x , t) dx dt. ( 1 42)
Ω Ω

Now we use Green’ s formula ZZ I


Fx + G y dx dy = F dy − G dx ( 1 43)
Ω ∂Ω

to obtain ( with t y, w t G, − c 2 w x F)
ZZ I
h( x , t) dx dt = − c 2 w x dt + w t dx. ( 1 44)
Ω ∂Ω

Remark 1 1 . One way to remember Green’ s formula is the following. Consider the special case that Ω =
{ ( x , y) : 0 < x , y < 1 } . Then
ZZ Z1 " Z1 # Z1 " Z1 #
Fx + G y dx dy = Fx dx dy + G y dy dx
Ω 0 0 0 0
Z1 Z1 Z1 Z1
= F( 1 , y) d y − F( 0, y) dy + G( 1 , x) dx − G( 0, x) dx
Z1
0 0
Z0 " 0Z 0
Z0 #
1
= F( 1 , y) d y + F( 0, y) dy − G( 0, x) dx + G( 1 , x) dx
0 1 0 1
I
= F dy − G dx. ( 1 45)
∂Ω

The boundary ∂Ω can be consists of three parts: Γ 1 along the x-axis, Γ 2 along x + c t = x 0 + c t 0 , Γ 3 along
x − c t = x 0 − c t 0 . We evaluate the integrals on them one by one.
R
• Γ 1 . Along it we have dy = 0 and w t = 0. Thus Γ = 0.
1
dx ( t)
• Γ 2 . We represent Γ 2 by { ( x( t) , t) } with x( t) + c t = x 0 + c t 0 . Then we have dt = − c and
Z Z t0 Z t0
c 2 w x dt + w t dx = c 2 w x ( x( t) , t) dt + w t ( x( t) , t) dx( t)
Γ2
Z0 t 0 Z0 t 0
= c 2 w x ( x( t) , t) dt + w t ( x( t) , t) ( − c) dt
0
Z t0  0 
dx( t)
= − c w x ( x( t) , t) + w t ( x( t) , t) dt
0 dt
Z t0
d
= −c w( x( t) , t) dt
0 dt
= − c [ w( x( t 0 ) , t 0 ) − w( x( 0) , 0) ]
= − c w( x 0 , t 0 ) . ( 1 46)
• Γ 3 is similar to Γ 2 .
Putting the three parts together we obtain
ZZ I
h( x , t) dx dt = − c 2 w x dt + w t dx = 2 c w( x 0 , t 0 ) ( 1 47)
Ω ∂Ω

which gives the formula ZZ


1
w( x , t) = h( y , s) dy ds. ( 1 48)
2c Ω

Remark 1 2. An equivalent approach is to use Gauss’ theorem instead of Green’ s formula.


ZZ I
Ft + G x dx dt = Fn t + G n x ds ( 1 49)
Ω ∂Ω
where s is the arc length variable along the boundary, and n t , n x are the t-component and x-component
of the outer normal n. Taking F = w t and G = − c 2 w x , we have
ZZ I

w t t − c 2 w x x dx dt = w t n t − c 2 w x n x ds
Ω ∂Ω

The boundary ∂Ω consists of three parts. Along the two sides we have
 
  ±√
c
nt 1 + c2 
= 1 . ( 1 50)
nx √
1+ c2
As a consequence, we have
dt 1 dx c
=±√ , =− √ ( 1 51 )
ds 1 + c2 ds 1 + c2
along them, which means
1 c dw
√ wt ∓ √ wx = ( 1 52)
1+c 2 1+c 2 ds
therefore we finally have ZZ
2 c u( x 0 , t 0 ) = h( x , t) dx dt. ( 1 53)

The general formula for non-homogeneous problem is then


Zx+ct ZZ
1 1 1
u( x , t) = [ f( x + c t) + f( x − c t) ] + g( y) dy + h( y , s) dy ds ( 1 54)
2 2 c x − ct 2c Ω ( x , t)
where
Ω( x , t) = { ( y , s) : s > 0, y ∈ ( x − c ( t − s) , x + c ( t − s) ) } . ( 1 55)

Note. The solution formula in the book ( 5. 7. 1 1 ) is not really useful as the authors forgot to replace h by
h ∗ . Please take a few minutes to compare ( 5. 7. 1 1 ) in the book and our formula above.

Example 1 3. ( § 5. 1 2, 2 b) ) Solve
u t t − c 2 u x x = x + c t, u( x , 0) = x , u t ( x , 0) = sin x. ( 1 56)
Solution. Here f( x) = x, g( x) = sin x, h( x , t) = x + c t. We evaluate
Zx+ct
sin y dy = − [ cos( x + c t) − cos( x − c t) ] = 2 sin x sin c t. ( 1 57)
x − ct
and
ZZ Zt " Zx + c( t− s) #
y + c s dy ds = y + c s dy ds
Ω ( x , t) 0 x − c( t− s)
Zt
= 2 x c ( t − s) + 2 c 2 s ( t − s) ds
0
2
= 2 c x t 2 − x c t 2 + c 2 t 3 − c2 t 3
3
1 2 3
2
= cxt + c t . ( 1 58)
3
Thus the solution is
Zx + ct ZZ
1 1 1
u( x , t) = [ f( x + c t) + f( x − c t) ] + g( y) d y + h( y , s) d y ds
2 2 c x − ct 2c Ω ( x , t)
1 1 c
= x + sin x sin c t + x t 2 + t 3 . ( 1 59)
c 2 6
Substituting back into the equation, we see that we have found the correct answer.

Example 1 4. ( § 5. 1 2, 2 e) ) Solve
u t t − c2 u x x = x e t , u( x , 0) = sin x , u t ( x , 0) = 0. ( 1 60)
Solution. We have f( x) = sin x, g( x) = 0, h( x , t) = x e t . Calculate
ZZ ZZ
h( y , s) dy ds = y e s d y ds
Ω ( x , t) Ω ( x , t)
Z " Z t
#
x + c( t− s)
= y e s d y ds
0 x − c( t− s)
Zt
1h 2 2
i
= ( x + c ( t − s) ) − ( x − c ( t − s) ) e s ds
2
Z0 t
= 2 x c ( t − s) e s ds
0  Zt Zt 
s s
= 2xc t e ds − s e ds
0  0 
= 2 x c t et − 1 − 2 x c t et + 2 x c et − 1

= 2 x c et − t − 1 . ( 1 61 )
where the latter integral is evaluated using integration by parts:
Zt Zt Zt
 
s e s ds = s de s = s e s t0 − e s ds = t e t − e t − 1 . ( 1 62)
0 0 0

Putting everything together we obtain the solution



u( x , t) = sin x cos c t + x e t − t − 1 . ( 1 63)

5. Spherical wave equations.


One can also consider wave equations in higher dimensions. For example, in 2D we have
u t t − c2 ( u x x + u y y ) = 0 ( 1 64)
u( x , y , 0) = f( x , y) ( 1 65)
u t ( x , y , 0) = g( x , y) , ( 1 66)
in 3D we have
u t t − c2 ( u x x + u y y + u z z ) = 0 ( 1 67)
u( x , y , z , 0) = f( x , y , z) ( 1 68)
u t ( x , y , z , 0) = g( x , y, z) . ( 1 69)
Solution formulas are also available but their derivation is beyond the scope of our course here. Neverthe-
p we will deal with a special case in 3D, where all functions only depends on the radius r =
less,
x2 + y2 + z2 .
First we need to re-write the equations so that only t and r appear. Using chain rule we obtain
 x x2 1 x2
u( r , t) x x = ( u x ) x = ( u r r x ) x = u r = ur r 2 + ur − 3 ur , ( 1 70)
r x r r r
y2 1 y2
u( r , t) y y = u r r 2 + u r − 3 u r , ( 1 71 )
r r r
z 2 1 z 2
u( r , t) z z = u r r 2 + u r − 3 u r . ( 1 72)
r r r
Using the fact that x 2 + y 2 + z 2 = r 2 we obtain
2
ux x + u y y + uz z = ur r + ur . ( 1 73)
r
The equations then become
 
2
u t t − c2 ur r + ur = 0 r > 0, t > 0 ( 1 74)
r
u( r, 0) = f( r) r> 0 ( 1 75)
u t ( r, 0) = g( r) r> 0 ( 1 76)
This equation can be explicitly solved through the following trick: Let
U( r , t) ≡ r u( r , t) . ( 1 77)
Then we have
Ut t − c 2 Ur r = 0 r > 0, t > 0 ( 1 78)
U( r , 0) = F( r) ≡ r f( r) r> 0 ( 1 79)
Ut ( r , 0) = G( r) ≡ r g( r) r> 0 ( 1 80)
If we assume u to be bounded, then U( 0, t) = 0 for all t > 0. Thus the equation for U can be solved using
the formula we have discussed:
 Zr+ct
 1 1
 [ F( r + c t) + F( r − c t) ] + G( ρ) dρ r > c t
2 2 c r − ct
U( r , t) = Zr+ct . ( 1 81 )
 1 1
 [ F( r + c t) − F( c t − r) ] + G( ρ) dρ 0 6 r 6 c t
2 2 c ct− r

Recalling U = r u, we obtain
 Zr+ct
 1 1
 2 r [ ( r + c t) f( r + c t) + ( r − c t) f( r − c t) ] + 2 r c ρ g( ρ) dρ r > c t
u( r , t) = Zr −r +c tc t ( 1 82)
 1 1
 [ ( r + c t) f( r + c t) − ( c t − r) f( c t − r) ] + ρ g( ρ) dρ 0 6 r 6 c t
2r 2 r c ct− r

You might also like