4 Topic: Applications of Partial Differential Equations
4 Topic: Applications of Partial Differential Equations
Applications of
Partial Differential Equations
Laplace’s Equation
Two-dimensional Heat Flow, Solution of Heat Equation
Prepared by:
Prof. Sunil
Department of Mathematics & Scientific Computing
NIT Hamirpur (HP)
y-axis
(x, y+δy) (x+δx, y+δy)
D C
A B
(x, y) (x+δx, y)
x-axis
O
Take a rectangular element of the plate with sides x and y and thickness .
The quantity of heat that enters the plate per second from the sides AB and AD is given
by
u u
kx and ky ,
y y x x
Applications of Partial Differential Equations: Two-dimensional heat flow equation 2
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
respectively, and that which flows out through the sides CD and BC per second is
u u
kx and ky , respectively.
y y y x x x
Therefore, the total gain of heat by the rectangular plate ABCD per second.
u u u u
kx ky kx ky
y y x x y y y x x x
u u u u
x x x x x y y y y y
kxy . (i)
x y
The rate of gain of heat by the plate is given by
u
sxy , (ii)
t
where s = specific heat and = density of the metal plate.
Equating (i) and (ii), we get
u u u u
x x x x x y y y y y u
k xy sxy .
x y t
Dividing both sides by xy and taking the limit as x 0 , y 0 , we get
2u 2u
k s u .
x 2 y 2 t
k
By putting c 2 , we get
s
2 u 2 u u
. c2
x 2 y 2 t
(iii)
This equation gives the temperature distribution of the plate in the transient state.
**************
Applications of Partial Differential Equations: Two-dimensional heat flow equation 3
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
u
Note 1: In the steady state of t, so that 0 and the above equation reduces to
t
2u 2u
0, (iv)
x 2 y 2
which is known as Laplace’s Equation in two dimensions.
Note 2: The equation of heat flow in a solid (Three-dimensional heat flow) can similarly
be derived as
2 2 2
2 u u u u
c .
x 2 y 2 z 2 t
2u 2u 2u
In the steady state it reduces to 0,
x 2 y 2 z 2
which is Laplace’s equation of three dimensions.
Solutions of Laplace’s Equation in two dimensions:
Laplace’s equation in two dimensions is
2u 2u
0. (i)
x 2 y 2
Let u = XY, (ii)
where X is a function of x and Y is a function of y only, be a solution of (i).
2u 2u
Then X Y and XY .
x 2 y 2
Substituting in (i), we have
X Y
X Y XY 0 . (iii)
X Y
Now the LHS of (iii) is a function of x only and RHS is a function of y only. Since x and y
are independent variables, this equation can hold only when both sides reduce to a
constant, say k. Then equation (iii) leads to the ordinary differential equations
d 2X d 2Y
kX 0 and kY 0 .
dx 2 dy 2
(iv)
Solving equations (iv), we get
u c1e px c 2 e px c 3 cos py c 4 sin py ,
u c1 cos px c 2 sin px c 3e py c 4 e py ,
u c1x c 2 c 3 y c 4 .
Of these three solutions, we have to choose that solution which is consistent with the
physical nature of the problem and the given boundary conditions.
*****************************************
Now let us solve some problems related to two-dimensional heat flow equation:
2u 2u
Q.No.1.: Solve 0 , which satisfies the conditions:
x 2 y 2
nx
u 0, y u ℓ, y u x,0 0 and u x , a sin .
ℓ
2u 2u
Sol.: The given equation is 0. (i)
x 2 y 2
y-axis
nx
u sin
ℓ
u= 0 u=0
●P(x,y)
x-axis
O
u=0
u c1e px c 2 e px c 3 cos py c 4 sin py , (ii)
Applications of Partial Differential Equations: Two-dimensional heat flow equation 5
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
u c1 cos px c 2 sin px c 3e py c 4 e py , (iii)
Keeping in view the given boundary conditions, the only possible solution is (iii)
u x , y c1 cos px c 2 sin px c 3e py c 4 e py . (v)
Since u(0, y) = 0 0 c1 c 3 e py c 4 e py
c1 0 .
The equation (v) reduces to
u ( x , y) c 2 sin px c 3 e py c 4 e py . (vi)
n
sin pℓ 0 i.e. pℓ n p , n being an integer.
ℓ
nx
Also u(x, 0) =0 0 c 2 sin c 3 c 4
ℓ
c3 c4 0 c 4 c 3 .
ny ny
nx
Equation (vi) becomes u ( x , y) c 2 sin c 3e ℓ c 3e ℓ .
ℓ
Replacing c2c3 by bn, we have
ny
ny
nx ℓ nx ny
u ( x , y) b n sin e e ℓ 2b n sin sinh . (vii)
ℓ ℓ ℓ
Putting y = a, we have
nx nx na na 1
u ( x , a ) sin 2b n sin sinh 2b n sinh 1 bn .
ℓ ℓ ℓ ℓ na
2 sinh
ℓ
ny
sinh
Hence, (vii) reduces u ( x , y) sin
nx ℓ , which is the required solution of (i).
ℓ na
sinh
ℓ
Q.No.2.: A rectangular plate with insulated surface is 10 cm wide and so long compared
Applications of Partial Differential Equations: Two-dimensional heat flow equation 6
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
Sol.: The temperature u(x, y) at any points P(x, y) satisfies the equation
2u 2u
0. (i)
x 2 y 2
y-axis
●P(x, y) u=0
u=0
20 x , 0x5
In 0 x 10 : u ( x ,0) . (v)
20(10 - x), 5 x 10
The three possible solutions are
u c1e px c 2 e px c 3 cos py c 4 sin py , (vi)
u c1 cos px c 2 sin px c 3e py c 4 e py , (vii)
The solution (vi) cannot satisfy the condition (ii) since, we get u 0 for x = 0, for all
values of y. The solution (viii) cannot satisfy the condition (iv). Thus the only possible
solution is (vii).
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (ix)
Since u(0, y) = 0 0 c1 c 3 e py c 4 e py c1 0 .
Equation (ix) reduces to
u x , y c 2 sin px c 3e py c 4 e py . (x)
Since u(10, y) = 0. 0 c 2 sin 10p c 3 e py c 4 e py
n
sin 10p 0 i.e. 10p n p , n being an integer.
10
Also u ( x , ) 0 . c 3 0 .
ny
nx 10
u ( x , y) b n sin .e . (xi)
n 1
10
Putting y = 0, we have
nx
u ( x ,0 ) b n sin
10
n 1
2 10 nx
bn
10 0
u ( x ,0) sin
10
dx
1 5 nx 10 nx
5 0
20 x sin
10
dx 5
20 (10 x ) sin
10
dx
5 10
cos nx
sin
nx
cos
nx
sin
nx
= 4x 10 1 10 4 10 x 10 1 10
n
2 n 2
n n
10 10 10 10
0 5
Applications of Partial Differential Equations: Two-dimensional heat flow equation 8
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
50 n 10
2
n 50 n 10
2
n 800 n
4 cos sin 4 cos sin sin
n 2 n 2
n 2 n 2
2 n
2 2
800 n 1
2 2 1 2 , when n is odd
n
0, when n is even
Hence, from (xi), the required solution is
n 1 ny
800 1 nx 10
u ( x , y) 2
sin e [Replacing n by 2n 1 ]
2 n 1,3,5,..... n 2 10
2n 1y
800 1n 1 sin 2n 1x e
10 .
n 1 2n 1
2 2
10
2n 1y
800 1n 1 sin 2n 1x e
u 10 . [since 1n 1 1n 1. 12 1n 1 ].
n 1 2n 1
2 2
10
Q.No.3.: An infinitely long plane uniform plate is bounded by two parallel edges and an
end at right angles to them. The breadth is ; this end is maintained at a
temperature u0 at all points and other edges are at zero temperature.
Determine the temperature at any point of the plate in the steady state.
Sol.: In the steady state, the temperature u(x, y) at any point P(x, y) satisfies the equation.
2u 2u
0. (i)
x 2 y 2
The boundary conditions are
u 0, y 0 for all values of y (ii)
u , y 0 for all values of y (iii)
u x , 0 in 0 x (iv)
u x,0 0 in 0 x (v)
The three possible solutions of (i) are
u c1e px c 2 e px c 3 cos py c 4 sin py (vi)
u c1 cos px c 2 sin px c 3e py c 4 e py (vii)
Applications of Partial Differential Equations: Two-dimensional heat flow equation 9
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
Of these, we have to choose that solution which is consistent with the physical nature of
the problem. The solution (vi) cannot satisfy the condition (ii) for u 0 for x = 0, for all
values of y. The solution (viii) cannot satisfy the condition (iv). Thus the only possible
solution is (vii), i.e. of the form
u x , y C1 cos px C 2 sin px C 3 e py C 4 e py (ix)
By (ii)
u 0, y C1 C 3e py C 4 e py for all values of y.
Hence C1 = 0 and (ix) reduces to
u x , y C 2 sin px C 3e py C 4 e py (x)
By (iii)
u , y C 2 sin p C 3 e py C 4 e py 0 , for all y.
In order that the condition (v) may be satisfied, (v) and (xii) must be the same. This
requires the expansion of u as a half-range Fourier sine series in 0, , thus
2 2u
u b n sin nx , where b n u 0 sin nxdx 0 [ 1 1n ]
n 1
0 n
4u 0
i.e. bn = 0, if n is even; if n is odd.
n
Hence (xi) becomes
4u 0 y 1 3y 1
u x , y e sin x 3 e sin 3x e 5 y sin 5x ........ .
5
Applications of Partial Differential Equations: Two-dimensional heat flow equation 10
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
Q.No.4.: A long rectangular plate of width a cm with insulated surface has its
temperature V equal to zero on both the long sides and one of the short sides so
that V(0, y) = 0, V (a , y) 0 , V ( x , ) 0 , V(x, 0) = kx. Show that the steady
state temperature within the plate is
ny
2ak 1n 1 a nx
V x , y e sin .
n 1 n a
Sol.: In steady state, the temperature distribution within the plane (Two dimensional heat
flow) is given by
2V 2V
0. (i)
x 2 y 2
The three possible solutions of (i), are given by
(a ).V Vx , y c1e px c 2 e px c 3 cos py c 4 sin py
(b).V Vx , y c1 cos px c 2 sin px c 3 e c 4 e
py py
(c).V Vx , y c1 x c 2 c 3 y c 4
y-axis
x=a
x-axis
O
Now given V ( x , ) 0 .
(a) and (c) cannot be the required solution as both when y .
Hence, the best possible solution (i) is
V V x , y c1 cos px c 2 sin px c 3 e py c 4 e py . (ii)
V x , y c 2 sin px c 3 e py c 4 e py (iii)
Again V a , y c 2 sin pa c 3 e py c 4 e py 0
Applications of Partial Differential Equations: Two-dimensional heat flow equation 11
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
n
sin pa 0 pa n p , nZ
a
c 2 0 , otherwise (iii) reduces to V(x, y) = 0, which is meaningless.]
n n
n y y
V ( x , y) c 2 sin x c 3e a c 4e a . (iv)
a
Further V ( x , ) 0 and this is possible only c3 = 0
n n
n y n a y
(iv) reduces to V(x, y) c 2c 4 sin xe a a n sin xe . [Replacing c2c4 by an]
a a
Giving n the values 1, 2, 3, ………… and adding, the most general solution is
n
n a y
V ( x , y) a n sin xe . (v)
n 1 a
n
Finally, V( x ,0) a n sin x kx , (given)
n 1 a
2k a 2 2ka
. cos n 0 1n , [ n 0 as n varies from 1 to ]
a n n
2ka
1n 1 . (vi)
n
Therefore, from (v) and (vi), the required solution is given by
n
2ka 1n 1 sin n e a y .
V ( x , y)
n 1 n a
Q.No.5.: A rectangular plate with insulated surfaces is 8 cm wide and so long compared
to its width that it may be considered infinite in length without introducing an
appreciable error. If the temperature along the short edge y = 0 is given by
Applications of Partial Differential Equations: Two-dimensional heat flow equation 12
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
x
u x ,0 100 sin , 0 < x < 8 while the two long edge x = 0 and x = 8 as well
8
as other short edge are kept at 0oC. Show that the steady states temperature at
y
x
any point of the plate is given by u x , y 100e 8 sin .
8
Sol.: In steady state, the temperature distribution within the plane (Two dimensional heat
flow) is given by
2u 2u
0 (i)
x 2 y 2
and u (0, y) 0
u 8, y 0
x
u x ,0 100 sin
8
y-axis
y→
x=0 x=8
x-axis
O
y=0
Its solution is given by
The three possible solutions of (i), are given by
(a ).u u x , y c1e px c 2 e px c 3 cos py c 4 sin py
(b).u u x , y c1 cos px c 2 sin px c 3 e py c 4 e py
(c).u u x , y c1 x c 2 c 3 y c 4
Now given u ( x , ) 0 (a) and (c) cannot be the required solution as both when
y.
Hence, the best possible solution (i) is
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py . (ii)
Now from (ii), u 0, y c1 c 3e py c 4 e py 0
Applications of Partial Differential Equations: Two-dimensional heat flow equation 13
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
c1 0
u 8, y c 2 sin 8p c 3 e py c 4 e py 0
sin 8p 0 c 2
0 otherwise (ii) reduces to u(x, y) = 0
n
8p n , n Z p , nZ.
8
n n
n y y
(ii) reduces to u x , y c 2 sin x c 4e 8 c 4e 8 . (iii)
8
n n
Finally, u ( x ,0) 100 sin a n sin x,
8 n 1 8
8 8
25 nx x 25 n x
2 sin sin dx cosn 1 cosn 1 dx
2 0 8 x 2 0 8 8
x 8 y
100 sin e . [As 0n Z except n = 1]
8
2u 2u
Q.No.6.: Solve 0 for 0 x , 0 y , given that
x 2 y 2
u x , y c1e px c 2 e px c 3 cos py c 4 sin py (ii)
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (iii)
Now u ( x , ) 0
But from (ii), u x , y c1e px c 2 e px c 3 cos py c 4 sin py 0 . the solution (ii)
rejected.
Also the solution (iv) is rejected since (iv) gives u ( x , ) 0
Hence the only solution of (i) is
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (v)
u x , y c1 c 3 e py c 4 e py 0 [Given]
c1 0
Applications of Partial Differential Equations: Two-dimensional heat flow equation 15
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
(v) reduces to u x , y c 2 sin px c 3 e py c 4 e py (vi)
Further u x , y c 2 sin px c 3e py c 4 e py 0
sin p 0 p n, n Z p n , n Z
c 2 0, otherwise (v) reduces to u(x, y) = 0, which is meaningless}
(vi) reduces to u x , y c 2 sin nx c 3e ny c 4 e ny 0 (vii)
Also u x , c 2 sin nx c 3 e n c 4 e n 0
c 3 e n c 4 e n 0 c 2 0
c 3 e n c 4 e n c 4 c 3 e 2 n
(vii) reduces to
u x , y c 2 sin nx c 3 e ny c 3 e 2 n .e ny c 2 c 3 sin nxe n e n y e n y
e n y e n y
2c 2 c 3 sin nxe n
2
Finally, u x ,0 sin 2 x a n sin nx sinh n a n sinh n sin nx ,
n 1 n 1
2 1 cos 2 x
0 2
sin nx cos 2x 1 2 sin x 2
1 1
sin nx 2 sin nx cos 2 x dx
0 2
Applications of Partial Differential Equations: Two-dimensional heat flow equation 16
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
1 1
sin nx sin n 2 x sin n 2 x dx
0 2
1 1 cosn 2 1 cosn 2 1 1 1
1 cos n
2 n2 2 n 2 n 2n 2 2n 2
1
[ 1n 2 (1) n 12 1n , 1n 2 1n . 1n ]
1 2
1 1 1
n
1
1
, n2
n 2n 2 2n 2
1 1 2n
n 2
4 n 2 2n n 2 2 n
, n 2
2n n 2 4
1 1n 8
4 1 1n
, n2
n
.
2n n 2 4
n n 2 4
0, n is odd
a n sinh n 8
n n 2
4
,
n is even
8
an
n n 2 4 sinh n
, n = 1, 3, 5,…………
8 1
u x , t sin nx sinh n y
n 1, 2,3,..... n n 4 sinh n
2
2u 2u
Q.No.7.: Solve 0 within the rectangle 0 x a , 0 y b given that
x 2 y 2
u(0, y) = u(a, y) = u(x, y) = 0 and u ( x ,0) x ( x a ) .
or
The function v(x, y) satisfies the Laplace’s equation in rectangular co-
ordinates (x, y) and for the points within the rectangle x = 0, x = a, y = 0 and y
= b, it satisfies the equations
v0, y va , y vx, b 0 and v( x,0) x a x ; 0 < x < a.
Show that v(x, y) is given by
sinh
2n 1 b a
v x , y
8a 2
1 2n 1x
sin a
2n 1b .
2
n 0 2n 1 3 a
sinh
a
2u 2u
Sol.: Given 0 (i)
x 2 y 2
The only possible solution of (i) is given by
Now u 0, y c1 c 3e py c 4 e py (given) (iii)
c1 0
(ii) reduces to
u x , y c 2 sin px c 3e py c 4 e py
Further u a , y c 2 sin pa c 3e py c 4 e py sin pa 0 pa n .
[ c 2 0 , otherwise (iii) reduces to u x , y 0 , which is meaningless]
n
p ,n Z
a
(iii) reduces to
Applications of Partial Differential Equations: Two-dimensional heat flow equation 18
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
n n
nx a c e a .
y y
u x , y c 2 sin c e (iv)
a
3 4
n n n n
nx b b b b
a c e a 0 c 0
Further u x , b c 2 sin c e a c e a 0 c e
a
3 4 3 4 2
n
b
c 3e a
c4 .
n
b
ea
n
n b n
nx y e a y
(iv) reduces to u x , y c 2 sin c 3e a c 3 e a
a n
b
ea
n n n n n n
n b y n b y
nx a y a y a y y y
c 2 c3 e a .e a y nx e a e a
sin e e .e
2c2c3e sin
a
a a 2
n n
a n sin x sinh b y ,
a a
nb
e e
a n 2c 2 c 3 e a sinh .
2
Giving n the values 1, 2, 3,……. And adding, the general solution is given by
n n
u x , y a n sin x sinh b y (v)
n 1
a a
n nb nb n
Finally, u x ,0 x a x a n sin x sinh a n sinh . sin x,
n 1
n 1
a a a a
n sin n x cos n x
cos x
x a x
2 a a 2 x a 2 a
2 2
a n n
2 2
n
a
a2 a 3
2 2a 3 2a 3
00 cos n 0 0
a n 3 3
n 3 3
2 2a 3
.
3
a n 3
1 cos n
4a 3
3
n 3
1 1n
0, n is even
nb 2
a n sinh 8
a 3 3, n is odd
n
8a 2 1
. , n =1, 3, 5, …………….
3 3
n nb
sinh
a
Hence, from (v), the required solution is given by
8a 2 1 n n
u ( x , y) . sinh x sinh b y
3 n 1,3,5 n 3 sinh nb a a
a
Take n = 2m +1, odd and m = 0, 1, 2, 3,…………., we have
sinh
2m 1 b y
2
8a 1 x
u ( x , y) . sin 2m 1 . a .
3
n 0 2m 13 a
sinh
2m 1b
a
Q.No.8.: A square plate is bounded by the lines x = 0, y = 0, x = 20 and y = 20. Its faces
are insulated. The temperature along the upper horizontal edge is given by
u x ,20 x 20 x , when 0 < x < 20, while other three edges are kept at 00C.
Find the steady state temperature in the plate.
2u 2u
Sol.: The steady state temperature is given by 0, (i)
x 2 y 2
Applications of Partial Differential Equations: Two-dimensional heat flow equation 20
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
u (0, y) 0
u 20, y 0
where (*)
u ( x ,0 ) 0
u ( x ,20) x (20 x )
The solution of (i) satisfying (*) is given by
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (ii)
Now u 0, y 0 c1 c 3 e py c 4 e py 0 (given)
c1 0
Also u (20, y) c 2 sin 20p c 3 e py c 4 e py 0
n
sin 20p n p , nZ,
20
c 2 0 , otherwise (ii) reduces to u(x, y) = 0, which is meaningless]
n n
n y y
(ii) reduces to u x , y c 2 sin x c 3 e 20 c 4 e 20 (iii)
20
n
Further u x ,0 c 2 sin x c 3 c 4 0 c 2 0
20
c 3 c 4 .
n n
y
n 20 y
(iii) reduces to u x , y c 3c 2 sin x e e 20 (iii)
20
n y n
y
20
n e e 20 e e
2c 2 c 3 sin x sinh
20 2 2
n n
a n sin x sinh y, a n 2c 2 c 3 .
20 20
Giving n the values 1, 2, 3, ………, and adding, the most general solution is given by
n n
u x , y a n sin x sinh y. (iv)
n 1
20 20
Applications of Partial Differential Equations: Two-dimensional heat flow equation 21
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
n n
Finally, u x ,20 x 20 x a n sin x sinh n = a n sinh n sin x,
n 1
20 n 1
20
1 8000 8000 1 16000 1600
0 2. 3 3 cos n 2. 3 3 . 3 3 1 cosn 3 3 1 1
10 n n 10 n n
n
0, n is even
a n sinh n 3200
3 3, n is odd, i.e. n 1,3,5,.......
n
Hence the required solution is given by [from (iv)]
3200 1 n n
u x , y . . sin x. sinh y.
3 3 sinh n
n 1 n
20 20
sinh 2n 1
y
3200 1
. sin 2n 1 x. 20 .
3 n 1 2n 13 20 sinh 2n 1
Q.No.9.: The temperature u is maintained at 0oC along three edges of a square plate of
length 100 cm and the fourth edge is maintained at 100oC until steady state
conditions prevail. Find an expression for the temperature u at any point (x, y).
Hence, show that the temperature at the centre of the plate
Applications of Partial Differential Equations: Two-dimensional heat flow equation 22
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
200 1 1 1
........... .
3 5
cosh 3 cosh 5 cosh
2 2 2
Sol.: In steady state, the differential equation for the temperature function (two
dimensional)
2u 2u
0 (i)
x 2 y 2
u (0, y) 0
u 100, y 0
where .
u ( x ,0 ) 0
u ( x ,100) 100
We know the solution of (i) is given by
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py . (ii)
Now u 0, y c1 c 3e py c 4 e py 0 c1 0 .
u 100, y c 2 sin 100p c 3e py c 4 e py 0 sin 100 p 0
n n
u x , y a n sin x sinh y (iv)
n 1
100 100
n n
Finally, u x ,100 100 a n sin x sinh n a n sinh n sin x
n 1
100 n 1
100
0, n is even
200
n
1 1 400
n
n , n is odd
400 1
an , n = 1, 3, 5, …..
n sinh n
n
y sinh
400 1 n n 400 1 n
u x , y sin x sinh y sin 100 x sinh n . (v)
100
n 1,3,5
n sinh n 100 100 n 1,3,5 n
It remains to find u(x, y) at the centre of plate i.e., at (50, 50). Put x = 50, y = 50 in (v),
we get
n
sinh
400 1 n 200 1 n 1
u 50,50 sin 2 sin
n 1,3,5 n 2 n n n 1,3,5 n 2 x
2 sinh cosh cosh
2 2 2
3 5
sin sin sin
200 2 2 2 200 1 1 1 1 1
...... . . ........
3 5 3 3 5 5
cosh 3 cosh 5 cosh cosh cosh cosh
2 2 2 2 2 2
3
sin 2 sin 2 sin 2 1
5
sin sin sin 1
2 2 2
Q.No.10.: A rectangular plate has sides a and b. Let the side of length a be taken along
OX and that of length b along OY and the other sides along x = a and y = b.
Applications of Partial Differential Equations: Two-dimensional heat flow equation 24
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
u u u
0, 0, 0 (*)
x x 0 x x a y y b
x
and given u x ,0 u 0 cos .
a
2u 2u
Consider 0 (i)
x 2 y 2
And its three possible solutions are
u x , y c1e px c 2 e px c 3 cos py c 4 sin py (ii)
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (iii)
x
As u x ,0 u 0 cos
a
(ii) and (iv) cannot be the required solution
Since (ii) gives u x ,0 c1e py c 2 e py c 3 u 0 cos x
a
.
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (A)
Now
u
x
c1p sin px c 2 p cos px c 3 e py c 4 e py
u
x 0
x
c 2 p c 3 e py c 4 e py 0 c 2 0 [using (*)]
u
x x 0
c1p sin pa c 3 e py c 4 e py 0 sin pa 0 pa n
n
p ,n Z c1 0 , otherwise (ii) reduces to u(x, y) = 0, which is meaningless]
a
Applications of Partial Differential Equations: Two-dimensional heat flow equation 25
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
n n
n y y
Therefore (A) reduces to u x , y c1 cos x c 3e a c 4 e a . (B)
a
n n
u n n y n y
Differentiating (iv) w.r.t. y, partially, we get c1 cos x c3 e a c 4e a
y a a a
n n
u n n y y
c1. . cos x c 3 e a c 4e a 0 [Using (*)
y y b a a
n
n n y
y y ea
c 3 ea c4 e a c 4 c3 .
n
y
e a
Therefore (B) reduces to
n n
y n n n n
n y e a y n a b a y b a y b
ux, y c1 cos x c3e a .e a c c cos xe e e
a n
y 1 3 a
a
e
n
b n n
2c1c 3e a . cos x cosh x y b
a a
Replacing 2c1c3 = an, we get
n
n n b e e
u x , y a n cos x cosh x y b e a cosh
a a 2
n
n n b
u x , y a n cos x cosh x y b e a . (C)
n 1
a a
n nb
x b n n
n nx
Finally, ux,0 u0 cos ane a cos x cosh x b a n cosh b.e a cos
a n1 a a n 1
a a
nb a
nb a 2 x nx
a n cosh e u 0 cos cos dx (D)
a a a a
0
a
u nx n
0 2 cos cos dx 2 cos A cos B cosA B cosA B
a a a
0
a
u x x
0
a cosn 1 a cosn 1 a dx
0
a
x x
sin n 1 sin n 1
u0
a
a
sin n 0n Z
a
n 1 n 1
a a 0
0n except n = 1, 1 . But n varies 1 to . n 1
For n = 1, from (D), we have
b a a
b 2u x x 2u x
a1 cosh e a 0
a a cos cos dx 0
a a a cos 2
a
dx
0 0
b a
b u 2x x
2
a 1 cosh e a 0 1 cos dx cos 2A 2 cos A 1, TakeA
a a a a
0
a
2x
sin
u
0 x a u 0 a 0 u sin 2 0
0
a 2a a
0
u0
a1 .
b
cosh
a
Hence from (C ), the required solution is given by
n
b n n b
u x , y a n e a cos x cosh x y b a1e a cos x cosh xy b 0 0 .....
n 1
a a a a
u0 x x b
cos cosh y b u 0 cos cosh y b sec h . Ans.
b a a a a a
cosh
a
Applications of Partial Differential Equations: Two-dimensional heat flow equation 27
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
Q.No.11.: An infinitely long plane uniform plate is bounded by two parallel edges and an
end at right angles to them. The breadth is . This end is maintained at a
temperature u0 at all points and the other edges are at zero temperature.
Determine the temperature at any point of the plate in the steady state.
2u 2u
Sol.: The steady state temperature is given by 0, (i)
x 2 y 2
u (a , y ) 0
u , y 0
where .
u ( x, ) 0
u ( x ,0) u 0
u x , y c1e px c 2 e px c 3 cos py c 4 sin py (ii)
u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (iii)
Here u x , 0 [Given]
But (ii) u (, y) 0
(iv) u (, y) 0
Hence (ii) and (iv) can not be the required solution
(iii) is the required solution.
i.e. u x , y c1 cos px c 2 sin px c 3 e py c 4 e py (iii)
Now u 0, y c1 c 3e py c 4 e py 0 (given)
c1 0 .
Also u (, y) c 2 sin p c 3e py c 4 e py 0
sin p 0 p n p n , n Z ,
c 2 0 , otherwise (ii) reduces to u(x, y) = 0, which is meaningless]
(iii) reduces to
u x , y c 2 sin nx c 3e ny c 4 e ny . (iv)
Applications of Partial Differential Equations: Two-dimensional heat flow equation 28
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
Further u x , 0 .
a n sin nx ny , c 2 c 4 a n .
Giving n the values 1, 2, 3, ……….. and adding, the general solution is
u x , y a n sin nx ny . (v)
n 1
Finally, u x ,0 u 0 a n sin nx ,
n 1
0, n is even
2u 0 cos n 2u 0 2u 0
1 cos n 1 1 4u 0
n
n 0 n n n , n is odd
Hence from (v), the required solution is
4u 0 sin nx ny 4u 0 1 1
u x , y e sin xe y sin 3xe3y sin 5xe5y ........... .
n odd n 3 5
Home Assignments
Q.No.1.: A square thin metal plate of side a is bounded by lines x = 0, x = a, y = 0,
y = a. The edges x = 0, y = a are kept at zero temperature. The edge y = 0 is
insulated and the edge x = a is kept at constant temperature T0. Show that in
the steady state conditions, the temperature u(x, y) at the point (x, y) is given
Applications of Partial Differential Equations: Two-dimensional heat flow equation 29
(Laplace’s Equation) Prepared by: Dr. Sunil, NIT Hamirpur (HP)
(1) n 1 sinh
2n 1x cos 2n 1y
4T0
by u x , y 2a 2a .
n 0
2n 1sinh 2n 1
2
************************************************
****************************************
****************************