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.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Matrix Definition: An array of numbers in m rows and n colums is called an mxn matrix A square matrix of order n, is an (nxn) matrix.
Mathematics. Matrices and Determinants-1 Session.
Economics 2301 Matrices Lecture 12. Inner Product Let a' be a row vector and b a column vector, both being n-tuples, that is vectors having n elements:
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.
Matrices MSU CSE 260.
Matrices and Determinants
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. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
MATRICES MATRIX OPERATIONS. About Matrices  A matrix is a rectangular arrangement of numbers in rows and columns. Rows run horizontally and columns run.
3.8 Matrices.
1 Operations with Matrice 2 Properties of Matrix Operations
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Compiled By Raj G. Tiwari
Basic Operations MultiplicationDeterminants Cramer’s RuleIdentityInverses Solving Systems of equations APPENDIX.
 Row and Reduced Row Echelon  Elementary Matrices.
Chapter 2 Determinants. The Determinant Function –The 2  2 matrix is invertible if ad-bc  0. The expression ad- bc occurs so frequently that it has.
Systems of Linear Equation and Matrices
Matrices & Determinants Chapter: 1 Matrices & Determinants.
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,
8.1 Matrices & Systems of Equations
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.
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.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Notes 7.2 – Matrices I. Matrices A.) Def. – A rectangular array of numbers. An m x n matrix is a matrix consisting of m rows and n columns. The element.
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.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
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 Operations with Matrices Properties of Matrix Operations
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.
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.
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;
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.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
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.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
7.1 Matrices, Vectors: Addition and Scalar Multiplication
3.8 Matrices L Al-zaid Math1101.
Sections 2.4 and 2.5 Matrix Operations
Matrices and Matrix Operations
7.7 Determinants. Cramer’s Rule
1.4 Inverses; Rules of Matrix Arithmetic
L6 matrix operations.
DETERMINANTS A determinant is a number associated to a square matrix. Determinants are possible only for square matrices.
Chapter 2 Determinants by Cofactor Expansion
Matrix Operations SpringSemester 2017.
MATRICES MATRIX OPERATIONS.
2. Matrix Algebra 2.1 Matrix Operations.
MATRICES MATRIX OPERATIONS.
Section 2.4 Matrices.
Matrices Introduction.
MATRICES Operations with Matrices Properties of Matrix Operations
MATRICES MATRIX OPERATIONS.
MATRICES MATRIX OPERATIONS.
Matrix Operations Ms. Olifer.
Matrix Operations SpringSemester 2017.
3.8 Matrices L Al-zaid Math1101.
Matrices and Determinants
Presentation transcript:

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 Second row Third row Second column Third column Fourth column Row number Column number

What is a vector? A vector is an array of ‘n’ numbers A row vector of length ‘n’ is a 1xn matrix A column vector of length ‘m’ is a mx1 matrix

Special matrices Zero matrix: A matrix all of whose entries are zero Identity matrix: A square matrix which has ‘1’ s on the diagonal and zeros everywhere else.

Matrix operations Equality of matrices If A and B are two matrices of the same size, then they are “equal” if each and every entry of one matrix equals the corresponding entry of the other.

Matrix operations Addition of two matrices If A and B are two matrices of the same size, then the sum of the matrices is a matrix C=A+B whose entries are the sums of the corresponding entries of A and B

Properties of matrix addition: 1.Matrix addition is commutative (order of addition does not matter) 2.Matrix addition is associative 3.Addition of the zero matrix Matrix operations Addition of of matrices Properties

Matrix operations Multiplication by a scalar If A is a matrix and c is a scalar, then the product cA is a matrix whose entries are obtained by multiplying each of the entries of A by c

Matrix operations Multiplication by a scalar If A is a matrix and c =-1 is a scalar, then the product (-1)A =-A is a matrix whose entries are obtained by multiplying each of the entries of A by -1 Special case

Matrix operations Subtraction If A and B are two square matrices of the same size, then A-B is defined as the sum A+(-1)B

Special operations Transpose If A is a mxn matrix, then the transpose of A is the nxm matrix whose first column is the first row of A, whose second column is the second column of A and so on.

Special operations Transpose If A is a square matrix (mxm), it is called symmetric if

Matrix operations Scalar (dot) product of two vectors If a and b are two vectors of the same size The scalar (dot) product of a and b is a scalar obtained by adding the products of corresponding entries of the two vectors

Matrix operations Matrix multiplication For a product to be defined, the number of columns of A must be equal to the number of rows of B. A B = AB m x r r x n m x n inside outside

If A is a mxr matrix and B is a rxn matrix, then the product C=AB is a mxn matrix whose entries are obtained as follows. The entry corresponding to row ‘i’ and column ‘j’ of C is the dot product of the vectors formed by the row ‘i’ of A and column ‘j’ of B Matrix operations Matrix multiplication

Properties of matrix multiplication: 1.Matrix multiplication is noncommutative (order of addition does matter)  It may be that the product AB exists but BA does not (e.g. in the previous example C=AB is a 3x2 matrix, but BA does not exist)  Even if the product exists, the products AB and BA are not generally the same Matrix operations Multiplication of matrices Properties

2. Matrix multiplication is associative 3. Distributive law 4. Multiplication by identity matrix 5. Multiplication by zero matrix 6. Matrix operations Multiplication of matrices Properties

1.If A, B and C are square matrices of the same size, and then does not necessarily mean that 2. does not necessarily imply that either A or B is zero Matrix operations Miscellaneous properties

Inverse of a matrix Definition If A is any square matrix and B is another square matrix satisfying the conditions Then (a)The matrix A is called invertible, and (b) the matrix B is the inverse of A and is denoted as A -1. The inverse of a matrix is unique

Inverse of a matrix Uniqueness The inverse of a matrix is unique Assume that B and C both are inverses of A Hence a matrix cannot have two or more inverses.

Inverse of a matrix Some properties Property 1: If A is any invertible square matrix the inverse of its inverse is the matrix A itself Property 2: If A is any invertible square matrix and k is any scalar then

Inverse of a matrix Properties Property 3: If A and B are invertible square matrices then

The determinant of a square matrix is a number obtained in a specific manner from the matrix. For a 1x1 matrix: For a 2x2 matrix: What is a determinant? Product along red arrow minus product along blue arrow

Example 1 Consider the matrix Notice (1) A matrix is an array of numbers (2) A matrix is enclosed by square brackets Notice (1) The determinant of a matrix is a number (2) The symbol for the determinant of a matrix is a pair of parallel lines Computation of larger matrices is more difficult

For ONLY a 3x3 matrix write down the first two columns after the third column Duplicate column method for 3x3 matrix Sum of products along red arrow minus sum of products along blue arrow This technique works only for 3x3 matrices

Example Sum of red terms = = 35 Sum of blue terms = 0 – = 0 Determinant of matrix A= det(A) = 35 – 0 = 35

Finding determinant using inspection Special case. If two rows or two columns are proportional (i.e. multiples of each other), then the determinant of the matrix is zero because rows 1 and 3 are proportional to each other If the determinant of a matrix is zero, it is called a singular matrix

If A is a square matrix Cofactor method The minor, M ij, of entry a ij is the determinant of the submatrix that remains after the i th row and j th column are deleted from A. The cofactor of entry a ij is C ij =(-1) (i+j) M ij What is a cofactor?

Sign of cofactor What is a cofactor? Find the minor and cofactor of a 33 Minor Cofactor

Cofactor method of obtaining the determinant of a matrix The determinant of a n x n matrix A can be computed by multiplying ALL the entries in ANY row (or column) by their cofactors and adding the resulting products. That is, for each and Cofactor expansion along the i th row Cofactor expansion along the j th column

Example: evaluate det(A) for: A= det(A)=(1) (0) (-3) = (1)(35)-0+(2)(62)-(-3)(13)=198 det(A) = a 11 C 11 +a 12 C 12 + a 13 C 13 +a 14 C 14

By a cofactor along the third column Example : evaluate det(A)=a 13 C 13 +a 23 C 23 +a 33 C 33 det(A)= = det(A)= -3(-1-0)+2(-1) 5 (-1-15)+2(0-5)=25 det(A)= * (-1) *(-1) *(-1) 6

Quadratic form The scalar Is known as a quadratic form If U>0: Matrix k is known as positive definite If U≥0: Matrix k is known as positive semidefinite

Quadratic form Let Then Symmetric matrix

Differentiation of quadratic form Differentiate U wrt d 2 Differentiate U wrt d 1

Hence Differentiation of quadratic form