Docsity

Vector Spaces with Solved Exercises - Lecture Notes | MATH 290, Study notes of Linear Algebra

Toggle sidebar
bg1
Chapter 4
Vector Spaces
4.1 Vectors in Rn
Homework: [Textbook, §4.1 Ex. 15, 21, 23, 27, 31, 33(d), 45, 47, 49,
55, 57; p. 189-].
We discuss vectors in plane, in this section.
In physics and engineering, a vector is represented as a directed
segment. It is determined by a length and a direction. We give a short
review of vectors in the plane.
Definition 4.1.1 Avector x in the plane is represented geomet-
rically by a directed line segment whose initial point is the origin and
whose terminal point is a point (x1, x2) as shown in in the textbook,
115
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36

Partial preview of the text

Download Vector Spaces with Solved Exercises - Lecture Notes | MATH 290 and more Study notes Linear Algebra in PDF only on Docsity!

Chapter 4

Vector Spaces

4.1 Vectors in Rn

Homework: [Textbook, §4.1 Ex. 15, 21, 23, 27, 31, 33(d), 45, 47, 49, 55, 57; p. 189-].

We discuss vectors in plane, in this section.

In physics and engineering, a vector is represented as a directed segment. It is determined by a length and a direction. We give a short review of vectors in the plane.

Definition 4.1.1 A vector x in the plane is represented geomet- rically by a directed line segment whose initial point is the origin and whose terminal point is a point (x 1 , x 2 ) as shown in in the textbook,

115

116 CHAPTER 4. VECTOR SPACES

page 180. y

•^ /^ /

x ? ? ~^ ~~~~ ~~ x

O O

The bullet at the end of the arrow is the terminal point (x 1 , x 2 ). (See the textbook,page 180 for a better diagram.) This vector is represented by the same ordered pair and we write

x = (x 1 , x 2 ).

  1. We do this because other information is superfluous. Two vectors u = (u 1 , u 2 ) and v = (v 1 , v 2 ) are equal if u 1 = v 1 and u 2 = v 2.
  2. Given two vectors u = (u 1 , u 2 ) and v = (v 1 , v 2 ), we define vector addition u + v = (u 1 + v 1 , u 2 + v 2 ). See the diagram in the textbook, page 180 for geometric interpre- tation of vector addition.
  3. For a scalar c and a vector v = (v 1 , v 2 ) define

cv = (cv 1 , cv 2 )

See the diagram in the textbook, page 181 for geometric interpre- tation of scalar multiplication.

  1. Denote −v = (−1)v.

118 CHAPTER 4. VECTOR SPACES

  1. R^2 = 2 − space = set of all ordered pairs (x 1 , x 2 ) of real numbers
  2. R^3 = 3 − space = set of all ordered triples (x 1 , x 2 , x 3 ) of real numbers
  3. R^4 = 4 − space = set of all ordered quadruples (x 1 , x 2 , x 3 , x 4 ) of real numbers. (Think of space-time.) 5.......
  4. Rn^ = n−space = set of all ordered ordered n−tuples (x 1 , x 2 ,... , xn) of real numbers.

Remark. We do not distinguish between points in the n−space Rn and vectors in n−space (defined similalry as in definition 4.1.1). This is because both are describled by same data or information. A vector in the n−space Rn^ is denoted by (and determined) by an n−tuples (x 1 , x 2 ,... , xn) of real numbers and same for a point in n−space Rn. The ith−entry xi is called the ith−coordinate.

Also, a point in n−space Rn^ can be thought of as row matrix. (Some how, the textbook avoids saying this.) So, the addition and scalar mul- tiplications can be defined is a similar way, as follows.

Definition 4.1.3 Let u = (u 1 , u 2 ,... , un) and v = (v 1 , v 2 ,... , vn) be vectors in Rn. The the sum of these two vectors is defined as the vector

u + v = (u 1 + v 1 , u 2 + v 2 ,... , un + vn).

For a scalar c, define scalar multiplications, as the vector

cu = (cu 1 , cu 2 ,... , cun).

Also, we define negative of u as the vector

−u = (−1)(u 1 , u 2 ,... , un) = (−u 1 , −u 2 ,... , −un)

and the difference

u − v = u + (−v) = (u 1 − v 1 , u 2 − v 2 ,... , un − vn).

4.1. VECTORS IN RN^119

Theorem 4.1.4 All the properties of theorem 4.1.2 hold, for any three vectors u, v, w in n−space Rn^ and salars c, d.

Theorem 4.1.5 Let v be a vector in Rn^ and let c be a scalar. Then,

  1. v + 0 = v. (Because of this property, 0 is called the additive identity in Rn.) Further, the additive identitiy unique. That means, if v + u = v for all vectors v in Rn^ than u = 0.
  2. Also v + (−v) = 0. (Because of this property, −v is called the additive inverse of v.) Further, the additive inverse of v is unique. This means that v + u = 0 for some vector u in Rn, then u = −v.
  3. 0v = 0. Here the 0 on left side is the scalar zero and the bold 0 is the vector zero in Rn.
  4. c 0 = 0.
  5. If cv = 0 , then c = 0 or v = 0.
  6. −(−v) = v.

Proof. To prove that additive identity is unique, suppose v + u = v for all v in Rn. Then, taking v = 0 , we have 0 + u = 0. Therefore, u = 0. To prove that additive inverse is unique, suppose v+u = 0 for some vector u. Add −v on both sides, from left side. So,

−v + (v + u) = −v + 0

4.1. VECTORS IN RN^121

Solution: Let v = au 1 +bu 2 +cu 3. We need to solve for a, b, c. Writing the equation explicitly, we have

(2, 5 , − 4 , 0) = a(1, 3 , 2 , 1) + b(2, − 2 , − 5 , 4) + c(2, − 1 , 3 , 6).

Therefore

(2, 5 , − 4 , 0) = (a + 2b + 2c, 3 a − 2 b − c, 2 a − 5 b + 3c, a + 4b + 6c)

Equating entry-wise, we have system of linear equation

a +2b +2c = 2 3 a − 2 b −c = 5 2 a − 5 b +3c = − 4 a +4b +6c = 0

We write the augmented matrix:    

We use TI, to reduce this matrix to Gauss-Jordan form:    

So, the system is consistent and a = 2, b = 1, c = − 1. Therefore

v = 2u 1 + u 2 − u 3 ,

which can be checked directly,

122 CHAPTER 4. VECTOR SPACES

4.2 Vector spaces

Homework: [Textbook, §4.2 Ex.3, 9, 15, 19, 21, 23, 25, 27, 35; p.197].

The main pointin the section is to define vector spaces and talk about examples.

The following definition is an abstruction of theorems 4.1.2 and theorem 4.1.4.

Definition 4.2.1 Let V be a set on which two operations (vector addition and scalar multiplication) are defined. If the listed axioms are satisfied for every u, v, w in V and scalars c and d, then V is called a vector space (over the reals R).

  1. Addition:

(a) u + v is a vector in V (closure under addition). (b) u + v = v + u (Commutative property of addition ). (c) (u+v)+w = u+(v +w) (Associative property of addition). (d) There is a zero vector 0 in V such that for every u in V we have (u + 0 ) = u (Additive identity). (e) For every u in V , there is a vector in V denoted by −u such that u + (−u) = 0 (Additive inverse).

  1. Scalar multiplication: (a) cu is in V (closure under scalar multiplication0.

124 CHAPTER 4. VECTOR SPACES

So.

−u = 0 + (−u) = (u + v) + (−u) = v + (u + (−u)) = v + 0 = v.

So, the proof is complete.

Reading assignment: Read [Textbook, Example 1-5, p. 192-]. These examples lead to the following list of important examples of vector spaces:

Example 4.2.3 Here is a collection examples of vector spaces:

  1. The set R of real numbers R is a vector space over R.
  2. The set R^2 of all ordered pairs of real numers is a vector space over R.
  3. The set Rn^ of all ordered n−tuples of real numersis a vector space over R.
  4. The set C(R) of all continuous functions defined on the real num- ber line, is a vector space over R.
  5. The set C([a, b])) of all continuous functions defined on interval [a, b] is a vector space over R.
  6. The set P of all polynomials, with real coefficients is a vector space over R.
  7. The set Pn of all polynomials of degree ≤ n, with real coefficients is a vector space over R.
  8. The set Mm,n of all m × n matrices, with real entries, is a vector space over R.

4.2. VECTOR SPACES 125

Reading assignment: Read [Textbook, Examples 6-6].

Theorem 4.2.4 Let V be vector space over the reals R and v be an element in V. Also let c be a scalar. Then,

  1. 0v = 0.
  2. c 0 = 0.
  3. If cv = 0 , then either c = 0 or v = 0.
  4. (−1)v = −v.

Proof. We have to prove this theorem using the definition 4.2.1. Other than that, the proof will be similar to theorem 4.1.5. To prove (1), write w = 0v. We have

w = 0v = (0 + 0)v = 0v + 0v = w + w (by distributivityP rop.(2c)).

Add −w to both sides

w + (−w) = (w + w) + (−w)

By (1e) of 4.2.1, we have

0 = w + (w + (−w)) = w + 0 = w.

So, (1) is proved. The proof of (2) will be exactly similar.

To prove (3), suppose cv = 0. If c = 0, then there is nothing to prove. So, we assume that c 6 = 0. Multiply the equation by c−^1 , we have c−^1 (cv) = c−^10. Therefore, by associativity, we have (c−^1 c)v = 0. Therefore 1v = 0 and so v = 0.

To prove (4), we have v + (−1)v = 1.v + (−1)v = (1 − 1)v = 0.v = 0.

This completes the proof.

4.3. SUBSPACES OF VECTOR SPACES 127

(e) We have −

x, 12 x

−x, 12 (−x)

.So, every element in V has an additive inverse.

  1. Scalar multiplication:

(a) For a scalar c, we have

c

x, 12 x

cx, 12 cx

So, V is closed under scalar multiplication. (b) The distributivity c(u + v) = cu + cv works for u, v in V. (c) The distributivity (c + d)u = cu + du works, for u in V and scalars c, d. (d) The associativity c(du) = (cd)u works. (e) Also 1u = u.

4.3 Subspaces of Vector spaces

We will skip this section, after we just mention the following.

Definition 4.3.1 A nonempty subset W of a vector space V is called a subspace of V if W is a vector space under the operations addition and scalar multiplication defined in V.

Example 4.3.2 Here are some obvious examples:

  1. Let W = {(x, 0) : x is real number}. Then W ⊆ R^2. (The notation ⊆ reads as ‘subset of ’.) It is easy to check that W is a subspace of R^2.

128 CHAPTER 4. VECTOR SPACES

  1. Let W be the set of all points on any given line y = mx through the origin in the plane R^2. Then, W is a subspace of R^2.
  2. Let P 2 , P 3 , Pn be vector space of polynomials, respectively, of de- gree less or equal to 2, 3 , n. (See example 4.2.3.) Then P 2 is a subspace of P 3 and Pn is a subspace of Pn+1.

Theorem 4.3.3 Suppose V is a vector space over R and W ⊆ V is a nonempty subset of V. Then W is a subspace of V if and only if the following two closure conditions hold:

  1. If u, v are in W, then u + v is in W.
  2. If u is in W and c is a scalar, then cu is in W.

Reading assignment: Read [Textbook, Examples 1-5].

130 CHAPTER 4. VECTOR SPACES

Theorem 4.4.4 Let V be a vector space over R and S = {v 1 , v 2 ,... , vk} be a subset of V. Then span(S) is a subspace of V.

Further, span(S) is the smallest subspace of V that contains S. This means, if W is a subspace of V and W contains S, then span(S) is contained in W.

Proof. By theorem 4.3.3, to prove that span(S) is a subspace of V, we only need to show that span(S) is closed under addition and scalar multiplication. So, let u, v be two elements in span(S). We can write

u = c 1 v 1 + c 2 v 2 + · · · + ckvk and v = d 1 v 1 + d 2 v 2 + · · · + dkvk

where c 1 , c 2 ,... , ck, d 1 , d 2 ,... , dk are scalars. It follows

u + v = (c 1 + d 1 )v 1 + (c 2 + d 2 )v 2 + · · · + (ck + dk)vk

and for a scalar c, we have

cu = (cc 1 )v 1 + (cc 2 )v 2 + · · · + (cck)vk.

So, both u + v and cu are in span(S), because the are linear combina- tion of elements in S. So, span(S) is closed under addition and scalar multiplication, hence a subspace of V.

To prove that span(S) is smallest, in the sense stated above, let W be subspace of V that contains S. We want to show span(S) is contained in W. Let u be an element in span(S). Then,

u = c 1 v 1 + c 2 v 2 + · · · + ckvk

for some scalars ci. Since S ⊆ W, we have vi ∈ W. Since W is closed under addition and scalar multiplication, u is in W. So, span(S) is contained in W. The proof is complete.

Reading assignment: Read [Textbook, Examples 1-6, p. 207-].

4.4. SPANNING SETS AND LINEAR INDIPENDENCE 131

4.4.1 Linear dependence and independence

Definition 4.4.5 Let V be a vector space. A set of elements (vectors) S = {v 1 , v 2 ,... vk} is said to be linearly independent if the equation

c 1 v 1 + c 2 v 2 + · · · + ckvk = 0

has only trivial solution

c 1 = 0, c 2 = 0,... , ck = 0.

We say S is linearly dependent, if S in not linearly independent. (This means, that S is said to be linearly dependent, if there is at least one nontrivial (i.e. nonzero) solutions to the above equation.)

Testing for linear independence Suppose V is a subspace of the n−space Rn. Let S = {v 1 , v 2 ,... vk} be a set of elements (i.e. vectors) in V. To test whether S is linearly independent or not, we do the following:

  1. From the equation c 1 v 1 + c 2 v 2 + · · · + ckvk = 0 , write a homogeneous system of equations in variabled c 1 , c 2 ,... , ck.
  2. Use Gaussian elemination (with the help of TI) to determine whether the system has a unique solutions.
  3. If the system has only the trivial solution c 1 = 0, c 2 = 0, · · · , ck = 0, then S is linearly independent. Otherwise, S is linearly depen- dent.

Reading assignment: Read [Textbook, Eamples 9-12, p. 214-216].

4.4. SPANNING SETS AND LINEAR INDIPENDENCE 133

The augmented matrix for this system is  

5 2 4 6 0 3 2 7 2 2 0

. its Gaus − Jordan f orm

So, a = 0, b = 0, c = 0. The system has only trivial (i.e. zero) solution. We conclude that S is linearly independent.

Exercise 4.4.8 (Ex. 32. P. 219) Let

S = {(1, 0 , 0), (0, 4 , 0), (0, 0 , −6), (1, 5 , −3)}.

Determine, if S is linearly independent or dependent?

Solution: Let

c 1 (1, 0 , 0) + c 2 (0, 4 , 0) + c 3 (0, 0 , −6) + c 4 (1, 5 , −3) = (0, 0 , 0).

If this equation has only trivial solutions, then it is linealry independent. This equaton gives the following system of linear equations:

c 1 +c 4 = 0 4 c 2 5 c 4 = 0 − 6 c 3 − 3 c 4 = 0

The augmented matrix for this system is 



. its Gaus−Jordan f orm

Correspondingly:

c 1 + c 4 = 0, c 2 + 1. 25 c 4 = 0, c 3 +. 5 c 4 = 0.

134 CHAPTER 4. VECTOR SPACES

With c 4 = t as parameter, we have

c 1 = −t, c 2 = − 1. 25 t, c 3 =. 5 t, c 4 = t.

The equation above has nontrivial (i.e. nonzero) solutions. So, S is linearly dependent.

Theorem 4.4.9 Let V be a vector space and S = {v 1 , v 2 ,... vk}, k ≥ 2 a set of elements (vectors) in V. Then S is linearly dependent if and only if one of the vectors vj can be written as a linear combination of the other vectors in S.

Proof. (⇒) : Assume S is linearly dependent. So, the equation

c 1 v 1 + c 2 v 2 + · · · + ckvk = 0

has a nonzero solution. This means, at least one of the ci is nonzero. Let cr is the last one, with cr 6 = 0. So,

c 1 v 1 + c 2 v 2 + · · · + crvr = 0

and vr = −c c^1 r

v 1 − c c^2 r

v 2 − · · · − cr c−^1 r

vr− 1.

So, vr is a linear combination of other vectors and this implication isproved.

(⇒) : to prove the other implication, we assume that vr is linear com- bination of other vectors. So

vr = (c 1 v 1 + c 2 v 2 + · · · + cr− 1 vr− 1 ) + (cr+1vr+ 1 + · · · + ckvk).

So,

(c 1 v 1 + c 2 v 2 + · · · + cr− 1 vr− 1 ) − vr + (cr+1vr+ 1 + · · · + ckvk) = 0.

The left hand side is a nontrivial (i.e. nozero) linear combination, because vr has coefficient − 1. Therefore, S is linearly dependent. This completes the proof.