Introductory Linear Algebra/Vectors and subspaces: Difference between revisions
imported>RoyCullum m →Vectors: Improved grammar |
(No difference)
|
Latest revision as of 23:40, 16 February 2023
Vectors
Introduction
Without distinguishing row and column vectors, we can define Template:Colored em as follows: Template:Colored definition Template:Colored remark A special type of vector is the Template:Colored em. Template:Colored definition Template:Colored remark Template:Colored example However, in linear algebra, we sometimes need to distinguish row and column vectors, which are defined as follows: Template:Colored definition Template:Colored remark Template:Colored example Template:Colored remark The two basic vector operations are addition and scalar multiplication. Using these two operations only, we can Template:Colored em multiple vectors as in the following definition. Template:Colored definition Template:Colored example Template:Colored exercise Another concept that is closely related to linear combinations is Template:Colored em. Template:Colored definition Template:Colored remark Template:Colored example Template:Colored exercise
Linear independence
Template:Colored definition Template:Colored remark Then, we will introduce an intuitive result about linear dependence, in the sense that the results match with the name 'linear dependence'. Template:Colored proposition
Proof.
- Only if part:
- without loss of generality, suppose in which (we can replace by another scalar, and the result still holds by symmetry).
- Then, , i.e. is a linear combination of the others.
- If part:
- without loss of generality, suppose (we can similarly replace by another vector, and the result still holds by symmetry).
- Then, .
- Since the coefficient of is nonzero (it is one), are linearly dependent.
Template:Colored remark Template:Colored example Then, we will introduce a proposition for Template:Colored em vectors. Template:Colored proposition
Proof. By the linear independence of vectors, and the result follows.
Template:Colored example Template:Colored example Template:Colored exercise Then, we will discuss two results that relate linear independence with SLE. Template:Colored proposition
Proof. Setting , a homogeneous SLE. By definition of linear independence, is linearly independent is equivalent to only has the Template:Colored em solution, which is also equivalent to is invertible, by the simplified invertible matrix theorem.
Template:Colored remark Template:Colored example Template:Colored proposition
Proof. Let be the Template:Colored em of , and let .
Then, . Assume there are two distinct solutions and for the SLE, i.e., But, by the proposition about comparing coefficients for linear independent vectors, which contradicts with our assumption that these two solutions are distinct.
Template:Colored remark Template:Colored example Template:Colored exercise
Subspaces
Then, we will discuss subspaces. Simply speaking, they are some subsets of that have some nice properties. To be more precise, we have the following definition. Template:Colored definition Template:Colored remark Template:Colored example Template:Colored example We can see from this example that the entries themselves do not really matter. Indeed, we have the following general result: Template:Colored proposition
Proof. The idea of the proof is shown in the above example:
- since zero vector is a linear combination of the vectors belonging to ; Template:Tick
- since is a linear combination of the vectors belonging to ; Template:Tick
- since is a linear combination of the vectors belonging to . Template:Tick
In particular, we have special names for some of the spans, as follows: Template:Colored definition Template:Colored remark Template:Colored example Template:Colored example Template:Colored example Template:Colored exercise Then, we will introduce some more terminologies related to subspaces. Template:Colored definition Template:Colored definition Template:Colored remark The following theorem highlights the importance of Template:Colored em. Template:Colored theorem
Proof.
- Only if part:
- is a generating set, so each vector in belongs to , i.e. each vector in is a linear combination of vectors in .
- Template:Colored em follows from the proposition about comparing coefficients for linear independent vectors.
- If part:
- generates because:
- by definition of subspace, (since linear combinations of vectors in (the vectors in are also in , by ) are belonging to );
- on the other hand, since each vector in can represented as a linear combination of vectors in , we have .
- Thus, we have , so generates by definition. Template:Tick
- is linearly independent because
- let be the vectors in and
- assume in which are Template:Colored em, (i.e. are linearly Template:Colored em) then we can express the zero vector in in two different ways:
- which contradicts the uniqueness of representation. Template:Tick
Template:Colored example Template:Colored example Template:Colored exercise Then, we will discuss some ways to construct a basis. Template:Colored theorem Template:Colored remark Its proof is complicated. Template:Colored corollary
Proof. We start with an empty set . It is linearly independent (since it is Template:Colored em linearly dependent by definition), and is a subset of every set. By extension theorem, it can be extended to a basis for subspace of . Thus, each subspace of has a basis, found by this method.
Template:Colored example Template:Colored exercise A terminology that is related to Template:Colored em is Template:Colored em. Template:Colored definition Template:Colored remark Recall that there are infinitely many bases for a subspace. Luckily, all bases have the same number of vectors, and so the dimension of subspace is unique, as one will expect intuitively. This is assured bFy the following theorem. Template:Colored theorem
Proof. Let and . Also, let and be the matrices with 's and 's as Template:Colored em.
By definition of basis, , and , so for some . By symmetry, . Thus, in which is the matrix whose columns are , of size .
We claim that only has the trivial solution, and this is true, since:
- If , then , and thus , since the columns of are linearly independent, by the proposition about the relationship between linear independence and number of solutions in SLE.
Thus, the RREF of (with columns) has a leading one in each of the first columns. Since there are rows in , we have (if , we cannot have leading ones, since there are at most leading ones)
By symmetry (swapping the role of and ), , and thus
Template:Colored example Template:Colored example Template:Colored exercise Then, we will discuss the bases of row, column and null spaces, and also their dimensions. Template:Colored proposition
Proof. It can be proved that the row space is unchanged when an ERO is performed. E.g.,
- (type I ERO) ;
- (type II ERO) ;
- (type III ERO) .
Assuming this is true, we have . It can be proved that the nonzero rows of generate , and they are linearly independent, so the nonzero rows form a basis for .
Template:Colored remark Template:Colored example Template:Colored proposition
Proof. Using Gauss-Jordan algorithm, can be transformed to via EROs, and they are row equivalent. Thus, and have the same solution set. Then, it can be proved that linearly (in)dependent columns of correspond to linearly (in)dependent columns of . It follows that is linearly Template:Colored em, and all other columns belong to the span of this set.
Template:Colored example Template:Colored example Template:Colored exercise Template:Colored proposition
Proof. The idea of the proof is illustrated in the above example: if there are independent unknowns in the solution set, we need a set consisting at least vectors to generate the solution set.
We have special names for the dimensions of row, column and null spaces, as follows: Template:Colored definition Indeed, the row rank and the column rank of each matrix are the same. Template:Colored proposition
Proof. We can see this from the bases found by the proposition about basis for row space (number of nonzero rows is the number of leading ones of the RREF of ) and the proposition about basis for column space (there are column vectors, and is the number of leading ones by the assumption).
Because of this proposition, we have the following definition. Template:Colored definition Template:Colored remark Then, we will introduce an important theorem that relates Template:Colored em and Template:Colored em. Template:Colored theorem
Proof. Let be the RREF of . is the number of Template:Colored em of , and is the number of Template:Colored em unknowns of , which is minus the number of Template:Colored em of . The result follows.