Docsity

19 Problems with Solutions on Differential Equations - Assignment | MATH 220, Assignments of Differential Equations

Toggle sidebar
bg1
Math 220 – Section 10.5 Solutions
1. Here, β= 5 and L= 1. We also have 0 temperature boundary conditions and an initial temperature
distribution of f(x) = (1 −x)x2. Therefore, the solution is of the form:
u(x, t) =
∞
X
n=1
cne−5n2π2tsin nπx
where the coefficients cnare found by finding the Sine Series for f(x):
cn=2
1Z1
0
x(1 −x2) sin nπx
1dx
= 2 Z1
0
x(1 −x2) sin nπx dx
=2
n4π4[nπ(n2π2x3−n2π2x2−6x+ 2) cos nπ x + (π2(2 −3x)xn2+ 6) sin nπx]1
0
=2
n4π4[−4nπ(−1)n−2nπ]
=−1
n3π3[8(−1)n+ 4]
⇒u(x, t) = −1
π3
∞
X
n=1
8(−1)n+ 4
n3e−5n2π2tsin nπx
3. Here, β= 3 and L=π. We also have 0 derivative boundary conditions and an initial temperature
distribution of f(x) = x. Therefore, the solution is of the form:
u(x, t) = c0
2+
∞
X
n=1
cne−3n2tcos nx
where the coefficients cnare found by finding the Cosine Series for f(x):
c0=2
πZπ
0
x dx
=2
πx2
2π
0
=π
cn=2
πZπ
0
xcos nx dx
=2
πn2[(−1)n−1]
⇒u(x, t) = π
2+2
π
∞
X
n=1
(−1)n−1
n2e−3n2tcos nx
7. Here, β= 2 and L=π. We also have different temperature boundary conditions, u(0, t) = 5 and
u(π, t) = 10, and an initial temperature distribution of f(x) = sin 3x−sin 5x. Therefore, the solution
is of the form:
u(x, t) = 5 + 10 −5
πx+
∞
X
n=1
cne−2n2tsin nx
1
pf3
pf4
pf5

Partial preview of the text

Download 19 Problems with Solutions on Differential Equations - Assignment | MATH 220 and more Assignments Differential Equations in PDF only on Docsity!

Math 220 – Section 10.5 Solutions

  1. Here, β = 5 and L = 1. We also have 0 temperature boundary conditions and an initial temperature distribution of f (x) = (1 − x)x^2. Therefore, the solution is of the form:

u(x, t) =

∑^ ∞

n=

cne−^5 n

(^2) π (^2) t sin nπx

where the coefficients cn are found by finding the Sine Series for f (x):

cn =

0

x(1 − x^2 ) sin

nπx 1 dx

0

x(1 − x^2 ) sin nπx dx

n^4 π^4

[nπ(n^2 π^2 x^3 − n^2 π^2 x^2 − 6 x + 2) cos nπx + (π^2 (2 − 3 x)xn^2 + 6) sin nπx]^10

=

n^4 π^4

[− 4 nπ(−1)n^ − 2 nπ]

= −

n^3 π^3

[8(−1)n^ + 4]

⇒ u(x, t) = −

π^3

∑^ ∞

n=

8(−1)n^ + 4 n^3

e−^5 n

(^2) π (^2) t sin nπx

  1. Here, β = 3 and L = π. We also have 0 derivative boundary conditions and an initial temperature distribution of f (x) = x. Therefore, the solution is of the form:

u(x, t) =

c 0 2

∑^ ∞

n=

cne−^3 n

(^2) t cos nx

where the coefficients cn are found by finding the Cosine Series for f (x):

c 0 =

π

∫ (^) π

0

x dx

π

[

x^2 2

]π

0 = π

cn =

π

∫ (^) π

0

x cos nx dx

πn^2

[(−1)n^ − 1]

⇒ u(x, t) =

π 2

π

∑^ ∞

n=

(−1)n^ − 1 n^2

e−^3 n

(^2) t cos nx

  1. Here, β = 2 and L = π. We also have different temperature boundary conditions, u(0, t) = 5 and u(π, t) = 10, and an initial temperature distribution of f (x) = sin 3x − sin 5x. Therefore, the solution is of the form: u(x, t) = 5 +

π x +

∑^ ∞

n=

cne−^2 n

(^2) t sin nx

where the coefficients cn are found by finding the Sine Series for f (x) −

π

x

cn =

π

∫ (^) π

0

[

sin 3x − sin 5x −

π

x

)]

sin nx dx

π

∫ (^) π

0

sin 3x sin nx dx −

π

∫ (^) π

0

sin 5x sin nx dx −

π

∫ (^) π

0

sin nx dx −

π^2

∫ (^) π

0

x sin nx dx

The first integral above is 0 except when n = 3 and the second integral is 0 except when n = 5. In these cases we have: 2 π

∫ (^) π

0

sin^2 3 x dx = 1

2 π

∫ (^) π

0

sin^2 5 x dx = 1

The value of the third integral is:

10 π

∫ (^) π

0

sin nx dx =

10(1 − (−1)n) nπ

The value of the fourth integral is:

10 π^2

∫ (^) π

0

x sin nx dx = −

10(−1)n nπ

Therefore, the coefficients cn are:

cn = −

10(1 − (−1)n) nπ

10(−1)n nπ

20(−1)n^ − 10 nπ

for n 6 = 3, 5

c 3 = 1 −

20(−1)^3 − 10

3 π

π c 5 = −1 +

20(−1)^5 − 10

5 π

π The solution is then:

u(x, t) = 5 +

π

x +

π

e−^18 t^ sin 3x −

π

e−^50 t^ sin 5x +

∑^ ∞

n=1, n 6 =3, 5

20(−1)n^ − 10 nπ

e−^2 n

(^2) t sin nx

  1. The steady-state solution is of the form:

v(x) = U 1 +

U 2 − U 1

L

x

Given that β = 1, L = π, U 1 = 0, and U 2 = 3π the steady-state solution is then:

v(x) = 0 +

3 π − 0 π

x = 3x

The transient solution is of the form:

w(x, t) =

∑^ ∞

n=

cne−n

(^2) t sin nx

where the cn are determined from the Sine Series of f (x) − v(x):

f (x) − v(x) =

∑^ ∞

n=

cn sin nx

5 π 6

x −

x^2

∑^ ∞

n=

cn sin nx

x^2 − 5 π 6

x =

∑^ ∞

n=

cn sin nx

We compute the cn as follows:

cn =

π

∫ (^) π

0

(x^2 − πx) sin nx dx

cn =

10[(−1)n^ − 1] n^3 π The total solution to the problem is then:

u(x, t) = v(x) + w(x, t)

u(x, t) = 1 +

5 π 6

x −

x^2 +

∑^ ∞

n=

10[(−1)n^ − 1] n^3 π

e−^3 n

(^2) t sin nx

  1. We solve the problem using separation of variables. Let C(x, t) = X(x)T (t). Then:

Ct = X(x)T ′(t) Cxx = X′′(x)T (t)

Plugging these expressions into the PDE and separating variables we get:

Ct = kCxx − LC X(x)T ′(t) = kX′′(x)T (t) − LX(x)T (t)

X(x)T ′(t) = kT (t)

[

X′′(x) −

L

k

X(x)

]

T ′(t) kT (t)

X′′(x) − L k X(x) X(x) = λ

From the above equation we get the following ODEs:

X′′(x) +

−λ −

L

k

X(x) = 0 (1)

T ′(t) − kλT (t) = 0 (2)

The boundary conditions tell us that X(0) = X(a) = 0. Therefore, in order to obtain non-zero solutions to Equation (1) it must be the case that λ < −

L

k

. We then get the following solution:

X(x) = A cos

x

−λ −

L

k

  • B sin

x

−λ −

L

k

The boundary condition X(0) = 0 gives us:

X(0) = A cos 0 + B sin 0 = 0 A = 0

The boundary condition X(a) = 0 gives us:

X(a) = B sin

a

−λ −

L

k

sin

a

−λ −

L

k

a

−λ −

L

k = nπ √ −λ −

L

k

nπ a

λ = −

[

L

k

( (^) nπ a

) 2 ]

n = 1, 2 , 3 ,...

The corresponding eigenfunctions are:

Xn(x) = Bn sin nπx a

The solution to Equation (2) is:

Tn(t) = Cne−[L+k(^

nπ a )^2 ]t

Combining the above solutions to Equations (1) and (2), letting an = BnCn, and summing over all n we get:

C(x, t) =

∑^ ∞

n=

Xn(x)Tn(t)

C(x, t) =

∑^ ∞

n=

ane−[L+k(^

nπ a )^2 ]t sin

nπx a

The an are determined by finding the Sine Series for f (x):

f (x) =

∑^ ∞

n=

an sin nπx a

As t → ∞, C(x, t) → 0.