



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!




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
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
π 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 −
3 π
π c 5 = −1 +
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
v(x) = U 1 +
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
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) −
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) +
−λ −
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 λ < −
k
. We then get the following solution:
X(x) = A cos
x
−λ −
k
x
−λ −
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
−λ −
k
sin
a
−λ −
k
a
−λ −
k = nπ √ −λ −
k
nπ a
λ = −
k
( (^) nπ a
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.