Docsity

Linear Algebra: Vector Spaces, Bases, and Operators, Study notes of Abstract Algebra

Partial preview of the text

Download Linear Algebra: Vector Spaces, Bases, and Operators and more Study notes Abstract Algebra in PDF only on Docsity!

Abstract Linear Algebra

Math 4373 Fall 2000

Noel Brady

August, 2000

Contents

  • 1 Basic Theory
    • 1.1 Vector Spaces
    • 1.2 Linear Transformations and Coordinates
    • 1.3 Linear functionals and duality
    • 1.4 Determinants
  • 2 Structure of Linear Operators
    • 2.1 Eigenvalues and Eigenvectors, Diagonalization
      • orem 2.2 Annihilating Polynomials, Hamilton-Cayley Theorem, Primary Decomposition The-
    • 2.3 Jordan and Rational Canonical Forms
  • 3 Inner Product Spaces
    • 3.1 Inner Product Spaces
    • 3.2 Diagonalization and Spectral Theorem
  • 4 Miscellaneous Topics
    • 4.1 Introduction to Linear Groups and Geometry

1.1 Vector Spaces

Definition 1.1.1. A field is a set K together with two operations called multiplication (denoted by juxtaposition) and addition (denoted by +) which satisfy the following axioms:

  1. x + y = y + x for all x, y ∈ K
  2. x + (y + z) = (x + y) + z for all x, y, z ∈ K
  3. There exists a unique zero element 0 ∈ K such that 0 + x = x for all x ∈ K
  4. For every x ∈ K there exists a negative −x ∈ K such that x + (−x) = 0
  5. xy = yx for all x, y ∈ K
  6. x(yz) = (xy)z for all x, y, z ∈ K
  7. There is a unique unit element 1 ∈ K \ { 0 } such that 1x = x for all x ∈ K
  8. For every x ∈ K \ { 0 } there is an inverse x−^1 ∈ K such that xx−^1 = 1
  9. x(y + z) = xy + xz for all x, y, z ∈ K.

Examples 1.1.2. Examples of fields include Q, R, C, Q(

2), Zp (p prime) and the field of con- structible numbers. We have some inclusions

Q ⊂ Q(

  1. ⊂ constructible numbers ⊂ R ⊂ C

The classical question of duplicating the cube becomes the question of whether or not 3

2 belongs to the field of constructible numbers. Non-examples include Z, Zn (n not prime), N, H, Z(

Remark 1.1.3. Which field has the most elements: Q or R? To answer this question we must think about the cardinality of sets.

  • Motivation: early counting methods.
  • Say that sets X and Y have the same cardinality if there exists a bijection X → Y. Denote cardinality of X by Card(X).
  • Say that Card(X)  Card(Y ) if there is an injective map X → Y.
  • Schroeder-Bernstein Theorem: If Card(X)  Card(Y ) and Card(Y )  Card(X), then Card(X) = Card(Y ). (Dynamical systems style proof)
  • Diagonal counting techniques: Z, N × N and Q all have same cardinality as N.
  • R has same cardinality as (0, 1) and so has strictly larger cardinality than Q.
  • The power set, 2X^ , has strictly greater cardinality than the original set X. (pretty Cantor argument by contradiction).
  • Show that (0, 1) and 2N^ have the same cardinality (dyadic expansion of reals).
  • R has the same cardinality as R × R (via 2N^ and dyadic expansion of reals) and hence as C.

Definition 1.1.4. Let K be a field. A K-vector space is a set V together with an operation

V × V → V : (v, w) 7 → v + w

called vector addition such that (V, +) is an abelian group, and an operation

K × V → V : (k, v) 7 → kv

called scalar multiplication satisfying

  1. k(u + v) = ku + kv for all k ∈ K and all u, v ∈ V
  2. (k + l)u = ku + lu for all k, l ∈ K and all u ∈ V
  3. k(lu) = (kl)u for all k, l ∈ K and all u ∈ V
  4. 1u = u for all u ∈ V where 1 ∈ K is the unit element.

Elements of V are called vectors, and elements of K are called scalars.

Examples 1.1.5. Some examples of vector spaces. Throughout these examples K is any field.

  1. R^3 from Calc III
  2. More generally the space of n-tuples Kn^ with addition defined by

(k 1 ,... , kn) + (l 1 ,... , ln) = (k 1 + l 1 ,... , kn + ln)

and scalar multiplication defined by

l(k 1 ,... , kn) = (lk 1 ,... , lkn)

is a K-vector space.

  1. Km×n^ under usual addition and scalar multiplication of (m × n)-matrices.
  2. Let S be any set. Then the set

KS^ = {f | f : S → K is a function }

with addition defined (for f, g ∈ KS^ ) by

(f + g)(s) = f (s) + g(s) for all s ∈ S

and scalar multiplication defined (for f ∈ KS^ and k ∈ K) by

(kf )(s) = kf (s) for all s ∈ S

  1. The set of continuous functions C([a, b]) on the closed interval [a, b] ⊂ R under usual definition of addition and scalar multiplication of functions.
  1. The collections of all self-adjoint (hermitian) matrices is a real subspace of Cn×n^ but is not a complex subspace.
  2. The solution set of the homogenous system Ax = 0 where A is an (m × n)-matrix, x is an (n × 1)-vector and 0 is an (m × 1)-vector.
  3. The intersection of a family of subspaces of V is again a subspace of V.
  4. The space of polynomials of degree at most n is a subspace of K[x].
  5. If W 1 , W 2 are subspaces of the vector space V , then their sum, defined by

W 1 + W 2 = {w 1 + w 2 | wi ∈ Wi (i = 1, 2)}

is a subspace of V.

Definition 1.1.10. Let V be a K-vector space. The elements u 1 ,... , un ∈ V are said to be linearly independent if k 1 u 1 + · · · + knun = 0

implies k 1 = 0,... , kn = 0. We say that u 1 ,... , un are linearly dependent if they are not linearly independent. Equivalently, we can say explicitly what it means for the collection of vectors u 1 ,... , un to be linearly dependent. Namely, there exists scalars k 1 ,... , kn, not all zero, such that

∑^ n

i=

kiui = 0.

Examples 1.1.11. Here are some linearly (in)dependent collections. Can you say which is which?

  1. 〈 1 , 1 〉 and 〈 2 , 1 〉
  2. 〈 1 , 1 〉, 〈 1 , 0 〉 and 〈 2 , 1 〉
  3. cos(4x) and sin(4x) in C∞(R)
  4. A non-zero odd function and a non-zero even function in RR.

Definition 1.1.12. Say that the set {u 1 ,... , un} generates the vector space V if S(u 1 ,... , un) = V.

Definition 1.1.13. We say that the set {u 1 ,... , un} is a basis for the vector space V if

  1. u 1 ,... , un are linearly independent
  2. u 1 ,... , un generate V

Examples 1.1.14. Find simple bases for the following spaces.

  1. Kn
  1. Kn×n
  2. Solutions to the equation d (^2) y dx^2 +^ λ

(^2) y = 0 where λ > 0 is real.

  1. The space of polynomials of degree at most n over K.
  2. The space of symmetric (n × n)-matrices.
  3. The space of skew-symmetric (n × n)-matrices.

Lemma 1.1.15. Let {u 1 ,... , un} be a basis for the K-vector space V , and let u ∈ V. Then there exist uniquely determined scalars α 1 ,... , αn ∈ K such that

u = α 1 u 1 + · · · + αnun

Proof. There are two claims: existence and uniqueness. Their proofs involve different properties of a basis. Existence of the αi follows form the fact that the ui generate V and u ∈ V. Now for uniqueness. Suppose that there are scalars βi ∈ K such that

α 1 u 1 + · · · αnun = β 1 u 1 + · · · βnun.

Then we get (α 1 − β 1 )u 1 + · · · + (αn − βn)un = 0

and so, by linear independence of the ui, we conclude that (αi − βi) = 0 for all i. That is αi = βi for all i, and so uniqueness is established. 

Definition 1.1.16. Let {u 1 ,... , un} be a basis for the vector space V , and let u ∈ V. The n-tuple of scalars (α 1 ,... , αn) with the property that

∑n i=1 αiui^ =^ u^ is called the^ coordinate^ n-tuple of the vector u with respect to the basis {u 1 ,... , un}. We call the αi coordinates of u w.r.t. the basis {u 1 ,... , un}.

Lemma 1.1.17. Let {u 1 ,... , un} be a basis for the K-vector space V. Then the coordinate map,

ψ : V → Kn^ : u 7 → (α 1 ,... , αn)

where the αi are coordinates of u w.r.t. the basis {u 1 ,... , un}, is an isomorphism of vector spaces (bijective, and respects addition and scalar multiplication).

Proof. Exercise! 

Theorem 1.1.18. Let V be a K-vector space. If {u 1 ,... , un} is a linearly independent set of vectors in V and if {v 1 ,... , vm} generates V , then

n ≤ m.

In other words, the cardinality of a linearly independent set is less than or equal to the cardinality of a generating set.

  1. C as a C-vector space.
  2. K[x] as a K-vector space.
  3. Set of polynomials of degree at most n as a K-vector space.
  4. Km×n^ as a K-vector space.
  5. The space of (n × n)-symmetric real matrices as an R-vector space.
  6. The space of (n × n)-skew symmetric real matrices as an R-vector space.
  7. C([0, 1]) as an R-vector space.
  8. The space of solutions to the equation d

(^2) y dx^2 +^ λ

(^2) y = 0 where λ > 0 is real, as an R-vector space.

  1. The space of solutions to the homogenous system (remember Math 3333!?) Am×nxn× 1 = 0m× 1.
  2. We have seen in 1.1.5.7 that if K ⊂ L are fields, then L is a K-vector space. Suppose that K ⊂ L ⊂ M are fields, and that L is a finite dimensional K-vector space, and M is a finite dimensional L-vector space. Prove that M is a finite dimensional K-vector space, and that dimK (M ) = dimK (L)dimL(M ).

Remark 1.1.22. The field of constructible numbers has infinite dimension over Q. However, the rational vector subspace of R which is spanned by a finite set of constructible numbers, {α 1 ,... , αn}, has finite dimension over Q. It can be shown (see a standard text on Abstract Algebra) that dimQ(S(α 1 ,... , αn)) is always a power of 2. It can also be shown that dimQ( 3

  1. = 3. Now, if 3

is constructible, it belongs to (S(α 1 ,... , αn) for some set {α 1 ,... , αn} of constructible numbers. Therefore 1.1.21.(14) implies that 3 should divide a power of 2 which is impossible! Thus 3

2 is not constructible. This is one neat application of vector spaces; in the resolution of a 2000 year old problem from geometry: the problem of duplicating the cube.

Next result says that (at least in finite dimensional case) we can always complete any linearly independent set to a basis, and we can always “trim away at” any generating set to obtain a basis.

Proposition 1.1.23. Let V be a finite dimensional vector space. Let Z be a generating set for V , and let X be a linearly independent subset of Z. Then there exists a basis Y for V such that

X ⊂ Y ⊂ Z

Proof. Let Y be a maximal linearly independent subset of Z which contains X. Complete the proof! Hint, to show generation, it suffices to show that Y generates all the elements of Z. Given z ∈ Z \ Y then {z, y 1 ,... , ym} is linearly dependent (why?), and so there exist scalars λ 0 ,... , λm such that λ 0 z + λ 1 y 1 + · · · + λmym = 0.

Moreover λ 0 6 = 0 by linear independence of Y (why?!). Now finish the proof. 

Proposition 1.1.24. Let U be a finite dimensional K-vector space, and let V ⊂ U be a subspace. Then V is finite dimensional and

dimK (V ) ≤ dimK (U ).

Proof. Exercise. 

Definition 1.1.25. Let U and V be K-vector spaces. The external direct sum of U and V is denoted by U ⊕ V , and is defined to be the set U × V together with coordinate-wise addition and scalar multiplication. (u 1 , v 1 ) + (u 2 , v 2 ) = (u 1 + u 2 , v 1 + v 2 )

and k(u, v) = (ku, kv). Now suppose that U and V are subspaces of the K-vector space W. We say that W is the internal direct sum of U and V if the following properties hold.

  • U ∩ V = 0
  • U + V = W

Examples 1.1.26. Here are some natural examples of direct sums.

  1. R^2 = R ⊕ R
  2. RR^ = Even ⊕ Odd [Think about the polynomial version of this]
  3. Kn×n^ = Symm ⊕ Skew

Proposition 1.1.27. If U and V are finite dimensional K-vector spaces, and if W = U ⊕ V , then W is also finite dimensional, and

dimK (W ) = dimK (U ) + dimK (V )

Proof. Exercise! 

Proposition 1.1.28. Let U and V be subspaces of the K-vector space W. Then the following are equivalent.

  1. W is the internal direct sum of U and V
  2. Every element w ∈ W can be written in a unique way as a sum w = u + v where u ∈ U and v ∈ V In this case, W is isomorphic to the external direct sum of U and V. Conversely, if a vector space W is isomorphic to the external direct sum U ⊕ V of vector spaces U and V , then W can be decomposed as the internal direct sum of subspaces U ′^ and V ′^ with U ′^ isomorphic to U and V ′ isomorphic to V.

Proof. Exercise! 

Remark 1.1.29. Because of the isomorphism above, we denote any direct sum (internal or exter- nal) of U and V by U ⊕ V.

6. T (

∑n i=1 αiui) =^

∑n i=1 αiT^ (ui)

  1. S, T : U → V linear, {ui} generates U , and T (ui) = S(ui) for all i, implies that S = T
  2. Let {ui}ni=1 be a basis for U and let wi ∈ V , then there exists a unique linear mapping T : U → V such that T (ui) = wi for all 1 ≤ i ≤ n.

Definition 1.2.4. Let T : U → V be a linear mapping. Then

Ker(T ) = {u ∈ U | T (u) = 0}

and Im(T ) = {T (u) | u ∈ U }

are vector subspaces of U and V respectively. (prove this!) We define

Rank(T ) = dimK (Im(T ))

and N ullity(T ) = dimK (Ker(T )).

Properties 1.2.5. Note that (prove it!) the linear map T is injective if and only if Ker(T ) = 0.

Examples 1.2.6. We’ve seen many examples in Math 3333.

  1. Ker(Am×n) is the solution set to the homogenous system

Am×nXn× 1 = 0m× 1.

  1. General solution to linear system Am×nXn× 1 = Bm× 1 consists of a particular solution to Am×nXn× 1 = Bm× 1 plus the general solution to the homogenous system Am×nXn× 1 = 0m× 1.
  2. Projection map of R^3 onto R^2.

Theorem 1.2.7. Let T : U → V be a linear map, and suppose that {u 1 ,... , uk} and {T (w 1 ),... , T (wl)} are bases for Ker(T ) and Im(T ) respectively. Then {u 1 ,... , uk, w 1 ,... , wl} is a basis for U. In particular, dimK (U ) = N ullity(T ) + Rank(T ).

Proof. Exercise! There are two things to prove about the set of vectors {u 1 ,... , uk, w 1 ,... , wl}: it is a linearly independent set and it generates U.

Linear independence. Suppose

α 1 u 1 + · · · + αkuk + β 1 w 1 + · · · + βlwl = 0.

We have to prove that α 1 = 0,... , αk = 0, β 1 = 0,... , βl = 0. First apply T to both sides of the equation above. Does this simplify at all? Why? What does the resulting equation tell you about the βi? Why? Now plug this information about the βi back into the original equation above. What do you get now? What can you conclude about the αi? Why?

Generating set. Given u ∈ U you have to find scalars αi and βj so that

u = α 1 u 1 + · · · + αkuk + β 1 w 1 + · · · + βlwl.

First look at T (u). What do you know about T (u) and the T (wj )? What does this tell you about u and a linear combination of the wj? (careful here!). How do the ui come in to play here? conclude the proof. 

Corollary 1.2.8. Suppose that T : U → V is a linear map of finite dimensional vector spaces such that dimK (U ) = dimK (V ). Then T is injective if and only if T is surjective.

Proof. Use result above, together with 1.2.5. 

Definition 1.2.9. Let U and V be K-vector spaces with bases B 1 = {u 1 ,... , un} and B 2 = {v 1 ,... , vm} respectively. Let ψ 1 : U → Kn^ and ψ 2 : V → Km^ be the corresponding coordinate isomorphisms. Suppose that T : U → V is a linear map. We have seen in 1.2.3.8 that T is uniquely determined by the vectors {T (ui)}ni=1. Define a matrix AT ∈ Km×n^ by setting ψ 2 (T (uj )) to be its j-th column for each 1 ≤ j ≤ n. In other words, define

aij is the i-th coordinate (w.r.t. B 2 ) of the vector T (uj ).

We can visualize this in terms of matrices as follows

At =

[T (uj )]B 2 ^ ↓  

α 11 · · · α 1 j · · · α 1 n .. .

αm 1 · · · αmj · · · αmn

Note that there is a commutative diagram

U

Kn^ Km

- V

??

T

AT

ψ 1 ψ 2

That is, ψ 2 (T (u)) = AT (ψ 1 (u)) for all u ∈ U.

We call AT the matrix of the linear map T with respect to the bases B 1 for U and B 2 for V.

  1. Realize the group of isometries of the Euclidean plane as a group of linear transformations of R^3 to itself. What is the special form of these linear transformations. Geometric interpreta- tions.

Definition 1.2.11. Let U and V be K-vector spaces. We denote by L(U, V ) the set of all linear mappings U → V , and by L(U ) the set of all linear mappings U → U.

Theorem 1.2.12. Let U and V be K-vector spaces. Then we have

  1. L(U, V ) is a K-vector space, with operations defined by

(S + T )(x) , = S(x) + T (x) ,

and (kT )(x) = k(T (x)) for all S, T ∈ L(U, V ), x ∈ U , and all k ∈ K.

  1. Let W be a K-vector space. Composition of maps gives a multiplication

L(V, W ) × L(U, V ) → L(U, W ) : (S, T ) 7 → ST

where ST (u) = S(T (u)) for all u ∈ U. This multiplication satisfies

(a) (RS)T = R(ST ) (b) R(S + T ) = RS + RT (c) (R + S)T = RT + ST (d) (kS)T = k(ST ) = S(kT )

provided each is well-defined.

Proof. Easy! Exercise. 

Corollary 1.2.13. Let U be a K-vector space. Then L(U ) is

  1. a K-vector space
  2. a ring under S + T and ST
  3. (kS)T = k(ST ) = s(kT ) for all k ∈ K and for all S, T ∈ L(U ).

Definition 1.2.14. Let K be a field of scalars. A set X on which there is an addition, a multipli- cation, and a scalar multiplication all satisfying 1–3 of the corollary above is called a K-algebra.

Proposition 1.2.15. Let U and V be K-vector spaces of dimension n and m respectively. Then L(U, V ) is isomorphic to Km×n^ as K-vector spaces. Furthermore, L(U ) is isomorphic to Kn×n^ as K-algebras.

Proof. Exercise. 

Corollary 1.2.16. Let U and V be K-vector spaces of dimension n and m respectively. Then

dimK (L(U, V )) = mn

and dimK (L(U )) = n^2.

Proof. Exercise. 

Remark 1.2.17. The Einstein summation convention requires one to sum over any repeated upper and lower indices in an expression (involving tensors). For example the expression

∑n j=1 α

j i vj becomes the simpler expression αji vj. We shall not make too much use of this tensor notation (upper and lower indices) in this course. Nevertheless, it’s good to be aware of it.

The bracket notation makes it clear that U should act as a dual to U ∗. This is content of next proposition.

Proposition 1.3.8. If U is s finite dimensional K-vector space, then U is naturally isomorphic to U ∗∗.

Proof. Exercise. Given v ∈ U , let Lv : U ∗^ → K be the evaluation map which sends a linear functional f ∈ U ∗^ to the scalar f (v) ∈ K. All you have to do is verify the following.

  • Lv is a linear functional on U ∗.
  • The map v 7 → Lv is linear.
  • The map v 7 → Lv is bijective.



Definition 1.3.9. Let S be a subset of a finite dimensional vector space V. The annihilator of S is denoted by S◦^ and is defined as follows.

S◦^ = { f ∈ V ∗^ | f (v) = 0 for all v ∈ S }

Properties 1.3.10. The following should be intuitive properties. Give proofs of them all.

  1. S◦^ is a subspace of the dual space V ∗.
  2. If S = { 0 }, then S◦^ = V ∗.
  3. If S = V , then S◦^ = { 0 } ⊂ V ∗.

Definition 1.3.11. Let V be an n-dimensional vector space. A hyperspace is a subspace of V which has dimension (n − 1).

Remark 1.3.12. Hyperspaces in the finite dimensional vector space V are precisely the kernels of linear functionals on V.

Lemma 1.3.13. Let W be a subspace of the finite dimensional vector space V , then

dim(W ) + dim(W ◦) = dim(V )

Proof. Exercise. Let {v 1 ,... , vk} be a basis for W. Complete it to a basis {v 1 ,... , vk,... , vn} for V. Let {f 1 ,... , fn} be the corresponding dual basis for V ∗. Prove that {fk+1,... , fn} is a basis for W ◦. 

Corollary 1.3.14. Let V be an n-dimensional vector space. Then each k-dimensional subspace (here k ≤ n) of V is the intersection of (n − k) hyperspaces of V.

Corollary 1.3.15. If W 1 and W 2 are subspaces of a finite dimensional vector space V. Then W 1 = W 2 if and only if W 1 ◦ = W 2 ◦.

Definition 1.3.16. Let T : U → V be a linear transformation of finite dimensional K-vector spaces. Then some earlier proposition (in l.t. section) ensures that there is a unique linear trans- formation T ′^ : V ∗^ → U ∗^ satisfying

〈 T ′(f ) , u 〉 = 〈 f , T (u) 〉 for all u ∈ U and all f ∈ V ∗.

T ′^ is called the adjoint of the operator T.

Remark 1.3.17. Note that for f ∈ V ∗^ we have just defined T ′(f ) to be the composition

T ′(f ) = f ◦ T

The adjoint construction gives rise to a homomorphism (verify this!)

Ad : L(U, V ) → L(V ∗, U ∗) : T 7 → Ad(T ) = T ′

Proposition 1.3.18. Let T : U → V above have matrix A with respect to bases B 1 for U and B 2 for V. Then T ′^ has matrix AT^ (transpose) with respect to the respective dual bases for V ∗^ and U ∗.

Proof. Exercise. 

Proposition 1.3.19. Let T : U → V be a linear transformation of the vector spaces U and V. Then the kernel of the adjoint T ′^ of T is the annihilator of the image of T. In particular, if U and V are finite dimensional we have

  1. rank(T ′) = rank(T ).
  2. image of T ′^ is the annihilator of the kernel of T.

Corollary 1.3.20. For (n × n)-matrices A we have

rank(A) = rowrank(A) = columnrank(A)