Section 15.2 Matrices and Systems of Linear Equations
Definition 15.2.1.
An \(m\times n\) matrix is a rectangular array of numbers with \(m\) rows and \(n\) columns, i.e.
We say that the number \(a_{ij}\) is the \((i,j)\)th entry (i.e. the entry in row \(i\text{,}\) column \(j\)).
Example 15.2.2.
The following are examples of matrices.
Matrices have proved useful in many areas of mathematics and we will study them in more detail throughout this strand. With respect to the following system of linear equations
so long as the variables are always written in the same order and the constants are always put on to the right hand side we can represent this system via the \(m\times (n+1)\) matrix
This matrix is called the augmented matrix for the system of linear equations. Each row of this matrix corresponds to an equation in the system. Each of the first \(n\) columns corresponds to the coefficients of a variable in the equations and the last column gives the constants on the right hand sides of the equations.
Example 15.2.3.
Write down the augmented matrix for the following non-homogenous system of linear equations
The augmented matrix will be the \(3\times 5\) matrix
Note that sometimes a partition line is put before the last column in an augmented matrix to emphasise that the last column represents the right hand side of the equations while the remaining columns represent the coefficients of the variables in the system. The matrix without the last column is called the coefficient matrix for the system of equations.
Example 15.2.4. (Example 15.2.3 cont.).
For this system of linear equations the augmented matrix is sometimes written as
The coefficient matrix for this system is
Example 15.2.5.
Write down the system of linear equations that correspond to the following augmented matrices.
- \begin{equation*} \left(\begin{array}{c c c | c} 3 \amp -2 \amp 2 \amp -3 \\ -1 \amp 6 \amp 4 \amp 7 \\ 1 \amp 1 \amp 5 \amp -2 \end{array}\right) \end{equation*}
- \begin{equation*} \left(\begin{array}{c c c | c} 1 \amp 0 \amp 0 \amp 1 \\ 0 \amp 1 \amp 0 \amp 2 \\ 0 \amp 0 \amp 1 \amp -1 \end{array}\right) \end{equation*}
-
Calling the variables as \(x\text{,}\) \(y\) and \(z\) the system of equations is
\begin{align*} 3x-2y+2z \amp =-3\\ -x+6y+4z \amp =7\\ x+y+5z \amp =-2 \end{align*} -
Again calling the variables \(x\text{,}\) \(y\) and \(z\) this augmented matrix represents the very simple system of equations
\begin{align*} x \amp =1\\ y \amp =2\\ z \amp =-1 \end{align*}