Solving Ax = 0: Pivot Variables, Special Solutions
May 25, 2019
This lecture we continue to talk about null space and the case where there’re free variables.
Free Variables
Remember a pivot is the first non-zero value in each row. But sometimes there can be a row without a pivot, when a row is all zeros.
Let
be the example. What comes out right away is the r3 of is r1 + r2 of . This will be more obvious when we do elimination on it. When we are doing eliminations, we are not changing the nullspace. When we subtract one row from the other on , we are not changing the solution to (but they do affect the column space). Do the elimination:
We see that the third row is all zeros. In other words, we only have 2 pivots for this matrix. We say the matrix is in echelon (staircase) form because it only contains values in “upper” side of the matrix, similar to the upper triangular form but that naming requires the matrix to be squareA matrix is said to be in row-echelon form if (1) any rows made completely of zeroes lie at the bottom of the matrix and (2) the first nonzero entries of the various rows form a staircase pattern: the first nonzero entry of the k + 1st row is to the right of the first nonzero entry of the k th row. (https://web.ma.utexas.edu/users/sadun/S08/427K/matrix.pdf) . The rank of a matrix is equal to the # of pivots in the echelon form.
Once we’ve found we can use back-substitution to find the solutions to the equation . Now comes the important step:
We see that and are pivot columns. and are the free columns, corresponding to and . We call it free because we can assign the 2nd and 4th unknown variable to any number we want. Since we can assign whatever values we want, one particular solution is to make and (convenienet for now), now we have:
by back-substitution. As we have shown before, a multiple of this solution can also work. So
is in our null space. But this is not the complete null space yet. Let’s make another choice on the free variable: . Do the back-substitution to get again, we get
The complete null space is the linear combination of the two special solutions where we make and ,
In general, when we have a , we have free variabels, where is the number of rank or pivot variables (consider the number of pivot variables are those we cannot choose freely). Here we have free variables and the null space is a 2-d plane in .
Reduced-row echelon form
The matrix in equation is in row echelon form, now we want to further simplify it to row-reduced echelon form (rref) .
This form requires an echelon-form matrix to (1) have 1 in the pivots, (2) have zeros above and below the pivots. Exchange the c2 and c3 of :
we see an identity matrix, a “free matrix”(containing the free variables), and a/some row(s) of zeros (when there’re linearly dependent rows in ). Right now to solve the system of equations where the righthand side is all zeros:
Let’s set the particular solution of Remember the row operations on matrix. To offset the effect of , we have
The columns of are the special solutions (remember we have exchanged the columns of ). Note the dimension of in is , the number of free variables multiply the number of free variables.