化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices

Slides:



Advertisements
Similar presentations
Elementary Linear Algebra Anton & Rorres, 9th Edition
Advertisements

Applied Informatics Štefan BEREŽNÝ
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Chap. 3 Determinants 3.1 The Determinants of a Matrix
1.5 Elementary Matrices and a Method for Finding
Matrices & Systems of Linear Equations
Chapter 3 Determinants 3.1 The Determinant of a Matrix
Matrices. Special Matrices Matrix Addition and Subtraction Example.
Matrices and Systems of Equations
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
Chapter 2 Matrices Definition of a matrix.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
Economics 2301 Matrices Lecture 13.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Matrices and Determinants
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
Chapter 5 Determinants.
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
Applications of matrices and determinants
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 5QF Introduction to Vector and Matrix Operations Needed for the.
Compiled By Raj G. Tiwari
Linear Algebra Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
1 資訊科學數學 14 : Determinants & Inverses 陳光琦助理教授 (Kuang-Chi Chen)
ECON 1150 Matrix Operations Special Matrices
1 資訊科學數學 13 : Solutions of Linear Systems 陳光琦助理教授 (Kuang-Chi Chen)
1 MAC 2103 Module 12 Eigenvalues and Eigenvectors.
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Algebra. Quick Review Quick Review Solutions.
CHAPTER 2 MATRIX. CHAPTER OUTLINE 2.1 Introduction 2.2 Types of Matrices 2.3 Determinants 2.4 The Inverse of a Square Matrix 2.5 Types of Solutions to.
Presentation by: H. Sarper
ENM 503 Block 2 Lesson 7 – Matrix Methods
Matrices & Determinants Chapter: 1 Matrices & Determinants.
8.1 Matrices & Systems of Equations
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.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
Chapter 5 MATRIX ALGEBRA: DETEMINANT, REVERSE, EIGENVALUES.
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.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 07 Chapter 7: Eigenvalues, Eigenvectors.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Arab Open University Faculty of Computer Studies M132: Linear Algebra
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
Matrices and Determinants
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.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
2.5 – Determinants and Multiplicative Inverses of Matrices.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Section 2.1 Determinants by Cofactor Expansion. THE DETERMINANT Recall from algebra, that the function f (x) = x 2 is a function from the real numbers.
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Matrices, Vectors, Determinants.
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.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
Matrices Introduction.
2. Matrix Methods
MAT 322: LINEAR ALGEBRA.
7.7 Determinants. Cramer’s Rule
Lecture 2 Matrices Lat Time - Course Overview
Elementary Linear Algebra Anton & Rorres, 9th Edition
Linear Algebra Lecture 36.
Systems of First Order Linear Equations
DETERMINANT MATRIX YULVI ZAIKA.
Chapter 3 Linear Algebra
Determinant of a Matrix
Matrix Algebra.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Presentation transcript:

化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices Consideration a greater numbers of variables as a single quantity called a matrix.

Matrices We can store objects (numbers, functions …) in named locations/grids. A matrix has n rows and m columns. A is “n by m”. Each element is called aij. The element of matrix product AB aij= i, j element = < row i of A > • < column j of B > Think of the vector product !

Differences between Matrix Operations and Real Number Operations Matrix multiplication in not commutative. There is in general no “cancellation” of A in an equation AB = AC The product AB may be a zero matrix with neither A nor B a zero matrix. AB BA AB = AC, but BC

Matrices What do we need to know about matrices? square matrix the number of rows of elements is equal to the number of columns of elements diagonal matrix all the elements except those in the diagonal from the top left-hand corner to the bottom right-hand corner are zero unit matrix a diagonal matrix in which all the diagonal elements are all unity the transpose matrix A (n x m)  A’ (m x n) If AA’ = I, the matrix A is “orthogonal” the transpose of the product of two matrices is equal to the product of their transposes taken in the reverse order: (AB)’ = B’A’ symmetric matrix

Matrices Elementary row operations interchange of two rows Multiplication of a row by a nonzero scalar Addition of a scalar multiple of one row to another row Any elementary row operation on an n x m matrix A can be achieved by multiplying A on the left by the elementary matrix formed by performing the same row operation on In (unit matrix). EA = B

The Reduced Form of a Matrix A is a reduced matrix if the leading entry of any nonzero row is 1 a row has its leading entry in column c, all other elements of column are zero each row having all zero elements lies below any row having a nonzero element the leading entry in row r1 lies in column c1 and the leading entry of row r2 is in column c2, and r1 < r2, then c1 < c2.

The rank of a Matrix rank (A) = number of nonzero rows of the reduced form of a matrix A = dimension of the row space of A. The row space of A means all the linear combinations of the row vectors of A. The row vectors of A are: F1 = < -1,4,0,1,6 > and F2 = < -2,8,0,2,12 > The row space of A is the subspace of R5 consisting of all linear combinations: F1+F2 rank (A) = 1

The Determinant of a Square Matrix A number produced from the matrix A: It is defined as a sum of multiples of (n-1) x (n-1) determinants formed from the elements of A. The cofactor (or Laplace) expansion of |A| by row k is defined to be the sum of the element of row k, each multiplied by its cofactor: | A |, or det (A) Mkj is the minor of akj in A

The Determinant of a Square Matrix If B is formed from A by multiplying any row or column of A by a scalar , |B| = |A|. If A has a zero row or column, |A| = 0. If B is obtained from A by interchanging two rows or columns, |B| = -|A|. If two rows or columns of A are identical, |A| = 0. If one row (or column) is a constant multiple of another, |A| = 0. Suppose we obtained B from A by adding a constant multiple of one row (or column) to another row (or column). Then |B| = |A|. For any square matrix A, |A| = |At|. If A and B are n x n matrices, |AB| = |A||B|. If U = [uij] is upper triangular, |U| = u11u22…unn.

Matrix If AX = B, then the augmented matrix is: If A and B are n x n matrices, we call each other an inverse of the other if A square matrix is called nonsingular when it has an inverse and singular when it does not. [A B] AB = BA = In

Inverse Matrix How to find A-1 ? Method (1) Method (2) Why find A-1 ?

Cramer’s Rule If A is an n x n nonsingular matrix, the unique solution of the nonhomogeneous system AX = B is given by X =A-1 B solve A(k; B) is the n x n matrix obtained by replacing column k of A with B.

Solutions of linear algebraic equations AX = B X =A-1 B

Eigenvalues and Eigenvectors If A is an n x n matrix, a real or complex number  is called an eigenvalue of A if, for some nonzero n x 1 matrix X, Any nonzero n x 1 matrix X satisfying this equation for some number  is called an eigenvector of A associated with the eigenvalue . An n x n matrix has exactly n eigenvalues. Eigenvectors associated with distinct eigenvalues of a matrix are linearly independent.

Eigenvalues If A is an n x n matrix, then  is an eigenvalue of A if and only if | In-A | = 0. if  is an eigenvalue of A, any nontrivial solution of (In-A)X = 0 is an eigenvector of A associated with . How to find the eigenvalues of A? Solving the characteristic equation of A : (In-A)X = 0 The eigenvalues of a diagonal matrix are its main diagonal elements.

The nontrivial solution corresponding to  = 1 is: The eigenvalues are 1, 1, -1

Diagonal Matrix The eigenvalues of a diagonal matrix are its main diagonal elements. An n x n matrix is diagonalizable if there exist an n x n matrix P such that P-1AP is a diagonal matrix. The Matrix P is composed by the eigenvectors of A NOT every matrix is diagonalizable. If A does not have n linearly independent eigenvectors, A is not diagonalizable. Any n x n matrix with n distinct eigenvalues is diagonalizable.

The eigenvalues are 1, -1, -2 The associated eigenvectors are:

Matrix Solution of Systems of Differential Equations Best advantage: Solve many differential equations simutaneously! A fundamental matrix for the system X' = AX has columns consisted of the linearly independent solutions. If  is the fundamental matrix for X' = AX on the interval J, then the general solution of X' = AX is X = C, where C is an n x 1 matrix of arbitrary constants. Let  be any solution of X' = AX + G, then the general solution of X' = AX + G is  = C +  two independent solutions

Homogeneous Matrix If A is an n x n constant matrix, then et is a nontrivial solution of X' = AX if and only if  is an eigenvalue of A and  is a corresponding eigenvector. If  =  + i is an eigenvalue of A, with a corresponding eigenvector  = U + iV, then two linealy independent solutions of X' = AX are: and The eigenvalues are 1, 6 The associated eigenvectors are: X = C

The eigenvalues are 3, 4,-2 and 6 The associated eigenvectors are:

How to Solve X' = AX ? Method (1) Find eigenvalues of A and the corresponding eigenvectors X(1) = et Method (2) Diagonalizing A by a matrix P: Z=P-1X Z’= (P-1AP)Z X = PZ P: constant matrix

How to Solve X' = AX + G ? Diagonalizing A by a matrix P Z’= (P-1AP)Z + P-1G X = PZ How about matrix A which is not diagonalizable? (i.e. does not have n linearly independent eigenvectors) exponential matrix!

Exponential Matrix Define Procedure to find solutions of X' = AX : find eigenvalues of A (which is not diagonalizable) find C, let (A-I)k C = 0 and (A- I)k-1  0 A solusion is then eAtC = General solution for X' = AX + G: k=1 k=2