Vector Spaces and Subspaces
•
Vector SpaceV
•
SubspacesS
of Vector SpaceV
– The Subspace Criterion – Subspaces are Working Sets – The Kernel Theorem– Not a Subspace Theorem
•
Independence and Dependence in Abstract spaces– Independence test for two vectors
v ~
1,v ~
2. An Illustration.– Geometry and Independence
– Rank Test and Determinant Test for Fixed Vectors – Sampling Test and Wronskian Test for Functions.
– Independence of Atoms
Vector Space
V
It is a data set
V
plus a toolkit of eight (8) algebraic properties. The data set consists of packages of data items, called vectors, denotedX ~
,Y ~
below.Closure The operationsX + ~~ Y andk ~X are defined and result in a new vector which is also in the setV.
Addition X + ~~ Y = ~Y + ~X commutative
X + ( ~~ Y + ~Z) = ( ~Y + ~X) + ~Z associative
Vector~0is defined and~0 + ~X = ~X zero
Vector− ~X is defined andX + (− ~~ X) = ~0 negative Scalar
multiply
k( ~X + ~Y ) = k ~X + k ~Y distributive I (k1+ k2) ~X = k1X + k~ 2X~ distributive II k1(k2X) = (k~ 1k2) ~X distributive III
1 ~X = ~X identity
The 8 Properties
+
Toolkit
Operations
.
DataSet
Figure 1. A Vector Space is a data set, operations
+
and·
, and the 8-property toolkit.Definition of Subspace
A subspace
S
of a vector spaceV
is a nonvoid subset ofV
which under the operations+
and·
ofV
forms a vector space in its own right.Subspace Criterion
Let
S
be a subset ofV
such that 1. Vector~ 0
is inS
.2. If
X ~
andY ~
are inS
, thenX + ~ ~ Y
is inS
. 3. IfX ~
is inS
, thenc ~ X
is inS
.Then
S
is a subspace ofV
.Items 2, 3 can be summarized as all linear combinations of vectors in
S
are again inS
. In proofs using the criterion, items 2 and 3 may be replaced byc
1X + c ~
2Y is in S. ~
Subspaces are Working Sets
We call a subspace
S
of a vector spaceV
a working set, because the purpose of identifying a subspace is to shrink the original data setV
into a smaller data setS
, customized for the application under study.A Key Example. Let
V = R
3 and letS
be the plane of action of a planar kinematics experiment, a slot car on a track. The data setD
for the experiment is all3
-vectors~ v
inV
collected by a data recorder. Detected by GPS and recorded by computer is the3
D position of the slot car, which would be planar, except for bumps in the track. The original data setD
will be transformed into a new data setD
1 that lies entirely in a plane. Plane geometry computations then proceed with the Toolkit forV
, on the smaller planar data setD
1. How to createD
1? The ideal plane of actionS
is computed as a homogeneous equation (like 2x+3y+1000z=0), the equation of a plane. Least squares is applied to data setD
to find an optimal equation forS
. Altered data setD
1 is created fromD
(andD
discarded) to artificially satisfy the plane equation. ThenD
1 is contained inS
(D
obviously was not). The smaller storage setS
replaces the larger storage setV
. The customized smaller setS
is the working set for the kinematics problem.The Kernel Theorem
Theorem 1 (Kernel Theorem)
Let
V
be one of the vector spacesR
n and letA
be anm × n
matrix. Define a smaller setS
of data items inV
by the kernel equationS = {~ x : ~ x
inV, A~ x = ~ 0}.
Then
S
is a subspace ofV
.In particular, operations of addition and scalar multiplication applied to data items in
S
give answers back inS
, and the8
-property toolkit applies to data items inS
.Proof: Zero is in V because A~0 = ~0 for any matrix A. To apply the subspace criterion, we verify that
~
z = c1~x + c2y~for~xand~yinV also belongs toV. The details:
A~z = A(c1~x + c2~y)
= A(c1~x) + A(c2~y)
= c1A~x + c2A~y
= c1~0 + c2~0 BecauseA~x = A~y = ~0, due to ~x, ~y inV.
= ~0 Therefore,A~z = ~0, and ~z is inV. The proof is complete.
Not a Subspace Theorem
Theorem 2 (Testing
S
not a Subspace)Let
V
be an abstract vector space and assumeS
is a subset ofV
. ThenS
is not a subspace ofV
provided one of the following holds.(1) The vector
~ 0
is not inS
.(2) Some
~ x
and−~ x
are not both inS
.(3) Vector
~ x + ~ y
is not inS
for some~ x
and~ y
inS
.Proof: The theorem is justified from the Subspace Criterion.
1. The criterion requires~0is inS.
2. The criterion demandsc~xis inS for all scalarscand all vectors~xinS.
3. According to the subspace criterion, the sum of two vectors inS must be inS.
Definition of Independence and Dependence
A list of vectors
~ v
1, . . . ,~ v
k in a vector spaceV
are said to be independent provided every linear combination of these vectors is uniquely represented. Dependent means not independent.Unique representation
An equation
a
1~ v
1+ · · · + a
k~ v
k= b
1~ v
1+ · · · + b
k~ v
kimplies matching coefficients: a
1= b
1, . . . , a
k= b
k.
Independence TestForm the system in unknowns
c
1, . . . ,c
kc
1~ v
1+ · · · + c
k~ v
k= ~ 0.
Solve for the unknowns [how to do this depends on
V
]. Then the vectors are independent if and only if the unique solution isc
1= c
2= · · · = c
k= 0
.Independence test for two vectors
~ v
1,~ v
2In an abstract vector space
V
, form the equationc
1~ v
1+ c
2~ v
2= ~ 0.
Solve this equation for the two constants
c
1,c
2.Then ~ v
1, ~ v
2are independent in V if and only if the system has unique solution c
1= c
2= 0.
There is no algorithm for how to do this, because it depends on the vector space
V
and sometimes on detailed information obtained from bursting the data packages~
v
1, ~ v
2. IfV
is someR
n, then combo-swap-mult sequences apply.Geometry and Independence
•
One fixed vector is independent if and only if it is nonzero.•
Two fixed vectors are independent if and only if they form the edges of a parallelogram of positive area.•
Three fixed vectors are independent if and only if they are the edges of a parallelepiped of positive volume.In an abstract vector space
V
, one vector [one data package] is independent if and only if it is a nonzero vector. Two vectors [two data packages] are independent if and only if one is not a scalar multiple of the other. There is no simple test for three vectors.Illustration
Vectors
~ v
1= cos x
and~ v
2= sin x
are two data packages [graphs] in the vector spaceV
of continuous functions. They are independent because one graph is not a scalar multiple of the other graph.An Illustration of the Independence Test
Two column vectors are tested for independence by forming the system of equations
c
1~ v
1+ c
2~ v
2= ~ 0
, e.g,c
1
−1 1
+ c
2
2 1
=
0 0
.
This is a homogeneous system
A~ c = ~ 0
withA =
−1 2 1 1
, ~ c =
c
1c
2
.
The systemA~c = ~0can be solved for~cby combo-swap-mult methods. Becauserref (A) = I, thenc1 = c2 = 0, which verifies independence.
If the systemA~c = ~0is square, thendet(A) 6= 0applies to test independence.
Determinants cannot be used directly when the system is not square, e.g., consider the homogeneous system
c1
−1 1 0
+ c2
2 1 0
=
0 0 0
.
It has vector-matrix formA~c = ~0with3 × 2 matrixA, for whichdet(A)is undefined.
Rank Test
In the vector space
R
n, the independence test leads to a system ofn
linear homoge- neous equations ink
variablesc
1, . . . ,c
k. The test requires solving a matrix equa- tionA~ c = ~ 0
. The signal for independence is zero free variables, or nullity zero, or equivalently, maximal rank. To justify the various statements, we use the relationnullity(A) + rank(A) = k
, wherek
is the column dimension ofA
.Theorem 3 (Rank-Nullity Test)
Let
~ v
1, . . . ,~ v
k bek
column vectors inR
n and letA
be the augmented matrix of these vectors. The vectors are independent ifrank(A) = k
and depen- dent ifrank(A) < k
. The conditions are equivalent tonullity(A) = 0
andnullity(A) > 0
, respectively.Determinant Test
In the unusual case when the system arising in the independence test can be expressed as
A~ c = ~ 0
andA
is square, thendet(A) = 0
detects dependence, anddet(A) 6= 0
detects independence. The reasoning is based upon the adjugate formulaA
−1=
adj(A)/ det(A)
, valid exactly whendet(A) 6= 0
.Theorem 4 (Determinant Test)
Let
A
be a square augmented matrix of column vectors. The column vectors are independent ifdet(A) 6= 0
and dependent ifdet(A) = 0
.Sampling Test
Let functions
f
1, . . . ,f
n be given and letx
1, . . . ,x
n be distinctx
-sample values. DefineA =
f
1(x
1) f
2(x
1) · · · f
n(x
1) f
1(x
2) f
2(x
2) · · · f
n(x
2)
... ...
· · ·
...f
1(x
n) f
2(x
n) · · · f
n(x
n)
.
Then
det(A) 6= 0
impliesf
1, . . . ,f
n are independent functions.Proof
We’ll do the proof for n = 2. Details are similar for general n. Assume c1f1 + c2f2 = 0. Then for all x, c1f1(x) + c2f2(x) = 0. Choosex = x1 andx = x2 in this relation to getA~c = ~0, where~chas components c1, c2. If det(A) 6= 0, then A−1 exists, and this in turn implies~c = A−1A~c = ~0. We concludef1, f2 are independent.
Wronskian Test
Let functions
f
1, . . . ,f
n be given and letx
0 be a given point. DefineW =
f
1(x
0) f
2(x
0) · · · f
n(x
0) f
10(x
0) f
20(x
0) · · · f
n0(x
0)
... ...· · ·
...f
1(n−1)(x
0) f
2(n−1)(x
0) · · · f
n(n−1)(x
0)
.
Then
det(W ) 6= 0
impliesf
1, . . . ,f
n are independent functions. The matrixW
is called the Wronskian matrix off
1, . . . ,f
n anddet(W )
is called the Wronskian determinant.Proof
We’ll do the proof for n = 2. Details are similar for general n. Assume c1f1 + c2f2 = 0. Then for all x, c1f1(x) + c2f2(x) = 0andc1f10(x) + c2f20(x) = 0. Choosex = x0 in this relation to getW ~c = ~0, where
~c has components c1,c2. If det(W ) 6= 0, then W−1 exists, and this in turn implies~c = W−1W ~c = ~0. We concludef1,f2are independent.
Atoms
Definition. A base atom is one of the functions
1, e
ax, cos bx, sin bx, e
axcos bx, e
axsin bx
whereb > 0
. Define an atom for integersn ≥ 0
by the formulaatom
= x
n(
base atom).
The powers
1
,x
,x
2, . . . are atoms (multiply base atom1
byx
n). Multiples of these powers bycos bx
,sin bx
are also atoms. Finally, multiplying all these atoms bye
ax expands and completes the list of atoms.Alternatively, anatom is a function with coefficient 1obtained as the real or imaginary part of the complex expression
xneax(cos bx + i sin bx).
Illustration
We show the powers
1
,x
,x
2,x
3 are independent atoms by applying the Wronskian Test:W =
1 x
0x
20x
300 1 2x
03x
200 0 2 6x
00 0 0 6
.
Then
det(W ) = 12 6= 0
implies the functions1
,x
,x
2,x
3 are linearly independent.Subsets of Independent Sets are Independent
Suppose
~ v
1,~ v
2,~ v
3 make an independent set and consider the subset~ v
1,~ v
2. Ifc
1~ v
1+ c
2~ v
2= ~ 0
then also
c
1~ v
1+ c
2~ v
2+ c
3~ v
3= ~ 0
where
c
3= 0
. Independence of the larger set impliesc
1= c
2= c
3= 0
, in particular,c
1= c
2= 0
, and then~ v
1,~ v
2 are indpendent.Theorem 5 (Subsets and Independence)
•
A non-void subset of an independent set is also independent.•
Non-void subsets of dependent sets can be independent or dependent.Atoms and Independence
Theorem 6 (Independence of Atoms)
Any list of distinct atoms is linearly independent.
Unique Representation
The theorem is used to extract equations from relations involving atoms. For instance:
(c
1− c
2) cos x + (c
1+ c
3) sin x + c
1+ c
2= 2 cos x + 5 implies
c
1− c
2= 2,
c
1+ c
3= 0,
c
1+ c
2= 5.
Atoms and Differential Equations
It is known that solutions of linear constant coefficient differential equations of order