Docsity

Homework 7 for Advanced Engineering Mathematics | MATH 348, Assignments of Mathematics

Toggle sidebar
bg1
1. Problem 1
(a) Assume that, u(x, t) = F(x)G(t) then uxx =F00(x)G(t) and ut=F(x)G0(t) and the 1-D heat equation becomes,
G0(t)
c2G(t)=F00(x)
F(x)=−λ, (1)
where we have introduced the separation constant λ.1From this equation we have the two ODE’s,
G0(t) + λc2G(t)=0,(2)
F00(x) + λF (x)=0.(3)
Each of these ODE’s can be solved through ‘elementary methods’ to get,2
λ∈R:G(t) = Ae−λc2t, A ∈R,(4)
λ∈R+:F(x) = c1cos(√λx) + c2sin(√λx),(5)
λ∈R−:F(x) = c3cosh(p|λ|x) + c4sinh(p|λ|x),(6)
λ= 0 : F(x) = c5+c6x. (7)
Each of the functions F(x) must also satisfy the boundary conditions, ux(0, t) = 0 and ux(L, t) and so we won’t need
all of them. Notice that the boundary conditions imply that,
ux(0, t) = F0(0)G(t) = 0,(8)
ux(L, t) = F0(L)G(t)=0,(9)
which gives F0(0) = 0 and F0(L) = 0.3So, we now have to determine, which of the previous functions, F(x), satisfy
these boundary conditions. To this end we have the following arguments,
λ∈R+:F0(0) = −c1√λsin(√λ0) + c2√λcos(√λ0) = c1√λ·0 + c2√λ·1⇒c2= 0,
λ∈R+:F0(L) = −c1√λsin(√λL) + c2√λcos(√λL) = c1√λ·sin(√λL)+0·√λcos(√λL)⇒
⇒c1√λ·sin(√λL)=0 ⇐⇒ c1= 0 or sin(√λL)=0.
If we consider the case that c1= 0 then we have F(x) = 0 for λ∈R+but we should try to keep as many solutions as
possible and we ignore this case. Thus assume that c16= 0 we have that sin(√λL) = 0, which is true for √λ=nπ/L
and we have the following eigenvalue/eigenfunction pairs indexed by n,
Fn(x) = cncos(√λx), λn=n2π2
L2, n = 1,2,3,.... (10)
We now consider the λ∈R−case to find that,
λ∈R−:F0(x) = c3p|λ|sinh(p|λ|0) + c4p|λ|cosh(p|λ|0) = c3·0 + c4·1=0⇒c4= 0,
λ∈R−:F0(x) = c3p|λ|sinh(p|λ|L) + c4p|λ|cosh(p|λ|L) = c3p|λ|sinh(p|λ|L)+0·p|λ|cosh(p|λ|L) =
=c3p|λ|e√|λ|L−e−√|λ|L
2= 0 ⇒c3= 0,
which means that for λ∈R−we only have the trivial solution F(x) = 0. Lastly, we consider the case λ= 0 to get,
λ= 0 : F0(0) = F0(L) = c6= 0 ⇒c5∈R,(11)
1This occurs in conjunction with the following argument. Since (25) must be true for all (x, t) then both sides must be equal to a function that has
neither t’s nor x’s. Hence they must be equal to a constant function. To see that this is true put an xor ton the side that has λand test points.
2These elementary methods are those you learned in ODE’s and can be found in the solutions to Homework 9 problem 1a.
3We assume that G(t) = 0 because if it did then we would have u(x, t) = F(x)G(t) = F(x)·0 = 0, which is called the trivial solution and is ignored
since it is already in thermal equilibrium. We care about dynamics!
1
pf3
pf4
pf5

Partial preview of the text

Download Homework 7 for Advanced Engineering Mathematics | MATH 348 and more Assignments Mathematics in PDF only on Docsity!

  1. Problem 1

(a) Assume that, u(x, t) = F (x)G(t) then uxx = F ′′(x)G(t) and ut = F (x)G′(t) and the 1-D heat equation becomes,

G′(t)

c^2 G(t)

F ′′(x)

F (x)

= −λ, (1)

where we have introduced the separation constant λ.^1 From this equation we have the two ODE’s,

G′(t) + λc^2 G(t) = 0 , (2)

F ′′(x) + λF (x) = 0. (3)

Each of these ODE’s can be solved through ‘elementary methods’ to get,^2

λ ∈ R : G(t) = Ae−λc

(^2) t , A ∈ R, (4)

λ ∈ R+^ : F (x) = c 1 cos(

λx) + c 2 sin(

λx), (5)

λ ∈ R−^ : F (x) = c 3 cosh(

|λ|x) + c 4 sinh(

|λ|x), (6)

λ = 0 : F (x) = c 5 + c 6 x. (7)

Each of the functions F (x) must also satisfy the boundary conditions, ux(0, t) = 0 and ux(L, t) and so we won’t need

all of them. Notice that the boundary conditions imply that,

ux(0, t) = F

′ (0)G(t) = 0, (8)

ux(L, t) = F

′ (L)G(t) = 0, (9)

which gives F ′(0) = 0 and F ′(L) = 0.^3 So, we now have to determine, which of the previous functions, F (x), satisfy

these boundary conditions. To this end we have the following arguments,

λ ∈ R+^ : F ′(0) = −c 1

λ sin(

λ0) + c 2

λ cos(

λ0) = c 1

λ · 0 + c 2

λ · 1 ⇒ c 2 = 0,

λ ∈ R+^ : F ′(L) = −c 1

λ sin(

λL) + c 2

λ cos(

λL) = c 1

λ · sin(

λL) + 0 ·

λ cos(

λL) ⇒

⇒ c 1

λ · sin(

λL) = 0 ⇐⇒ c 1 = 0 or sin(

λL) = 0.

If we consider the case that c 1 = 0 then we have F (x) = 0 for λ ∈ R+^ but we should try to keep as many solutions as

possible and we ignore this case. Thus assume that c 1 6 = 0 we have that sin(

λL) = 0, which is true for

λ = nπ/L

and we have the following eigenvalue/eigenfunction pairs indexed by n,

Fn(x) = cn cos(

λx), λn =

n^2 π^2 L^2

, n = 1, 2 , 3 ,.... (10)

We now consider the λ ∈ R−^ case to find that,

λ ∈ R−^ : F ′(x) = c 3

|λ| sinh(

|λ|0) + c 4

|λ| cosh(

|λ|0) = c 3 · 0 + c 4 · 1 = 0 ⇒ c 4 = 0,

λ ∈ R−^ : F ′(x) = c 3

|λ| sinh(

|λ|L) + c 4

|λ| cosh(

|λ|L) = c 3

|λ| sinh(

|λ|L) + 0 ·

|λ| cosh(

|λ|L) =

= c 3

|λ|

e

|λ|L (^) − e−

|λ|L

2

= 0 ⇒ c 3 = 0,

which means that for λ ∈ R−^ we only have the trivial solution F (x) = 0. Lastly, we consider the case λ = 0 to get,

λ = 0 : F

′ (0) = F

′ (L) = c 6 = 0 ⇒ c 5 ∈ R, (11)

(^1) This occurs in conjunction with the following argument. Since (25) must be true for all (x, t) then both sides must be equal to a function that has

neither t’s nor x’s. Hence they must be equal to a constant function. To see that this is true put an x or t on the side that has λ and test points. (^2) These elementary methods are those you learned in ODE’s and can be found in the solutions to Homework 9 problem 1a. (^3) We assume that G(t) = 0 because if it did then we would have u(x, t) = F (x)G(t) = F (x) · 0 = 0, which is called the trivial solution and is ignored

since it is already in thermal equilibrium. We care about dynamics!

which gives the last eigenpair,^4

F 0 = c 0 ∈ R λ 0 = 0. (12)

Noting that there are infinitely many λ’s implies now that there are infinitely many temporal solutions (4) and we

have,

Gn(t) = Aneλnc

(^2) t , λ =

n^2 π^2 L^2

, n = 1, 2 , 3 ,.... (13)

For the case where λ = 0 we have the ODE G′(t) = 0, whose solution isG 0 (t) = A 0 ∈ R. Thus we have infinitely many

functions, that solve the PDE, of the form:

un(x, t) = Fn(x)Gn(t), n = 0, 1 , 2 , 3 ,... (14)

Hence since the PDE is linear superposition implies that we have the general solution,

u(x, t) =

∑^ ∞

n=

un(x, t) = u 0 (x, t) +

∑^ ∞

n=

un(x, t) (15)

= F 0 (x)G 0 (x) +

∑^ ∞

n=

Fn(x)Gn(t) (16)

= c 0 · A 0 +

∑^ ∞

n=

Ancn cos(

λnx)eλnc

(^2) t (17)

= a 0 +

∑^ ∞

n=

a 0 cos(

λnx)eλnc

(^2) t , (18)

which is the general solution of the heat equation with the given boundary conditions.

(b) Describe the long term behaviour as k is increased and as ρ is increased.

If k(thermal conductivity) is increased, the temporal solution decays faster and the system reaches equilibrium

sooner.

If ρ(density) is increased, the temporal solution decays slower and the system takes longer to reach equilibrium.

(c) To find the unknown constants present in the general solution we must apply an initial condition, u(x, 0) = f (x).

Doing so gives,

u(x, 0) = f (x) = a 0 +

∑^ ∞

n=

a 0 sin(

λnx)eλnc

(^2) · 0 (19)

= a 0 +

∑^ ∞

n=

a 0 cos(

λnx), (20)

which is a Fourier cosine half-range expansion of the initial condition. Thus the unknown constants are Fourier

coefficients and,

a 0 =

L

∫ L

0

f (x)dx, (21)

an =

L

∫ L

0

f (x) cos(

λnx)dx. (22)

If we note homework7 problem1 then we known these Fourier coefficients as,

a 0 =

k

2

an =

4 k n^2 π^2

[

2 cos

( (^) nπ

2

x

n − 1

]

Moreover, if we take L = k = 1 we see that lim t→∞

u(x, t) = a 0 = .5, which implies that under these insulating boundary

conditions the equilibrium state for the medium is a constant function u = .5 and that this is nothing more than the

average of the initial configuration.

(^4) Here we have used the subscripts to denote that these are all associated with the λ = 0 case. We have also trivially changed c 5 to c 0.

where we have introduced the separation constant λ.^5 From this equation we have the two ODE’s,

G′′(t) + λc^2 G(t) = 0 , (26)

F

′′ (x) + λF (x) = 0. (27)

Each of these ODE’s can be solved through ‘elementary methods’ to get,^6

λ ∈ R+^ : G(t) = A cos(

λct) + A∗^ sin(

λct), A, A∗^ ∈ R, (28)

λ = 0 : G(t) = A + A∗t, A, A∗^ ∈ R, (29)

λ ∈ R+^ : F (x) = c 1 cos(

λx) + c 2 sin(

λx), (30)

λ ∈ R−^ : F (x) = c 3 cosh(

|λ|x) + c 4 sinh(

|λ|x), (31)

λ = 0 : F (x) = c 5 + c 6 x. (32)

Notice there are different time functions than before. This highlights the departure from the heat equation dynamics.^7

Each of the functions F (x) must also satisfy the boundary conditions, ux(0, t) = 0 and ux(L, t) and so we won’t need

all of them. Notice that the boundary conditions imply that,

ux(0, t) = F ′(0)G(t) = 0, (33)

ux(L, t) = F ′(L)G(t) = 0, (34)

which gives F ′(0) = 0 and F ′(L) = 0.^8 So, we now have to determine, which of the previous functions, F (x), satisfy

these boundary conditions. To this end we have the following arguments,

λ ∈ R+^ : F ′(0) = −c 1

λ sin(

λ0) + c 2

λ cos(

λ0) = c 1

λ · 0 + c 2

λ · 1 ⇒ c 2 = 0,

λ ∈ R+^ : F ′(L) = −c 1

λ sin(

λL) + c 2

λ cos(

λL) = c 1

λ · sin(

λL) + 0 ·

λ cos(

λL) ⇒

⇒ c 1

λ · sin(

λL) = 0 ⇐⇒ c 1 = 0 or sin(

λL) = 0.

If we consider the case that c 1 = 0 then we have F (x) = 0 for λ ∈ R+^ but we should try to keep as many solutions as

possible and we ignore this case. Thus assume that c 1 6 = 0 we have that sin(

λL) = 0, which is true for

λ = nπ/L

and we have the following eigenvalue/eigenfunction pairs indexed by n,

Fn(x) = cn cos(

λx), λn =

n^2 π^2

L^2

, n = 1, 2 , 3 ,.... (35)

We now consider the λ ∈ R−^ case to find that,

λ ∈ R−^ : F ′(x) = c 3

|λ| sinh(

|λ|0) + c 4

|λ| cosh(

|λ|0) = c 3 · 0 + c 4 · 1 = 0 ⇒ c 4 = 0,

λ ∈ R−^ : F ′(x) = c 3

|λ| sinh(

|λ|L) + c 4

|λ| cosh(

|λ|L) = c 3

|λ| sinh(

|λ|L) + 0 ·

|λ| cosh(

|λ|L) =

= c 3

|λ|

e

|λ|L (^) − e−

|λ|L

2

= 0 ⇒ c 3 = 0,

which means that for λ ∈ R−^ we only have the trivial solution F (x) = 0. Lastly, we consider the case λ = 0 to get,

λ = 0 : F ′(0) = F ′(L) = c 6 = 0 ⇒ c 5 ∈ R, (36)

which gives the last eigenpair,^9

F 0 = c 0 ∈ R λ 0 = 0. (37)

(^5) This occurs in conjunction with the following argument. Since (25) must be true for all (x, t) then both sides must be equal to a function that has

neither t’s nor x’s. Hence they must be equal to a constant function. To see that this is true put an x or t on the side that has λ and test points. (^6) These elementary methods are those you learned in ODE’s and can be found in the solutions to Homework 9 problem 1a. (^7) Based on problem1 and our studies in class we do not seek to find a time function for λ < 0 since we know that the spatial function associated with

these eigenvalues will not satisfy the boundary conditions. (^8) We assume that G(t) = 0 because if it did then we would have u(x, t) = F (x)G(t) = F (x) · 0 = 0, which is called the trivial solution and is ignored

since it is already in thermal equilibrium. We care about dynamics! (^9) Here we have used the subscripts to denote that these are all associated with the λ = 0 case. We have also trivially changed c 5 to c 0.

Noting that there are infinitely many λ’s implies now that there are infinitely many temporal solutions (28) and we

have,

Gn(t) = An cos(

λnct) + A∗ n sin(

λnct), λ =

n^2 π^2

L^2

, n = 1, 2 , 3 ,.... (38)

For the case where λ = 0 we have the ODE G′′(t) = 0, whose solution isG 0 (t) = A 0 + A∗ 0 t. Thus we have infinitely

many functions, that solve the PDE, of the form:

un(x, t) = Fn(x)Gn(t), n = 0, 1 , 2 , 3 ,... (39)

Hence since the PDE is linear superposition implies that we have the general solution,

u(x, t) =

∑^ ∞

n=

un(x, t) = u 0 (x, t) +

∑^ ∞

n=

un(x, t) (40)

= F 0 (x)G 0 (x) +

∑^ ∞

n=

Fn(x)Gn(t) (41)

= c 0 · (A 0 + A∗ 0 t) +

∑^ ∞

n=

Ancn cos(

λnx)eλnc

(^2) t (42)

= a 0 + a∗ 0 t +

∑^ ∞

n=

[

an cos(

λnct) + a∗ n sin(

λnct)

]

cos(

λnx), (43)

which is the general solution of the wave equation with the given boundary conditions.

(b) To find the unknown constants present in the general solution we must apply an initial condition, u(x, 0) = f (x) and

ut(x, 0) = g(x). Noting that g(x) = 0, since there is no initial velocity, implies that a∗ 0 = a∗ n = −. Calculating the rest

we find,

u(x, 0) = f (x) = a 0 +

∑^ ∞

n=

a 0 sin(

λnx)eλnc

(^2) · 0 (44)

= a 0 +

∑^ ∞

n=

a 0 cos(

λnx), (45)

which is a Fourier cosine half-range expansion of the initial condition. Thus the unknown constants are Fourier

coefficients and,

a 0 =

L

∫ L

0

f (x)dx, (46)

an =

L

∫ L

0

f (x) cos(

λnx)dx. (47)

If we note homework7 problem1 then we known these Fourier coefficients as,

a 0 =

k

2

an =

4 k n^2 π^2

[

2 cos

nπ 2

x

n − 1

]

  1. We begin with,

dspu(x, t) =

[u 0 (x − ct) + u 0 (x + ct)] +

2 c

∫ (^) x+ct

x−ct

v 0 (y)dy. (50)

To show that this is a solution to the wave equation we find its partial derivatives, utt and uxx and see if they maintain

equality in the wave equation. First note that the chain rule implies,

∂t

u 0 (x − ct) =

∂u 0 (x − ct)

∂[x − ct]

∂[x − ct]

∂t

= u′ 0 (x − ct) · (−c), (52)

i. If w 6 = cnπL , what would be your choice for Gp(t)if you were using the method of undetermined coefficients?

Gp(t) = Acos(wt) + Bsin(wt)

ii. If w = cnπL what would be your choice for Gp(t)?

Gp(t) = Atcos

( (^) cnπ

L

t

  • Btsin

( (^) cnπ

L

iii. For (ii), what is the limt→∞ u(x, t)?

lim t→∞

u(x, t) = ∞

iv. What does this limit imply physically?

This is called resonance and implies that the magnitude of oscillation approaches infinity as t gets larger

and likely the object/string would break under these forces.