Section 17.3 Matrices and Systems of Linear Equations
Consider the following system of linear equations
Now that we have introduced matrix multiplication we can write this system as
where \(A\) is the \(m \times n\) coefficient matrix
\(\mathbf{x}\) is the \(n \times 1\) matrix (i.e. the column vector of the variables)
and \(\mathbf{b}\) is the \(m \times 1\) (i.e. the column vector of the constants)
Example 17.3.1.
The system of linear equations
can be written as
We can now use the properties of matrix multiplication to establish some interesting facts about the solutions to systems of linear equations. For example:
Theorem 17.3.2.
Consider the non-homogenous system of linear equations
and the corresponding homogeneous system
Proof.
-
Let \(\mathbf{x} = \mathbf{u}\) and \(\mathbf{x} = \mathbf{v}\) be two distinct solutions to (17.3.1) and let \(\mathbf{w} = \mathbf{u} − \mathbf{v}\text{.}\) By using the properties of matrix multiplication we can see that
\begin{equation*} A\mathbf{w} = A(\mathbf{u} − \mathbf{v}) = A\mathbf{u} − A\mathbf{v} =\mathbf{b} − \mathbf{b} = \mathbf{0}. \end{equation*}So, any vector of the form \(\mathbf{u} + t\mathbf{w}\text{,}\) \(t \in \mathbb{R}\text{,}\) will be a solution to (17.3.1) since
\begin{equation*} A(\mathbf{u} +t\mathbf{w}) = A\mathbf{u} + A(t\mathbf{w}) = A\mathbf{u} +tA\mathbf{w} = \mathbf{b} +t\mathbf{0} = \mathbf{b}\text{,} \end{equation*}i.e. (17.3.1) has an infinite number of solutions.
-
Let \(\mathbf{x} = \mathbf{u}\) be the unique solution to (17.3.1) and let \(\mathbf{x} = \mathbf{v}\) be a non-zero solution to (17.3.2). Then
\begin{equation*} A(\mathbf{u} + \mathbf{v}) = A\mathbf{u} + A\mathbf{v} = \mathbf{b} + \mathbf{0} = \mathbf{b} \end{equation*}and so \(\mathbf{x} = \mathbf{u} + \mathbf{v}\) is another solution to (17.3.1), which is not possible. Thus there cannot be any non-zero solutions to (17.3.2).
Since (17.3.1) has an infinite number of solutions let \(\mathbf{x} = \mathbf{u}\) and \(\mathbf{x} = \mathbf{v}\) be two distinct solutions to (17.3.1). Now let \(\mathbf{w} = \mathbf{u} − \mathbf{v}\) and \(t \in \mathbb{R}\text{.}\) Then
\begin{equation*} A(t\mathbf{w}) = tA(\mathbf{u} − \mathbf{v}) = t(A\mathbf{u} − A\mathbf{v}) = t(\mathbf{b} − \mathbf{b}) = \mathbf{0}\text{,} \end{equation*}i.e. there are an infinite number of solutions to (17.3.2).
Note that these arguments are general and hold for any system of \(m\) linear equations in \(n\) variables. Note also that if the system consists of \(3\) linear equations in \(3\) variables then result (17.3.2) above can be stated as:
Remark 17.3.3.
Consider the system of linear equations whose augmented matrix is
The following statements are equivalent:
The system has a unique solution.
The planes represented by the rows intersect in a point.
The column vectors of the coefficient matrix are linearly independent.
Exercises Example Tasks
1.
Consider the following system of linear equations:
Calculate \(A\mathbf{u}\) where
\begin{equation*} A=\begin{pmatrix}1 \amp -1 \amp -1 \\ 0 \amp 1 \amp 3 \\ 2 \amp -1 \amp 1\end{pmatrix}, \quad \mathbf{u} = \begin{pmatrix}2 \\ 3 \\ -1\end{pmatrix}\text{.} \end{equation*}Show that \((1,1,0)\) is a solution to the system of equations.
Write down all solutions to the system of equations.