Introductory Linear Algebra/Vectors and subspaces: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>RoyCullum
m Vectors: Improved grammar
 
(No difference)

Latest revision as of 23:40, 16 February 2023

Template:Nav

Template:TOC Template:Clear

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 c1𝐯1++ck𝐯k in which c10 (we can replace c1 by another scalar, and the result still holds by symmetry).
  • Then, 𝐯1=c2c1𝐯2ckc1𝐯k, i.e. 𝐯1 is a linear combination of the others.
  • If part:
  • without loss of generality, suppose 𝐯1=b2𝐯2++bk𝐯k (we can similarly replace 𝐯1 by another vector, and the result still holds by symmetry).
  • Then, 𝐯1b2𝐯2bk𝐯k=𝟎.
  • Since the coefficient of 𝐯1 is nonzero (it is one), 𝐯1,,𝐯k are linearly dependent.

Template:Colored remark Template:Colored example Then, we will introduce a proposition for Template:Colored em vectors. Template:Colored proposition

Proof. a1𝐯1++ak𝐯k=b1𝐯1++bk𝐯k,(a1b1)𝐯1++(akbk)𝐯k=𝟎 By the linear independence of vectors, a1b1==akbk=0, 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 𝐱=(c1,,cn)T, c1𝐯1++cn𝐯n=𝟎A𝐱=𝟎, a homogeneous SLE. By definition of linear independence, S is linearly independent is equivalent to A𝐱=𝟎 only has the Template:Colored em solution, which is also equivalent to A is invertible, by the simplified invertible matrix theorem.

Template:Colored remark Template:Colored example Template:Colored proposition

Proof. Let 𝐚1,,𝐚n be the Template:Colored em of A, and let 𝐱=(x1,,xn)T.

Then, A𝐱=𝐛x1𝐚1++xn𝐚n=𝐛. Assume there are two distinct solutions (x1,,xn)T and (y1,,yn)T for the SLE, i.e., x1𝐚1++xn𝐚n=𝐛=y1𝐚1++yn𝐚n. But, by the proposition about comparing coefficients for linear independent vectors, (x1,,xn)=(y1,,yn), 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 n 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:

  • 𝟎V since zero vector is a linear combination of the vectors belonging to S; Template:Tick
  • 𝐮,𝐯V𝐮+𝐯V since 𝐮+𝐯 is a linear combination of the vectors belonging to S; Template:Tick
  • 𝐯V,cc𝐯V since c𝐯 is a linear combination of the vectors belonging to S. Template:Tick

Template:Colored exercise

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 V belongs to spanβ, i.e. each vector in V is a linear combination of vectors in β.
  • Template:Colored em follows from the proposition about comparing coefficients for linear independent vectors.
  • If part:
  • β generates V because:
  1. by definition of subspace, spanβV (since linear combinations of vectors in β (the vectors in β are also in V, by βV) are belonging to V);
  2. on the other hand, since each vector in V can represented as a linear combination of vectors in β, we have Vspanβ.
  3. Thus, we have spanβ=V, so β generates V by definition. Template:Tick
  • β is linearly independent because
  • let 𝐯1,,𝐯n be the vectors in β and
  • assume a1𝐯1++an𝐯n=𝟎 in which a1,,an are Template:Colored em, (i.e. 𝐯1,,𝐯n are linearly Template:Colored em) then we can express the zero vector in V in two different ways:

a1𝐯1++an𝐯n, and 0𝐯1++0𝐯n,

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 n. Thus, each subspace of n 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 β1={𝐮1,,𝐮k} and β2={𝐰1,,𝐰}. Also, let Un×k and Wn× be the matrices with 𝐮i's and 𝐰j's as Template:Colored em.

By definition of basis, spanβ1=V, and spanβ2=V, so 𝐰1+0𝐰2++0𝐰k=a11𝐮1+a21𝐮2++ak1𝐮k𝐰1=U𝐚1 for some 𝐚1=(a11,,ak1)T. By symmetry, 𝐰2=U𝐚2,,𝐰=U𝐚. Thus, W=UA in which A is the matrix whose columns are 𝐚1,,𝐚, of size k×.

We claim that A𝐱=𝟎 only has the trivial solution, and this is true, since:

  • If A𝐱=𝟎, then W𝐱=UA𝐱=U𝟎=𝟎, and thus 𝐱=0, since the columns of W are linearly independent, by the proposition about the relationship between linear independence and number of solutions in SLE.

Thus, the RREF of (A|𝟎) (with +1 columns) has a leading one in each of the first columns. Since there are k rows in (A|𝟎), we have k (if k< , we cannot have leading ones, since there are at most k< leading ones)

By symmetry (swapping the role of β1 and β2), k, and thus k=

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) span({𝐫1,𝐫2,𝐫3})=span({𝐫2,𝐫1,𝐫3});
  • (type II ERO) span({𝐫1,𝐫2,𝐫3})=span({k𝐫1,𝐫2,𝐫3});
  • (type III ERO) span({𝐫1,𝐫2,𝐫3})=span({𝐫1+k𝐫2,𝐫2,𝐫3}).

Assuming this is true, we have Row(A)=Row(R). It can be proved that the nonzero rows of R generate Row(R), and they are linearly independent, so the nonzero rows form a basis for Row(R)=Row(A).

Template:Colored remark Template:Colored example Template:Colored proposition

Proof. Using Gauss-Jordan algorithm, (A|𝟎) can be transformed to (R|𝟎) via EROs, and they are row equivalent. Thus, A𝐱=𝟎 and R𝐱=𝟎 have the same solution set. Then, it can be proved that linearly (in)dependent columns of A correspond to linearly (in)dependent columns of R. It follows that {𝐚i1,,𝐚ik} 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 k independent unknowns in the solution set, we need a set consisting at least k 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 A) and the proposition about basis for column space (there are k column vectors, and k 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 R be the RREF of A. rank(A) is the number of Template:Colored em of R, and nullity(A) is the number of Template:Colored em unknowns of R𝐱=𝟎, which is n minus the number of Template:Colored em of R. The result follows.

Template:Colored example Template:Colored exercise

Template:Nav