Compiled By Raj G. Tiwari

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.
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
3_3 An Useful Overview of Matrix Algebra
MF-852 Financial Econometrics
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.
化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices
Matrices and Determinants
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
1 Operations with Matrice 2 Properties of Matrix Operations
Linear Algebra With Applications by Otto Bretscher. Page The Determinant of any diagonal nxn matrix is the product of its diagonal entries. True.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
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.
ECON 1150 Matrix Operations Special Matrices
Patrick Nichols Thursday, September 18, Linear Algebra Review.
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Algebra. Quick Review Quick Review Solutions.
Chap. 2 Matrices 2.1 Operations with Matrices
1 Chapter 6 – Determinant Outline 6.1 Introduction to Determinants 6.2 Properties of the Determinant 6.3 Geometrical Interpretations of the Determinant;
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
8.1 Matrices & Systems of Equations
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Unit 6 : Matrices.
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.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: 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.
Matrices Matrices A matrix (say MAY-trix) is a rectan- gular array of objects (usually numbers). An m  n (“m by n”) matrix has exactly m horizontal.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
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.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
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.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
2.5 – Determinants and Multiplicative Inverses of Matrices.
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.
Linear Algebra Review Tuesday, September 7, 2010.
Unsupervised Learning II Feature Extraction
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;
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
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.
Slide INTRODUCTION TO DETERMINANTS Determinants 3.1.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
2. Matrix Methods
MAT 322: LINEAR ALGEBRA.
Matrices and Vector Concepts
nhaa/imk/sem /eqt101/rk12/32
MATRICES.
Matrix Algebra.
MATRICES MATRIX OPERATIONS.
CSE 541 – Numerical Methods
Matrix Algebra.
Presentation transcript:

Compiled By Raj G. Tiwari Linear Algebra Compiled By Raj G. Tiwari

Vector Operations Vector: n×1 matrix Interpretation: a point or line in n-dimensional space Dot Product, Cross Product, and Magnitude defined on vectors only y v x

Vectors: Dot Product Think of the dot product as a matrix multiplication The magnitude is the dot product of a vector with itself

Vectors: Cross Product The cross-product can be computed as a specially constructed determinant A×B A B

What is a Matrix? A matrix is a set of elements, organized into rows and columns rows columns

Basic Operations Transpose: Swap rows with columns

Just subtract elements Multiply each row by each column Basic Operations Addition, Subtraction, Multiplication Just add elements Just subtract elements Multiply each row by each column

Multiplication Is AB = BA? Maybe, but maybe not! Heads up: multiplication is NOT commutative! Exceptions AB=BA iff B = a scalar, B = identity matrix I, or B = the inverse of A, i.e., A-1

Matrix multiplication Stephen Cooke, University of Idaho Matrix multiplication Multiplication of matrices require conformability condition The conformability condition for multiplication is that the column dimensions of the lead matrix A must be equal to the row dimension of the lag matrix B. An m×n can be multiplied by an n×p matrix to yield an m×p result

Symmetric matrix A symmetric matrix is a square matrix that is equal to its transpose A=At The entries of a symmetric matrix are symmetric with respect to the main diagonal (top left to bottom right). So if the entries are written as A = (aij), then aij=aji For Example

Skew-symmetric matrix A skew-symmetric (or antisymmetric or antimetric) matrix is a square matrix A whose transpose is also its negative; that is, it satisfies the equation A = −AT. If the entry in the i th row and j th column is aij, i.e. A = (aij) then the symmetric condition becomes aij = −aji. For example, the following matrix is skew-symmetric:

Identity and Null Matrices Stephen Cooke, University of Idaho Identity and Null Matrices Identity Matrix is a square matrix and also it is a diagonal matrix with 1 along the diagonals similar to scalar “1” Null matrix is one in which all elements are zero

Determinant of a Matrix Used for inversion If det(A) = 0, then A has no inverse Can be found using factorials, pivots, and cofactors! 6.837 Linear Algebra Review

Determinant of a Matrix If M is our d × d matrix, we define Mi|j to be the (d − 1) × (d − 1) matrix obtained by deleting the ith row and the jth column of M:

Determinant of a Matrix For Matrix A For a 3×3 matrix: Sum from left to right Subtract from right to left Note: In the general case, the determinant has n! terms

example Let's expand our matrix along the first row. From the sign chart, we see that 1 is in a positive position, 3 is in a negative position and 2 is in a positive position. By putting the + or - in front of the element, it takes care of the sign adjustment when going from the minor to the cofactor. 1 ( 2 - 15 ) - 3 ( 8 - 6 ) + 2 ( 20 - 2 ) = 1 ( -13 ) - 3 ( 2 ) + 2 (18) = -13 - 6 + 36 = 17

Cofactor Det(A)= The term Mij is known as the ”minor matrix” and is the matrix you get if you eliminate row i and column j from matrix A.

Matrix of minor, Cofactor & Adjoint Minor matrix calculation Minor matrix Cofactor matrix Adjoint matrix Adjoint can be found by transposing the matrix of cofactors

Inverse of a Matrix Identity matrix: AI = A Some matrices have an inverse, such that: AA-1 = I Inversion is tricky: (ABC)-1 = C-1B-1A-1 Derived from non- commutativity property 6.837 Linear Algebra Review

Example Let A be a non-singular matrix. If there exists a square matrix B such that AB = I (identity matrix) then B is called inverse of matrix A and is denoted as A-1.  i.e AA-1 = I  Example: Matrix A Matrix B = Identity(I) 1 3 1 x 2 9 -5 = 1 0 0 1 1 2 0 -2 1 0 1 0 2 3 4 -1 -3 2 0 0 1

Stephen Cooke, University of Idaho Matrix inversion It is not possible to divide one matrix by another. That is, we can not write A/B. This is because for two matrices A and B, the quotient can be written as AB-1

Requirements to have an Inverse The matrix must be square (same number of rows and columns). The determinant of the matrix must not be zero (determinants are covered in section 6.4). This is instead of the real number not being zero to have an inverse, the determinant must not be zero to have an inverse. A square matrix that has an inverse is called invertible or non-singular. A matrix that does not have an inverse is called singular. A matrix does not have to have an inverse, but if it does, the inverse is unique.

Trace The trace of a d × d (square) matrix, denoted tr[M], is the sum of its diagonal elements:

Inverse of previous example

Eigenvalues and Eigenvectors Let A be a square matrix. A non-zero vector X is called an eigenvector of A if and only if there exists a number (real or complex)  such that AX= λ X If such a number  exists, it is called an eigenvalue of A. The vector C is called eigenvector associated to the eigenvalue . 

Eigenvalues and Eigenvectors Remark. The eigenvector C must be non-zero since we have  for any number  .  Rewriting (A- λI)X=0

Computation of Eigenvalues In linear algebra, the characteristic equation (or secular equation) of a square matrix A is the equation in one variable λ where det is the determinant and I is the identity matrix. The solutions of the characteristic equation are precisely the eigenvalues of the matrix A

Example

Computation of Eigenvector Set corresponding to an eigenvalue λ, we simply solve the system of linear equations given by (A- λI)X=0

Example Applying characteristic equation If we develop this determinant using the third column, we obtain Using easy algebraic manipulations, we get  which implies that the eigenvalues of A are 0, -4, and 3. 

Case  Rewritten as By Solving where c is an arbitrary number

THE DERIVATIVES OF VECTOR FUNCTIONS Let x and y be vectors of orders n and m respectively: where each component yi may be a function of all the xj , a fact represented by saying that y is a function of x, or y = y(x).

Derivative of a Scalar with Respect to Vector Derivative of Vector with Respect to Scalar

Jacobian matrix If we have an m-dimensional vector-valued function of a n-dimensional vector x, we calculate the derivatives and represent them as the Jacobian Jacobian matrix This matrix is also denoted by   and  . The Jacobian determinant (often simply called the Jacobian) is the determinant of the Jacobian matrix.

Example