1 Wave Equation With Free Ends: Weston Barger July 14, 2016
1 Wave Equation With Free Ends: Weston Barger July 14, 2016
1 Wave Equation With Free Ends: Weston Barger July 14, 2016
Weston Barger
x ∈ (0, L), t ∈ [0, ∞)
u(x , 0) = f (x )
utt = c 2u xx , ut (x , 0) = g(x ) (1.1)
ux (0, t ) = 0
ux (L, t ) = 0
u(x , t ) = X (x )T (t ).
Then, as we’ve seen before, inserting the above equation into the wave equation gives
T 00 X 00
= = λ.
c 2T X
It follows that
X 00 (x ) = λX .
Note here that the boundary condition is X 0 (0) = X 0 (L) = 0. We consider three separate
cases.
1
λ = 0. We have that
X 00 = 0 ⇒ X (x ) = Cx + D.
X (x ) = D.
u(x , t ) = At + B ,
X 00 (x ) = r 2 X (x ) ⇒ X (x ) = Ce rx + De –rx .
X 0 (0) = Cr – Dr = 0
X 0 (L) = Cre Lr – Dre –Lr = 0.
This system admits only the solution C = D = 0. Boring. The case λ > 0 does not
admit any solutions.
X 00 (x ) = –r 2 X (x ) ⇒ X (x ) = C cos(rx ) + D sin(rx ).
X 0 (0) = Dr = 0
X 0 (L) = –Cr sin(Lr ) + Dr cos(Lr ) = 0.
2
so that
nπx
Xn (x ) = cos .
L
Thus, the full solution is
cnπt cnπx nπx
un (x , t ) = An cos + Bn sin cos
L L L
for n = 1, 2, 3, · · ·.
Using an even extension of f (x ), we use the formula for the Fourier cosine series to obtain
1ZL 2 ZL nπx
B0 = g(x ) dx , Bn = g(x ) cos dx
L 0 cnπ 0 L
Note that if we do note impose that the average initial velocity g(x ) of the string is zero,
then we get a sting whose amplitude is growing linearly in time! From where does this
unrealistic behavior arise?
3
2 The Heat Equation
Consider the problem
x ∈ (0, L), t ∈ [0, ∞)
u(x , 0) = 0
ut = σuxx . (2.1)
u(0, t ) = 0
u(L, t ) = 0
Here, σ > 0 is the heat conductivity of the material. The one-dimensional heat equation
models the heat on a rod with heat conductivity σ. As with the wave equation, we will
apply separation of variables to try to determine a solution. So, we guess that
u(x , t ) = X (x )T (t ). (2.2)
If you will recall, this is the exact problem we solved for the spacial function when dealing
with the wave equation. We found that
nπx n 2π2
Xn (x ) = sin , λn = – ,
L L2
for n = 1, 2, 3, · · ·. We now have the ODE in T
2 2
– σn 2π t
T 0 = λσT ⇒ Tn (t ) = An e σλt = An e L .
We have
nπx
2 2 2
un (x , t ) = Xn (x )Tn (t ) = An e –σn π t /L sin .
L
4
Superimposing all such un ’s yields a general solution
∞ 2 2 2
nπx
e –σn π t /L sin
X
u(x , t ) = An .
n=1 L
So far, from (2.1) we have used the heat equation ut = σuxx and the two boundary
conditions at x = 0 and x = L. What remains is to apply the initial condition. To this
end, we see that
∞
X
nπx
u(x , 0) = f (x ) = An sin .
n=1 L
3 Laplace’s Equation
Consider the problem
uxx + uyy = 0, 0 ≤ x ≤ L, 0 ≤ y ≤ M .
The above equation is known as Laplace’s equation. One could imagine getting to Laplace’s
equation by trying to find stationary or time-independent solutions to the multi-dimensional
wave or heat equations
utt = c 2 uxx + uyy , ut = σ uxx + uyy .
5
See Figure 1 for a visualization of the boundary conditions.
u(x , y) = X (x )Y (y),
and we get
X 00 Y 00
X 00 Y + XY 00 = 0 ⇒ =– = λ,
X Y
where, as before, λ is constant since X 00 /X and –Y 00 /Y depend on distinct variables. We
have the ODE
X 0 (0) = 0,
X 00
– λX = 0, .
X 0 (L) = 0
As before, we consider different cases for values of λ.
6
λ = 0. In this case,
X (x ) = c1 x + c2 .
X 0 (0) = c1 = 0,
X 0 (L) = c1 = 0.
Y (y) = Ay + B .
Y (M ) = AM + B = 0 ⇒ Y (y) = B (y – M ).
u(x , y) = B0 (y – M )
X 0 (0) = –c2 r = 0 ⇒ c2 = 0.
7
Since λ = –r 2 , we have the ODE in Y
n 2π2
Y 00 – Y =0 ⇒ Y (y) = Ae nπy/L + Be –nπy/L .
L2
We can rename our constants to get
e –nπM /L e nπy/L + Be
Y (y) = Ae f nπM /L e nπy/L
e nπ(y–M )/L + Be
= Ae f –nπ(y–M )
! !
b cosh nπ(y – M ) + B
=A c sinh nπ(y – M ) .
L L
Y (M ) = A
b = 0.
Thus,
!
nπ(y – M )
Yn (y) = Bn sinh .
L
So, for λ < 0, we have
!
nπ(y – M ) nπx
un (x , y) = Bn sinh cos .
L L
8
4 Laplace’s Equation on the Disk
Consider the problem
uxx + uyy = 0, x 2 + y 2 ≤ R2 ,
u(x , y) = f (x , y), x 2 + y 2 = R2 .
When considering how to apply the boundary conditions, it seems clear that we should
reformulate the problem in polar coordinates. We use the transformation
y
q
r= x2 + y 2, θ = arctan ,
x
or
x = r cos θ, y = r sin θ.
Now, we compute
∂u ∂u ∂r ∂u ∂θ
= +
∂x ∂r ∂x
∂θ ∂x
!
∂u x ∂u y
= + – 2
x + y2
q
∂r x 2 + y2 ∂θ
∂u sin θ ∂u
= cos θ –
∂r r ∂θ
sin θ
= cos θur – u .
r θ
Next, we wish to calculate uxx = (ux )x . Thus, using what we just found,
(ux )x
! !
sin θ sin θ sin θ
= cos θ cos θur – uθ – cos θur – u
r r r r θ θ
!
sin θ sin θ
= cos θ cos θurr + 2 uθ – u
r r θr
!
sin θ cos θ sin θ
– – sin θur + cos θuθr – u – u
r r θ r θθ
sin2 (θ) 2 sin(θ) cos(θ) sin2 (θ) 2 (θ)u – 2 sin(θ) cos(θ) u
= uθθ + uθ + ur + cos rr θr
r2 r2 r r