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.

Slides:



Advertisements
Similar presentations
CSNB143 – Discrete Structure
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
MF-852 Financial Econometrics
Matrices and Systems of Equations
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.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Matrices MSU CSE 260.
Intro to Matrices Don’t be scared….
Applications of matrices and determinants
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
3.8 Matrices.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
1 資訊科學數學 14 : Determinants & Inverses 陳光琦助理教授 (Kuang-Chi Chen)
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Inversion.
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,
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.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Unit 3: Matrices.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
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.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
CSNB143 – Discrete Structure Topic 3 – Matrices. Learning Outcomes Students should understand all matrices operations. Students should be able to differentiate.
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
Matrices and Determinants
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
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.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
STROUD Worked examples and exercises are in the text PROGRAMME 5 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;
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices, Vectors, Determinants.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Section 6-2: Matrix Multiplication, Inverses and Determinants There are three basic matrix operations. 1.Matrix Addition 2.Scalar Multiplication 3.Matrix.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
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.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
College Algebra Chapter 6 Matrices and Determinants and Applications
Matrices and Matrix Operations
Linear Algebraic Equations and Matrices
12-1 Organizing Data Using Matrices
Lecture 2 Matrices Lat Time - Course Overview
1.5 Matricies.
Linear Algebraic Equations and Matrices
Matrix Operations SpringSemester 2017.
Computer Graphics Matrix
Section 7.4 Matrix Algebra.
Matrix Algebra.
7.3 Matrices.
Matrices and Matrix Operations
Determinant of a Matrix
MATRICES Operations with Matrices Properties of Matrix Operations
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Presentation transcript:

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. The matrix A has size m×n. The element in the row i and column j of the matrix A is written as a ij. 3 7

Matrix Notation a horizontal set of elements is called a row a vertical set is called a column first subscript refers to the row number second subscript refers to column number

Matrix Notation row 2 column 3 This matrix has m rows and n columns It has the dimensions m by n (m × n)

Types of Matrices Main diagonal

Matrix Addition

Matrix Scalar Multiplication

Matrix Multiplication

Two matrices A and B can be multiplied only if the number of columns of A equals the number of rows of B. The element in the i th row and j th column of the product matrix AB is obtained by adding up the product of corresponding elements of the i th row of A and j th column of B.

Matrix Multiplication

Transpose of a Matrix

Symmetric and Skew Symmetric Matrices

 An n×n matrix A is said to be invertible (or has inverse) if there exists an n×n matrix B such that AB = BA = I n. The matrix B, denoted by A -1, is called the inverse of A. If there is no such matrix B, then A is called singular, otherwise A is called nonsingular.  Note: The inverse of a matrix is unique. If A and B are nonsingular matrices, then o A -1 is nonsingular and (A -1 ) -1 = A. o A T is nonsingular and (A T ) -1 = (A -1 ) T. o AB is nonsingular and (AB) -1 = B -1 A -1. o A is nonsingular and (A n ) -1 = (A -1 ) n. Inverse of a Matrix

 To compute the inverse of an n×n matrix A : Form the n×2n matrix [A | I n ]. Transform this matrix to the reduced row echelon form. There are two possibilities: o Obtaining [I n | A -1 ], the job has been done. o Obtaining [C ≠ I n | ??], C has a zero row, A is singular. Inverse of a Matrix

 If AX = B is a linear system of n equations in n unknowns and if A is nonsingular (A is row equivalent to I n ), then the linear system has a unique solution obtained by X = A -1 B.  If A is an n×n singular matrix, then the linear system AX = O has a nontrivial solution (infinitely many solutions). If A is nonsingular, then the homogeneous AX = O has only the trivial solution X = O. Matrix Equations

Check that this is the inverse of A

Matrix Equations