Several Simple Real-World Applications of Linear Algebra Tools
Several Simple Real-World Applications of Linear Algebra Tools
6 5 3 1
3 6 2 2
3 4 3 1
1.50 1
2 2.50
5 4.50
16 17
1
email: [email protected]
The author is a postgradual student at Charles University, Faculty of Mathematics and Physics, Prague, Czech
Republic.
WDS'06 Proceedings of Contributed Papers, Part I, 3134, 2006. ISBN 80-86732-84-3 MATFYZPRESS
31
ULRYCHOV
50 49
58.50 61
43.50 43.50
2 0 1
1 0 1
0 1 0
We put the text BILA KOCKA (a white cat) into the matrix A:
A =
7 4 3
8 11 6
5 11 8
19 19 14
12 15 11
8 11 6
.
To decode the message we have to multiply the matrix Z by the matrix C
1
on the left:
C
1
Z =
1 1 0
0 0 1
1 2 0
19 19 14
12 15 11
8 11 6
= A.
Since the matrix multiplication is not commutative, it is necessary to keep the order of
the matrices in the product. If we multiply the matrices C
1
and Z in the opposite order, we
obtain
ZC
1
=
19 19 14
12 15 11
8 11 6
1 1 0
0 0 1
1 2 0
5 9 19
1 10 15
2 4 11
0 1 0 1
0 0 1 0
1 0 0 1
1 1 0 0
tell us that P
1
P
2
, P
1
P
4
, P
2
P
3
, P
3
P
1
, P
3
P
4
, P
4
P
1
, P
4
P
2
(since P
1
P
4
and P
4
P
1
, it is obvious that P
1
and P
4
can send information to each other). How may we
interpret the matrix
A
2
=
1 1 1 0
1 0 0 1
1 2 0 1
0 1 1 1
?
Denoting the elements of A
2
by (a
2
)
ij
, we obtain for example
(a
2
)
32
= a
31
a
12
+ a
32
a
22
+ a
33
a
32
+ a
34
a
42
= 1 + 0 + 0 + 1 = 2
and this result shows that the person P
3
can send information to P
2
in two stages by two ways:
P
3
P
1
P
1
P
2
(because a
31
a
12
= 1) and P
3
P
4
P
4
P
2
(because a
34
a
42
= 1).
Similarly, since (a
2
)
14
= 0, there is no possibility to send information from P
1
to P
4
in two
stages (but it is possible directly, because a
14
= 1).
Hence, the element (a
2
)
ij
gives the number of ways in which the person P
i
can send infor-
mation to P
j
in two stages.
Similarly, (a
3
)
ij
represents the number of ways in which the person P
i
can send information
to P
j
in three stages:
A
3
=
1 1 1 2
1 2 0 0
1 2 2 1
2 1 1 1
2 3 2 3
2 2 1 1
3 4 2 3
3 3 2 2
and x = (x
1
, x
2
, x
3
)
T
.
Moreover, we assume the income to be nonnegative, i.e. x
i
0 for i = 1, 2, 3 (we denote it
x o). We can rewrite this equation into the equivalent form (AI)x = o:
An arbitrary solution of the system has the form x = t(13, 11, 10)
T
and it is x o for t 0.
Thus, to ensure that this society survives, the persons P
1
, P
2
, P
3
have to have their incomes
in the proportions 13:11:10.
Note: Let us consider a closed model, let A = (a
ij
) be an n n coecient matrix as above.
Instead of the condition that the consumption is equal to the income we can consider that the
consumption does not exceed the income, i.e. a
i1
x
1
+a
i2
x
2
+... +a
in
x
n
x
i
for all i = 1, ..., n.
We will show that the equation Ax = x has to hold in this case, too. For otherwise, there exists
a p such that a
p1
x
1
+a
p2
x
2
+... +a
pn
x
n
< x
p
and then
n
i=1
(a
i1
x
1
+...a
in
x
n
) <
n
i=1
x
i
. Since
the sum of elements in each column of the matrix A is equal to 1, the left side of the previous
unequality can be rewritten:
n
i=1
(a
i1
x
1
+...+a
in
x
n
) =
n
i=1
n
j=1
a
ij
x
j
=
n
j=1
(
n
i=1
a
ij
)x
j
=
n
j=1
1 x
j
=
n
j=1
x
j
. Thus
n
j=1
x
j
<
n
i=1
x
i
and it is a contradiction.
References
Friedberg, S.H., Insel, A.J., Spence, L.E.: Linear Algebra, 4th edition, Prentice Hall, 2003.
Poole, D.: Linear Algebra: A Modern Introduction. Brooks/Cole, 2003.
Coufal, J., Ulrychova, E.:
Sifrovan a desifrovan uzitm regularnch matic, Mundus Symbolicus, 4, 1519,
1996.
34