Linear Algebra
Linear Algebra
Linear Algebra
Vector Spaces
1.1 Introduction
Definition 1.1 Let V be a non-empty set on which two operations are de-
fined, addition and multiplication by scalars (numbers). By addition we
mean a rule for associating with each pair of objects u, v ∈ V an object
u + v, called the sum of u and v; by scalar multiplication we mean a rule of
associating with each scalar k and each object u ∈ V an object ku, called the
scalar multiple of u by k. V is called a vector space if the following conditions
are satisfied for all u, v, w ∈ V and all scalars a and b :
1. If u, v ∈ V then u + v ∈ V.
2. (u + v) + w = u + (v + w).
5. u + v = v + u
7. a · (u + v) = a · u + a · v
8. (a + b) · v = a · v + b · v
9. a · (b · v) = (ab) · v
10. 1 · v = v.
1
2 Dr. V. V. Acharya
2. 0v = 0.
3. av = 0 implies either a = 0 or v = 0.
4. (−1)v = −v.
Proof.
1. a0 = a(0 + 0) = a0 + a0 Adding additive inverse of a0 to both sides,
we get 0 = a0.
Example 1.1
1. Note that C is a real vector space (i.e. a vector space over R) as well
as a complex vector space (i.e. a vector space over C).
3. Let V = R[x], the set of all polynomials with real coefficients. Then V
is a vector space over F for the usual addition and multiplication of a
polynomial by a scalar.
(cA)ij = c(Aij ).
1.2 Subspaces
Definition 1.2 Let V be a vector space over the field F . A vector v ∈ V
is said to be a linear combination of the vectors v1 , . . . , vn ∈ V if there exist
c1 , . . . , cn ∈ F such that v = c1 v1 + · · · + cn vn .
1. W is a subspace of V,
3. v1 , v2 ∈ W and c1 , c2 ∈ F implies c1 v1 + c2 v2 ∈ W,
Example 1.2 Let V = M2×2 (R), the space of 2×2 matrices with real entries.
If W is the set of all symmetric matrices, then it is easy to see that W is a
subspace of V. Similarly, the set of all 2 × 2 diagonal matrices is a subspace
of V. If U denotes the set of all 2 × 2 upper triangular matrices and L denotes
the set of all lower triangular matrices then both U and L are subspaces of
V. Prove that U ∪ L = L ∪ W = U ∪ W. Can you identify this subspace!
Example 1.3 Let Pn denote the set of all polynomials with real coefficients
together with zero polynomial. Then Pn is a subspace of R[x]. In fact, Pn is
a subspace of Pm if n ≤ m.
Definition 1.5 The subspace W that we have in the theorem above is called
the subspace spanned by v1 , v2 , . . . , vn and we say that v1 , v2 , . . . , vn span
W. We denote W by span{v1 , v2 , . . . , vn .}
Remark 1.1
span{v1 , . . . , vn } = span{w1 , . . . , wm }
W = W1 + · · · + Wk
c1 v1 + · · · + cn vn = 0.
Remark 1.3
P
Since, n > m, ∃ scalars x1 , . . . , xn not all zero such that aij xj = 0, 1 ≤ i ≤
m. Hence, x1 w1 + . . . + xn wn = 0. This shows that S is a linearly dependent
set.
v = c1 v1 + · · · + cn vn .
For, if v = k1 v1 + · · · + kn vn , then
c1 v1 + · · · + cn vn = k1 v1 + · · · + kn vn .
v = c1 v1 + · · · + cn vn
then we say that (c1 , . . . , cn ) are the coordinates of v with respect to the
ordered basis B. We denote the coordinates of v by [v]B .
Example 1.4 Consider the vector space R3 with basis {e1 , e2 , e3 } where
e1 = (1, 0, 0), e2 = (0, 1, 0) and e3 = (0, 0, 1)}. Now if v ∈ R3 then v =
ae1 + be2 + ce3 for some scalars a, b, c. We have the coordinates of v as
(a, b, c). Thus, our old notion of coordinates is same as we just defined in a
general vector space.
c1 v1 + c2 v2 + · · · + cn vn + bw = 0,
c1 u1 + · · · + ck uk + d1 v1 + · · · + dr vr + e1 w1 + · · · + es ws = 0. (1.3)
Linear Algebra 11
Hence,
c1 u1 + · · · + ck uk + d1 v1 + · · · + dr vr = −(e1 w1 + · · · + es ws ).
−(e1 w1 + · · · + es ws ) = a1 u1 + · · · + ak uk ,
c1 = · · · = ck = d1 = · · · = dr = 0.
Remark 1.6 Consider, our usual Euclidean space R3 . Let L be a line passing
through origin and P be a plane passing through origin. Then L + P = P if
and only if line L lies in the plane P i.e. L ∩ P = L. If line L does not lie in
the plane P then L ∩ P = {0, 0, 0} and L + P is the whole space R3 .
Example 1.5 Let L and U be the space of all lower and upper triangular
matrices in Mn×n . Note that L ∩ U is the space of all diagonal matrices,
which we denote by D. Then dim(L) = dim(U ) = n(n+1)
2
and dim(D) = n.
12 Dr. V. V. Acharya
A = {[aij ]|aij = −aji for all i, j} and S = {[aij ]|aij = aji for all i, j}
then it is easy to see that both A and S are subspaces of Mn×n . Further,
dim(A) = n(n−1)
2
and dim(S) = n(n+1)
2
. Observe that
Mn×n = A ⊕ L = A ⊕ U = A ⊕ S.
Theorem 1.10 Let V be a finite dimensional vector space over the field F
and let v1 , v2 , . . . , vn be an ordered basis for V. Let W be a vector space over
the same field F and let w1 , w2 , . . . , wn be any vectors in W. Then there is
unique linear transformation T from V into W such that
T (vi ) = wi , i = 1, . . . n.
v = c1 v1 + c2 v2 + . . . + cn vn .
Theorem 1.13 Let V and W be the finite dimensional vector spaces over
field F such that dim(V ) = dim(W ). If T is a linear transformation from V
into W, then following are equivalent:
1. T is invertible.
2. T is non-singular.
rowrank(A) = columnrank(A).
Theorem 1.15 Let V and W be vector spaces such that dim(V ) = m and
dimF (W ) = n.Then the space L(V, W ) is finite dimensional and has dimen-
sion mn.
Exercise Set
1. Let S = {(x, y)|x, y ∈ R}. In each case determine whether or not S is
a vector space with the indicated operations.
(a) x = (1, −2, 5), u = (1, 1, 1), v = (1, 2, 3) and w = (2, −1, 1).
(b) x = (1, −2, 5), u = (1, 1, 1), v = (1, 2, 3) and w = (2, 3, 4).
2 4 1 1 0 0 0 2
(c) x = A= ,B = ,C = .
−1 −4 1 0 1 1 0 −1
2 1 2 0 0 1
(d) x = A= ,B =
−1 3 0 3 1 0
(a) p = 1 + 2x − x2 , p1 = 1 + x, p2 = 1 − x, p3 = x2 .
(b) p = 2 − x3 , p1 = 1 + x, p2 = x3 , p3 = 1 − x.
(c) p = 1 + 2x − 4x2 , p1 = 1 + x, p2 = 1 − x2 , p3 = x2 .
8. For which values of k will the vector (1, −2, k) be a linear combination
of the vectors (3, 0, −2) and (2, −1, −5)?
10. For which values of k will the vectors (k, 1, 1), (1, k, 1), (1, 1, k) form a
linearly independent set?
12. Which of the following sets are linearly independent subsets in the
indicated vector space.
(a) {(1, −1, −1), (4, −3, −1), (3, −1, 3)} in R3 .
(b) {(4, −4, 8, 0), (2, 2, 4, 0), (6, 0, 0, 2), (6, 3, −3, 0)} in R4 .
(c) {1 − 2x + 3x2 , 5 + 6x − x2 , 3 + 2x + x2 } in P2 .
1 1 1 1 1 0 0 1
(d) , , , in M2×2 .
1 0 0 1 1 1 1 1
18 Dr. V. V. Acharya
13. Which of the following sets of vectors form a basis for the indicated
space:
14. Determines bases and the dimensions of the following subspaces in the
respective vector spaces