The Solution of Differential Equations Using Laplace Transforms
The Solution of Differential Equations Using Laplace Transforms
67
The solution of differential equations
using Laplace transforms
! 2 "
Equating s2 terms gives: 0 = A + C, from 1 −s + 65s − 120
which, A = −1, since C = 1. Hence, (iv) y = L−1
! " ! " 3 s(s − 5)(s − 2)2
−1 9 −1 1 3 1
L =L − − 2+ −s2 + 65s − 120
s2 (s − 3) s s s−3
s(s − 5)(s − 2)2
= −1 − 3x + e3x , from (i),
A B C D
(vi) and (iii) of Table 66.1. ≡ + + +
s s − 5 s − 2 (s − 2)2
i.e. y = e3x − 3x − 1 # $
A(s − 5)(s − 2)2 + B(s)(s − 2)2
+ C(s)(s − 5)(s − 2) + D(s)(s − 5)
≡
Problem 4. Use Laplace transforms to solve s(s − 5)(s − 2)2
the differential equation: Hence
d2 y dy −s2 + 65s − 120
−7 + 10y = e2x + 20, given that when
dx 2 dx
dy 1 ≡A(s − 5)(s − 2)2 + B(s)(s − 2)2
x = 0, y = 0 and =−
dx 3 + C(s)(s − 5)(s − 2) + D(s)(s − 5)
When s = 0, −120 = −20A, from which, A = 6.
Using the procedure:
! 2 " ! " When s = 5, 180 = 45B, from which, B = 4.
d y dy
(i) L 2
− 7L + 10L{y} = L{ e2x + 20} When s = 2, 6 = −6D, from which, D = −1.
dx dx
Equating s3 terms gives: 0 = A + B + C, from
Hence [s2 L{y} − sy(0) − y" (0)] − 7[sL{y} which, C = −10.
1 20 ! "
− y(0)] + 10L{y} = + 1 −1 −s2 + 65s − 120
s−2 s Hence L
1 3 s(s − 5)(s − 2)2
(ii) y(0) = 0 and y" (0) = − ! "
3 1 −1 6 4 10 1
# $ = L + − −
1 3 s s − 5 s − 2 (s − 2)2
Hence s2 L{y} − 0 − − − 7sL{y} + 0
3 1
= [6 + 4 e5x − 10 e2x − x e2x ]
21s − 40 3
+ 10L{y} =
s(s − 2) 4 10 2x x 2x
Thus y = 2 + e5x − e − e
21s − 40 1 3 3 3
(iii) (s2 − 7s + 10)L{y} = −
s(s − 2) 3
3(21s − 40) − s(s − 2) Problem 5. The current flowing in an electri-
= cal circuit is given by the differential equation
3s(s − 2)
Ri + L(di/dt) = E, where E, L and R are con-
−s2 + 65s − 120 stants. Use Laplace transforms to solve the
= equation for current i given that when t = 0,
3s(s − 2)
i = 0.
−s2 + 65s − 120
Hence L{y} = K
3s(s − 2)(s2 − 7s + 10) Using the procedure:
% & ! "
1 −s2 + 65s − 120 di
= (i) L{Ri} + L L = L{E}
3 s(s − 2)(s − 2)(s − 5) dt
% &
1 −s2 + 65s − 120 E
= i.e. RL{i} + L[sL{i} − i(0)] =
3 s(s − 5)(s − 2)2 s
648 LAPLACE TRANSFORMS
E
(ii) i(0) = 0, hence RL{i} + LsL{i} = Now try the following exercise.
s
(iii) Rearranging gives:
Exercise 238 Further problems on solving
E differential equations using Laplace trans-
(R + Ls)L{i} = forms
s
E 1. A first order differential equation involving
i.e. L{i} = current i in a series R − L circuit is given by:
s(R + Ls)
di E
! " + 5i = and i = 0 at time t = 0.
E dt 2
(iv) i = L−1
s(R + Ls) Use Laplace transforms to solve for i
E A B when (a) E = 20 (b) E = 40 e−3t and (c)
≡ + E = 50 sin 5t.
s(R + Ls) s R + Ls
(a) i = 2(1 − e−5t )
A(R + Ls) + Bs (b) i = 10( e−3t − e−5t )
≡
s(R + Ls) 5 −5t
(c) i = ( e − cos 5t + sin 5t)
Hence E = A(R + Ls) + Bs 2
When s = 0, E = AR, In Problems 2 to 9, use Laplace transforms to
solve the given differential equations.
E
from which, A= d2 y dy
R 2. 9 − 24 + 16y = 0, given y(0) = 3
# $ dt 2 dt 8 9
R R 4
When s=− , E=B − #
and y (0) = 3. y = (3 − t) e 3 t
L L
EL
from which, B=− d2 x
R 3. + 100x = 0, given x(0) = 2 and
dt 2
!
E
" x # (0) = 0. [x = 2 cos 10t]
Hence L−1
s(R + Ls) d2 i di
! " 4. + 1000 + 250000i = 0, given
E/R −EL/R dt 2 dt
= L−1 + i(0) = 0 and i# (0) = 100. [i = 100t e−500t ]
s R + Ls
! " d2 x dx
−1 E EL 5. 2
+6 + 8x = 0, given x(0) = 4 and
=L − dt dt
Rs R(R + Ls) #
x (0) = 8. [x = 4(3e−2t − 2e−4t )]
# $ d2 y dy 2
−1 E 1 E 1 6. −2 + y = 3 e4x , given y(0) = −
=L − dx 2 dx 3
R s
R R 1
+s #
and y (0) = 4
L 3 8
9
x 1 4x
y = (4x − 1) e + e
E −1 1 1 3
= L −# $
R
s R d2 y
s+ 7. + 16y = 10 cos 4x, given y(0) = 3 and
L dx 2
#
y (0) = 4.
# $
E Rt
−L
8 9
Hence current i = 1−e 5
R y = 3 cos 4x + sin 4x + x sin 4x
4
THE SOLUTION OF DIFFERENTIAL EQUATIONS USING LAPLACE TRANSFORMS 649