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.10) |
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 then we can solve the matrix equation
$$A\mathbf{x}=\mathbf{b}$$ |
by multiplying both sides by ${A}^{-1}$ to get 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$.
We can now restate the above by saying that $A\mathbf{x}=\mathbf{b}$ has a solution if and only if $\mathbf{b}$ belongs to the column space of $A$.
A homogeneous matrix equation is one of the form $A\mathbf{x}=\mathrm{\U0001d7ce}$.
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.11) |
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.11) is called a linear dependence relation, or just a linear dependence, on ${\mathbf{c}}_{1},\mathrm{\dots},{\mathbf{c}}_{n}$.
Let ${\mathbf{v}}_{1},\mathrm{\dots},{\mathbf{v}}_{n}$ be matrices of the same size. A linear dependence relation on ${\mathbf{v}}_{1},\mathrm{\dots},{\mathbf{v}}_{n}$ is an equation
$${a}_{1}{\mathbf{v}}_{1}+\mathrm{\cdots}+{a}_{n}{\mathbf{v}}_{n}=\mathrm{\U0001d7ce}$$ |
where the ${a}_{i}$ are numbers. A linear dependence relation is called nontrivial or nonzero if not all of the ${a}_{i}$ are zero.
We’ve seen that solutions of the matrix equation $A\mathbf{x}=\mathrm{\U0001d7ce}$ correspond to linear dependence relations 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.10) 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 matrix equation $A\mathbf{x}=\mathbf{b}$ is called consistent if it has a solution and inconsistent otherwise.
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.