Escolar Documentos
Profissional Documentos
Cultura Documentos
VECTOR SPACES
0.1
Vector Spaces
of R4 .
1 2 3 0
1 2 3 0
1 2 3 0
5R +R2
R3 R2
0 14 18 0
Solution: 5 4 3 0 1
0 7 9 0 .
3R2 +R3
2R3 +R2
0 0 0 0
3 1 0 0
0 7 9 0
So dim(V ) = 2. 2
Exercise 0.1.3
.
1
0
1
1
1
the row space of A, where A =
1 0 1 0 1
0 0 0 1 1
Solution: A
R1 +R4
1
0
0
0
0
0
1 0 0
1 1 1 0
0
0 1 1
0
2 0 1
0
0 1 1
R3 R4
R3 +R5
1
0
0
0
0
0
1 0 0
1 1 1 0
0
2 0 1
0
0 1 1
0
0 0 0
The basis is {(1, 0, 1, 0, 0), (0, 1, 1, 1, 0), (0, 0, 2, 0, 1), (0, 0, 0, 1, 1)}. The dimension is 4. 2
Exercise 0.1.4
of degree 3.
2
Solution: Let v1 = 1 + x2 , v2 = x x3 , v3 = 1, v4
Consider the matrix [[v1 ][v2 ][v3 ][v4 ][v5 ][v6 ]]:
1 0 0
1
0 1 0 0 0
1 0
0
R2 +R4 0 1
0 1 0
1
0
1
0
0
0 0 1 0 1
0 0 0 1 0
R1 +R3
0 0
0 1 0
0 1 0 0 0 1
= x, v5 = x2 , and v6 = x3 .
0
0
.
0
1
1/2
1 .
[u]C =
1/2
1
Exercise 0.1.6 Let w W be such that [w]C = 2 , where C is the basis
0
for W defined in 0.1.5. Find the polynomial w.
Solution:
w = 1 w1 + 2 w2 + 0 w3 = (x + x2 ) + 2(x x2 ) = 3x x2 .
Exercise 0.1.7 Compute the transition matrix P = PBC from the basis
B = {x, x2 , x3 } for W to the basis C = {w1 , w2 , w3 } for W defined in 0.1.5.
1-st Solution:
2x = w1 + w2 [x]C =
1
2
1
2
2x2 = w1 w2 [x2 ]C =
1
2
21
12
2x3 = w3 w1 [x3 ]C = 0 .
1
2
Hence
P =
2-nd Solution:
1
1
= 1 1
0
0
1
2
1
2
1
2
1
2
21
0 .
1
2
[w1 w2 w3 | x x2 x3 ] =
1 0
1 1 0 0
1
1
1
0
1
R
1 R2
2 3
1 0 1 0
0 2
0 2 0 1 1
R1 +R2
2 0 0 1
0
0 1 0 0 1/2
1 1 1
1
0
0
R2 R3 +R1
0
0 1 0 1/2 1/2
0 0 1
0
0 1/2
1 1 1 1/2
1/2 1/2
0 = [I|P ]. 2
0 1 0 1/2 1/2
0 0 1
0
0
1/2
Exercise 0.1.8
Let A =
1
1
1
.
1 1 1
x1
Solution: a) X = x2 R31 , AX = 0.
x3
1
1
1
1
1
1
0
Set x3 = 1 then x2 = 1, x1 = 0. So X1 = 1 .
1
4
b) Consider the
0
1
1
matrix [X1 e1 e2 e3 ]:
1 0 0
0 1 0 0
0 1 0 1 0 1 0
0 0 1
0 0 1 1
1
, 0
0
1 0
0 1
0 0
0
, 1
0
1 0
0 0
1 1
.2
Exercise 0.1.9 Let {t, u, v, w} be a basis for a vector space V . Find dim(U ),
where U = span{t + 2u + v + w, t + 3u + v + 2w, 3t + 4u + 2v, 3t + 5u + 2v + w}.
Solution: Let v1 = t + 2u + v + w, v2 = t + 3u + v + 2w, v3 = 3t + 4u + 2v,
v4 = 3t + 5u + 2v + w. Consider the coordinate matrix [v1 v2 v3 v4 ]:
1 1 3 3
1 1
3
3
1 1
3
3
2 3 4 5
0 1 2 1 0 1 2 1
1 1 2 2
0 0 1 1
0 0 1 1
1 2 0 1
0 1 3
2
0 0 1 1
3
3
1 1
0 1 2 1
0 0 1 1 .
0 0
0
0
Thus {v1 , v2 , v3 } = {t + 2u + v + w, t + 3u + v + 2w, 3t + 4u + 2v} is a basis for
U . It has 3 vectors. Hence dim(U ) = 3. 2
Exercise 0.1.10
a) Show that C = {(1, 1, 0), (1, 1, 0), (0, 0, 1)} is a basis for R3 .
b) Let B = {(1, 0, 0), (0, 1, 0), (0, 0, 1)}. Find the change of coordinate matrices
(that is transition matrices) from C to B, and from B to C.
Solution: a) The determinant
are linearly independent, so C is
1
1 0
1 1 0 = 2 6= 0. It means that the rows
0
0 1
linearly independent in R3 , consequently C is
a basis for R3 since dim(R3 ) = 3 and R3 span(C), where C has 3 vectors and
finally dim(hCi) = 3.
b) Set u1 = (1, 1, 0), u2 = (1, 1, 0), u3 = (0, 0, 1). Then C = {u1 , u2 , u3 }.
1
1 0
PCB = [[u1 ]B [u2 ]B [u3 ]B ] = 1 1 0 .
0
0 1
1
PBC = PCB
.
1
1 0
[PCB |I] = 1 1 0
0
0 1
1
0
0
1 0 0
1
0 1 0 0
0 0 1
0
1 0
1
0
1 0 1/2 1/2
0 1
0
0
1 0 1 0 0
2 0 1 1 0
0 1 0 0 1
0
0
1
1 0 0 1/2
1/2 0
0 1 0 1/2 1/2 0 = [I|PBC ] .
0 0 1
0
0 1
Exercise 0.1.11 Let the set {u, v, w} be linearly independent. Show that the
set {u + 2v, v 3w, u v + w} is linearly independent.
Denote B = {u, v, w} is a basis for span(B). Then we can write
1
0
1
[u + 2v]B = 2 , [v 3w]B = 1 , [u v + w]B = 1 .
0
3
1
Solution:
Since
1
0
1
1 1
1
+1 2
1 1 = 1
det 2
0 3
3
1
0 3
1
= 2 6 6= 0.
6
2
0 6
1
+1
3
span
,
,
.
0 1
0 2 1
0 2 4
Solution:
2
1
1
+1
3
=x
+y
+z
.
0 6
0 1
0 2 1
0 2 4
Thus the following system must be consistent:
y + ( + 1)z =
x +
x
y
3z =
2
x + (2 1)y + (2 4)z = 6
1
+ 1
R +R2
1
3
2 1
R1 +R3
1 2 1 2 4 6
+ 1
R +R3
0 2 1 2 + 3 2 + 2 2
6
0 2 1 2 + 3
+ 1
0 2 1 2 + 3 2 + 2 .
0
0
0 4 2
Hence 4 2 = 0 or = 2. 2
2 1 1
1 0
0
0 1 . Show that the
Exercise 0.1.13 Given the matrix 0 1
1 1
1 1 0
dimension of the column space of this matrix is equal to 3. Justify your answer.
Solution:
2 1 1
1 0
1 1
1 1 0
R R3
2R +R2
0 1
2 1 1
0
0 1 1
1 0 1
R2 R3
1 1
1 1 0
0 1
0
0 1
1
1 1 0
1
1
1 1 0
1
R +R3
0 1 3
3 0 .
3 0 2
0 1 3
3 1
0
0 3
0
1
0
0 1
1
1
2
Hence 0 , 1 , 0 is a basis for the column space. Therefore its
1
1
1
dimension is equal to 3. 2
1 0 2
2 1 4
1 1 2
0 1
2R +R2
1 5 1
R1 +R3
1
in 3 5 matrix
1
1 0 2 0
1
1 0 2 0
R +R3
0 1 0 1
3 .
0 1 0 1
3 2
0 0 0 0 4
0 1 0 1 1
The dimension dim(span(A)) is the same with the dimension of column or row
space of the matrix. To make it equal to 2 one must have 4 = 0 or = 4. 2
Exercise 0.1.15 Given two bases B = {u+v, uv, w} and C = {u+w, v, v
w} for the vector space spanned by {u, v, w}.
a) Find the transition matrix PBC from B to C.
b) Find the transition matrix PCB from C to B.
Solution:
a)
1
[u + v]C = [(u + w) + (v w)]C = 0 .
1
1
[u v]C = [(u + w) + (v w) 2v]C = 2 .
1
1 .
[w]C = [v (v w)]C =
1
Hence PBC
1
1
0
1 .
= 0 2
1
1 1
1
1
0 1 0 0
R +R3
1 0 1 0 1
= 0 2
1
1 1 0 0 1
1
1
0 1 0 0
R3
0 1 1 1 1
0 2
2 R2
0
0 1 1 0 1
1 0 0 1/2
1/2
R2 +R1
0 1 0 1/2 1/2
0 0 1
1
0
Hence
1
1
0 1 0 0
R +R2
0 2
1 0 1 0 3
0
0 1 1 0 1
1 1 0
1
0
0
0 1 0 1/2 1/2 1/2
0 0 1
1
0
1
1/2
1/2 = I| (PBC )1 .
1
PCB
1
1
1
1
= 1 1 1 .
2
2
0 2
1
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
R2 +R3
0
1
1 0 0 1
0 1 0 0
0 0 1 0
0 0 0 0
0
0
1
0
0
1
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
.
1
1
1
0
0
0
1
0 0
0
1 0
0 1 1
0
0 0
0
0
R3 R4
0
1
10
Exercise 0.1.17 Let p P2 . The coordinate matrix of p relative to the
standard ordered basis B = {1, x, x2 } is [p]B = [2, 1, 5]T . Find the change of
coordinate matrix from the ordered basis B = {1, x, x2 } to the ordered basis
C = {1, 1 x, 1 + x + x2 } and the coordinate matrix of p relative to C, [p]C .
Solution:
1
1 1 1 0 0
[PCB |I] = 0 1 1 0 1 0
0
0 1 0 0 1
1 0 0
R +R1
0 1 0
2
R2
0 0 1
where
1
1 0 1 0 1
R3 +R2
= 0 1 0 0 1 1
R3 +R1
0
0 1 0 0
1
1
1 2
0 1
1 = [I|PBC ],
0
0
1
PBC
1
1 2
1
= 0 1
0
0
1
1
1 2
2
9
1 1 = 6 . 2
[p]C = 0 1
0
0
1
5
5
Exercise 0.1.18
. Show
c1
0
=
.
c2
0
(1)
11
By our assumption, there exists A1 . Hence this homogeneous system has only
trivial solution, namely c1 = c2 = 0. So C consists of two linearly independent
vectors and consequently it is a basis for R2 since dim(R2 ) = 2.
Conversely, assume C is a basis for R2 , then the system (1) has only the trivial
solution, so AX = 0 consequently RX = 0 for some R which is the row echelon
reduced matrix. If RX = 0 has only trivial solution then R = I which proves
that A is invertible. 2
Exercise 0.1.19 Consider the following list of statements. In each case either
prove the statement if it is true or give an example showing that it is false.
i) If V is a subspace of R3 containing two linearly independent vectors, then V
is equal to all of R3 .
ii) If vectors v1 and v2 are linearly dependent and u 6 span(v1 , v2 ) then the
vectors u + v1 and u + v2 are linearly dependent.
iii) If vectors v1 and v2 are linearly independent and u 6 span(v1 , v2 ) then the
vectors u + v1 and u + v2 are linearly independent.
Solution: i) False.
dim(R3 ) = 3, so we need at least 3 vectors to span R3 . Consider V = {v1 , v2 } =
{(1, 1, 0), (0, 1, 0)}. The vectors v1 and v2 are linearly independent since c1 (1, 1, 0)+
c2 (0, 1, 0) = (c1 , c1 + c2 , 0) = (0, 0, 0) iff c1 = c2 = 0.
But V 6= R3 since (0, 0, 1) R3 but (0, 0, 1) 6= k1 (1, 1, 0) + k2 (0, 1, 0) = (k1 , k1 +
k2 , 0) = (0, 0, 0). Thus (0, 0, 1) 6 V .
ii) False.
v1 and v2 are linearly dependent means that v1 = k v2 . So u + v1 = u + k v2 .
c1 (u + k v2 ) + c2 (u + v2 ) = 0 (c1 + c2 )u + (kc1 + c2 )v2 = 0.
But u 6 span(v1 , v2 ) hence c1 + c2 = 0 = kc1 + c2 i.e. (k 1)c1 = 0 that is k = 1
or c1 = 0.
So when k 6= 1 we have c1 = c2 = 0 i.e. u+v1 and u+v2 are linearly independent.
For example, u = (1, 1), v1 = (2, 0), v2 = (1, 0). Then u + v1 = (3, 1) and
u + v2 = (2, 1) are not linearly dependent.
iii) True.
If c1 (u + v1 ) + c2 (u + v2 ) = 0 then (c1 + c2 )u + c1 v1 + c2 v2 = 0. But v1 and v2 are
linearly independent and u 6 span(v1 , v2 ), hence c1 = c2 = 0 and c1 + c2 = 0, so
u + v1 and u + v2 are linearly independent.. 2
12
Given three ordered bases B = {v1 , v2 , v3 }, C = {u1 , u2 , u3 },
1 1 1
Exercise 0.1.20
a) Write down the vector 2u1 3u2 + 4u3 as a linear combination of w1 , w2 , and
w3 .
b) Find the transition matrix PDC .
= {w3 , w2 , w1 }. Find the transition matrix PC
c) Let C = {u2 , u3 , u1 } and D
D
.
d) Find the transition matrix PBD .
Solution:
1 1 1
2
3
[v]D = PCD [v]C = 1 2 3 3 = 8 .
1 4 9
4
26
1 1 1 1
[PCD |I] = 1 2 3 0
1 4 9 0
1 0 1 2 1
2 1
1
0 1
0 0
2 2 3
1 0
0 1
0 0
0 0
1 1 1 1 0 0
R +R3
+R1
0 1 2 1 1 0 R
1 0 1
2
R1 +R2
3R
2 +R3
0 1
0 3 8 1 0 1
2
1
0
1
1
0
0
1
R3
R3 +R1
2 1
1
0
0 2 0 1
2R3 +R2
0 0
1 1 3/2 1/2
1
0 3 5/2 1/2
0 3
4 1 = [I|PDC ].
1
1 3/2 1/2
4 9 1
c) PC
D
= [[u2 ]D
[u3 ]D
[u1 ]D
] = 2 3 1 .
1 1 1
4
13
9
u3 = w1 + 3w2 + 9w3 = 9w3 + 3w2 + w1 [u3 ]D = 3 .
1
1
u1 = w1 + w2 + w3 = w3 + w2 + w1 [u1 ]D = 1 .
1
1 1 1
1 0
1
3 2
0
d) PBD = PCD PBC = 1 2 3 1 1 1 = 6 5 1 .
1 4 9
1 1
0
14 13 3
Here we used v1 =
u1 + u2 + u3 , v2 = u2 + u3 , and v3 = u1 u2 , hence
1 0
1
PBC = 1 1 1 . 2
1 1
0
14
0.2
2 3 6
3 4 6
2
3
6
0 1/2 3
.
w3 = v3
(v2 |w1 )
w1 = (0, 1, 0) 0 w1 = (0, 1, 0).
(w1 |w1 )
(v3 |w1 )
(v3 |w2 )
2
1
w1
w2 = (0, 1, 2) (1, 0, 1)
(0, 1, 0) =
(w1 |w1 )
(w2 |w2 )
2
1
= (0, 1, 2) (1, 0, 1) + (0, 1, 0) = (1, 0, 1).
15
where tr is the trace of a matrix (i.e. sum of the diagonal entries of a matrix).
Let
0 1
2 1
A=
and B =
.
1 1
0 1
a) Find (A|B) and kBk, where k k denotes the norm (length) induced by the
above inner product.
b) Are A and B orthogonal?
c) Determine the scalar c such that A cB is orthogonal to A.
Solution:
a)
(A|B) = tr(B A) = tr
2 0
1 1
0 1
1 1
= tr
0 2
1 2
= 0+2 = 2.
1/2
p
2 0
2 1
T
1/2
=
4 2
= 4 + 2 = 6 = kBk.
= tr
2 2
b) A and B are not orthogonal since, by part a), (A|B) = 2 6= 0.
c) A cB and A are orthogonal iff (A cB|A) = 0.
(A cB|A) = (A|A) c(B|A) = tr(AT A) c(A|B) =
= tr
0 1
1
1
0 1
1 1
c 2 = tr
1 1
1
2
2c = 3 2c.
16
Solution:
a)
(2u1 + 3u2 |4u1 2u2 )
.
cos = p
(2u1 + 3u2 |2u1 + 3u2 ) (4u1 2u2 |4u1 2u2 )
r
9
3
9
x2 =
x=
= .
13
13
13
Finally
3
2
v = u1 u2
13
13
and
3
2
v = u1 + u2 . 2
13
13
17
x
y
1 1 1 1
0
Or in matrix notation
=
.
1 1 2 0
z
0
u
1
1 1 1 1
1 1 1
Find the fundamental solutions of this system.
.
0 0 1 1
1 1 2 0
The variables y and u are free.
1
2
1
and F2 = 0 . Finally
So we have F1 =
0
1
0
1
span{v1 , v2 } = h(1, 1, 0, 0), (2, 0, 1, 1)i.
b) By the Gram Schmidt, w1 = v1 = (1, 1, 1, 1).
w 2 = v2
4
(v2 |w1 )
w1 = (1, 1, 2, 0) (1, 1, 1, 1) = (0, 0, 1, 1).
(w1 |w1 )
4
(v3 |w1 )
(v3 |w2 )
w1
w2 =
(w1 |w1 )
(w2 |w2 )
5
0
3 7 5 5
= (2, 3, 0, 0) (1, 1, 1, 1) (0, 0, 1, 1) =
, , ,
.
4
2
4 4 4 4
The orthogonal basis is (1, 1, 1, 1), (0, 0, 1, 1), 34 , 74 , 54 , 54 .
w 3 = v3
Exercise 0.2.6 Let R4 be the inner product space relative to the standard
inner product. Let B = {(1, 1, 0, 0), (0, 1, 1, 0), (1, 1, 1, 1)} be a basis for L =
span(B).
a) Orthogonalize the basis B by means of the Gram Schmidt orthogonalization
process.
b) Find the closest vector to g = (1, 1, 1, 0) in L.
18
Solution:
a) w1 = v1 = (1, 1, 0, 0).
(v2 |w1 )
1
w2 = v2
w1 = (0, 1, 1, 0) (1, 1, 0, 0) =
(w1 |w1 )
2
w3 = v3
1 1
, , 1, 0 .
2 2
(v3 |w2 )
(v3 |w1 )
w1
w2 = (1, 1, 1, 1) 0 w1 0 w2 = (1, 1, 1, 1).
(w1 |w1 )
(w2 |w2 )
prL (g) =
1
(11, 13, 11, 3). 2
12
Exercise 0.2.7 Consider the vector space R3 with the standard inner product
and let S = {(2, 1, 1), (1, 2, 3), (3, 1, 4)}.
a) Find a basis for the orthogonal complement S of S.
b) Find the orthogonal projection of (1, 1, 1) on the subspace spanned by S.
a) All vectors v S satisfy(v|u) = 0, where u S. So to find a
2x y + z = 0
x + 2y + 3z = 0 .
basis of S we need to solve the system
3x + y + 4z = 0
x
2 1 1
x
0
y
1
2
3
y
Or in matrix notation A
=
= 0 .
z
3
1 4
z
0
Solution:
2 1
R +R3
1
2
A 1
R2 +R3
0
0
19
this system.
1
2
3
1
2R +R1
0 5 5 .
3 2
R1 R2
0
0
0
0
1
So we have P1 = 1 . Hence {u = (1, 1, 1)} is a basis for S .
1
b) Note v = (1, 1, 1). Since
v = prhSi (v) + prhS i (v)
then
prhSi (v) = v prhS i (v).
prhS i (v) =
Hence
prhSi (v) = (1, 1, 1)
Exercise 0.2.8
that
1 1 1
, ,
3 3 3
=
2 2 4
, ,
3 3 3
.
Solution:
kv + wk2 + kv wk2 = (v + w|v + w) + (v w|v w) =
= [(v|v) + 2(v|w) + (w|w)] + [(v|v) 2(v|w) + (w|w)] =
= 2[(v|v) + (w|w)] = 2(kvk2 + kwk2 ). 2
20
Exercise 0.2.9 Let R4 be the inner product space with the standard inner
product (|). Let S = span{(1, 1, 0, 1), (1, 0, 1, 0), (0, 1, 1, 1)} R4 .
a) Find a basis B for the orthogonal complement to S in R4 .
b) Applying the Gram Schmidt orthogonalization to the basis B constructed
in a), find an orthonormal basis for the orthogonal complement S of S.
c) Find the orthogonal projection of v = (0, 0, 0, 1) on S.
Solution: a)
1 0
1 1
0 1
0 1 1 1
1 0
R +R1
R +R3
1 0
1 0
0 1 1 1 .
1 0 2
1 0 1
R1 R2
0 1 1 1
0 1 1 1
0 0
0 0
The third and forth variables are free. We have x + z = 0 and y z + t = 0.
Then y = z t and x = z.
Find the fundamental vectors of the system.
0
1
P1 =
0 .
1
1
1
P2 =
1 .
0
z = 0, t = 1.
z = 1, t = 0.
0
1
b) w1 = P1 =
0 .
1
1
0
1
1
(P2 |w1 )
1 1/2 1/2
=
+
w 1 = P2 + w 1 =
w 2 = P2
0 1
1
(w1 |w1 )
2
1/2
1/2
0
21
0
0
1/ 2
w1
1
1
=
w1 =
=
kw1 k
2 0
0
1
1/ 2
w2 =
p
1
w2
= w2
1 + 1/4 + 1 + 1/4
kw2 k
2/ 5
1/ 10
=
2/ 5
1/ 10
So Bort = {w1 , w2 }.
c) prhSi (v) = v prhS i (v).
1
1
prhS i (v) = (v|w1 ) w1 + (v|w2 ) w2 = w1 + w2 =
2
10
0
1/5
1/5
1/2 1/10 2/5
+
=
.
=
0 1/5 1/5
1/2
1/10
3/5
1/5
1/5
2/5 2/5
prhSi (v) = v
1/5 = 1/5 . 2
3/5
2/5
Exercise 0.2.10 Given a basis B = {1, t + t2 , t t2 } for V = P2 (R). The
inner product (.|.) in the vector space V is defined by (u|v) = [u]TB [v]B , where
[u]TB is the transpose of the coordinate matrix [u]B of a vector u with respect to
the basis B.
a) Show that B is an orthonormal basis for V with respect to the inner product
(.|.).
b) Find the norm of v = 1 + t + t2 with respect to the given inner product (.|.).
c) Find the cosine of the angle between v = 1 + t + t2 and u = 2t with respect
to the given inner product (.|.).
d) Find the orthogonal projection of w = 1 t + 2t2 onto S = Span{1, 1 + t2 }
with respect to the given inner product (.|.).
22
a) Denote v1 = 1, v2 = t + t2 , v3 = t t2 .
1
0
0
b) [v]B = 1 since v = 1 + t + t2 = 1 1 + 1 (t + t2 ) + 0 (t t2 ).
0
1
p
d) w = 1 t + 2t2 = 1 + (t + t2 ) + (t t2 ) then
=1
=1
=1
+ = 1
+ = 1
= 1/2
.
=2
2 = 1
= 1 + 1/2 = 3/2
1
Hence [w]B = 1/2 .
3/2
prS (w) = (w|w1 )w1 + (w|w2 )w2 , where {w1 .w2 } is an orthonormal basis for
S = Span{1, 1 + t2 }. 2
23
Exercise 0.2.11
a) Find a basis for the orthogonal complement of S =
{(1, 2, 1, 3), (2, 2, 1, 3), (1, 0, 2, 6)} in R4 with respect to the standard inner
product in R4 .
b) Let w1 = (1, 1, 1, 1), w2 = (1, 2, 1, 2), and w3 = (1, 1, 2, 1). Find an
orthonormal basis for W = Span{w1 , w2 , w3 } with respect to the standard inner
product in R4 .
Solution: a) Denote
v1 = (1, 2, 1, 1), v2 = (2, 2, 1, 3), and v3 = (1, 0, 2, 6).
(v|v1 ) = x + 2y z + 3t = 0
(v|v2 ) = 2x + 2y + z 3t = 0 . Find the fundamental
Consider the system
(v|v3 ) = x + 0 y + 2z 6t = 0
solution of this system. It is a basis for S .
2 6
1 0
2 6
1 0
2 6
1 0
2R +R3
R +R3
1 2 1
0 2 3
0 2 3
9 .
3 1
9 2
R1 +R2
0 0
0 01
2 1
1 3
0 2 3
9
x = 6t 2z, y = 23 z 92 t. The variables z and t are free. The fundamental
solution is
2z + 6t
x
y 3z 9t
2
= 2
z
z
t
t
6
2
= z 3/2 + t 9/2 .
0
0
1
(w2 |x1 )
(x1 |x1 )
7
3 |x2 )
3 |x1 )
x3 = w3 (w
x1 (w
x2 = (1, 1, 2, 1) 1
(1, 1, 1, 1) 10
(1, 2, 1, 2) =
(x1 |x1 )
(x2
|x2 )
4
5 5 7 3
7 14 7 14
11
3 21
13
, , , 10 , 10 , 10 , 10 = 20 , 20 , 20 , 20 .
4 4 4 4
p
p
p
kx
k
=
(x
|x
)
=
4
=
2,
kx
k
=
(x
|x
)
=
10,
kx
k
=
(x3 |x3 ) =
1
1
1
2
2
2
3
q
2
2
2
2
640
11 +3 +21 +13
= 20
= 8 2010 .
202
24
Exercise 0.2.12 Let u1 = t t2 , u2 = t + t2 , u3 = 2, w1 = 1, w2 = t, and
w3 = t2 .
a) Show that B = {u1 , u2 , u3 } is a basis for the vector space P2 (R) of polynomials
of degree 2.
b) Find the transition matrix PCB , where B = {u1 , u2 , u3 } and C = {w1 , w2 , w3 }.
c) Calculate the coordinate matrix [3 2t + t2 ]B , where B = {u1 , u2 , u3 }.
1
d) Given [v]B = 2 , find the polynomial v P2 (R).
3
Solution: a) Consider the coordinate matrix [u1 u2 u3 ] in the standard basis of
P2 (R):
0 0 2
0 0 2
R2 +R3
1 1 0
1 1 0 . So the vectors u1 , u2 and u3 are linearly
0 2 0
1 1 0
independent hence they form a basis for P2 (R).
b) [v] = PCB [v]C = [[w1 ]B [w2 ]B [w3 ]B ][v]C
B
w1 = 1 = 0 u1 + 0 u2 + 1/2 u3
w2 = t = 1/2 u1 + 1/2 u2 + 0 u3
.
w3 = t2 = 1/2 u1 + 1/2 u2 + 0 u3
0 1/2 1/2
1/2 .
P = 0 1/2
1/2
0
0
c) 3 2t + t2 = x1 u1 + x2 u2 + x3 u3 = x1 (t t2 ) + x2 (t + t2 ) + x3 2 hence
(x2 x1 )t2 + (x2 + x1 )t + 2x3 = t2 2t + 3 then x2 x1 = 1, x2 + x1 = 2, and
2x3 = 3. Finally x1 = 3/2, x2 = 1/2, x3 = 3/2 and
3/2
[3 2t + t2 ]B = 1/2 .
3/2
d)
1
[t t2 t + t2 2] 2 = t t2 + 2(t + t2 ) + 6 = t2 + 3t + 6.
3
The required polynomial is t2 + 3t + 6. 2