Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;

Slides:



Advertisements
Similar presentations
Rules of Matrix Arithmetic
Advertisements

Chapter 3 Determinants and Eigenvectors 大葉大學 資訊工程系 黃鈴玲 Linear Algebra.
Chap. 3 Determinants 3.1 The Determinants of a Matrix
CHAPTER ONE Matrices and System Equations
1.5 Elementary Matrices and a Method for Finding
3 - 1 Chapter 2B Determinants 2B.1 The Determinant and Evaluation of a Matrix 2B.2 Properties of Determinants 2B.3 Eigenvalues and Application of Determinants.
Systems of Linear Equations and Matrices
MAT120 Asst. Prof. Dr. Ferhat PAKDAMAR (Civil Engineer) M Blok - M106 Gebze Technical University Department of Architecture Spring.
Chapter 3 Determinants 3.1 The Determinant of a Matrix
Matrix Operations. Matrix Notation Example Equality of Matrices.
Matrices and Systems of Equations
Chapter 2 Matrices Definition of a matrix.
2005/7Inverse matrices-1 Inverse and Elementary Matrices.
2005/8Matrices-1 Matrices. 2005/8Matrices-2 A Matrix over a Field F (R or C) m rows n columns size: m×n ij-entry: a ij  F (ij-component)
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
Chapter 3 The Inverse. 3.1 Introduction Definition 1: The inverse of an n  n matrix A is an n  n matrix B having the property that AB = BA = I B is.
1 Operations with Matrice 2 Properties of Matrix Operations
Linear Algebra - Chapter 1 [YR2005]
CHAPTER 2 MATRICES 2.1 Operations with Matrices
Compiled By Raj G. Tiwari
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
1 資訊科學數學 14 : Determinants & Inverses 陳光琦助理教授 (Kuang-Chi Chen)
1 資訊科學數學 13 : Solutions of Linear Systems 陳光琦助理教授 (Kuang-Chi Chen)
Elementary Linear Algebra Anton & Rorres, 9th Edition
 Row and Reduced Row Echelon  Elementary Matrices.
Systems of Linear Equation and Matrices
Matrix Algebra. Quick Review Quick Review Solutions.
Chap. 2 Matrices 2.1 Operations with Matrices
Chapter 2 Basic Linear Algebra(基本線性代數)
Chapter 2 Basic Linear Algebra ( 基本線性代數 ) to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c)
Sec 3.5 Inverses of Matrices Where A is nxn Finding the inverse of A: Seq or row operations.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
CHAPTER 2 MATRICES 2.1 Operations with Matrices Matrix
CHAPTER 3 DETERMINANTS 3.1 The Determinant of a Matrix 3.2 Determinant and Elementary Operations 3.3 Properties of Determinants 3.4 Application of Determinants.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
For real numbers a and b,we always have ab = ba, which is called the commutative law for multiplication. For matrices, however, AB and BA need not be equal.
Properties of Inverse Matrices King Saud University.
7.1 Eigenvalues and Eigenvectors
5.1 Eigenvalues and Eigenvectors
Matrices and Determinants
MATRICES Operations with Matrices Properties of Matrix Operations
Linear Algebra Chapter 2 Matrices.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
2.5 – Determinants and Multiplicative Inverses of Matrices.
Chapter 2 Matrices 2.1 Operations with Matrices 2.2 Properties of Matrix Operations 2.3 The Inverse of a Matrix 2.4 Elementary Matrices Elementary Linear.
فصل 1 (المصفوفات)Matrices
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Lecture 7 Vector Spaces Lat Time Properties of Determinants Introduction to Eigenvalues Applications of Determinants Vectors in R n Elementary Linear Algebra.
MATRICES. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
Matrices, Vectors, Determinants.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Properties of Matrix Operations 2010, 14, Sep. Ki-Seung Lee.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
Lecture 9 Vector & Inner Product Spaces Last Time Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear.
MTH108 Business Math I Lecture 20.
MAT 322: LINEAR ALGEBRA.
Matrices and Vector Concepts
MATRICES.
Matrix Algebra MATRIX OPERATIONS.
7.7 Determinants. Cramer’s Rule
Lecture 2 Matrices Lat Time - Course Overview
1.4 Inverses; Rules of Matrix Arithmetic
Elementary Matrix Methid For find Inverse
Section 2.4 Matrices.
資訊科學數學13 : Solutions of Linear Systems
MATRICES Operations with Matrices Properties of Matrix Operations
Systems of Linear Equations and Matrices
Presentation transcript:

Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations; Mechanics of Matrix Multiplication 2A.3 The Inverse of a Matrix 2A.4 Elementary Matrices

2A.1 Operations with Matrices Matrix: (i, j)-th entry: row: m column: n size: m×n

i-th row vector row matrix j-th column vector column matrix Square matrix: m = n

Diagonal matrix: Trace:

Ex:

Equal matrix: Ex 1: (Equal matrix)

Matrix addition: Scalar multiplication:

Matrix subtraction: Example: Matrix addition

Matrix multiplication: The i, j entry of the matrix product is the dot product of row i of the left matrix with column j of the right one.

Matrix multiplication: Notes: (1) A+B = B+A, (2)

Matrix form of a system of linear equations: = A x b

Partitioned matrices: submatrix

linear combination of column vectors of A a linear combination of the column vectors of matrix A: = = = linear combination of column vectors of A

Keywords in Section 2.1: row vector: 列向量 column vector: 行向量 diagonal matrix: 對角矩陣 trace: 跡數 equality of matrices: 相等矩陣 matrix addition: 矩陣相加 scalar multiplication: 純量積 matrix multiplication: 矩陣相乘 partitioned matrix: 分割矩陣

2A.2 Properties of Matrix Operations Three basic matrix operators: (1) matrix addition (2) scalar multiplication (3) matrix multiplication Zero matrix: Identity matrix of order n:

Properties of matrix addition and scalar multiplication: Then (1) A+B = B + A Commutative law for addition (2) A + ( B + C ) = ( A + B ) + C Associative law for addition (3) ( cd ) A = c ( dA ) Associative law for scalar multiplication (4) 1A = A Unit element for scalar multiplication (5) c( A+B ) = cA + cB Distributive law 1 for scalar multiplication (6) ( c+d ) A = cA + dA Distributive law 2 for scalar multiplication

Properties of zero matrices: Notes: 0m×n: the additive identity for the set of all m×n matrices –A: the additive inverse of A

Properties of matrix multiplication: Properties of the identity matrix:

Transpose of a matrix: Properties of transposes:

Symmetric matrix: A square matrix A is symmetric if A = AT Skew-symmetric matrix: A square matrix A is skew-symmetric if AT = –A Ex: is symmetric, find a, b, c? Sol:

Ex: is a skew-symmetric, find a, b, c? Sol: Note: is symmetric Pf:

(Commutative law for multiplication) Real number: ab = ba (Commutative law for multiplication) Matrix: Three situations of the non-commutativity may occur : (Sizes are not the same) (Sizes are the same, but matrices are not equal)

Example (Case 3): Show that AB and BA are not equal for the matrices. and Sol:

Real number: (Cancellation law) Matrix: (1) If C is invertible (i.e., C-1 exists), then A = B (Cancellation is not valid)

Example: An example in which cancellation is not valid Show that AC=BC C is noninvertible, (i.e., row 1 and row 2 are not independent) Sol: So But

Keywords in Section 2.2: zero matrix: 零矩陣 identity matrix: 單位矩陣 transpose matrix: 轉置矩陣 symmetric matrix: 對稱矩陣 skew-symmetric matrix: 反對稱矩陣

2A.3 The Inverse of a Matrix Inverse matrix: Consider Then (1) A is invertible (or nonsingular) (2) B is the inverse of A Note: A matrix that does not have an inverse is called noninvertible (or singular).

Theorem: The inverse of a matrix is unique If B and C are both inverses of the matrix A, then B = C. Pf: Consequently, the inverse of a matrix is unique. Notes: (1) The inverse of A is denoted by

Find the inverse of a matrix A by Gauss-Jordan Elimination: Example: Find the inverse of the matrix Sol:

Thus

Note: If A can’t be row reduced to I, then A is singular.

Example: Find the inverse of the following matrix Sol:

So the matrix A is invertible, and its inverse is You can check:

Power of a square matrix:

Theorem: Properties of inverse matrices If A is an invertible matrix, k is a positive integer, and c is a scalar, then

Theorem: The inverse of a product If A and B are invertible matrices of size n, then AB is invertible and Pf: Note:

Theorem: Cancellation properties If C is an invertible matrix, then the following properties hold: (1) If AC=BC, then A=B (Right cancellation property) (2) If CA=CB, then A=B (Left cancellation property) Pf: Note: If C is not invertible, then cancellation is not valid.

(Left cancellation property) Theorem: Systems of linear equations with unique solutions If A is an invertible matrix, then the system of linear equations Ax = b has a unique solution given by Pf: ( A is nonsingular) (Left cancellation property) This solution is unique.

Keywords in Section 2.3: inverse matrix: 反矩陣 invertible: 可逆 nonsingular: 非奇異 singular: 奇異 power: 冪次

2A.4 Elementary Matrices Row elementary matrix: An nn matrix is called an elementary matrix if it can be obtained from the identity matrix I by a single elementary row operation. Note: Only do a single elementary row operation.

Ex: (Elementary matrices and nonelementary matrices)

Theorem: Representing elementary row operations Let E be the elementary matrix obtained by performing an elementary row operation on Im. If that same elementary row operation is performed on an mn matrix A, then the resulting matrix is given by the product EA. Notes:

Example: Using elementary matrices Find a sequence of elementary matrices that can be used to write the matrix A in row-echelon form. Sol:

row-echelon form

Row-equivalent: Matrix B is row-equivalent to A if there exists a finite number of elementary matrices such that

Theorem: Elementary matrices are invertible If E is an elementary matrix, then exists and is an elementary matrix. Notes:

Ex: Elementary Matrix Inverse Matrix

Thus A can be written as the product of elementary matrices. Theorem: A property of invertible matrices A square matrix A is invertible if and only if it can be written as the product of elementary matrices. Assume that A is the product of elementary matrices. (a) Every elementary matrix is invertible. (b) The product of invertible matrices is invertible. Thus A is invertible. Pf: (2) If A is invertible, has only the trivial solution. Thus A can be written as the product of elementary matrices.

Ex: Find a sequence of elementary matrices whose product is Sol:

Note: If A is invertible

Thm: Equivalent conditions If A is an nn matrix, then the following statements are equivalent. (1) A is invertible. (2) Ax = b has a unique solution for every n1 column matrix b. (3) Ax = 0 has only the trivial solution. (4) A is row-equivalent to In . (5) A can be written as the product of elementary matrices.

LU-factorization: A nn matrix A can be written as the product of a lower triangular matrix L and an upper triangular matrix U, such as L is a lower triangular matrix U is an upper triangular matrix Note: If a square matrix A can be row reduced to an upper triangular matrix U using only the row operation of adding a multiple of one row to another (pivot), then it is easy to find an LU-factorization of A.

Ex: LU-factorization Sol: (a)

(b)

Solving Ax=b with an LU-factorization of A Two steps: (1) Write y = Ux and solve Ly = b for y (2) Solve Ux = y for x

Ex: Solving a linear system using LU-factorization

So Thus, the solution is

Keywords in Section 2A.4: row elementary matrix: 列基本矩陣 row equivalent: 列等價 lower triangular matrix: 下三角矩陣 upper triangular matrix: 上三角矩陣 LU-factorization: LU分解