Inverting Matrices Determinants and Matrix Multiplication.

Slides:



Advertisements
Similar presentations
Determinant The numerical value of a square array of numbers that can be used to solve systems of equations with matrices. Second-Order Determinant (of.
Advertisements

Section 13-4: Matrix Multiplication
Identity and Inverse Matrices
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Linear Algebra.
Pam Perlich Urban Planning 5/6020
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
Finding the Inverse of a Matrix
Intro to Matrices Don’t be scared….
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
Table of Contents Matrices - Inverse Matrix Definition The inverse of matrix A is a matrix A -1 such that... and Note that... 1) For A to have an inverse,
Using Matrices to Solve a System of Equations. Multiplicative Identity Matrix The product of a square matrix A and its identity matrix I, on the left.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Some matrix stuff.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
Ch X 2 Matrices, Determinants, and Inverses.
Unit 6 : Matrices.
2.5 Determinants and Multiplicative Inverses of Matrices Objectives: Evaluate determinants. Find inverses of matrices. Solve systems of equations by using.
8.3 Another Way of Solving a System of Equations Objectives: 1.) Learn to find the inverse matrix 2.) Use the inverse matrix to a system of equations.
4.7 Identity and Inverse Matrices and Solving Systems of Equations Objectives: 1.Determine whether two matrices are inverses. 2.Find the inverse of a 2x2.
Unit 3: Matrices.
 1 is the multiplicative identify for real #’s : 1· a=a and a· 1 = a  For matrices n X n, the identity matrix has 1’s on its main diagonals and 0’s.
Inverse and Identity Matrices Can only be used for square matrices. (2x2, 3x3, etc.)
Multivariate Statistics Matrix Algebra I W. M. van der Veld University of Amsterdam.
Inverse of a Matrix Multiplicative Inverse of a Matrix For a square matrix A, the inverse is written A -1. When A is multiplied by A -1 the result is the.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
MT411 Robotic Engineering Asian Institution of Technology (AIT) Chapter 1 Introduction to Matrix Narong Aphiratsakun, D.Eng.
MATRICES Operations with Matrices Properties of Matrix Operations
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.
2.5 – Determinants and Multiplicative Inverses of Matrices.
Use Inverse Matrices to Solve Linear Systems Objectives 1.To find the inverse of a square matrix 2.To solve a matrix equation using inverses 3.To solve.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
3.5 Perform Basic Matrix Operations Add Matrices Subtract Matrices Solve Matric equations for x and y.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Matrix Algebra Basics Chapter 3 Section 5. Algebra.
Designed by Victor Help you improve MATRICES Let Maths take you Further… Know how to write a Matrix, Know what is Order of Matrices,
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Section 6-2: Matrix Multiplication, Inverses and Determinants There are three basic matrix operations. 1.Matrix Addition 2.Scalar Multiplication 3.Matrix.
College Algebra Chapter 6 Matrices and Determinants and Applications
12-4: Matrix Methods for Square Systems
Introduction to Vectors and Matrices
12-1 Organizing Data Using Matrices
Finding the Inverse of a Matrix
Matrix Operations.
Matrix Operations.
Matrix Operations Add and Subtract Matrices Multiply Matrices
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Warm-up a. Solve for k: 13 −5
MATRICES MATRIX OPERATIONS.
Solving Linear Systems Using Inverse Matrices
MATRICES MATRIX OPERATIONS.
Appendix D: SAS PROC IML
Unit 3: Matrices
MATRICES Operations with Matrices Properties of Matrix Operations
Domain range A A-1 MATRIX INVERSE.
Matrix Algebra.
Introduction to Vectors and Matrices
1.8 Matrices.
MATRICES MATRIX OPERATIONS.
MATRICES MATRIX OPERATIONS.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Matrices - Operations INVERSE OF A MATRIX
L4-5/L4-6 Objective: Students will be able to evaluate determinants of matrices.
Presentation transcript:

Inverting Matrices Determinants and Matrix Multiplication

Determinants Square matrices have determinants, which are useful in other matrix operations, especially inversion. For a second-order square matrix, A, the determinant is

Consider the following bivariate raw data matrix Subject #12345 X Y13245 from which the following XY variance-covariance matrix is obtained: XY X Y 2.5

Think of the variance-covariance matrix as containing information about the two variables – the more variable X and Y are, the more information you have. Any redundancy between X and Y reduces the total amount of information you have -- to the extent that you have covariance between X and Y, you have less total information.

Generalized Variance The determinant tells you how much information the matrix has about the variance in the variables – the generalized variance, after removing redundancy among variables. We took the product of the variances and then subtracted the product of the covariances (redundancy).

Imagine a Rectangle Its width represents information on X Its height represents information on Y X is perpendicular to Y (orthogonal), thus r XY = 0. The area of the rectangle represents the total information on X and Y. With covariance = 0, the determinant = the product of the two variances minus 0.

Imagine a Parallelogram Allowing X and Y to be correlated with one another moves the angle between height and width away from 90 degrees. As the angle moves further and further away from 90 degrees, the area of the parallelogram is also reduced. Eventually to zero (when X and Y are perfectly correlated). See the Generalized Variance video clip in BlackBoard.

Consider This Data Matrix Subject #12345 X Y12345 XY X25025 Y 2.5 Variance-Covariance Matrix Since X and Y are perfectly correlated, the generalized variance is nil.

Identity Matrix An identity matrix has 1’s on its main diagonal, 0’s elsewhere.

Inversion The inverted matrix is that which when multiplied by A yields the identity matrix. That is, AA  1 = A  1 A = I. With scalars, multiplication by the inverse yields the scalar identity. Multiplication by an inverse is like division with scalars.

Inverting a 2x2 Matrix For our original variance/covariance matrix:

Multiplying a Scalar by a Matrix Simply multiply each matrix element by the scalar (1/ in this case). The resulting inverse matrix is:

A  A  1 = A  1  A = I

The Determinant of a Third-Order Square Matrix

Matrix Multiplication for a 3 x 3

SAS Will Do It For You Proc IML; reset print; display each matrix when created XY ={ enter the matrix XY , comma at end of row }; matrix within { } determinant = det(XY); find determinant inverse = inv(XY); find inverse identity = XY*inverse; multiply by inverse quit;

XY 2 rows 2 cols DETERMINANT 1 row 1 col INVERSE 2 rows 2 cols IDENTITY 2 rows 2 cols E E-17 1