



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Homework #9 Solutions
ay′′^ + by′^ + cy = f (x) (1)
a) Find all solutions to the homogeneous version of (1).
Assume: y = erx^ ar^2 erx^ + brerx^ + cerx^ = 0 y′^ = rerx^ ar^2 + br + c = 0
y′′^ = r^2 erx^ r = −b ±
b^2 − 4 ac 2 a =^
−b ±
2 a , where^ D^ =^ b
(^2) − 4 ac
D yc(x)
0 c 1 e(^ −b+ 2 a√ D)x
√D 2 a x) +^ c^2 sin(^
√D 2 a x)
b) Fill in the following table with the choices you would make for the particular solution.
f (x) yc(x) x^4 Ax^4 + Bx^3 + Cx^2 + Dx + E cos(βx) Acos(βx) + Bsin(βx) eαx^ + sin(x) + x Aeαx^ + Bcos(x) + Csin(x) + Dx + E eαxsin(βx) Aeαxcos(βx) + Beαxsin(βx) x^2 eαxcos(βx) (Ax^2 + Bx + C)eαxcos(βx) + (Dx^2 + Ex + F )eαxsin(βx)
c) Assume that a=1, b=0, c=9 and f(x)=cos(3x). Find the general solution to (1). D = b^2 − 4 ac = − 36 From (a) we have that yc = c 1 cos(3x) + c 2 sin(3x)
yp = Axcos(3x) + Bxsin(3x) y p′ = − 3 Axsin(3x) + Acos(3x) + 3Bxcos(3x) + Bsin(3x) y p′′ = − 9 Axcos(3x) − 3 Asin(3x) − 3 Asin(3x) − 9 Bxsin(3x) + 3Bcos(3x) + 3Bcos(3x) = − 9 Axcos(3x) − 6 Asin(3x) − 9 Bxsin(3x) + 6Bcos(3x) y′′ p + 9yp = − 9 Axcos(3x) − 6 Asin(3x) − 9 Bsin(3x) + 6Bcos(3x) + 9Axcos(3x) + 9Bxsin(3x) = cos(3x) ⇒ − 6 Asin(3x) + 6Bcos(3x) = cos(3x) ⇒
yp =
xsin(3x)
yc + yp = y = c 1 cos(3x) + c 2 sin(3x) + x 6 sin(3x)
y′′^ + λy = 0 (2) y′(0) = y′(1) = 0 (3)
a) Assuming λ ∈ R, find the general solution to (2)
Assume: y = erx^ r^2 erx^ + λerx^ = 0 y′^ = rerx^ r^2 + λ = 0 y′′^ = r^2 erx^ r = ±
−λ
D yc(x)
0 c 1 e
√−λx
√−λx = C 1 cosh(
−λx) + C 2 sinh(
−λx) = 0 c 1 + c 2 x < 0 c 1 cos(
λx) + c 2 sin(
λx)
b) Apply the boundary conditions (3) and calculate the possible values of λ.
case 1: λ < 0 y′(x) = [c 1 sinh(
−λx) + c 2 cosh(
−λx)]
−λ y′(0) = = 0 = c 2 cosh(0) ⇒ c 2 = 0 y′(1) = c 1 sinh(
−λ) because λ 6 = 0, c 1 = 0 and y(x) = 0, the trivial solution case 2: λ = 0 y′(x) = c 2 y′(0) = = 0 = c 2 y′(1) = = 0 = c 2 c 2 = 0, c 1 ∈ R Therefore y(x) = c 1 , a non-trivial solution and 0 is a possible value of λ. case 3: λ > 0 y′(x) = −c 1
λsin(
λx) + c 2
λcos(
λx) y′(0) = = 0 = c 2
λ ⇒ because λ 6 = 0, c 2 = 0 y′(1) = c 1
λsin(
λ) assume c 1 6 = 0, λ = n^2 π^2 , n = 1, 2 , 3 ,... , y(x) = c 1 cos(
λx)
The possible values of λ are
λ = 0 λ = n^2 π^2 , n = 1, 2 , 3 ,...
And the general solution is
y(x) = c 0 +
n=
cncos(nπ)
since xk^ can’t be 0, we assume ak+2(k + 2)(k + 1) − ak = 0 ⇒ ak+2 = ak (k + 2)(k + 1) , k = 0, 1 , 2 , 3 ,...
k = 0 a 2 = a 0 2 · 1 k = 1 a 3 = a 1 3 · 2 · 1 k = 2 a 4 = a^2 4 · 3 = a^0 4 · 3 · 2 · 1 k = 3 a 5 = a 3 5 · 4
a 1 5 · 4 · 3 · 2 · 1 k = 4 a 6 = a 4 6 · 5
a 0 6 · 5 · 4 · 3 · 2 · 1 k = 5 a 7 = a 5 7 · 6
a 1 7 · 6 · 5 · 4 · 3 · 2 · 1 = for even k: a 2 n = a 0 (2n)! , n = 0, 1 , 2 , 3 ,...
= for odd k: a 2 n+1 = a 1 (2n + 1)! n = 0, 1 , 2 , 3 ,...
y(x) = a 0
n=
x^2 n (2n)!
n=
x^2 n+ (2n + 1)! y(x) = a 0 cosh(x) + a 1 sinh(x)
Temperature comes from either a source or from earlier in time, but is not created from nothing.
b) Explain the relationship between the heat equation and the diffusion equa- tion.
The diffusion equation is a non-linear form of the heat equation that is derived from the continuity equation using Fick’s first law.
c) Write down the linear wave equation and explain c and c(u).
∂^2 u ∂t^2 = c^2 ∇^2 u
Where c is the propagation speed of the wave. c(u) is a wave speed dependent on the amplitude.
d) What physical phenomenon modeled by the linear wave equation? the non- linear wave equation?
Linear wave equation models waves and vibrations. The non-linear wave equation provides a more realistic model.
e) Define dispersion and give a physical example.
Dispersion is when the velocity of a wave is a function of frequency, such as sound waves traveling through water.
∂u ∂t = −df ′^ + cg(← chain rule) ∂u ∂x = f ′^ + g′ ∂^2 u ∂t^2 = c^2 f ′′^ + c^2 g′′^ ∂^2 u ∂x^2 = f ′′^ + g′′
1-D wave eqn → ∂^2 u ∂t^2 =^ c
2 ∂^2 u ∂x^2 ⇒^ c
(^2) (f ′′ (^) + g′′) = c (^2) (f ′′ (^) + g′′)
b) u(x, t) = e−^4 w (^2) t sin(wx), 1-D heat eqn, c= ∂u ∂t = − 4 w^2 e−^4 w (^2) t sin(wx) ∂u ∂x =^ we
− 4 w^2 tcos(wx) ∂ (^2) u ∂x^2 =^ −w
(^2) e− 4 w^2 tsin(wx)
1-D heat eqn, c=2 → ∂u ∂E
(^2) u ∂x^2 ⇒ − 4 w^2 e−^4 w (^2) t sin(wx) = − 4 w^2 e−^4 w (^2) t sin(wx)
c) u(x, t) = x^4 + y^4 , 2-D poisson eqn: f (x, y) = 12(x^2 + y^2 )
∂u ∂x = 4 x^3 ∂u ∂y = 4y^3 ∂^2 u ∂x^2 = 12 x 2 ∂^2 u ∂y^2 = 12y^2
2-D poisson eqn → ∂
(^2) u ∂x^2
(^2) u ∂y^2 = f (x, y) = 12(x^2 + y^2 )
⇒ 12(x^2 + y^2 ) = 12(x^2 + y^2 )
d) u(x, y, z) = √x (^2) +^1 y (^2) +z 2 , 3-D laplace equation
∂u ∂x = −x (x^2 + y^2 + z^2 )^3 /^2 ∂^2 u ∂x^2 =^
3 x^2 (x^2 + y^2 + z^2 )^3 /^2
(x^2 + y^2 + z^2 )^3 /^2 ∂^2 u ∂y^2
3 y^2 (x^2 + y^2 + z^2 )^3 /^2
(x^2 + y^2 + z^2 )^3 /^2 ∂^2 u ∂z^2 = 3 z
2 (x^2 + y^2 + z^2 )^3 /^2
(x^2 + y^2 + z^2 )^3 /^2