Professional Documents
Culture Documents
Topic C
Topic C
Topic C
p (x) = a0 + a1 x + · · · + an xn
6. (α + β) x = αx + βx.
7. α (βx) = (αβ) x.
8. 1 · x = x.
These are all familiar properties of Rn . The point is that many other impo-
tent sets of objects also have these properties. Thus, it is useful to study vectors
spaces as objects in their own right. (Abstraction)
Example 2. The Euclidean vector space Rn together with the usual addition
and multiplication by scalars.
Example 3. The set Rm×n of m × n matrices together with addition and
multiplication by a scalar.
Example 4. The trivial vector space {0}.
1
Example 5. The space of functions f : R → R from the real numbers into
the real numbers. Here, the addition of functions is pointwise, and so is the
multiplication by a scalar.
Example 6. The space of polynomial functions p : R → R of any degree is a
vector space. We write P for that vector space.
S = {v ∈ Rn : Av = 0}
is preserved under addition and multiplication by scalars: For any x, y ∈ S we
have x + y ∈ S and for any x ∈ S and α ∈ R we have αx ∈ S.
We will revisit the previous example from a different perspective later.
(a · F + b · ) + (c · F + d · ) = (a + c) · F + (b + d) ·
c · (a · F + b · ) = (ca) · F + (cb) ·
From the axioms of vector space, we can derive that the following statements
are true as well in any vector space.
Subspaces
Question 10. When is a subset H of a vector space V is also a vector space?
2
With these properties, H ⊂ V satisfies all 8 properties required for H to be a
vector space in its own right.
Example 12.
x
1. H = y : x, y ∈ R is a subspace of R3 .
0
0
(i) 0 ∈ H;
0
x1 x2 x1 + x2
(ii) y1 + y2 = y1 + y2 ∈ H;
0 0 0
x αx
(iii)α y = αy ∈ H.
0 0
x 0
2. K = y : x, y ∈ R is not a subspace of R3 , for example, 0 ∈
/ K.
1 0
The three properties that define subspaces can be checked at once with the
following criterion.
Example 14.
3
1. Let P2 be the set of polynomials a0 + a1 x + a2 x2 of degree 2 or less. Then
P2 is a subspace of P, the vector space of all polynomials.
2. The set of all symmetric 2 × 2 matrices A = AT is a subspace of all 2 × 2
matrices.
3. Given v 1 , . . . , v k ∈ V a vector span
span {v 1 , . . . , v k }
span {v 1 , . . . , v k }
is a subspace of V .
Proof. Given x = a1 v 1 +· · ·+ak v k and y = b1 v 1 +· · ·+bk v k in span {v 1 , . . . , v k }.
Then
αx + βy = α (a1 v 1 + · · · + ak v k ) + β (b1 v 1 + · · · + bk v k )
= (αa1 + βb1 ) v 1 + · · · + (αak + βbk ) v k ∈ span {v 1 , . . . , v k } .
Null (A) = {x ∈ Rn : Ax = 0} .
4
So x3 , x4 are free, and we get
x1 7s − 6t 7 −6
x2 −4s + 2t −4 2
= = s + t .
x3 s 1 0
x4 t 0 1
Thus
7 −6
−4 , 2
Null (A) = span 1 0
0 1
a subspace of R4 .
Theorem 19. The null space of a m × n matrix A is a subspace of Rn .
Proof. To verify this, we need to check that
1. Null (A) is nonempty.
Indeed, A0n = 0m . Thus 0n ∈ Null (A).
2. αx + βy ∈ Null (A) for all x, y ∈ Null (A) and α, β ∈ R.
x, y ∈ Null (A) ⇒ Ax = 0, Ay = 0. Then, by linearity,
A αx + βy = αAx + βAy = α0 + β0 = 0.
Definition 20. The column space Col (A) of a m × n matrix A is the span of
the columns of A. That is, given A = (a1 · · · an ),
Notice, all we have done is give a name to the span of the columns of A.
Problem 21. Let
2s + t
r − s + 2t
H= : r, s, t ∈ R .
3r + s
2r − s − t
2r − s − t 2 −1 −1
5
Thus
0 2 1
1 −1 2
H = span , ,
3 1 0
2 −1 −1
0 2 1
1 −1 2
and we can choose A = 3 1
. (Note that there are infinitely
0
2 −1 −1
many choices).
3
2
4 ∈ H.
2. Determine if
0
3
2
4 ∈ H ⇐⇒ there exist x1 , x2 , x3 such that
We have
0
0 2 1 3
1 −1 2 2
3 + x2 1 + x3 0 = 4
x1
2 −1 −1 0
Therefore
3 0 2 1
2 1 −1 2
= + + ∈ H.
4 3 1 0
0 2 −1 −1
6
1. We have
y ∈ Rm : y = Ax for some x ∈ Rn
= y = x1 a1 + · · · + xn an : x1 , . . . , xn ∈ R
= span {a1 , . . . , an }
= Col (A) .
Linear Independence
Definition 23. Let V be a vector space. Given {v 1 , . . . , v k } an indexed set of
vectors in V, we say that
Note that this definition generalizes the notions of linear dependence and inde-
pendence to the general vector spaces.
Example 24. Let
1 0 0 1
S = 0 , 1 , 1 , 1 .
0 0 1 1
has a pivot in every row. (So Ax = b is consistent for every b ∈ R3 .) Note that
the fourth column of A is the sum of the first and third column. Since
1 1 0
1 = 0 + 1
1 0 1
1 1 0 0
we find that S ∗ = S \ 1 = 0 , 1 , 1 still spans R3 . For
1 0 0 1
example, if
7
1 0 0 1
v = a 0 + b 1 + c 1 + d 1
0 0 1 1
is any linear combination of vectors from S, then
1 0 0 1 1 0 0
v = a 0 + b 1 + c 1 + d 1 = (a + d) 0 + b 1 + (c + d) 1
0 0 1 1 0 0 1
8
We need to show that any linear combination of vectors in S can be written
without the vector vi , that is, as a linear combination using vectors from S ∗ .
Indeed, we observe
Theorem 29. Let B = {b1 , . . . , bn } be a basis of the vector space V and let
D = {d1 , . . . , dm } be a set of linearly independent vectors in V. Then m ≤ n.
Corollary 30. If S = v 1 , . . . , v p is a linearly dependent set in V , then there is
an index k > 1 for which v k is a linear combination of the previous v 1 , . . . , v k−1 .
Theorem 31. If a vector space V has a basis of n vectors, then every basis of
V has n vectors.
Proof. Let B = {b1 , . . . , bn } and D = {d1 , . . . , dm } be bases for V . Since B is
linearly independent and D spans V , n ≤ m. Since D is linearly independent
and B spans V , m ≤ n. It follows that n = m.
Definition 32. The number of vectors in a basis for V is called the dimension
of V , written dim V .
Note, dim {0} = 0. (The empty set ∅ = {} is a basis for {0}.)
Theorem 33 (Basis Theorem). Given V a p-dimensional vector space.
9
Problem 34. Find a basis for the row space of A.
Theorem 35. If A and B are row equivalent, then Row (A) = Row (B).
Proof. The rows of B are linear combinations of the rows of A and vice versa.
Be careful! The rows of a matrix A corresponding to the nonzero rows of
its Echelon form may not form a basis for Row (A). (Row operations do not
preserve dependence relations among the row.)
Example 36. Consider the following matrix Aand its reduced row echelon form
Ã.
1 2 0 0 2 1 2 0 0 2 1 2 0 0 2
A = −1 −2 1 1 1 −→ 0 0 1 1 3 −→ 0 0 1 1 3 = Ã.
2 4 −1 −1 3 2 4 −1 −1 3 0 0 0 0 0
Row (A) = span {(1, 2, 0, 0, 2) , (−1, −2, 1, 1, 1) , (2, 4, −1, −1, 3)}
= span {(1, 2, 0, 0, 2) , (0, 0, 1, 1, 3)}
Here, from the reduced row echelon form we can read off that the column space
of A is spanned by the first and third column. Lastly,
−2 0 −2
0 −1 −3
Null (A) = span 1 , 0 , 0 .
0 1 0
0 0 1
Note:
10
2. rank (A) + dim (Null (A)) = n.
Proof. Let à = the reduced Echelon form of A.
1. Since the nonzero rows in à are a basis for Row (A)
dim (Row (A)) = #nonzero rows in Ã
= #pivot positions in Ã
= #pivot columns in A
= dim (Col (A)) .
2. We have
n = #pivot columns + #non-pivot columns
= dim (Col (A)) + dim (Null (A)) .
11
So for every vector v ∈ V there exist unique coefficients for which vis linear
combination of the basis vectors. It makes sense to give those coefficients a
special name. We call
c1
..
. = [v]B
cn
the B-coordinates vector of x.
Problem 40. Given
1 5
B= , ,
−2 −6
4
which is a basis for R2 , and some vector x = , we want to find [x]B . So we
0
search for c1 , c2 such that
4 1 5 1 5 c1
= c1 + c2 =
0 −2 −6 −2 −6 c2
1 5 4 1 0 −6
⇒ →
−2 −6 0 0 1 2
−6
⇒ [x]B = .
2
Indeed, we check
1 5 4
−6 +2 = .
−2 −6 0
Observe: Given B = {b1 , . . . , bn } a basis for Rn and x ∈ Rn
c1
.
x = c1 b1 + · · · + cn bn = b1 · · · bn .. = PB [x]B .
| {z }
=:PB cn
| {z }
=[x]B
9x2 − 11x − 4 = c1 x2 − 1 + c2 x2 − x + c3 x2 − 2x − 1
12
We translate that into a linear system of equations and solve it:
c1 + c2 + c3 = 9
−c2 − 2c3 = −11
−c1 − c2 = −4
1 1 1 9 1 1 1 9 1 1 1 9
⇒ 0 −1 −2 −11 → 0 −1 −2 −11 → 0 −1 −2 −11
−1 0 −1 4 0 1 0 13 0 0 −2 −2
1
⇒ 9x2 − 11x − 4 B = 5 .
13