Lecture 5. Transposes, permutations, spaces
讲座摘要(lecture summary)
In this lecture we introduce vector spaces and their subspaces.
Permutations
Multiplication by a permutation matrix swaps the rows of a matrix; when applying the method of elimination we use permutation matrices to move zeros out of pivot positions. Our factorization then becomes , where is a permutation matrix which reorders any number of rows of . Recall that , i.e. that .
Transposes
When we take the transpose of a matrix, its rows become columns and its columns become rows. If we denote the entry in row column j of matrix by , then we can describe by: . For example:
matrix is symmetric if . Given any matrix (not necessarily square) the product is always symmetric, because . (Note that .)
Vector spaces
We can add vectors and multiply them by numbers, which means we can discuss linear combinations of vectors. These combinations follow the rules of a vector space.
One such vector space is , the set of all vectors with exactly two real number components. We depict the vector by drawing an arrow from the origin to the point which is a units to the right of the origin and units above it, and we call the “ plane”.
Another example of a space is , the set of (column) vectors with n real number components.
Closure
The collection of vectors with exactly two positive real valued components is not a vector space. The sum of any two vectors in that collection is again in the collection, but multiplying any vector by, say, , gives a vector that’s not in the collection. We say that this collection of positive vectors is closed under addition but not under multiplication.
If a collection of vectors is closed under linear combinations (i.e. under addition and multiplication by any real numbers), and if multiplication and addition behave in a reasonable way, then we call that collection a vector space.
Subspaces
A vector space that is contained inside of another vector space is called a subspace of that space. For example, take any non-zero vector in . Then the set of all vectors , where c is a real number, forms a subspace of . This collection of vectors describes a line through in and is closed under addition.
A line in that does not pass through the origin is not a subspace of . Multiplying any vector on that line by gives the zero vector, which does not lie on the line. Every subspace must contain the zero vector because vector spaces are closed under multiplication.
The subspaces of are:
- all of ,
- any line through and
- the zero vector alone (Z).
The subspaces of are:
- all of ,
- any plane through the origin,
- any line through the origin, and
- the zero vector alone (Z).
Column space
Given a matrix with columns in , these columns and all their linear combinations form a subspace of . This is the column space . If , the column space of A is the plane through the origin in containing and .
Our next task will be to understand the equation in terms of subspaces and the column space of .
Problems and Solutions(习题及答案)
Problem 5.1: (2.7 #13. Introduction to Linear Algebra: Strang)
- a) Find a by permutation matrix with (but not ).
- b) Find a by permutation with .
Solution
- a) Let move the rows in a cycle: the first to the second, the second to the third, and the third to the first. So
- b) Let be the block diagonal matrix with 1 and P on the diagonal; .Since , also . So .
Problem 5.2: Suppose is a four by four matrix. How many entries of can be chosen independently if:
- a) is symmetric?
- b) is skew-symmetric?
Solution
- a) The most general form of a four by four symmetric matrix is:
Therefore entries can be chosen independently.
- b) The most general form of a four by four skew-symmetric matrix is:
Therefore entries can be chosen independently.
Problem 5.3: (3.1 #18.) True or false (check addition or give a counterexample):
- a) The symmetric matrices in (with ) form a subspace.
- b) The skew-symmetric matrices in (with ) form a subspace.
- c) The unsymmetric matrices in (with ) form a subspace.
Solution
- a) True: and lead to:
- b) True: and lead to:
- c) False: .