Linear Algebra Lecture 5
1. Permutations PA=LU
2. Vector spaces and subspaces
Permutations
They execute row exchanges. P is the identity matrix with reordered rows.
PA=LU
This is the description of elimination with row exchanges.
For any invertible A we get
PA=LU
.
How many possibilities for permutations?
n factorial(阶乘)
n!=n(n−1)(n−2)...(2)(1)
That’s the number of counts the possible reorderings, it counts all the
n×n
permutations .
P−1=PT
PTP=I
Transpose a matrix
⎡⎣⎢124331⎤⎦⎥T=[132341]
(AT)ij=Aji
Symmetric matrices
Symmetric matrix(对称矩阵) means that this transposing doesn’t change the matrix.
AT=A
⎡⎣⎢317129794⎤⎦⎥
Why RTR is always symmetric?
⎡⎣⎢124331⎤⎦⎥[132341]=⎡⎣⎢1011711131171117⎤⎦⎥
Take transpose of
RTR
(RTR)T=RTRTT=RTR
Vector spaces
Space means get a bunch of vectors, a space of vectors. The space allow be able to add vectors and multiply by numbers, have to be able to take linear combinations.
R2
= all two dimensional real vectors = the
XY
plane
Rn
= all column vectors with n real components
Vector space has to be closed under multiplication and addition of vectors. In other words, closed under linear combinations.
Subspace
A subspace that is part of Rn and is still safely multiplication and addition of vectors stay in the smaller vector space.
Line in R2 through zero vector is a subspace of R2 , every subspace has got to contain zero, because must be allowed to multiply by zero.
List all subspaces of
R2
1) All of
R2
2) Any line through
[00]
3) Zero vector only
column space
How to create some subspaces out of a matrix
One subspace is from the column
A=⎡⎣⎢124331⎤⎦⎥
Columns in
R3
and all their linear combinations form a subspace. Called the column space
C(A)
.
We have two column ⎡⎣⎢124⎤⎦⎥ and ⎡⎣⎢331⎤⎦⎥ , the whole column space comes from taking all combinations of those two vectors. Then we get a plane through zero vector in R3 .
We may take a combinatio of five vectors in R10 , we’ll have five vectors and they’ll all have ten components, we take their combinations, we possibly have some five dimensional flat thing going through the origin. And if those five vectors were all on the line, then we would only get that line, it depends on those five vector.