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.

Slides:



Advertisements
Similar presentations
CSNB143 – Discrete Structure
Advertisements

Chapter Matrices Matrix Arithmetic
Applied Informatics Štefan BEREŽNÝ
1.7 Diagonal, Triangular, and Symmetric Matrices.
Mathematics. Matrices and Determinants-1 Session.
MF-852 Financial Econometrics
Maths for Computer Graphics
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:
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
Matrix Operations. Matrix Notation Example Equality of Matrices.
Chapter 2 Matrices Definition of a matrix.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
Matrices MSU CSE 260.
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.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
A matrix having a single row is called a row matrix. e.g.,
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
MAT 2401 Linear Algebra 2.2 Properties of Matrix Operations
1 Operations with Matrice 2 Properties of Matrix Operations
1.7 Diagonal, Triangular, and Symmetric Matrices 1.
An m  n matrix is an rectangular array of elements with m rows and n columns: Matrices denotes the element in the ith row and jth column.
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.
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
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Company LOGO Chapter 1: Matrix, Determinant, System of linear equations Module 1: Matrix Natural Science Department Example 1: The following rectangular.
Matrices Matrices For grade 1, undergraduate students For grade 1, undergraduate students Made by Department of Math.,Anqing Teachers college.
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.
MAT 2401 Linear Algebra 2.1 Operations with Matrices
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
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.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
For real numbers a and b,we always have ab = ba, which is called the commutative law for multiplication. For matrices, however, AB and BA need not be equal.
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.
CSNB143 – Discrete Structure Topic 3 – Matrices. Learning Outcomes Students should understand all matrices operations. Students should be able to differentiate.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
Matrices and Determinants
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.
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,
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;
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. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
Introduction Types of Matrices Operations
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
= y1y1 y2y2 y3y y 1 = = 14 xxx Calculate y 1 : ROW 1 Matrix-Vector multiplication.
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
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.
Linear Algebra by Dr. Shorouk Ossama.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
1.4 Inverses; Rules of Matrix Arithmetic
Finding the Inverse of a Matrix
L6 matrix operations.
L5 matrix.
2. Matrix Algebra 2.1 Matrix Operations.
Matrices Introduction.
Determinant of a Matrix
Matrix Algebra.
Matrices and Determinants
Presentation transcript:

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

Matrix Equality Two matrices A = [aij] and B = [bij] are equal if they have the same order and aij = bij for every i and j. . For example, since both matrices are of order 2x2 and all corresponding entries are equal.

Matrix Addition Definition: The sum of two matrices is the matrix where each element is the sum of the corresponding elements of the two matrices. NOTE: Matrix addition is only defined when the matrices have the same dimension. Examples:

Matrix Substraction Definition: The substraction of two matrices is the matrix where each element is the difference of the corresponding elements of the two matrices. NOTE: Matrix substraction is only defined when the matrices have the same dimension. Example:

Matrix Addition Theorem 1: Let A, B, and C be matrices of the same size, then Commutative law of addition Associative law of addition

Scalar Multiplication Definition: Let a be a number and A=(aij)mxn be any matrix. Then This means that aA is the matrix by multiplying each entry of A by the same number a

Negative of a Matrix Definition: Let A=(aij) be a mxn matrix. The negative of the matrix A is the mxn matrix B=(bij) such that bij=-aij for all i,j. The negative of A is written as –A. For example,

Zero Matrix Definition: The mxn matrix in which every entry is 0 is called the mxn zero matrix and is denoted by 0mxn or simply 0. We note that A+(-A)=0, the zero matrix. We usualy write A+(-B) as A-B

Multiplication of Matrices The product of two matrices A and B is defined if A is mxn and B is nxp We first give the rule for multplication in special case when A is 1xn and B is nx1 Then their product AB is defined to be a 1x1 matrix,

Multiplication of Matrices Now we give the rule for multiplication of matrices in general. Definition: Let A=(aij)mxn and B=(bij)nxq. Then AB =(cij)mxp

Multiplication of Matrices     10 12 20 22 30 32 1 2 3 4 5 6    1*10+2*20+3*30 1*12+2*22+3*32 4*10+5*20+6*30 4*12+4*22+6*32 # of Columns of A must = # of Rows of B

Diagonal of a Matrix Definition: If A is an nxn matrix, then the line joining (1,1) entry, (2,2) entry,…,(n,n) entry is called the diagonal (or the main diagonal) of the matrix. Definition: Any nxn matrix D is called diagonal matrix if each entry not on the diagonal is 0. For example,

Identity Matrix Definition: An nxn matrix A=(aij), where aij=1 whenever i=j, and aij=0 whenever is called the identity matrix of order n. And it is denoted by Square matrix with ones on the diagonal and zeros elsewhere. It can be easily proved that if A is an mxn matrx, then

Properties of Matrix Multiplication

Transpose Definition: Given an mxn matrix A, the transpose of A is the nxm matrix, denoted by AT, whose columns are formed from the corresponding rows of A. In other words, the ith row of AT is the ith column of A for all i. Example: Let What is AT ?

Rules related to transpose:

Matrix Powers Recall that matrix multiplication is associative, i.e. if A, B and C have the proper dimensions, then A ( BC ) = ( AB ) C, so the parentheses are unnecessary and the product can be written as ABC. If A is an n x n matrix and p is a positive integer, can define Again, if A is an n x n matrix, adopt the convention

Triangular Matrices An n x n matrix A = [ aij ] is called upper triangular if aij = 0 for i > j An n x n matrix A = [ aij ] is called lower triangular if aij = 0 for i < j Note: A diagonal matrix is both upper and lower triangular The n x n zero matrix is both upper and lower triangular

Symmetry Defn - A matrix A is called symmetric if AT= A Defn - A matrix A is called skew-symmetric if AT= -A Comment - If A is skew-symmetric, then the diagonal elements of A are zero Comment - Any square matrix A can be written as the sum of a symmetric matrix and a skew-symmetric matrix