Solving Ax = b: Row Reduced Form R
May 26, 2019
Remember we have talked about other values of b on lecture 6. Today we will explore further how a non-zero lead to not-a-space solution, and discuss what values of can have a solution, many solutions, or no solution, extending from lecture 1 and lecture 7.
Solvability conditions on b
Let’s again use the example:
Actually not many b’s can have a solution. You can try throw some random numbers in. We have known that the r3 of is r1 + r2. When we have a much more larger matrix, that will not come in a very clear way, say maybe r8 = 2*r4+1/2*r. So we need elimination to discover what exactly the relations on rows of and then find out what conditions we need for . Augment the matrix with , and do elimination real quick:
By elimination we see that the constant vector must follow the rules on the augemented side. Picking the zero row is most convenient to phrase the condition. If and only if , we have a solution to . A particular one will be . The zeros rows are conditions for solving the equations.
Note that this is equivalent to say is in which we have discussed before(idk formally why yet, probably this is a way of checking if b is in the column space of A).
Solutions to Ax=b if there’s one
To find the solution to , we first set the free variables to zero to get and then get by setting one free variable as 1 each time. For our example , we let .
then
But why we need to add the solutions in nullspace? It’s because
Copy the null solutions from the last lecture notes,
Note that we don’t have a constant in front of because it solves for the particular . Remember the null solution is a nullspace. But this solution to the particular does not have a space. It’s the plane formed by the shifted by the vector . It does not go through the origin.
Rank
is ranks and equal to the number of pivots in the matrix.
Full Column rank: r=n
Full column rank means there’s a pivot in every column. For example
In this case the is just the because we have no free variables can be assigned to the nullspace. The solution to is just , if there’s one, determined by the checking solvability technique mentioned above. We have either 0 or 1 solution.
In addition, the rref(A) or for full column rank matrix will always be .
Full Row rank: r=m
Every row will have a pivot. For example
You see first there will not be any zero rows after elimination. This promises us there will always be a solution. Also since we have at least one free variable in this case, there will be infinitely many solutions(check out how to find the null solutions). And the rref(A) will be (Or there can be a mix between columns).
Full rank r=m=n
Since , no free variables, the nullspace for this matrix is just zero only. Since , no zero rows, there won’t be any constraint on . There will always be one and only one solution to full rank matrix. rref(A) = .
r<m, r<n
The will be . The in (1) is this case. Remember from last lectures we may not have a solution or there’re infinitely many solutions to this one.