1 Applications of matrices

The solution of simultaneous linear equations is a task frequently occurring in engineering. In electrical engineering the analysis of circuits provides a ready example.

However the simultaneous equations arise, we need to study two things:

  1. how we can conveniently represent large systems of linear equations
  2. how we might find the solution of such equations.

We shall discover that knowledge of the theory of matrices is an essential mathematical tool in this area.

1.1 Representing simultaneous linear equations

Suppose that we wish to solve the following three equations in three unknowns x 1 , x 2 and x 3 :

3 x 1 + 2 x 2 x 3 = 3 x 1 x 2 + x 3 = 4 2 x 1 + 3 x 2 + 4 x 3 = 5

We can isolate three facets of this system: the coefficients of x 1 , x 2 , x 3 ; the unknowns x 1 , x 2 , x 3 ; and the numbers on the right-hand sides.

Notice that in the system

3 x + 2 y z = 3 x y + z = 4 2 x + 3 y + 4 z = 5

the only difference from the first system is the names given to the unknowns. It can be checked that the first system has the solution x 1 = 2 , x 2 = 1 , x 3 = 1. The second system therefore has the solution x = 2 , y = 1 , z = 1.

We can isolate the three facets of the first system by using arrays of numbers and of unknowns:

3 2 1 1 1 1 2 3 4 x 1 x 2 x 3 = 3 4 5

Even more conveniently we represent the arrays with letters (usually capital letters)

A X = B

Here, to be explicit, we write

A = 3 2 1 1 1 1 2 3 4 X = x 1 x 2 x 3 B = 3 4 5

Here A is called the matrix of coefficients , X is called the matrix of unknowns and B is called the matrix of constants .

If we now append to A the column of right-hand sides we obtain the augmented matrix for the system:

3 2 1 1 1 1 2 3 4 3 4 5

The order of the entries, or elements, is crucial. For example, all the entries in the second row relate to the second equation, the entries in column 1 are the coefficients of the unknown x 1 , and those in the last column are the constants on the right-hand sides of the equations.

In particular, the entry in row 2 column 3 is the coefficient of x 3 in equation 2.

1.2 Representing networks

Shortest-distance problems are important in communications study. Figure 1 illustrates schematically a system of four towns connected by a set of roads.

Figure 1

No alt text was set. Please request alt text from the person who provided you with this resource.

The system can be represented by the matrix

a b c d

a b c d 0 1 0 0 1 0 1 1 0 1 0 1 0 1 1 0

The row refers to the town from which the road starts and the column refers to the town where the road ends. An entry of 1 indicates that two towns are directly connected by a road (for example b and d ) and an entry of zero indicates that there is no direct road (for example a and c ). Of course, if there is a road from b to d (say) it is also a road from d to b .

In this Section we shall develop some basic ideas about matrices.