4.11 Exercises
These are homework exercises to accompany Libl's "Differential Equations for Engineering " Textmap. This is a textbook targeted for a one semester first course on differential equations, aimed at engineering students. Prerequisite for the course is the basic calculus sequence.
Hint for the following exercises: Note that when λ > 0 , then cos ( λ ( t − a ) ) and sin ( λ ( t − a ) ) are also solutions of the homogeneous equation.
Your Turn
Compute all eigenvalues and eigenfunctions of x ″ + λ x = 0 , x ( a ) = 0 , x ( b ) = 0 (assume a < b ).
Your Turn
Compute all eigenvalues and eigenfunctions of x ″ + λ x = 0 , x ′ ( a ) = 0 , x ′ ( b ) = 0 (assume a < b ).
Your Turn
Compute all eigenvalues and eigenfunctions of x ″ + λ x = 0 , x ′ ( a ) = 0 , x ( b ) = 0 (assume a < b ).
Your Turn
Compute all eigenvalues and eigenfunctions of x ″ + λ x = 0 , x ( a ) = x ( b ) , x ′ ( a ) = x ′ ( b ) (assume a < b ).
Your Turn
We have skipped the case of λ < 0 for the boundary value problem x ″ + λ x = 0 , x ( − π ) = x ( π ) , x ′ ( − π ) = x ′ ( π ) . Finish the calculation and show that there are no negative eigenvalues.
Your Turn
Consider a spinning string of length 2 and linear density 0.1 and tension 3. Find smallest angular velocity when the string pops out.
Answer
ω
=
π
15
2
Your Turn
Suppose x ″ + λ x = 0 and x ( 0 ) = 1 , x ( 1 ) = 1 . Find all λ for which there is more than one solution. Also find the corresponding solutions (only for the eigenvalues).
Answer
λ k = 4 k 2 π 2 for k = 1 , 2 , 3 , … x k = cos ( 2 k π t ) + B sin ( 2 k π t ) (for any B )
Your Turn
Suppose x ″ + x = 0 and x ( 0 ) = 0 , x ′ ( π ) = 1 . Find all the solution(s) if any exist.
Answer
x
(
t
)
=
−
sin
(
t
)
Your Turn
Consider x ′ + λ x = 0 and x ( 0 ) = 0 , x ( 1 ) = 0 . Why does it not have any eigenvalues? Why does any first order equation with two endpoint conditions such as above have no eigenvalues?
Answer
General solution is x = C e − λ t . Since x ( 0 ) = 0 then C = 0 , and so x ( t ) = 0 . Therefore, the solution is always identically zero. One condition is always enough to guarantee a unique solution for a first order equation.
Your Turn
(challenging)
Suppose x ‴ + λ x = 0 and x ( 0 ) = 0 , x ′ ( 0 ) = 0 , x ( 1 ) = 0 . Suppose that λ > 0 . Find an equation that all such eigenvalues must satisfy. Hint: Note that − λ 3 is a root of r 3 + λ = 0 .
Answer
3
3
e
−
3
2
λ
3
−
3
3
cos
(
3
λ
3
2
)
+
sin
(
3
λ
3
2
)
=
0
Your Turn
Suppose f ( t ) is defined on [ − π , π ] as sin ( 5 t ) + cos ( 3 t ) . Extend periodically and compute the Fourier series of f ( t ) .
Your Turn
Suppose f ( t ) is defined on [ − π , π ] as | t | . Extend periodically and compute the Fourier series of f ( t ) .
Your Turn
Suppose f ( t ) is defined on [ − π , π ] as | t | 3 . Extend periodically and compute the Fourier series of f ( t ) .
Your Turn
Suppose f ( t ) is defined on ( − π , π ] as
−
1
i
f
−
π
<
t
≤
0
,
1
i
f
0
<
t
≤
π
.
Extend periodically and compute the Fourier series of f ( t ) .
Your Turn
Suppose f ( t ) is defined on ( − π , π ] as t 3 . Extend periodically and compute the Fourier series of f ( t ) .
Your Turn
Suppose f ( t ) is defined on [ − π , π ] as t 2 . Extend periodically and compute the Fourier series of f ( t ) .
There is another form of the Fourier series using complex exponentials e n t for n = … , − 2 , − 1 , 0 , 1 , 2 , … instead of cos ( n t ) and sin ( n t ) for positive n . This form may be easier to work with sometimes. It is certainly more compact to write, and there is only one formula for the coefficients. On the downside, the coefficients are complex numbers.
Your Turn
Let
f
(
t
)
=
a
0
2
+
∑
n
=
1
∞
a
n
cos
(
n
t
)
+
b
n
sin
(
n
t
)
.
Use Euler’s formula e i θ = cos ( θ ) + i sin ( θ ) to show that there exist complex numbers c m such that
f
(
t
)
=
∑
m
=
−
∞
∞
c
m
e
i
m
t
.
Note that the sum now ranges over all the integers including negative ones. Do not worry about convergence in this calculation. Hint: It may be better to start from the complex exponential form and write the series as
c
0
+
∑
m
=
1
∞
c
m
e
i
m
t
+
c
−
m
e
−
i
m
t
.
Your Turn
Suppose f ( t ) is defined on [ − π , π ] as f ( t ) = sin ( t ) . Extend periodically and compute the Fourier series.
Answer
sin
(
t
)
Your Turn
Suppose f ( t ) is defined on ( − π , π ] as f ( t ) = sin ( π t ) . Extend periodically and compute the Fourier series.
Answer
∑
n
=
1
∞
(
π
−
n
)
sin
(
π
n
+
π
2
)
+
(
π
+
n
)
sin
(
π
n
−
π
2
)
π
n
2
−
π
3
sin
(
n
t
)
Your Turn
Suppose f ( t ) is defined on ( − π , π ] as f ( t ) = sin 2 ( t ) . Extend periodically and compute the Fourier series.
Answer
1
2
−
1
2
cos
(
2
t
)
Your Turn
Suppose f ( t ) is defined on ( − π , π ] as f ( t ) = t 4 . Extend periodically and compute the Fourier series.
Answer
π
4
5
+
∑
n
=
1
∞
(
−
1
)
n
(
8
π
2
n
2
−
48
)
n
4
cos
(
n
t
)
Your Turn
Let
0 i f − 1 < t ≤ 0 , t i f 0 < t ≤ 1 ,
extended periodically.
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 rd harmonic.
Your Turn
Let
− t i f − 1 < t ≤ 0 , t 2 i f 0 < t ≤ 1 ,
extended periodically.
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 rd harmonic.
Your Turn
Let
− t 10 i f − 10 < t ≤ 0 , t 10 i f 0 < t ≤ 10 ,
extended periodically (period is 20).
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 r d harmonic.
Your Turn
Let f ( t ) = ∑ n = 1 ∞ 1 n 3 cos ( n t ) . Is f ( t ) continuous and differentiable everywhere? Find the derivative (if it exists everywhere) or justify why f ( t ) is not differentiable everywhere.
Your Turn
Let f ( t ) = ∑ n = 1 ∞ ( − 1 ) n n sin ( n t ) . Is f ( t ) differentiable everywhere? Find the derivative (if it exists everywhere) or justify why f ( t ) is not differentiable everywhere.
Your Turn
Let
0 i f − 2 < t ≤ 0 , t i f 0 < t ≤ 1 , − t + 2 i f 1 < t ≤ 2 ,
extended periodically.
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 rd harmonic.
Your Turn
Let
f ( t ) = e t f o r − 1 < t ≤ 1
extended periodically.
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 rd harmonic. What does the series converge to at t = 1 .
Your Turn
Let
f ( t ) = t 2 f o r − 1 < t ≤ 1
extended periodically.
Compute the Fourier series for f ( t ) . By plugging in t = 0 , evaluate ∑ n = 1 ∞ ( − 1 ) n n 2 = 1 − 1 4 + 1 9 − ⋯ . Now evaluate ∑ n = 1 ∞ 1 n 2 = 1 + 1 4 + 1 9 + ⋯ . .
Your Turn
Let
0 if − 3 < t ≤ 0 , t if 0 < t ≤ 3 ,
extended periodically. Suppose F ( t ) is the function given by the Fourier series of f . Without computing the Fourier series evaluate.
F
(
2
)
F
(
−
2
)
F
(
4
)
F
(
−
4
)
F
(
3
)
F
(
−
9
)
Your Turn
Let
f ( t ) = t 2 f o r − 2 < t ≤ 2
extended periodically.
Compute the Fourier series for f ( t ) . Write out the series explicitly up to the 3 rd harmonic.
Answer
8
6
+
∑
n
=
1
∞
16
(
−
1
)
n
π
2
n
2
cos
(
n
π
2
t
)
8
6
−
16
π
2
cos
(
π
2
t
)
+
4
π
2
cos
(
π
t
)
−
16
9
π
2
cos
(
3
π
2
t
)
+
⋯
Your Turn
Let
f ( t ) = 1 2 + ∑ n = 1 ∞ 1 n ( n 2 + 1 ) sin ( n π t ) .
Compute f ′ ( t ) .
Answer
f
′
(
t
)
=
∑
n
=
1
∞
π
n
2
+
1
cos
(
n
π
t
)
Your Turn
Let
f ( t ) = t 2 f o r − π < t ≤ π
extended periodically.
Compute the Fourier series for f ( t ) . Plug in t = π 2 to find a series representation for π 4 . Using the first 4 terms of the result from part b) approximate π 4 .
Answer
∑
n
=
1
∞
(
−
1
)
n
+
1
n
sin
(
n
t
)
f is continuous at t = π 2 so the Fourier series converges to f ( π 2 ) = π 4 . Obtain π 4 = ∑ n = 1 ∞ ( − 1 ) n + 1 2 n − 1 = 1 − 1 3 + 1 5 − 1 7 + ⋯ .Using the first 4 terms get 76 / 105 ≈ 0.72 (quite a bad approximation, you would have to take about 50 terms to start to get to within 0.01 of π 4 ).
Your Turn
Let
0 if − 2 < t ≤ 0 , 2 if 0 < t ≤ 2 ,
extended periodically. Suppose F ( t ) is the function given by the Fourier series of f . Without computing the Fourier series evaluate.
F
(
0
)
F
(
−
1
)
F
(
1
)
F
(
−
2
)
F
(
4
)
F
(
−
8
)
Answer
F
(
0
)
=
1
F
(
−
1
)
=
0
F
(
1
)
=
2
F
(
−
2
)
=
1
F
(
4
)
=
1
F
(
−
9
)
=
0
Your Turn
Find the Fourier series of both the odd and even periodic extension of the function f ( t ) = ( t − 1 ) 2 for 0 ≤ t ≤ 1 . Can you tell which extension is continuous from the Fourier series coefficients?
Your Turn
Find the Fourier series of both the odd and even periodic extension of the function f ( t ) = t for 0 ≤ t ≤ π .
Your Turn
Consider
x
″
(
t
)
+
4
x
(
t
)
=
f
(
t
)
,
where f ( t ) = 1 on 0 < t < 1 .
Solve for the Dirichlet conditions x ( 0 ) = 0 , x ( 1 ) = 0 . Solve for the Neumann conditions x ′ ( 0 ) = 0 , x ′ ( 1 ) = 0 .
Your Turn
Consider
x
″
(
t
)
+
9
x
(
t
)
=
f
(
t
)
,
for f ( t ) = sin ( 2 π t ) on 0 < t < 1 .
Solve for the Dirichlet conditions x ( 0 ) = 0 , x ( 1 ) = 0 . b) Solve for the Neumann conditions x ′ ( 0 ) = 0 , x ′ ( 1 ) = 0 .
Your Turn
Consider
x
″
(
t
)
+
3
x
(
t
)
=
f
(
t
)
,
x
(
0
)
=
0
,
x
(
1
)
=
0
,
where f ( t ) = ∑ n = 1 ∞ b n sin ( n π t ) . Write the solution x ( t ) as a Fourier series, where the coefficients are given in terms of b n .
Your Turn
Let f ( t ) = t 2 ( 2 − t ) for 0 ≤ t ≤ 2 . Let F ( t ) be the odd periodic extension. Compute F ( 1 ) , F ( 2 ) , F ( 3 ) , F ( − 1 ) , F ( 9 2 ) , F ( 101 ) , F ( 103 ) . Note: Do not compute using the sine series.
Your Turn
Let f ( t ) = t 3 on 0 ≤ t < 3 .
Find the Fourier series of the even periodic extension. Find the Fourier series of the odd periodic extension.
Answer
1
2
+
∑
n
odd
n
=
1
∞
−
4
π
2
n
2
cos
(
n
π
3
t
)
∑
n
=
1
∞
2
(
−
1
)
n
+
1
π
n
sin
(
n
π
3
t
)
Your Turn
Let f ( t ) = ∑ n = 1 ∞ 1 n 2 sin ( n t ) . Solve x ″ − x = f ( t ) for the Dirichlet conditions x ( 0 ) = 0 and x ( π ) = 0 .
Answer
∑
n
=
1
∞
−
1
n
2
(
1
+
n
2
)
sin
(
n
t
)
Your Turn
(challenging)
Let f ( t ) = t + ∑ n = 1 ∞ 1 2 n sin ( n t ) . Solve x ″ + π x = f ( t ) for the Dirichlet conditions x ( 0 ) = 0 and x ( π ) = 1 . Hint: Note that t π satisfies the given Dirichlet conditions.
Answer
t
π
+
∑
n
=
1
∞
1
2
n
(
π
−
n
2
)
sin
(
n
t
)
Your Turn
Let F ( t ) = 1 2 + ∑ n = 1 ∞ 1 n 2 cos ( n π t ) . Find the steady periodic solution to x ″ + 2 x = F ( t ) . Express your solution as a Fourier series.
Your Turn
Let F ( t ) = ∑ n = 1 ∞ 1 n 3 sin ( n π t ) . Find the steady periodic solution to x ″ + x ′ + x = F ( t ) . Express your solution as a Fourier series.
Your Turn
Let F ( t ) = ∑ n = 1 ∞ 1 n 2 cos ( n π t ) . Find the steady periodic solution to x ″ + 4 x = F ( t ) . Express your solution as a Fourier series.
Your Turn
Let F ( t ) = t for − 1 < t < 1 and extended periodically. Find the steady periodic solution to x ″ + x = F ( t ) . Express your solution as a series.
Your Turn
Let F ( t ) = t for − 1 < t < 1 and extended periodically. Find the steady periodic solution to x ″ + π 2 x = F ( t ) . Express your solution as a series.
Your Turn
Let F ( t ) = sin ( 2 π t ) + 0.1 cos ( 10 π t ) . Find the steady periodic solution to x ″ + 2 x = F ( t ) . Express your solution as a Fourier series.
Answer
x
=
1
2
−
4
π
2
sin
(
2
π
t
)
+
0.1
2
−
100
π
2
cos
(
10
π
t
)
Your Turn
Let F ( t ) = ∑ n = 1 ∞ e − n cos ( 2 n t ) . Find the steady periodic solution to x ″ + 3 x = F ( t ) . Express your solution as a Fourier series.
Answer
x
=
∑
n
=
1
∞
e
−
n
3
−
(
2
n
)
2
cos
(
2
n
t
)
Your Turn
Let F ( t ) = | t | for − 1 ≤ t ≤ 1 extended periodically. Find the steady periodic solution to x ″ + 3 x = F ( t ) . Express your solution as a series.
Answer
x
=
1
2
3
+
∑
n
odd
n
=
1
∞
−
4
n
2
π
2
(
3
−
n
2
π
2
)
cos
(
n
π
t
)
Your Turn
Let F ( t ) = | t | for − 1 ≤ t ≤ 1 extended periodically. Find the steady periodic solution to x ″ + π 2 x = F ( t ) . Express your solution as a series.
Answer
x
=
1
2
3
−
2
π
3
t
sin
(
π
t
)
+
∑
n
odd
n
=
3
∞
−
4
n
2
π
4
(
1
−
n
2
)
cos
(
n
π
t
)
Your Turn
Imagine you have a wire of length 2 , with k = 0.001 and an initial temperature distribution of u ( x , 0 ) = 50 x . Suppose that both the ends are embedded in ice (temperature 0). Find the solution as a series.
Your Turn
Find a series solution of
u
t
=
u
x
x
,
u
(
0
,
t
)
=
u
(
1
,
t
)
=
0
,
u
(
x
,
0
)
=
100
f
o
r
0
<
x
<
1
.
Your Turn
Find a series solution of
u
t
=
u
x
x
,
u
x
(
0
,
t
)
=
u
x
(
π
,
t
)
=
0
,
u
(
x
,
0
)
=
3
cos
(
x
)
+
cos
(
3
x
)
f
o
r
0
<
x
<
π
.
Your Turn
Find a series solution of
u
t
=
1
3
u
x
x
,
u
x
(
0
,
t
)
=
u
x
(
π
,
t
)
=
0
,
u
(
x
,
0
)
=
10
x
π
f
o
r
0
<
x
<
π
.
Your Turn
Find a series solution of
u
t
=
u
x
x
,
u
(
0
,
t
)
=
0
,
u
(
1
,
t
)
=
100
,
u
(
x
,
0
)
=
sin
(
π
x
)
f
o
r
0
<
x
<
1
.
Hint: Use the fact that u ( x , t ) = 100 x is a solution satisfying u t = u x x , u ( 0 , t ) = 0 , u ( 1 , t ) = 100 . Then usesuperposition.
Your Turn
Find the steady state temperature solution as a function of x alone, by letting t → ∞ in the solution from exercises 4 and 5 . Verify that it satisfies the equation u x x = 0 .
Your Turn
Use separation variables to find a nontrivial solution to u x x + u y y = 0 , where u ( x , 0 ) = 0 and u ( 0 , y ) = 0 . Hint: Try u ( x , y ) = X ( x ) Y ( y ) .
Your Turn
(challenging)
Suppose that one end of the wire is insulated (say at x = 0 ) and the other end is kept at zero temperature. That is, find a series solution of
u
t
=
k
u
x
x
,
u
x
(
0
,
t
)
=
u
(
L
,
t
)
=
0
,
u
(
x
,
0
)
=
f
(
x
)
f
o
r
0
<
x
<
L
.
Express any coefficients in the series by integrals of f ( x ) .
Your Turn
(challenging)
Suppose that the wire is circular and insulated, so there are no ends. You can think of this as simply connecting the two ends and making sure the solution matches up at the ends. That is, find a series solution of
u
t
=
k
u
x
x
,
u
(
0
,
t
)
=
u
(
L
,
t
)
,
u
x
(
0
,
t
)
=
u
x
(
L
,
t
)
u
(
x
,
0
)
=
f
(
x
)
f
o
r
0
<
x
<
L
.
Express any coefficients in the series by integrals of f ( x ) .
Your Turn
Consider a wire insulated on both ends, L = 1 , k = 1 , and u ( x , 0 ) = cos 2 ( π x ) .
Find the solution u ( x , t ) . Hint: a trig identity. Find the average temperature. Initially the temperature variation is 1 (maximum minus the minimum). Find the time when the variation is 1 2 .
Your Turn
Find a series solution of
u
t
=
3
u
x
x
,
u
(
0
,
t
)
=
u
(
π
,
t
)
=
0
,
u
(
x
,
0
)
=
5
sin
(
x
)
+
2
sin
(
5
x
)
f
o
r
0
<
x
<
π
.
Answer
u
(
x
,
t
)
=
5
sin
(
x
)
e
3
t
+
2
sin
(
5
x
)
e
−
75
t
Your Turn
Find a series solution of
u
t
=
0.1
u
x
x
,
u
x
(
0
,
t
)
=
u
x
(
π
,
t
)
=
0
,
u
(
x
,
0
)
=
1
+
2
cos
(
x
)
f
o
r
0
<
x
<
π
.
Answer
u
(
x
,
t
)
=
1
+
2
cos
(
x
)
e
−
0.1
t
Your Turn
Use separation of variables to find a nontrivial solution to u x + u t = u . (Hint: try u ( x , t ) = X ( x ) + T ( t ) ).
Answer
u
(
x
,
t
)
=
A
e
x
+
B
e
t
Your Turn
Suppose that the temperature on the wire is fixed at 0 at the ends, L = 1 , k = 1 , and u ( x , 0 ) = 100 sin ( 2 π x ) .
What is the temperature at x = 1 2 at any time. What is the maximum and the minimum temperature on the wire at t = 0 . At what time is the maximum temperature on the wire exactly one half of the initial maximum at t = 0 .
Answer
0
minimum − 100 , maximum 100
t
=
ln
2
4
π
2
Your Turn
Solve
y
t
t
=
9
y
x
x
,
y
(
0
,
t
)
=
y
(
1
,
t
)
=
0
,
y
(
x
,
0
)
=
sin
(
3
π
x
)
+
1
4
sin
(
6
π
x
)
f
o
r
0
<
x
<
1
,
y
t
(
x
,
0
)
=
0
f
o
r
0
<
x
<
1
.
Your Turn
Solve
y
t
t
=
4
y
x
x
,
y
(
0
,
t
)
=
y
(
1
,
t
)
=
0
,
y
(
x
,
0
)
=
sin
(
3
π
x
)
+
1
4
sin
(
6
π
x
)
f
o
r
0
<
x
<
1
,
y
t
(
x
,
0
)
=
sin
(
9
π
x
)
f
o
r
0
<
x
<
1
.
Your Turn
Derive the solution for a general plucked string of length L , where we raise the string some distance b at the midpoint and let go, and for any constant a (in the equation y t t = a 2 y x x ).
Your Turn
Imagine that a stringed musical instrument falls on the floor. Suppose that the length of the string is 1 and a = 1 . When the musical instrument hits the ground the string was in rest position and hence y ( x , 0 ) = 0 . However, the string was moving at some velocity at impact ( t = 0 )), say y t ( x , 0 ) = − 1 . Find the solution y ( x , t ) for the shape of the string at time t .
Your Turn
(challenging)
Suppose that you have a vibrating string and that there is air resistance proportional to the velocity. That is, you have
y
t
t
=
a
2
y
x
x
−
k
y
t
,
y
(
0
,
t
)
=
y
(
1
,
t
)
=
0
,
y
(
x
,
0
)
=
f
(
x
)
f
o
r
0
<
x
<
1
,
y
t
(
x
,
0
)
=
0
f
o
r
0
<
x
<
1
.
Suppose that 0 < k < 2 π a . Derive a series solution to the problem. Any coefficients in the series should be expressed as integrals of f ( x ) .
Your Turn
Suppose you touch the guitar string exactly in the middle to ensure another condition u ( L 2 , t ) = 0 for all time. Which multiples of the fundamental frequency π a L show up in the solution?
Your Turn
Solve
y
t
t
=
y
x
x
,
y
(
0
,
t
)
=
y
(
π
,
t
)
=
0
,
y
(
x
,
0
)
=
sin
(
x
)
f
o
r
0
<
x
<
π
,
y
t
(
x
,
0
)
=
sin
(
x
)
f
o
r
0
<
x
<
π
.
Answer
y
(
x
,
t
)
=
sin
(
x
)
(
sin
(
t
)
+
cos
(
t
)
)
Your Turn
Solve
y
t
t
=
25
y
x
x
,
y
(
0
,
t
)
=
y
(
2
,
t
)
=
0
,
y
(
x
,
0
)
=
0
f
o
r
0
<
x
<
2
,
y
t
(
x
,
0
)
=
sin
(
π
x
)
+
0.1
sin
(
2
π
t
)
f
o
r
0
<
x
<
2
.
Answer
y
(
x
,
t
)
=
1
5
π
sin
(
π
x
)
sin
(
5
π
t
)
+
1
100
π
sin
(
2
π
x
)
sin
(
10
π
t
)
Your Turn
Solve
y
t
t
=
2
y
x
x
,
y
(
0
,
t
)
=
y
(
π
,
t
)
=
0
,
y
(
x
,
0
)
=
x
f
o
r
0
<
x
<
π
,
y
t
(
x
,
0
)
=
0
f
o
r
0
<
x
<
π
.
Answer
y
(
x
,
t
)
=
∑
n
=
1
∞
2
(
−
1
)
n
+
1
n
sin
(
n
x
)
cos
(
n
2
t
)
Your Turn
Let’s see what happens when a = 0 . Find a solution to y t t = 0 , y ( 0 , t ) = y ( π , t ) = 0 , y ( x , 0 ) = sin ( 2 x ) , y t ( x , 0 ) = sin ( x ) .
Answer
y
(
x
,
t
)
=
sin
(
2
x
)
+
t
sin
(
x
)
Your Turn
Using the d’Alembert solution solve y t t = 4 y x x , 0 < x < π , t > 0 , y ( 0 , t ) = y ( π , t ) = 0 , y ( x , 0 ) = sin x , and y t ( x , 0 ) = sin x . Hint: Note that sin x is the odd extension of y ( x , 0 ) and y t ( x , 0 ) .
Your Turn
Using the d’Alembert solution solve y t t = 2 y x x , 0 < x < 1 , t > 0 , y ( 0 , t ) = y ( 1 , t ) = 0 , y ( x , 0 ) = sin 5 ( π x ) , and y t ( x , 0 ) = sin 3 ( π x ) .
Your Turn
Take y t t = 4 y x x , 0 < x < π , t > 0 , y ( 0 , t ) = y ( π , t ) = 0 , y ( x , 0 ) = x ( π − x ) , and y t ( x , 0 ) = 0 .
Solve using the d’Alembert formula. Hint: You can use the sine series for y ( x , 0 ) . Find the solution as a function of x for a fixed t = 0.5 , t = 1 , and t = 2 . Do not use the sine series here.
Your Turn
Derive the d’Alembert solution for y t t = a 2 y x x , 0 < x < π , t > 0 , y ( 0 , t ) = y ( π , t ) = 0 , y ( x , 0 ) = f ( x ) , and y t ( x , 0 ) = 0 , using the Fourier series solution of the wave equation, by applying an appropriate trigonometric identity. Hint: Do it first for a single term of the Fourier series solution, in particular do it when y is sin ( n π L x ) sin ( n π a L t ) .
Your Turn
The d’Alembert solution still works if there are no boundary conditions and the initial condition is defined on the whole real line. Suppose that y t t = y x x (for all x on the real line and t ≥ 0 ), y ( x , 0 ) = f ( x ) , and y t ( x , 0 ) , where
0
i
f
x
<
−
1
,
x
+
1
i
f
−
1
≤
x
<
0
,
−
x
+
1
i
f
0
≤
x
<
1
0
i
f
x
>
1
.
Solve using the d’Alembert solution. That is, write down a piecewise definition for the solution. Then sketch the solution for t = 0 , t = 1 / 2 , t = 1 , and t = 2 .
Your Turn
Using the d’Alembert solution solve y t t = 9 y x x , 0 < x < 1 , t > 0 , y ( 0 , t ) = y ( 1 , t ) = 0 , y ( x , 0 ) = sin ( 2 π x ) , and y t ( x , 0 ) = sin ( 3 π x ) .
Answer
y
(
x
,
t
)
=
sin
(
2
π
(
x
−
3
t
)
)
+
sin
(
2
π
(
3
t
+
x
)
)
2
+
cos
(
3
π
(
x
−
3
t
)
)
−
cos
(
3
π
(
3
t
+
x
)
)
18
π
Your Turn
Take y t t = 4 y x x , 0 < x < 1 , t > 0 , y ( 0 , t ) = y ( 1 , t ) = 0 , y ( x , 0 ) = x − x 2 , and y t ( x , 0 ) = 0 . Using the D’Alembert solution find the solution at
t = 0.1 ,t = 1 / 2 ,t = 1 .
You may have to split your answer up by cases.
Answer
x
−
x
2
−
0.04
i
f
0.2
≤
x
≤
0.8
0.6
x
i
f
x
≤
0.2
0.6
−
0.6
x
i
f
x
≥
0.8
y
(
x
,
1
2
)
=
−
x
+
x
2
y
(
x
,
1
)
=
x
−
x
2
Your Turn
Take y t t = 100 y x x , 0 < x < 4 , t > 0 , y ( 0 , t ) = y ( 4 , t ) = 0 , y ( x , 0 ) = F ( x ) , and y t ( x , 0 ) = 0 . Suppose that F ( 0 ) = 0 , F ( 1 ) = 2 , F ( 2 ) = 3 , F ( 3 ) = 1 . Using the D’Alembert solution find
y ( 1 , 1 ) ,y ( 4 , 3 ) ,y ( 3 , 9 ) .
Answer
y
(
1
,
1
)
=
−
1
2
y
(
4
,
3
)
=
0
y
(
3
,
9
)
=
1
2
Your Turn
Let R be the region described by 0 < x < π and 0 < y < π . Solve the problem
Δ
u
=
0
,
u
(
x
,
0
)
=
sin
x
,
u
(
x
,
π
)
=
0
,
u
(
0
,
y
)
=
0
,
u
(
π
,
y
)
=
0
.
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 1 . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
sin
(
π
x
)
−
sin
(
2
π
x
)
,
u
(
x
,
1
)
=
0
,
u
(
0
,
y
)
=
0
,
u
(
1
,
y
)
=
0
.
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 1 . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
u
(
x
,
1
)
=
u
(
0
,
y
)
=
u
(
1
,
y
)
=
C
.
for some constant C . Hint: Guess, then check your intuition.
Your Turn
Let R be the region described by 0 < x < π and 0 < y < π . Solve
Δ
u
=
0
,
u
(
x
,
0
)
=
0
,
u
(
x
,
π
)
=
π
,
u
(
0
,
y
)
=
y
,
u
(
π
,
y
)
=
y
.
Hint: Try a solution of the form u ( x , y ) = X ( x ) + Y ( y ) (different separation of variables).
Your Turn
Use the solution of Exercise 4 to solve
Δ
u
=
0
,
u
(
x
,
0
)
=
sin
x
,
u
(
x
,
π
)
=
π
,
u
(
0
,
y
)
=
y
,
u
(
π
,
y
)
=
y
.
Hint: Use superposition.
Your Turn
Let R be the region described by 0 < x < w and 0 < y < h . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
0
,
u
(
x
,
h
)
=
f
(
x
)
,
u
(
0
,
y
)
=
0
,
u
(
w
,
y
)
=
0
.
The solution should be in series form using the Fourier series coefficients of f ( x ) .
Your Turn
Let R be the region described by 0 < x < w and 0 < y < h . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
0
,
u
(
x
,
h
)
=
0
,
u
(
0
,
y
)
=
f
(
y
)
,
u
(
w
,
y
)
=
0
.
The solution should be in series form using the Fourier series coefficients of f ( y ) .
Your Turn
Let R be the region described by 0 < x < w and 0 < y < h . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
0
,
u
(
x
,
h
)
=
0
,
u
(
0
,
y
)
=
0
,
u
(
w
,
y
)
=
f
(
y
)
.
The solution should be in series form using the Fourier series coefficients of f ( y ) .
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 1 . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
sin
(
9
π
x
)
,
u
(
x
,
1
)
=
sin
(
2
π
x
)
,
u
(
0
,
y
)
=
0
,
u
(
1
,
y
)
=
0
.
Hint: Use superposition.
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 1 . Solve the problem
u
x
x
+
u
y
y
=
0
,
u
(
x
,
0
)
=
sin
(
π
x
)
,
u
(
x
,
1
)
=
sin
(
π
x
)
,
u
(
0
,
y
)
=
sin
(
π
y
)
,
u
(
1
,
y
)
=
sin
(
π
y
)
.
Hint: Use superposition.
Your Turn
(challenging)
Using only your intuition find u ( 1 / 2 , 1 / 2 ) , for the problem Δ u = 0 , where u ( 0 , y ) = u ( 1 , y ) = 100 for 0 < y < 1 , and u ( x , 0 ) = u ( x , 1 ) = 0 for 0 < x < 1 . Explain.
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 1 . Solve the problem
Δ
u
=
0
,
u
(
x
,
0
)
=
∑
n
=
1
∞
sin
(
n
π
x
)
,
u
(
x
,
1
)
=
0
,
u
(
0
,
y
)
=
0
,
u
(
1
,
y
)
=
0
.
Answer
u
(
x
,
y
)
=
∑
n
=
1
∞
1
n
2
sin
(
n
π
x
)
(
sinh
(
n
π
(
1
−
y
)
)
sinh
(
n
π
)
)
Your Turn
Let R be the region described by 0 < x < 1 and 0 < y < 2 . Solve the problem
Δ
u
=
0
,
u
(
x
,
0
)
=
0.1
sin
(
π
x
)
,
u
(
x
,
2
)
=
0
,
u
(
0
,
y
)
=
0
,
u
(
1
,
y
)
=
0
.
Answer
u
(
x
,
y
)
=
0.1
sin
(
π
x
)
(
sinh
(
π
(
2
−
y
)
)
sinh
(
2
π
)
)
Your Turn
Using series solve Δ u = 0 , u ( 1 , θ ) = | θ | for − π < θ ≤ π .
Your Turn
Using series solve Δ u = 0 , u ( 1 , θ ) = g ( θ ) for the following data. Hint: trig identities.
g
(
θ
)
=
1
/
2
+
3
sin
(
θ
)
+
cos
(
3
θ
)
g
(
θ
)
=
cos
(
3
θ
)
+
3
sin
(
3
θ
)
+
sin
(
9
θ
)
g
(
θ
)
=
2
cos
(
θ
+
1
)
g
(
θ
)
=
sin
2
(
θ
)
Your Turn
Using the Poisson kernel, give the solution to Δ u = 0 , where u ( 1 , θ ) is zero for θ outside the interval [ − π / 4 , π / 4 ] and u ( 1 , θ ) is 1 for θ on the interval [ − π / 4 , π / 4 ] .
Your Turn
Draw a graph for the Poisson kernel as a function of α when r = 1 / 2 and θ = 0 . Describe what happens to the graph when you make r bigger (as it approaches 1). Knowing that the solution u ( r , θ ) is the weighted average of g ( θ ) with Poisson kernel as the weight, explain what your answer to part b means.
Your Turn
Take the function g ( θ ) to be the function x y = cos ( θ ) sin ( θ ) on the boundary. Use the series solution to find a solution to the Dirichlet problem Δ u = 0 , u ( 1 , θ ) = g ( θ ) . Now convert the solution to Cartesian coordinates x and y . Is this solution surprising? Hint: use your trig identities.
Your Turn
Carry out the computation we needed in the separation of variables and solve r 2 R ″ + r R ′ − n 2 R = 0 , for n = 0 , 1 , 2 , 3 , . . . .
Your Turn
(challenging)
Derive the series solution to the Dirichlet problem if the region is a circle of radius ρ rather than 1 . That is, solve Δ u = 0 , u ( ρ , θ ) = g ( θ ) .
Your Turn
Using series solve Δ u = 0 , u ( 1 , θ ) = 1 + ∑ n = 1 ∞ 1 n 2 sin ( n θ ) .
Answer
u
=
1
∑
n
=
1
∞
1
n
2
r
n
sin
(
n
θ
)
Your Turn
Using the series solution find the solution to Δ u = 0 , u ( 1 , θ ) = 1 − cos ( θ ) . Express the solution in Cartesian coordinates (that is, using x and y ).
Answer
u
=
1
−
x
Your Turn
Try and guess a solution to Δ u = − 1 , u ( 1 , θ ) = 0 . Hint: try a solution that only depends on r . Also first, don’t worry about the boundary condition. Now solve Δ u = − 1 , u ( 1 , θ ) = sin ( 2 θ ) using superposition.
Answer
u
=
−
1
4
r
2
+
1
4
u
=
−
1
4
r
2
+
1
4
+
r
2
sin
(
2
θ
)
Your Turn
(challenging)
Derive the Poisson kernel solution if the region is a circle of radius ρ rather than 1 . That is, solve Δ u = 0 , u ( ρ , θ ) = g ( θ ) .
Answer
u
(
r
,
θ
)
=
1
2
π
∫
−
π
π
ρ
2
−
r
2
ρ
−
2
r
ρ
cos
(
θ
−
α
)
+
r
2
g
(
α
)
d
α
Adapted from Differential Equations for Engineers by Jiří Lebl (Oklahoma State University), hosted on LibreTexts (math.libretexts.org) and licensed under CC BY-SA 4.0. Changes were made. License: CC-BY-SA-4.0 .