Professional Documents
Culture Documents
Faculty of Science
Department of Mathematics and Applied Mathematics
Lecturers: PG Dlamini, IK Letlhage & SM Simelane
1. Introduction
A system of differential equations involves two (or more) equations which we will solve simultaneously using
Laplace Transforms. These systems arise in various fields of engineering:
Example 1: Electrical System: An electric network having more than one loop gives rise to a system of differential
equations. Its applications are common in the operation of electric transformers, television receivers, and in national
electric power networks. Another example occurs when two electrical circuits are coupled magnetically (See Fig. 1.)
where the equations relating the two currents i1 and i2 are typically:
di1
L + R(i1 − i2 ) = v(t)
dt !
di2 di1 1
R − + i2 = 0
dt dt C
where L represents inductance, R resistance, C conductance and v(t) the potential difference (pd) applied to one of the
circuits.
Figure 1: Example 1
Example 2: Mechanical System: The mechanical system in Fig. 2 consists of two bodies of mass 1 kg on three
springs of the same spring constant k and of negligibly small masses. Also damping is assumed to be practically zero.
Then the model of the physical system is the system of ODEs
00
y1 = −ky1 + k(y2 − y1 )
00
y2 = −k(y2 − y1 ) − ky2
Here y1 and y2 are the displacements of the bodies from their positions of static equilibrium. These ODEs follow from
Newton’s second law, Mass × Acceleration = Force, for a single body. We again regard downward forces as positive
and upward as negative. On the upper body, −ky1 is the force of the upper spring and k(y2 − y1 ) that of the middle
spring, y2 − y1 being the net change in spring length (think this over before going on). On the lower body, −k(y2 − y1 )
is the force of the middle spring and −ky2 that of the lower spring.
1
Figure 2: Example 2
Example 3: Mixing Problem Involving Two Tanks: Tank T 1 in Fig. 3 initially contains 100 gal of pure water.
Tank T 2 initially contains 100 gal of water in which 150 g of salt are dissolved. The inflow into T 1 is 2 gal/min from
T 2 and 6 gal/min containing 6 g of salt from the outside. The inflow into T 2 is 8 l/min from T 1 . The mixtures are kept
uniform by stirring. Find and plot the salt contents y1 (t) and y2 (t) in T 1 and T 2 , respectively. The model is obtained in
the form of two equations
Time rate of change = Inflow/min − Outflow/min
for the two tanks. Thus,
0 8 2
y1 = − y1 + y2 + 6
100 100
0 8 8
y2 = y1 − y2
100 100
Figure 3: Example 3
2
Example 4: Solve for x and y in the following pair of simultaneous DE,
dy
+x=1
dt
dx
− y + 4et = 0
dt
given that x(0) = y(0) = 0.
d2 x
−x=y
dt2
d2 y
+ y = −x
dt2
given that x(0) = 2, y(0) = −1, x0 (0) = 0 and y0 (0) = 0.
(ii). Insert initial conditions x(0) = 2, y(0) = −1, x0 (0) = 0 and y0 (0) = 0. Hence
4
(iii). Rearranging gives,
From which,
s(2s2 + 1) 2s2 + 1
L{x} = =
s4 s3
2
2s 1
= 3 + 3
s s
2 1
= + 3
s s
(iv). Determine x and y. Hence
( )
2 1
x = L−1 +
s s3
1
x = 2 + t2
2
Returning to Eq. (6) and (7) to determine y: 1 × Eq. (6) and (s2 − 1) × Eq. (7) yields,
5
3. Cramer’s Rule
We may use Cramer’s rule to solve these systems of equations. Recall Cramer’s rule from Maths 1.Given a system
of equations
a x + b y = c1
d x + e y = c2
the solution is
c1 b a c1
c e d c
2 2
x = and y =
a b a b
d e d e
Example 6: Solve the problem in example 4 using the Cramer’s rule approach.
6
Exercises
In the following systems, solve for x and y.
1. Solve the models in
(a) Example 1 with i1 (0) = 0 and i2 (0) = 2A. √ √
(b) Example 2 with y1 (0) = 1, y2 (0) = 0, y01 (0) = 3k and y02 (0) = − 3k.
(c) Example 3.
2.
dx dy
3 − 5 + 2x = 6
dt dt
dy dx
2 − − y = −1
dt dt
given that x(0) = 8 and y(0) = 3.
3.
y01 + y2 = 0
y1 + y02 = 2 cos t
y01 = −y2
y02 = −y1 + 2(1 − u(t − 2π)) cos t
c Compiled by SM Simelane