Basics of elementary column operations
1Introduction
The key point is that an
Because this page comes before the formal rank lecture, we separate the early matrix-level definitions from the later generalized definitions. Here the
When this page uses
For a matrix
then column operations reorganize the generating set of the
2Terms and definitions
The three
| Operation | Symbol | Meaning |
|---|---|---|
| exchange the -th and -th columns | ||
| multiply a column by a | multiply the -th column by a nonzero scalar | |
| add a multiple of another column | add times the -th column to the -th column |
The condition is necessary in the second operation. If , the column itself disappears and cannot be recovered by an inverse operation.
3Why these three are called elementary
Each of the three operations is reversible.
The swap
is undone by swapping the same two columns again.
The scaling operation
is undone by
The replacement operation
is undone by
The condition is essential; multiplying a column by 0 destroys information and cannot be undone.
4Strategy
When studying column operations, write the matrix as
Then track how each new column is made as a linear combination of the old columns. The guiding rule is
Indeed, the -th column of is obtained by using the -th column of as the coefficient vector for a linear combination of .
data/lecture/math/linear-algebra/meaning-of-matrix-multiplication.lecture.n.md5Intuitive explanation
A column operation replaces a list of column generators by another list that spans the same space. For example, after the operation , the old column can be recovered because
Thus the generated space is unchanged, even though the displayed columns have changed.
In the map analogy, a column operation is like changing the signs that describe the same place. The displayed columns change, but the space reachable from them does not.
6Precise explanation
6.11. Multiplying by an elementary matrix on the right
An elementary matrix is obtained by applying one elementary operation to the identity matrix. An elementary column operation can be represented as multiplication by such an elementary matrix on the right.
Consider the operation
It is represented by right multiplication with
Indeed,
The entry appears in row 1, column 3 of because the third column of is determined by the third column of as a coefficient vector.
Column operations therefore have the form
where is an invertible elementary matrix.
6.22. Meaning as a linear map
Suppose represents and represents an invertible map . Then represents
because for every input ,
If is the elementary matrix corresponding to an elementary column operation, then is invertible. Hence maps onto all of , and
Thus the column space and rank are preserved.
The kernel is not generally preserved as the same set. Since means ,
So the dimension of the collapsed directions is preserved, but their coordinate description changes.
6.33. Difference from elementary row operations
| Operation | Side of multiplication | What is formed | Meaning for a |
|---|---|---|---|
| linear combinations of rows | replaces equations by equivalent equations | ||
| linear combinations of columns | changes combinations of coefficients attached to the unknowns |
For systems, this distinction matters. If we solve
then the original unknown is not . It is
Thus column operations can be used in equations only if this change of variables is tracked.
7Concrete examples
Let
7.1Swapping columns
For
we get
7.2Multiplying a column by a nonzero scalar
For
we get
7.3Adding a multiple of another column
For
compute
Thus
7.4Concrete example of a change of variables
Suppose a two-column coefficient matrix undergoes
Then
If we solve
then the original unknown is
So is the coordinate vector after the column change, not the original unknown vector.
8What is preserved
Because each new column is a linear combination of the old columns and the old columns can be recovered by the inverse operation,
Therefore
The
we have
The dimension of the kernel is preserved, but its coordinate representation changes.
9Effects on determinants
This section is a later-reference supplement. Return to it after the determinant lectures. The main flow of the present page uses only column spaces, rank, and changes of unknowns.
For square matrices, column operations affect the
| Column operation | Effect on |
|---|---|
| the sign changes | |
| the determinant is multiplied by | |
| the determinant does not change |
The reason is that the determinant is multilinear in the columns and becomes zero when two columns coincide.
data/lecture/math/linear-algebra/determinant-computation-rules.lecture.n.md10What changes and what is preserved by operation
| Operation | Preserved | Changed | Caution |
|---|---|---|---|
| order of columns, displayed row space, coordinate representation of the kernel, sign of | the order of unknowns is also swapped | ||
| size of the -th column, coordinate representation of the kernel, factor of | the inverse scaling must be tracked | ||
| displayed columns, coordinate representation of the kernel | the equation variables have changed if used in |
Writing an
This explains why
and why
The
putting gives
Thus the dimension of the kernel is preserved, but its coordinate representation changes.
This matters for a
the original unknown is recovered by
Column operations can be used to organize equations only if this variable change is tracked. Without tracking, they do not preserve the solution set in the same way that row operations do.
data/lecture/math/linear-algebra/elementary-row-operations.lecture.n.md data/lecture/math/linear-algebra/rank-basics.lecture.n.md11Criteria
- Use
elementary row operations when the solution set of a system should be preserved directly.行基本変形 ぎょうきほんへんけい - Use
elementary column operations when the列基本変形 れつきほんへんけい column space ,列空間 れつくうかん rank , or generating set of columns is the focus.階数 かいすう - For determinant computations, either row operations or column operations may be used, but signs and scalar factors must be recorded.
- If a column operation is used while solving , track the change of variables until the end.
12Scope of validity
A column operation replaces the generating set of columns reversibly and keeps the column space in the codomain. On the other hand, the input-side coordinates change, so the unknowns in an equation must not be identified without tracking that coordinate change.
13Final forms
14In one sentence
An
An elementary
The preservation rules are the practical checkpoint. Because has columns that are invertible linear combinations of the columns of , the column space and rank are preserved. For a system , the literal solution vector in the original variables changes, but the transformed system is equivalent after the substitution . Determinants change according to the same swap, scaling, and column-addition rules as row operations.
15Theorem and proof: elementary column operations preserve column space
Proof. Write . Swapping columns only changes the order of a generating set, so the span is unchanged. Multiplying a column by a nonzero scalar only replaces a generator by a nonzero scalar multiple in the same direction, and it can be undone by multiplying by .
Finally, consider . The new is a linear combination of the old columns, so the span of the new columns is contained in the old column space. The inverse operation recovers the old columns from the new columns, so the reverse inclusion also holds. Therefore the column spaces are equal.
However, column operations change the meaning of the unknown coordinates, so they do not necessarily preserve the solution set of a system of linear equations as the same set of unknown vectors.