Tutorial 10 vcpd
Tutorial 10 vcpd
2. Write the general one dimensional heat equation and show that
u = e−9tsinωx is a solution for some suitable constant c.
3 +y 3 )
(b) y 2ux − x2uy = 0 Ans: cem(x
2
c = 1, the initial velocity is zero, and the initial deflection is
2x − x2, 0 < x < 1/2 and is zero if 1/2 < x < 1 Express
u(x, t) as superposition of two functions and also draw figures
of u(x, t) for various values of t.
8. Find the deflection u(x, t) of the string of length L when c =
1, the initial velocity is zero, and the initial deflection in the
interval [0, L] is
(a) f (x) = kx(1 − x2) with L = 1
∞
X 12k(−1)n+1
Ans: u(x, t) = 3π3
cos nπt sin nπx
n=1
n
(b) f (x) = k(sin(πx) − 1/3 sin(3πx)) with L = 1
Ans: u(x, t) = k cos πt sin πx − (k/3) cos 3πt sin 3πx
3b
Lx ; 0 ≤ x ≤ L/3
3b
L (L − 2x) ; L/3 ≤ x ≤ 2L/3
(c) f (x) =
3b
L (x − L) ; 2L/3 ≤ x ≤ L
X ∞
Ans: u(x, t) = Bn cos nπt sin nπx;
n=1
18b sin nπ/3
Bn = (1 − 2 cos nπ/3)
n2π 2
9. Find the deflection u(x, t) of the string of length L when c = 1,
the initial deflection is zero, and the initial velocity is
(a)g(x) = 0.01x if 0 ≤ x ≤ π/2 and g(x) = 0.01(π − x) if
π/2 ≤ x ≤ π. Take L = π.
(b)g(x) = b sin(3πx/L) cos(2πx/L)
Ans: 2b sin t sin x + 10b sin 5t sin 5x
3
tions viz. zero boundary conditions. And hence when we solve
the ODE we get only the trivial solution for two choices of the
constant (k = 0 and k > 0) and only the case when k < 0 gives
us a solution which is harmonic in nature and then we can get
the complete solution by applying the initial conditions.
But this is not so for the one dimensional heat equation. Math-
ematically you get a solution for two cases - viz. when k = 0
, solution is u(x, t) = Ax + B; and when k < 0 = −λ2, the
2 2 2
solution is u(x, t) = (acosλx + bsinλx)e−c λ t/l (Note that
the third choice of k is physically impossible since the tem-
perature cannot go to infinity as t goes to infinity). Now us-
ing the principle of superposition we get the solution of the
2 2 2
problem as u(x, t) = Ax + B + (acosλx + bsinλx)e−c λ t/l .
Observe that this tends to Ax + B as t → ∞ and hence is
called the steady state solution. What happens to the tempera-
ture distribution till the steady state is reached is governed by
2 2 2
the term (acosλx + bsinλx)e−c λ t/l and hence this part of the
solution is called the transient solution. Now to get the val-
ues of A, B and λ we must have three conditions and they are
- the two boundary conditions and one initial condition. We
can have different sets boundary conditions and initial con-
dition may also be given in different ways. Following prob-
lems (5 to 11) illustrate the different sets of boundary condi-
tions and initial conditions. Starting from the solution u(x, t) =
2 2 2
Ax+B +(acosλx+bsinλx)e−c λ t/l one can find the constants
by using the given conditions.
Important tips:
1. Always think of the physical nature of the problem.
2. Note that it is always easier to use the zero conditions
4
first.
3. Any zero condition, for example u(0, t) = 0 must be
understood as to be true for all t
4. Insulated ends or adiabatic conditions mean that there
is no flow of heat in the direction of the gradient which
for one dimensional heat equation means that ∂u/∂x is
zero at the ends at all times.
5. You could have mixed boundary conditions.
10. Find the temperature u(x, t) in a bar of length L that is perfectly
insulated laterally, whose ends are kept at temperature 0 0c and
whose initial temperature is f (x) where
(a) f (x) = k sin(0.2πx); L = 10cm, ρ = 10.6gm/cm3, thermal
conductivity = 1.04cal/(cmsecoc), σ = 0.056cal/gm0c.
Ans: B2 = k, all other coefficients are 0.
(b) f (x) = x if 0 < x < 2.5; f (x) = 2.5 if 2.5 < x < 7.5; f (x) =
10 − x if 7.5 < x < 10; L = 10cm, ρ = 10.6gm/cm3, thermal
conductivity = 1.04cal/(cmsecoc), σ = 0.056cal/gm0c.
5
(c) f (x) = (x − π/2)2, L = π, c = 1.
Ans: ∞
π2 X 1 −4k 2 t
u(x, t) = + cos 2kxe
12 k2
k=1
14. A rod of 100 cm. length has its ends kept at 0 0c and 100 0c
until the steady state conditions prevail. The two ends are then
suddenly insulated and maintained so. Find the temperature
in the rod. Show that the sum of the temperatures at any two
points equidistant from the centre is always 100 0c.
Ans:
∞
400 X 1 (2k − 1)πx −t(2k−1)2π2c2/100
u(x, t) = 50− 2 cos e
π (2k − 1)2 100
k=1
6
15. Obtain the temperature in a bar of length 1, and with lateral
surface insulated where, ux(1, t) = 0, u(0, t) = 10, u(x, 0) =
10 − x, 0 < x < 1.
Ans:
∞
8 X (−1)n (2n − 1)πx −t(2n−1)2c2π2/4
10 + 2 sin e
π n=1 (2n − 1)2 2
8
∂u
f (x); = g(x).
∂t |t=0
25. Obtain the temperature u(x, t) at any point x and at any time
t > 0 in a thin long bar of length L where the heat flow is gov-
2
∂u 2∂ u
erned by the PDE =c 2
if both the ends are kept at 0 0c
∂t ∂x
and initial temp. is given by u(x, 0) = f (x).
26. Obtain the temperature u(x, t) at any point x and at any time
t > 0 in a thin long bar of length L where the heat flow is gov-
2
∂u 2∂ u
erned by the PDE = c if both the ends are insulated
∂t ∂x2
and initial temp. is given by u(x, 0) = f (x).
Disclaimer: I do not claim the correctness of answers. If you find any mistake please upload your solution on moodle for others to follow/check.