Sage and Linear Algebra Worksheet: FCLA Section FS
Section 1 Four Subsets
A
is an \(8\times 10\) matrix.
We get the extended echelon form, along with the natural subdivisions into four submatrices. We unpack the four submatrices, and stack them in pairs to also get the left and right portions.
And build two bigger pieces.
Demonstration 1.
Verify some of the properties of these matrices, as given in Theorem PEEF.
- Is
J
nonsingular? - How are
A
,B
, andJ
related? Observe that the matrixJ
effectively reproduces the net effect of a sequence of row operations that convertsA
toB
.
Imagine the equation in the last part of the exercise, but instead replace \(A\) by an augmented matrix of a linear system with a vector of constants b
. The row operations that convert A
to B
, will also act on the vector of constants. Will the result be a pivot column (an inconsistent system) or a vector with zeros in all of the same rows as the zero rows of B
? Equivalent question: is the vector of constants outside the column space, or within the column space?
The answer to the first question is that the zeros will occur in the proper entries to avoid a pivot column exactly if b
is in the null space of the matrix L
. So consistent systems come from the vectors in the null space of L
, and by Theorem CSCS, we know this set of vectors is also the column space.
Demonstration 2.
Illustrate the previous discussion with a random choice of the vector b
from the null space of L
.
We create an arbitrary element of the null space of L
with a linear combination.
b
will create a consistent system with A
as coefficient matrix.
The column space of A
is equal to the null space of L
. This is part of Theorem FS.
Since the vector b
leads to a consistent system, we know it is in the column space of A
. But we can check with Sage.
Sage relies on echelonized bases to represent infinite sets of vectors and to be able to test vector space equality (which seems pretty amazing at first!).
This work is Copyright 2016–2019 by Robert A. Beezer. It is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.