Introductory Linear Algebra/Vectors and subspaces

From testwiki
Revision as of 23:40, 16 February 2023 by imported>RoyCullum (โ†’Vectors: Improved grammar)
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)
Jump to navigation Jump to search

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,cโ„c๐ฏ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