Presentation on theme: "Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:"— Presentation transcript:
1 Chapter 1: MatricesDefinition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns.EXAMPLE:
2 Matrix Operations: matrix addition Definition 2: Matrix AdditionLet A = ( ai j ) & B = ( bi j ) be mn matrices.Then C = A + B is an mn matrix with elements ci j ai j + bi j .Example:Properties:(A1) A + B = B + A(A2) (A + B) + C = A + (B + C)(A1) A + 0 = Awhere 0 is a zero matrix (matrix consisting of only zero elements)
3 Matrix Operations: scalar multiplication Definition 3: Scalar MultiplicationLet A = ( ai j ) and λ R.Then C = λ A is an mn matrix with elements ci j λ ai j .Properties:(S1) λ A = A λ(S2) λ (A + B) = λ A + λ B(S3) (λ1 + λ2) A = λ1 A + λ2 A(S4) λ1 (λ2 A) =(λ1λ2) A
4 1.3 Matrix Multiplication Definition: Matrix MultiplicationIf A = ( ai j ) is an mn matrix and B = ( bi j ) is an np matrix,Then the product AB is defined to be an mp matrix C = ( ci j ) whereci j = ai 1 b1 j + ai 2 b2 j + … + ai n bn jIn other words,ci j = ( Row i of A ) ( Column j of B )Example:Properties:(M1) (AB)C = A(BC)(M2) A(B + C) = AB + AC(M3) (B + C)A = BA + CA
5 Matrix multiplication lacks commutativity. Example 1:Example 2:Other properties that matrix multiplication lacks:1) AB = 0 doesn’t imply A = 0 or B = 02) AB = AC doesn’t imply B = C
6 1.4 Special MatricesDefinition (matrix transpose): Given a matrix A, the transpose of A, denoted by AT and read A-transpose, is obtained by changing all the rows of A into columns of AT while preserving the order.Examples:Properties of the transpose:1) (AT)T = A2) (λ A)T = λ AT3) (A + B)T = AT + BT4) (A B)T = BT ATA symmetric matrix is a matrix that is equal to its transposewhile a skew symmetric matrix is a matrix that is equal to the negative of its transpose.
7 1.4 Special Matrices: row-reduced form Definition: A matrix is in row-reduced form if it satisfies four conditions:(R1) All zero rows appear below nonzero rows when both types are present in the matrix.(R2) The first nonzero element in any nonzero row is unity.(R3) All elements directly below (that is, in the same column but in succeeding rows from) the first nonzero element of a nonzero row are zero.(R4) The first nonzero element of any nonzero row appears in a later column (further to the right) than the first nonzero element in any preceding row.Example:
8 Row-reduced form: examples In row-reduced formNot in row-reduced form
9 1.4 Special Matrices: identity matrice Definition: A square matrix that has 1’s on the main diagonal and 0’s off the main diagonal is called an identity matrix.Example: A 3 × 3 identity matrix.Note: An identity matrix has the property thatAI = IA = A.
10 1.4 Special Matrices: lower (upper) triangular matrices Definition: A square matrix A=[aij] is called lower triangularif aij=0 for j>i (that is, if all the elements above the main diagonal are zero)and upper triangularif aij=0 for j<i (that is, if all the elements below the main diagonal are zero).Example:
11 1.6 Vectors x1 x2 v Definition: A vector is a 1 n or n 1 matrix. Magnitude:If,Is a UNIT vectorA nonzero vector is normalized if it is divided by its magnitude.Is a unit vector
12 1.7 The geometry of vectors Vector Additionvwv+wVector Subtractionv-wvw