Docsity

Lecture on algebra - Hust, Lecture notes of Algebra

Partial preview of the text

Download Lecture on algebra - Hust and more Lecture notes Algebra in PDF only on Docsity!

Hanoi University of Science and Technology

Faculty of Applied mathematics and informatics

Advanced Training Program

Lecture on

Algebra

Assoc. Prof. Dr. Nguyen Thieu Huy

Hanoi 2008

Preface

This Lecture on Algebra is written for students of Advanced Training Programs of Mechatronics (from California State University –CSU Chico) and Material Science (from University of Illinois- UIUC). When preparing the manuscript of this lecture, we have to combine the two syllabuses of two courses on Algebra of the two programs (Math 031 of CSU Chico and Math 225 of UIUC). There are some d ifferences between the two syllabuses, e.g., there is no module of algebraic structures and complex numbers in Math 225, and no module of orthogonal projections and least square approximations in Math 031, etc. Therefore, for sake of completeness, this lecture provides all the modules of knowledge which are given in both syllabuses. Students will be introduced to the theory and applications of matrices and systems of linear equations, vector spaces, linear transformations, eigenvalue problems, Euclidean spaces, orthogonal projections and least square approximations, as they arise, for instance, from electrical networks, frameworks in mechanics, processes in statistics and linear models, systems of linear differential equations and so on. The lecture is organized in such a way that the students can comprehend the most useful knowledge of linear algebra and its applications to engineering problems. We would like to thank Prof. Tran Viet Dung for his careful reading of the manuscript. His comments and remarks lead to better appearance of this lecture. We also thank Dr. Nguyen Huu Tien, Dr. Tran Xuan Tiep and all the lecturers of Faculty of Applied Mathematics and Informatics for their inspiration and support during the preparation of the lecture.

Hanoi, October 20, 2008

Assoc. Prof. Dr. Nguyen Thieu Huy

  • Chapter 1: Sets..................................................................................
    • I. Concepts and basic operations...........................................................................................
    • II. Set equalities ....................................................................................................................
    • III. Cartesian products...........................................................................................................
  • Chapter 2: Mappings........................................................................
    • I. Definition and examples....................................................................................................
    • II. Compositions....................................................................................................................
    • III. Images and inverse images ...........................................................................................
    • IV. Injective, surjective, bijective, and inverse mappings
  • Chapter 3: Algebraic Structures and Complex Numbers...........
    • I. Groups .............................................................................................................................
    • II. Rings...............................................................................................................................
    • III. Fields.............................................................................................................................
    • IV. The field of complex numbers......................................................................................
  • Chapter 4: Matrices........................................................................
    • I. Basic concepts .................................................................................................................
    • II. Matrix addition, scalar multiplication ............................................................................
    • III. Matrix multiplications...................................................................................................
    • IV. Special matrices ............................................................................................................
    • V. Systems of linear equations............................................................................................
    • VI. Gauss elimination method ............................................................................................
  • Chapter 5: Vector spaces
    • I. Basic concepts .................................................................................................................
    • II. Subspaces .......................................................................................................................
    • III. Linear combinations, linear spans.................................................................................
    • IV. Linear dependence and independence ..........................................................................
    • V. Bases and dimension......................................................................................................
    • VI. Rank of matrices ...........................................................................................................
    • VII. Fundamental theorem of systems of linear equations
    • VIII. Inverse of a matrix .....................................................................................................
    • X. Determinant and inverse of a matrix, Cramer’s rule......................................................
    • XI. Coordinates in vector spaces ........................................................................................
  • Chapter 6: Linear Mappings and Transformations
    • I. Basic definitions ..............................................................................................................
    • II. Kernels and images ........................................................................................................
    • III. Matrices and linear mappings .......................................................................................
    • IV. Eigenvalues and eigenvectors.......................................................................................
    • V. Diagonalizations.............................................................................................................
    • VI. Linear operators (transformations) ...............................................................................
  • Chapter 7: Euclidean Spaces
    • I. Inner product spaces. .......................................................................................................
    • II. Length (or Norm) of vectors ..........................................................................................
    • III. Orthogonality ................................................................................................................
    • IV. Projection and least square approximations: ................................................................
    • V. Orthogonal matrices and orthogonal transformation .....................................................
  • IV. Quadratic forms ..........................................................................................................
  • VII. Quadric lines and surfaces.........................................................................................

Chapter 1: Sets I. Concepts and Basic Operations 1.1. Concepts of sets: A set is a collection of objects or things. The objects or things

in the set are called elements (or member) of the set.

Examples:

  • A set of students in a class.
  • A set of countries in ASEAN group, then Vietnam is in this set, but China is not.
  • The set of real numbers, denoted by R. 1.2. Basic notations: Let E be a set. If x is an element of E, then we denote by x  E (pronounce: x belongs to E). If x is not an element of E, then we write x  E. We use the following notations: : “there exists” ! : “there exists a unique” : “ for each” or “for all” : “implies” : ”is equivalent to” or “if and only if” 1.3. Description of a set: Traditionally, we use upper case letters A, B, C and set braces to denote a set. There are several ways to describe a set. a) Roster notation (or listing notation): We list all the elements of a set in a couple of braces; e.g., A = 1,2,3,7 or B = Vietnam, Thailand, Laos, Indonesia, Malaysia, Brunei, Myanmar, Philippines, Cambodia, Singapore. b) Set–builder notation: This is a notation which lists the rules that determine whether an object is an element of the set. Example: The set of real solutions of the inequality x 2  2 is G = x x  R and - 2  x  2  =  - 2 , 2  The notation “” means “such that”.

x AB  (x  A or x  B). By Venn diagram:

1.7. Subtraction: Let A, B be two sets: The subtraction of A and B, denoted by A\B (or A–B), is given by A\B = {x | xA and xB} This means that: xA\B  (x  A and xB). By Venn diagram:

1.8. Complement of a set: Let A and X be two sets such that A  X. The complement of A in X, denoted by C XA (or A’ when X is clearly understood), is given by

C XA = X \ A = {x | xX and x  A)} = {x | x  A} (when X is clearly understood) Examples: Consider X = R ; A = [0,3] = {x | x R and 0 < x  3} B = [-1, 2] = {x|x R and -1  x  2}. Then,

  1. AB = {x R | 0 x  3 and -1  x 2} = = {x R | 0  x  - 1} = [0, -1]
  1. AB = {x R | 0  x  3 or -1  x 2} = {x R  -1 x  3} = [-1,3]
  2. A \ B = {x R  0  x  3 and x  [-1,2]} = {x R  2  x 3} = [2,3]
  3. A’ = R \ A = {x  R  x < 0 or x > 3} II. Set equalities Let A, B, C be sets. The following set equalities are often used in many problems related to set theory.
  4. A  B = BA; AB = BA (Commutative law)
  5. (AB) C = A(BC); (AB)C = A(BC) (Associative law)
  6. A(BC) = (AB)(AC); A(BC) = (AB)  (AC) (Distributive law)
  7. A \ B = AB’, where B’= C XB with a set X containing both A and B. Proof: Since the proofs of these equalities are relatively simple, we prove only one equality (3), the other ones are left as exercises. To prove (3), We use the logical expression of the equal sets. x  A  (B C)  (^)  xx  BAC

x C

x B

x A  

x C

x A

x B

x A

  xx  AA  CB  x(AB)(AC) This equivalence yields that A(BC) = (AB)(AC). The proofs of other equalities are left for the readers as exercises.

Chapter 2: Mappings I. Definition and examples 1.1. Definition: Let X, Y be nonempty sets. A mapping with domain X and range Y, is an ordered triple (X, Y, f) where f assigns to each xX a well-defined f(x) Y. The statement that (X, Y, f) is a mapping is written by f: X  Y (or X  Y). Here, “well-defined” means that for each xX there corresponds one and only one f(x) Y. A mapping is sometimes called a map^ or a^ function. 1.2. Examples:

  1. f: RR ; f(x) = sinx x R, where R is the set of real numbers,
  2. f: X  X; f(x) = x x  X. This is called the identity mapping on the set X, denoted by IX
  3. Let X, Y be nonvoid sets, and y 0 Y. Then, the assignment f: X  Y; f(x) = y 0 x X, is a mapping. This is called a constant mapping. 1.3. Remark: We use the notation f: X  Y x  f(x) to indicate that f(x) is assigned to x. 1.4. Remark: Two mapping X  Y and X  Y are equal if f(x) = g(x) x  X. Then, we write f=g. II. Compositions 2.1. Definition: Given two mappings: f: X  Y and g: Y  W (or shortly, X  Y  W), we define the mapping h: X  W by h(x) = g(f(x)) x  X. The mapping h is called the composition of g and f, denoted by h = go f, that is, (go f)(x) = g(f(x)) xX. 2.2. Example: RR +  R - , here R +=[0, ] and R - =(-, 0]. f(x) = x^2 x R ; and g(x) = -x x  R +. Then, (go f)(x) = g(f(x)) = -x^2. 2.3. Remark : In general, fo g  go f. Example: RRR ; f(x) = x^2 ; g(x) = 2x + 1 x  R.

f g

f g

f g

f g

f

Then (fo g)(x) = f(g(x)) = (2x+1)^2 x  R , and (gof)(x) = g(f(x)) = 2x^2 + 1 x  R Clearly, fo g  go f. III. Image and Inverse Images Suppose that f: X  Y is a mapping. 3.1. Definition: For S  X, the image of S in a subset of Y, which is defined by f(S) = {f(s)sS} = {yYsS with f(s) = y} Example: f: RR , f(x) = x^2 +2x x R. S = [0,2]  R ; f(S) = {f(s)s[0, 2]} = {s^2 s[0, 2]} = [0, 8]. 3.2. Definition : Let T  Y. Then, the inverse image of T is a subset of X, which is defined by f-1^ (T) = {xXf(x) T}.

Example: f: R \ {2}  R ; f(x) = xx ^ ^21 x R {2}.

S = (-, 1]  R ; f-1^ (S) = {x R {2}f(x)  -1}

= {x R {2} xx ^21  - 1 }= [-1/2,2).

3.3. Definition: Let f: X  Y be a mapping. The image of the domain X, f(X), is called the image of f, denoted by Imf. That is to say, Imf = f(X) = {f(x)xX} = {y YxX with f(x) = y}. 3.4. Properties of images and inverse images: Let f: X  Y be a mapping; let A, B be subsets of X and C, D be subsets of Y. Then, the following properties hold.

  1. f(AB) = f(A) f(B)
  2. f(AB)  f(A)  f(B)
  3. f-1^ (CD) = f-1^ (C) f-1^ (D)
  4. f-1^ (CD) = f-1^ (C)  f-1^ (D) Proof: We shall prove (1) and (3), the other properties are left as exercises. (1) : Since A  A B and B  AB, it follows that f(A)  f(AB) and f(B)  f(AB).

4.2. Definition: Let f: X  Y be a bijective mapping. Then, the mapping g: Y  X satisfying gof = I (^) X and fo g = I (^) Y is called the inverse mapping of f, denoted by g = f-^. For a bijective mapping f: X  Y we now show that there is a unique mapping g: Y X satisfying gof = I (^) X and fo g = I (^) Y. In fact, since f is bijective we can define an assignment g : Y  X by g(y) = x if f(x) = y. This gives us a mapping. Clearly, g(f(x)) = x x  X and f(g(y)) = y yY. Therefore, go f=I (^) X and fo g = I (^) Y. The above g is unique is the sense that, if h: Y  X is another mapping satisfying ho f = I (^) X and fo h = I (^) Y, then h(f(x)) = x = g(f(x)) x  X. Then, y  Y, by the bijectiveness of f, ! x X such that f(x) = y  h(y) = h(f(x)) = g(f(x)) = g(y). This means that h = g. Examples:

  1. f: 2 , 2  1 , 1 ;

    f(x) = sinx x 

This mapping is bijective. The inverse mapping f-1^ :  1 , 1  ; 2 ,^  2 is denoted by

f-1^ = arcsin, that is to say, f-1^ (x) = arcsinx x [-1,1]. We also can write:

arcsin(sinx)=x x  

2 , 2 ; and sin(arcsinx)=x^ x^ [-1,1]

  1. f: R (0,); f(x) = e x^ x  R. The inverse mapping is f -1^ : (0, )  R , f -1^ (x) = lnx x  (0,). To see this, take (fo f-1^ )(x) = e lnx^ = x x (0,); and (f-1o f)(x) = lnex^ = x x  R.

Chapter 3: Algebraic Structures and Complex Numbers

I. Groups 1.1. Definition: Suppose that G is non empty set and : GxG  G is a mapping. Then,  is called a binary operation; and we will write (a,b) = ab for each (a,b)  GxG. Examples:

  1. Consider G = R ; “” = “+” (the usual addition in R) is a binary operation defined by +: R x RR

(a,b)  a + b

  1. Take G = R ; “” = “” (the usual multiplication in R ) is a binary operation defined by  : R x RR

(a,b)  a  b

  1. Take G = {f: X  X f is a mapping}:= Hom (X) for X  . The composition operation “o ” is a binary operation defined by: o : Hom(X) x Hom(X)  Hom(X)

(f,g)  fo g

1.2. Definition: a. A couple (G, ), where G is a nonempty set and  is a binary operation, is called an algebraic structure. b. Consider the algebraic structure (G, ) we will say that (b1)  is associative if (ab) c = a(bc) a, b, and c in G (b2)  is commutative if ab = ba a, b G (b3) an element e  G is the neutral element of G if ea = ae = a aG

Examples:

  1. ( R , +) is abelian additive group.
  2. ( R{0} , ) is abel multiplicative group.
  3. Let X be nonempty set; End(X) = {f: X  X  f is bijective}. Then, (End(X), o) is noncommutative group with the neutral element is IX, where o is the composition operation. 1.6. Proposition: Let (G, ) be a group. Then, the following assertions hold.
  4. For a G, the inverse a-1^ of a is unique.
  5. For a, b, c  G we have that ac = bc  a = b ca = cb  a = b (Cancellation law in Group)
  6. For a, x, b  G, the equation ax = b has a unique solution x = a-1b. Also, the equation xa = b has a unique solution x = ba - Proof:
  7. Let a’ be another inverse of a. Then, a’a = e. It follows that (a’a) a -1^ = a’ (aa -1^ ) = a’e = a’.
  8. ac = ab  a-1 (ac) a-1 (ab)  (a-1a) c = (a-1a) b  ec = eb  c = b. Similarly, ca = ba  c = b. The proof of (3) is left as an exercise.

II. Rings 2.1. Definition: Consider triple (V, +, ) where V is a nonempty set; + and  are binary operations on V. The triple (V, +, ) is called a ring if the following properties are satisfied:

(V, +) is a commutative group Operation “” is associative  a,b,c  V we have that (a + b) c = ac + bc, and c(a + b) = ca + cb V has identity element 1V corresponding to operation “” , and we call 1V the multiplication identity. If, in addition, the multiplicative operation is commutative then the ring (V, +, ) is called a commutative ring. 2.2. Example: ( R , +, ) with the usual additive and multiplicative operations, is a commutative ring. 2.3. Definition: We say that the ring is trivial if it contains only one element, V = {OV}. Remark: If V is a nontrivial ring, then 1 (^) V OV. 2.4. Proposition: Let (V, +, ) be a ring. Then, the following equalities hold.

  1. a.OV = O (^) V.a = OV
  2. a  (b – c) = ab – ac, where b – c is denoted for b + (-c)
  3. (b–c) a = ba – ca III. Fields 3.1. Definition: A triple (V, +, ) is called a field if (V, +, ) is a commutative, nontrivial ring such that, if a  V and a  OV then a has a multiplicative inverse a -1 V. Detailedly, (V, +, ) is a field if and only if the following conditions hold: (V, +) is a commutative group, the multiplicative operation is associative and commutative, a,b,cV we have that (a + b) c = ac + ab, there is multiplicative identity 1V  OV; and if aV, a  OV, then a-1^ V, a-1a = 1V. 3.2. Examples: ( R , +, ); ( Q , +, ) are fields. IV. The field of complex numbers Equations without real solutions, such as x^2 + 1 = 0 or x^2 – 10x + 40 = 0, were observed early in history and led to the introduction of complex numbers.

We set C = {a + bia,b  R and i 2 = -1} and call C the set of complex numbers. It follows from above construction that ( C , +, ) is a field which is called the field of complex numbers. The additive and multiplicative operations on C can be reformulated as. (a+bi) + (c+di) = (a+c) + (b+d)i (a+bi)  (c+di) = ac + bdi^2 + (ad + bc)i = (ac – bd) + (ad + bc)i (Because i 2 =-1). Therefore, the calculation is done by usual ways as in R with the attention that i 2 = -1. The representation of a complex number z  C as z = a + bi for a,b R and i 2 = -1, is called the canonical form (algebraic form) of a complex number z. 4.2. Imaginary and real parts: Consider the field of complex numbers C. For z C , in canonical form, z can be written as z = a + b i, where a, bR and i 2 = -1. In this form, the real number a is called the real part of z; and the real number b is called the imaginary part. We denote by a = Rez and b = Imz. Also, in this form, two complex numbers z 1 = a 1 + b 1 i and z 2 = a 2 + b 2 i are equal if and only if a 1 = a 2 ; b 1 = b 2 , that is, Rez 1 =Rez 2 and Imz 1 = Imz 2. 4.3. Subtraction and division in canonical forms:

  1. Subtraction: For z 1 = a 1 + b 1 i and z 2 = a 2 + b 2 i, we have z 1 – z 2 = a 1 – a 2 + (b 1 – b 2 )i. Example: 2 + 4i – (3 + 2i) = -1 + 2i.
  2. Division: By definition, 1 ( 21 ) 2

(^1)  z zz

z (^) (z 2 0).

For z 2 = a 2 + b 2 i, we have z (^) 2  1  a 22 a ^2 b 22  a 22 b ^2 b 22 i. Therefore,

 . 2. (^222) 2 2 (^222) 1 1 2 2 2

a b

bi a b a bi a a b

a bi We also have the following

practical rule : To compute (^) zz 21  (^) aa 21  bb 21 ii we multiply both denominator and numerator by

a 2 – b 2 i, then simplify the result. Hence,

 2  (^222) 1 2 12 21 12 2 2

2 2 2 2

1 1 2 2

a b

aa bb ab ab i a bi

a bi a bi

a bi a bi

a bi

Example: (^) 82  37 ii  82  37 ii. 88  33 ii ^573 ^62 i  735  7362 i 4.4. Complex plane: Complex numbers admit two natural geometric interpretations. First, we may identify the complex number x + yi with the point (x,y) in the plane (see Fig.4.2). In this interpretation, each real number a, or x+ 0. i , is identified with the point (x,0) on the horizontal axis, which is therefore called the real axis. A number 0 + y i , or just y i , is called a pure imaginary number and is associated with the point (0,y) on the vertical axis. This axis is called the imaginary axis. Because of this correspondence between complex numbers and points in the plane, we often refer to the xy-plane as the complex plane.

Figure 4. When complex numbers were first noticed (in solving polynomial equations), mathematicians were suspicious of them, and even the great eighteen–century Swiss mathematician Leonhard Euler, who used them in calculations with unparalleled proficiency, did not recognize then as “legitimate” numbers. It was the nineteenth–century German mathematician Carl Friedrich Gauss who fully appreciated their geometric significance and used his standing in the scientific community to promote their legitimacy to other mathematicians and natural philosophers. The second geometric interpretation of complex numbers is in terms of vectors. The

complex numbers z = x + yi may be thought of as the vector x  i +y  j in the plane, which may in turn be represented as an arrow from the origin to the point (x,y), as in Fig.4.3.