Docsity

Solved Homework 9 - Advanced Engineering Mathematics | MATH 348, Assignments of Mathematics

Toggle sidebar
bg1
Homework #9 Solutions
1. Given,
ay00 +by0+cy =f(x) (1)
a) Find all solutions to the homogeneous version of (1).
Assume: y=erx ar2erx +brer x +cerx = 0
y0=rerx ar2+br +c= 0
y00 =r2erx r=−b±√b2−4ac
2a=−b±√D
2a, where D=b2−4ac
D yc(x)
>0c1e(−b+√D
2a)x+c2e(−b−√D
2a)x
= 0 c1e(−b
2a)x+c2e(−b
2a)x
<0e(−b
2a)x[c1cos(√D
2ax) + c2sin(√D
2ax)
b) Fill in the following table with the choices you would make for the particular
solution.
f(x)yc(x)
x4Ax4+Bx3+C x2+Dx +E
cos(βx)Acos(βx) + Bsin(βx)
eαx +sin(x) + x Aeαx +Bcos(x) + C sin(x) + Dx +E
eαxsin(βx)Aeαxcos(βx) + B eαxsin(β x)
x2eαxcos(βx) (Ax2+Bx +C)eαxcos(β x)+(Dx2+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=b2−4ac =−36
From (a) we have that yc=c1cos(3x) + c2sin(3x)
yp=Axcos(3x) + Bxsin(3x)
y0
p=−3Axsin(3x) + Acos(3x)+3Bxcos(3x) + Bsin(3x)
y00
p=−9Axcos(3x)−3Asin(3x)−3Asin(3x)−9Bxsin(3x)+3Bcos(3x)+3B cos(3x)
=−9Axcos(3x)−6Asin(3x)−9Bxsin(3x)+6Bcos(3x)
y00
p+ 9yp=−9Axcos(3x)−6Asin(3x)−9Bsin(3x)+6Bcos(3x)+9Axcos(3x)+9B xsin(3x)
=cos(3x)
⇒ −6Asin(3x)+6Bcos(3x) = cos(3x)⇒A= 0
B=1
6
yp=1
6xsin(3x)
yc+yp=y=c1cos(3x) + c2sin(3x) + x
6sin(3x)
1
pf3
pf4
pf5

Partial preview of the text

Download Solved Homework 9 - Advanced Engineering Mathematics | MATH 348 and more Assignments Mathematics in PDF only on Docsity!

Homework #9 Solutions

  1. Given,

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 ±

D

2 a , where^ D^ =^ b

(^2) − 4 ac

D yc(x)

0 c 1 e(^ −b+ 2 a√ D)x

  • c 2 e(^ −b− 2 a√ D)x = 0 c 1 e(^ −^2 ab^ )x^ + c 2 e(^ −^2 ab^ )x < 0 e(^ − 2 ab )x [c 1 cos(

√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) ⇒

A = 0

B = 16

yp =

xsin(3x)

yc + yp = y = c 1 cos(3x) + c 2 sin(3x) + x 6 sin(3x)

  1. Consider the boundary value problem

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

  • c 2 e−

√−λ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)!

  • a 1

∑^ ∞

n=

x^2 n+ (2n + 1)! y(x) = a 0 cosh(x) + a 1 sinh(x)

  1. a) Explain the physical interpretation of the maximum principle.

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.

  1. Show that the following functions are solutions to their corresponding PDE’s. a) u(x,t)=f(x-ct)+g(x+ct), 1-D wave equation

∂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

+ −^1

(x^2 + y^2 + z^2 )^3 /^2