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:
- how we can conveniently represent large systems of linear equations
- 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 and :
We can isolate three facets of this system: the coefficients of ; the unknowns ; and the numbers on the right-hand sides.
Notice that in the system
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 The second system therefore has the solution
We can isolate the three facets of the first system by using arrays of numbers and of unknowns:
Even more conveniently we represent the arrays with letters (usually capital letters)
Here, to be explicit, we write
Here is called the matrix of coefficients , is called the matrix of unknowns and is called the matrix of constants .
If we now append to the column of right-hand sides we obtain the augmented matrix for the system:
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 , 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 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
The system can be represented by the matrix
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 and ) and an entry of zero indicates that there is no direct road (for example and ). Of course, if there is a road from to (say) it is also a road from to .
In this Section we shall develop some basic ideas about matrices.