Real Vector Space
Real Vector Space
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Real Vector Spaces
Linear Algebra
Span and Linear Independence
Example
Consider the three-dimensional vectors
=
v1
1
=
2
, v2
1
1
=
0
, v3
2
1
1
0
2
Express the vector v = 1 as a linear combination
5
of v1, v2 and v3
Linear Algebra
Span and Linear Independence
Example (continued)
1
1
1
a1 2 + a2 0 + a3 1 =
1
2
0
a + a +a
2
3
1
2a1 + 0 + a3 =
a + 2a + 0
2
1
2
1
1 1 a1 2
0 1 a2 = 1
2 0 a3 5
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
=
=
ai v i , v i 1 bi v i for
Let u, v span(S).
Then u
=
i 1=
some real numbers a1, a2, , ak and b1, b2, , bk .
k
k
k
u=
+ v i 1 a=
b=
i 1 ( ai + bi ) vi span(S).
i v i + i 1=
i vi
=
k
Let c be real and u span(S). Then u = i=1 ai vi for
some real numbers a1, a2, , ak .
k
k
=
cu c=
QED
i 1 a=
i 1 cai vi span(S).
i vi
=
k
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Example
1
1 0 2
A=
system Ax = 0 where
1
1 1 3
Form augmented
matrix and put it into
reduced row echelon
form
0
0
1
0
0
0
4 1
0 2
1 1
0 0
0 0
0
0
Linear Algebra
Span and Linear Independence
x1
x1 + x2 + 2 x4 =
0
x2
x3 x4 =
0
Example (continued)
Set x2 = r x1 = r 2s
r 2s
r=
1
2
1 0
r
+s
0
1
0
1
1 2
1 , 0
0 1
0 1
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Span and Linear Independence
1
2
Example
1
The vectors and 0 that span the solution
a1
+ a2
=
0
1 0
0
1 0
a1 2a2
a1
a2
a2
=0
= 0
= 0
= 0
Linear Algebra
Real Vector Spaces
Example
Let V be R4 and v1 = [ 1 0 1 2 ], v2 = [ 0 1 1 2 ]
and v3 = [ 1 1 1 3 ]. Determine if S = { v1, v2, v3 }
is linearly independent or linearly dependent
+ a3
a2 + a3
a1v1 + a2 v 2 + a3 v3 =
0
a1 + a2 + a3
2a1 + 2a2 + 3a3
a1
=
0
=
0
=0
=
0
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
a
a
a j 1
v j 1
vj =
1 v1 2 v 2
aj
aj
aj
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Real Vector Spaces
Example - Let V
= R3 and S
=
1 0 0
=
0 , 1 , 0
0 0 1
{e1, e2 , e3}
= {i, j, k}
Linear Algebra
Real Vector Spaces
Example
Let V = R3 and S = { [1 0 0], [0 1 0], [0 0 1] }. S
is the natural basis for R3
Example
The natural basis for Rn is
ei
denoted by e1, e2, , en where =
0
0
1 ith
0
0
row
Linear Algebra
Real Vector Spaces
Example
Legendre Polynomials - Ln ( x )
L0 ( x ) = 1
L1 ( x ) = x
L2 ( x ) = ( 3x 2 1 ) / 2
L3 ( x ) = ( 5x 3 3x ) / 2
In general,
(n+1) Ln+1 ( x ) = (2n+1) x Ln ( x ) n Ln1 ( x )
S = { L0 ( x ), L1 ( x ), L2 ( x ) } is a basis for P2
In general,
S = { L0 ( x ), L1 ( x ), , Ln ( x ) } is a basis for Pn
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Homogeneous Systems
Example
Consider the homogeneous system Ax = 0 where
1
A=
1
2
6
3
4
2
4
4
4
2
6
2
3
3
6
4
4
0
4
0
A reduces to
1
0
0
0 2
1 2
0 0
0 0
0 3 4
0 1 0
1 2 2
0 0 0
Linear Algebra
Real Vector Spaces
Homogeneous Systems
Example (continued)
Corresponding system of equations is
x1 2 x3
0 Let x6 = t, x5 = s, x3 = r
3x5 + 4 x6 =
x2 + 2 x3
0 Then x4 = 2s + 2t,
+ x5
=
x2 = 2r s,
x4 + 2 x5 2 x6 =
0
x1 = 2r + 3s 4t
x1 2r + 3s 4t
2
3
4
x
2 2r s
2
1
0
x3
1
0
0
r
=
= r + s +t
x4 2s + 2t
0
2
2
x
0
1
0
s
5
0
0
1
x6
Linear Algebra
Homogeneous Systems
Example (continued)
The null space of A is spanned by the independent
set of vectors below and thus has dimension 3.
2 3 4
2 1 0
1 0 0
, ,
0 2 2
0 1 0
0 0 1
Linear Algebra
Real Vector Spaces
Homogeneous Systems
Example (continued)
The null basis may be obtained by the procedure
on the preceding slides or by the following
procedure
1. In the reduced row echelon form, identify the
columns corresponding to the free variables
(i.e. the non pivot columns). In this example:
columns 3, 5 and 6. Since there are three
nonpivot columns, the null basis will contain
three vectors
Linear Algebra
Homogeneous Systems
Example (continued)
2. Since there are six unknowns, initialize three 6 x 1
vectors with 1s and 0 s as shown
#3 1 0 0
, ,
#5 0 1 0
#6 0 0 1
Linear Algebra
Real Vector Spaces
Homogeneous Systems
Example (continued)
3. For the pivot positions, 1, 2 and 4, insert the
coefficients of the free variables after changing
their signs
#1 2 3 4
#2 2 1 0
1 0 0
, ,
#4 0 2 2
0 1 0
0 0 1
Linear Algebra
Homogeneous Systems
2
3
2 1 x1 3
4 2 x2 =
6
6 3 x3 9
Linear Algebra
Homogeneous Systems
origin of R
1
2
1
The solution vectors, 1 + r 1 + s 0 , form
a plane parallel to the 2 0 1
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Comments
The conventional notation for the coordinate
vector of v with respect to S is
a1
a2
v S =
an
Linear Algebra
Real Vector Spaces
Example
Consider the vector space P1 of all polynomials of
degree 1 and the zero polynomial. Let S = { v1, v2 }
be an ordered basis for P1 with v1 = t and v2 = 1. Let
5
v = 5 t 2, then v = . Consider another
S
2
ordered basis T = { t + 1, t 1 }. Then
3 2
3
7
5t 2= ( t + 1) + ( t 1) v T =
2
2
7 2
Linear Algebra
Real Vector Spaces
Preliminaries
Note the correspondence between a vector space
P1 of polynomials and the vector space R2. This
correspondence will be developed further
Let v and w be vectors in an arbitrary n
dimensional vector space V which has an ordered
basis S = { v1, v2, , vn }
v = a1 v1 + a2 v2 + + an vn
w = b1 v1 + b2 v2 + + bn vn
Linear Algebra
Coordinates and Isomorphisms
Preliminaries (continued)
Let [ v ]S and [ w ]S be the coordinate vectors of v
and w
v + w = (a1 + b1)v1 + (a2 + b2)v2 + + (an + bn)vn
v + w S =
a1 + b1
a2 + b2 = v + w
S S
an + bn
Linear Algebra
Coordinates and Isomorphisms
Preliminaries (continued)
c v = (c a1) v1 + (c a2) v2 + + (c an) vn
c=
v S
ca1
ca
2
=
can
c v S
So c v is associated with c [ v ]S
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Comments
To show that two vector spaces are isomorphic,
have to
Linear Algebra
Real Vector Spaces
an
Linear Algebra
Real Vector Spaces
a1
a
2
=
, [ w ]S
an
b1
b
2 and
bn
x
L is onto. Let 2 Rn be arbitrary. Then L maps
xn
Linear Algebra
Coordinates and Isomorphisms
Proof (continued) =
L preserves vector addition.
Let [ v ]S
By the properties of the coordinate
vector established earlier
a1
a
2
=
, [ w ]S
an
L ( v + w ) =[ v + w ]S =[ v ]S + [ v ]S =L ( v ) + L ( w )
v ]S c =
[c=
[ v ]S
c L( v)
a1
a
= 2
an
QED
b1
b
2
bn
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Coordinates and Isomorphisms
v= b1v1 + b2 v 2 ++ bn v n
v S
v = c1w1 + c2 w 2 ++ cn w n
b1
b
2
v T
=
bn
c1
c2
cn
Linear Algebra
Real Vector Spaces
= c1w1 S + c2w 2 S + + cn w n S
= c1 w1 S + c2 w 2 S + + cn w n S
a1 j
a2 j
Let w j S =
a
nj
Linear Algebra
Coordinates and Isomorphisms
v S=
b1
b2 =
bn
a11
a12
a1n
a
a
a
c1 21 + c2 22 + + cn 2n
an1
an 2
ann
a11 a12 a1n c1
21 a22 a2 n c2
a
=
an1 an 2 ann cn
P v T
Linear Algebra
Real Vector Spaces
Linear Algebra
Coordinates and Isomorphisms
=
v1
2
=
0
, v2
1
6
w1 =
3 , w 2
3
1
=
2
, v3
0
4
=
1 ,
3
1
1
1
5
w3 =
5
2
Linear Algebra
Real Vector Spaces
a1v1 + a2 v 2 + a3 v3 =
w1
b1v1 + b2 v 2 + b3 v3 =
w2
c1v1 + c2 v 2 + c3 v3 =
w3
Note: Three systems of three equations in three
unknowns
Linear Algebra
Coordinates and Isomorphisms
a1v1 + a2 v 2 + a3 v3 =
w1
v
1
v 2 v3
2
w1 = 0
1
1 1 6
2 1 3
0 1 3
Linear Algebra
Coordinates and Isomorphisms
b1v1 + b2 v 2 + b3 v3 =
w2
v
1
v2 =
v3 w 2
0
1
1 1 4
2 1 1
0 1 3
Linear Algebra
Coordinates and Isomorphisms
c1v1 + c2 v 2 + c3 v3 =
w3
v
1
v 2 v3
2
w3 = 0
1
1 1 5
2 1 5
0 1 2
Linear Algebra
Real Vector Spaces
v v
2 v3 w=
1 w 2 w3 0
1
1
To
From
1 1 6 4 5
2 1 3 1 5
0 1 3 3 2
Linear Algebra
Coordinates and Isomorphisms
0
0
0 0 2 2 1
1 0 1 1 2
0 1 1 1 1
=
P
1
1
2 1
1 2
1 1
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Rank of a Matrix
a21
A=
am1
a12
a22
am 2
a1n
a2n
amn
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Rank of a Matrix
1
A= 1
3
1
2
1
3
5
4
1
1
3
1
5
Linear Algebra
Real Vector Spaces
Rank of a Matrix
w = [ 1 0 3 ] and w = [ 0 1 2 ].
1
2
B = 0 0 0
0 v = w 3w , v = 3w 5w ,
3
1
2 4
1
2
v5 = w1 4w2
If A is row equivalent to a matrix B that is in row
echelon form, the nonzero rows of B form a basis for
the row space of A
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
v=
2 c21w1 + c22 w 2 + + c2 r w r
v=
m cm1w1 + cm 2 w 2 + + cmr w r
a=
1 j c11b1 j + c12b2 j + + c1r brj
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Proof (continued) -
a1 j
a2 j
For j = 1,2, , n =
a
mj
c11
c12
c1r
c
c
c
b1 j 21 + b2 j 22 + + brj 2r
cmr
cm1
cm 2
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Rank of a Matrix
Example
1 1
1 2 3
Let S =
, , S ,
,
1 1
2 4 3
1
S is linearly independent since det
1
1
S is linearly dependent since det
2
1
= 2
1
2 3
= 0
4 3
Linear Algebra
Real Vector Spaces
Rank of a Matrix
a
a
m1
m2
amn bm
Linear Algebra
Real Vector Spaces
Rank of a Matrix
a
a
m1
m2
amn bm
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Rank of a Matrix
Linear Algebra
Real Vector Spaces
Preliminaries
Vectors in the Plane and in 3-Space
Vector Spaces
Subspaces
Span and Linear Independence
Basis and Dimension
Homogeneous Systems
Coordinates and Isomorphisms
Rank of a Matrix
Four Fundamental Subspaces
Topics
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces
Example
1
A=
3
2
has m = n = 2 and rank r = 1
6
1
Column space contains all multiples of
3
2
Null space consists of all multiples of
1
1
Row space consists of all multiples of ( actually
2
multiples of [ 1 2 ] )
3
Left null space consists of all multiples of
1
Linear Algebra
Real Vector Spaces
Example (continued)
Linear Algebra
Four Fundamental Subspaces
General Case
Rn
Rm
dim r
dim r
row space
of A
xr
Ax r = b
x = xr + xn
column space
of A
Ax = b b
Ax n = 0
xn
null space
dim n r
Linear Algebra
Real Vector Spaces
Comments
From the row space to the column space, every
matrix A is invertible. Every vector b in the
column space comes from exactly one vector xr in
the row space. Can define a pseudoinverse A+
such that for every vector xr in the row space,
A+ A xr = xr
The linear system Ax = b has a solution if and
only if b lies entirely in C (A). This is often
expressed as the Fredholm alternative:
Either Ax = b is consistent,
Or there exists a z such that zT A = 0 and zT b 0
Linear Algebra
Real Vector Spaces
Linear Algebra
Real Vector Spaces