A system of $m$ linear equations in $n$ unknowns ${x}_{1},\mathrm{\dots},{x}_{n}$ with coefficients ${a}_{ij},1\u2a7di\u2a7dm,1\u2a7dj\u2a7dn$ and ${b}_{1},\mathrm{\dots},{b}_{m}$ is a list of simultaneous equations

${a}_{11}{x}_{1}+{a}_{12}{x}_{2}+\mathrm{\cdots}+{a}_{1n}{x}_{n}$ | $={b}_{1}$ | ||

${a}_{21}{x}_{1}+{a}_{22}{x}_{2}+\mathrm{\cdots}+{a}_{2n}{x}_{n}$ | $={b}_{2}$ | ||

$\mathrm{\vdots}$ | $\mathrm{\vdots}$ | ||

${a}_{m1}{x}_{1}+{a}_{m2}{x}_{2}+\mathrm{\cdots}+{a}_{mn}{x}_{n}$ | $={b}_{m}$ |

As the notation suggests, we can turn a system of linear equations into a matrix equation and study it using matrix methods.

Every system of linear equations can be written in matrix form: the above system is equivalent to saying that $A\mathbf{x}=\mathbf{b}$, where $A=({a}_{ij})$, $\mathbf{x}=\left(\begin{array}{c}{x}_{1}\\ \mathrm{\vdots}\\ {x}_{n}\end{array}\right)$, and $\mathbf{b}=\left(\begin{array}{c}{b}_{1}\\ \mathrm{\vdots}\\ {b}_{m}\end{array}\right)$.

The system of linear equations

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

$x+5z$ | $=0$ | (3.9) |

has matrix form

$$\left(\begin{array}{ccc}2& 3& 4\\ 1& 0& 5\end{array}\right)\left(\begin{array}{c}x\\ y\\ z\end{array}\right)=\left(\begin{array}{c}5\\ 0\end{array}\right).$$ |

This connection means that we can use systems of linear equations to learn about matrices, and use matrices to learn about systems of linear equations. For example, if $A$ is invertible and we want to solve the matrix equation

$$A\mathbf{x}=\mathbf{b}$$ |

we could multiply both sides by ${A}^{-1}$ to see that there is
a *unique* solution $\mathbf{x}={A}^{-1}\mathbf{b}$.

We are going to make two more observations about solving linear systems based on what we know about matrix multiplication. The first is that by Proposition 3.2.1, the vectors which can be written as $A\mathbf{u}$ for some $\mathbf{u}$ are exactly the ones which are linear combinations of the columns of $A$, that is, vectors of the form

$${u}_{1}{\mathbf{c}}_{1}+\mathrm{\cdots}+{u}_{n}{\mathbf{c}}_{n}$$ |

where ${\mathbf{c}}_{j}$ is the $j$th column of $A$. So the matrix equation $A\mathbf{x}=\mathbf{b}$ has a solution if and only if $\mathbf{b}$ can be written as a linear combination of the columns of $A$. This set of linear combinations is therefore important enough to have a name.

The column space of a matrix $A$, written $C(A)$, is the set of all linear combinations of the columns of $A$.

A homogeneous matrix equation is one of the form $A\mathbf{x}=\mathrm{\U0001d7ce}$. These are particularly important because the solutions to any matrix equation $A\mathbf{x}=\mathbf{b}$ can be expressed in terms of the solutions to the corresponding homogeneous equation $A\mathbf{x}=\mathrm{\U0001d7ce}$.

Let $\mathbf{p}$ be a solution of the matrix equation $A\mathit{}\mathbf{x}\mathrm{=}\mathbf{b}$. Then any solution of $A\mathit{}\mathbf{x}\mathrm{=}\mathbf{b}$ can be written as $\mathbf{p}\mathrm{+}\mathbf{k}$ for some vector $\mathbf{k}$ such that $A\mathit{}\mathbf{k}\mathrm{=}\mathrm{\U0001d7ce}$.

Suppose $\mathbf{q}$ is a solution of $A\mathbf{x}=\mathbf{b}$. Then $A\mathbf{p}=A\mathbf{q}$, so $A(\mathbf{p}-\mathbf{q})=\mathrm{\U0001d7ce}$. Letting $\mathbf{k}=\mathbf{p}-\mathbf{q}$ we get $\mathbf{q}=\mathbf{p}+\mathbf{k}$ as claimed. ∎

The theorem tells you that if you can solve the homogeneous equation $A\mathbf{x}=\mathrm{\U0001d7ce}$ and you can somehow find a particular solution $\mathbf{p}$ of $A\mathbf{x}=\mathbf{b}$, you know all the solutions of the inhomogeneous equation $A\mathbf{x}=\mathbf{b}$.

What does it mean for $A\mathbf{k}=\mathrm{\U0001d7ce}$ to be true? Using Proposition 3.2.1 again, it says that

$${k}_{1}{\mathbf{c}}_{1}+\mathrm{\cdots}+{k}_{n}{\mathbf{c}}_{n}=\mathrm{\U0001d7ce}$$ | (3.10) |

where the ${k}_{j}$ are the entries of $\mathbf{k}$ and the ${\mathbf{c}}_{j}$ are the columns of $A$. An equation of the form (3.10) is called a linear dependence relation, or just a linear dependence, on ${\mathbf{c}}_{1},\mathrm{\dots},{\mathbf{c}}_{n}$. We’ve seen that solutions of the matrix equation $A\mathbf{x}=\mathrm{\U0001d7ce}$ correspond to linear dependences on the columns of $A$.

The solutions of the matrix equation $A\mathbf{x}={\mathrm{\U0001d7ce}}_{m}$ are so important that they get their own name.

The nullspace of an $m\times n$ matrix $A$, written $N(A)$, is $\{\mathbf{v}\in {\mathbb{R}}^{n}:A\mathbf{v}={\mathrm{\U0001d7ce}}_{m}\}$.

The homogeneous equation $A\mathbf{x}={\mathrm{\U0001d7ce}}_{m}$ has the property
that the zero vector is a solution, if $\mathbf{u}$ and $\mathbf{v}$ are solutions then so is
$\mathbf{u}+\mathbf{v}$, and if $\lambda $ is a number then $\lambda \mathbf{u}$ is also a solution. This is what it means to say that $N(A)$
is a *subspace* of ${\mathbb{R}}^{n}$, something we will cover in the
final chapter of MATH0005.

The augmented matrix of a system of linear equations whose matrix form is $A\mathbf{x}=\mathbf{b}$ is the matrix which you get by adding $\mathbf{b}$ as an extra column on the right of $A$. We write this as $(A\mid \mathbf{b})$ or just $(A\mathbf{b})$.

For example, the augmented matrix for the system of linear equations (3.9) above would be

$$\left(\begin{array}{cccc}2& 3& 4& 5\\ 1& 0& 5& 0\end{array}\right).$$ |

A solution to a matrix equation $A\mathbf{x}=\mathbf{b}$ is a vector $\mathbf{y}$ (of numbers this time, not unknowns) such that $A\mathbf{y}=\mathbf{b}$.

A system of linear equations may have a unique solution, many different solutions, or no solutions at all. In future lectures we will see how to find out how many solutions, if any, a system has.