We are ready to prove that the fundamental solutions of are a basis for . To set up the notation, suppose is a matrix, is a RREF matrix obtained by doing row operations to , the number of columns of with a leading entry is and the number of columns with no leading entry is , so . Let the numbers of the columns with no leading entry be
and the numbers of the columns that do have a leading entry be
so that the numbers contain all of the numbers exactly once. The variable corresponding to a column with no leading entry is called a free parameter because its value can be chosen freely. There are fundamental solutions to , with the th fundamental solution defined to be the one where the th free parameter is 1 and all the other free parameters are 0.
The fundamental solutions to are a basis of the nullspace .
Before we do the proof, let’s work an example to illustrate how it will go. Free parameters and their coefficients will be coloured red. Take
so that we have and . The columns with no leading entry are 1, 3, and 5 so , , and variables , , and are the free parameters. The columns with leading entries are 2 and 4, so and . The equations corresponding to are
(missing off the final one, since it just says ). These equations show that once values for the free parameters are known, the other variables and are completely determined by those values — we have and .
The three fundamental solutions are
These are linearly independent, because if
then row 1 of this equation shows that , row 3 shows that , and row 5 shows that . To show that the fundamental solutions span, suppose is any vector such that . We claim that is equal to . Certainly these two vectors have the same entries in rows 1, 3, and 5, since the entries in these rows are , and . What about the entries in rows 2 and 4, that is, the values of and ? As above, these entries are completely determined by the values of the free parameters. The free parameters are the same for both vectors, so the values of and are the same as well. We have shown that any solution is in the span of the fundamental solutions, so we are done.
Theorem 3.9.1 shows that , so we will show that the fundamental solutions are a basis of .
First we show that the fundamental solutions are linearly independent. Suppose that
(4.6) |
The first fundamental solution corresponds to the variable for column , so has a 1 in row and all the other fundamental solutions have a 0 there. Thus the entry in row on the left hand side of (4.6) is , so . Similarly all the other coefficients are zero.
Now let be any solution of and let the entry of in row be . We are going to show that
The left hand side and right hand side of this claimed equation are solutions to with the same free parameter values . We just have to show that the values of the other variables are the same. But the values of the variables that aren’t free parameters are uniquely determined by the values of the free parameters, because by the RREF property, for the only equation containing is the one coming from row of which has the form
where the only other variables occurring with nonzero coefficient are free parameters. Since and are solutions to with the same free parameter values , they are equal.
∎