3.8 Matrices.

Slides:



Advertisements
Similar presentations
CSNB143 – Discrete Structure
Advertisements

Chapter Matrices Matrix Arithmetic
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
3_3 An Useful Overview of Matrix Algebra
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.
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
“No one can be told what the matrix is…
Matrices MSU CSE 260.
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.
1 Operations with Matrice 2 Properties of Matrix Operations
1.3 Matrices and Matrix Operations.
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Inversion.
Chap. 2 Matrices 2.1 Operations with Matrices
1.4 Inverses; Rules of Matrix Arithmetic. Properties of Matrix Operations For real numbers a and b,we always have ab=ba, which is called the commutative.
Matrix Entry or element Rows, columns Dimensions Matrix Addition/Subtraction Scalar Multiplication.
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.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
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
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
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 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.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
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.
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.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Matrices: Basic Operations and Their Properties
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
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.
Introduction to Financial Modeling MGT 4850 Spring 2008 University of Lethbridge.
Section 2.4. Section Summary  Sequences. o Examples: Geometric Progression, Arithmetic Progression  Recurrence Relations o Example: Fibonacci Sequence.
Matrices Presentation by : Miss Matkar Pallavi. P.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
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.
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.
3.8 Matrices L Al-zaid Math1101.
Matrices and Matrix Operations
Properties and Applications of Matrices
MATRICES.
Linear Algebra Lecture 2.
1.4 Inverses; Rules of Matrix Arithmetic
Rules of Matrix Arithmetic
MATHEMATICS Matrix Multiplication
L6 matrix operations.
Section 7.4 Matrix Algebra.
2. Matrix Algebra 2.1 Matrix Operations.
Section 2.4 Matrices.
CS100: Discrete structures
Matrices and Matrix Operations
MATRICES Operations with Matrices Properties of Matrix Operations
3.8 Matrices L Al-zaid Math1101.
Presentation transcript:

3.8 Matrices

Matrix DEFINITION 1 A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an m x n matrix. The size of an mxn matrix is mxn The plural of matrix is matrices. A square matrix is a matrix with the same number of rows and columns

Example 1 The matrix is a 3 x 2 matrix.

A Column Matrix & Raw Matrix A matrix with only one column is called a column vector or a column matrix. Example: It is a 3x1 column matrix A matrix with only one raw is called a raw vector or a raw matrix. It is a 1x3 column matrix

Main Diagonal The shaded entries (a)11 , (a)22 , …., (a)nn are said to be on the main diagonal of A.

Example: (a)11 = 1, (a)12 = 1 (a)21 = 0, (a)22 = 2 (a)31 = 1, (a)32 = 3

Equality of Tow Matrices Definition Two matrices are defined to be equal if They have the same size and Their corresponding entries are equal.

Example: Consider the matrices If x= 5, then A=B, but for all other values of x the matrices A and B are not equal, since not all of their corresponding entries are equal. There is no value of x for which A=C since A and C have different sizes.

Matrix Arithmetic

Matrix Operations Addition and Subtraction. Scalar Multiples. Multiplying Matrices.

Addition and Subtraction of matrices DEFINITION 3 If A and B are matrices of the same size, then the sum A+B is the matrix obtained by adding the entries of B to the corresponding entries of A, and The difference A-B is the matrix obtained by subtracting the entries of B from the corresponding entries of A. Matrices of different sizes cannot be added or subtracted.

EXAMPLE 2 Consider the matrices Then and The expressions A+C, B+C, A-C, and B-C are undefined.

Scalar Multiples. DEFINITION 3 If A is any matrix and c is any scalar, then the product cA is the matrix obtained by multiplying each entry of the matrix A by c. The matrix cA is said to be a scalar multiple ofA. In matrix notation, If A =[aij], then cA =c[aij], = [caij].

Example: For the matrices We have

Multiplying Matrices. DEFINITION 4 Let A be an m x k matrix and B be a k x n matrix. The product of A and B, denoted by AB, is the m x n matrix with its (i,j)th entry equal to the sum of the products of the corresponding elements from the ith row of A and the jth column of B. In other words, if AB = [cij] then cij = a1j b1j + ai2b2i + . . . + aikbki.

Determining Whether a product Is Defined Suppose that A, B, and C are matrices with the following sizes: A B C 3x4 4x7 7x3 Then AB is defined and is a 3x7 matrix; BC is defined and is a 4x3 matrix; CA is defined and is a 7x4 matrix. The products AC, CB, and BA are all undefined.

EXAMPLE 3

Coution! AB≠BA EXAMPLE 4

AB≠BA

AB≠BA Remark AB may be defined but BA may not. (e.g. if A is 2x3 and B is 3x4) AB and BA may both defined, but they may have different sizes.(e.g. if A is 2x3 and B is 3x2) AB and BA may both defined and have the same sizes, but the two matrices may be different. (see the previous example).

The Identity Matrices

The Zero Matrices Definition A matrix whose entries are all zero is called a zero matrix. We will denote a zero matrix by 0 unless it is important to specify its size, in which case we will denote the mxn zero matrix by 0mxn . Examples:

Remark If A and 0 are matrices of the same sizes, then A+0= 0+A= A & A-0 = 0-A = A If A and 0 are matrices of a different sizes, then A+0 , 0+A, A-0 & 0-A are not defined.

Transpose of Matrix DEFINITION 6 If A is any mxn matrix, then the transpose of A, denoted by AT , is defined to be the nxm matrix that results by interchanging rows and columns of matrix A; that is; the first column of AT is the first row of A, and the second column of AT is the column row of A, and so forth.

Example: The following are some examples of matrices and their transposes.

The Trace of a Matrix Definition If A is a square matrix, then the trace of A, denoted by tr(A), is defined to be the sum of the entries on the main diagonal of A. The trace of A is undefined if A is not a square matrix.

Example: The following are example of matrices and their traces:

Singular, nonsingular, and Inverse Matrices Definition If A is a square matrix, and if a matrix B of the same size can be found such that AB=BA=I, then A is said to be invertible or nonsingular, and B is called an inverse of A. If no such matrix B can be found, then A is said to be singular.

Example: Let Then Thus, A and B are invertible and each is an inverse of the other.

Calculating the Inverse of a 2x2 Matrix Theorem The matrix is invertible if and only if ad-bc≠0, in which case the inverse is giving by the formula

Example: In each part, determine whether the matrix is invertible. If so, find its inverse. Solution: The determination of A is det(A)=(6)(2)-(1)(5)=7≠0. Then A is invertible, and its inverse is (b) det(A)=(-1)(-6)-(2)(3)=0 Then A is not invertible.

Homework Page 254 1(a,b,c,d,e) 2(a,b,c,d) 3(a,b,c) 20(a) Page 35 1(a,b,c,d,e,f,g,h) 2(a,b,c,d,e,f,g,h) 3(a,b,c,d,e,h,i,j,k) 17 Page 49 1(a,d) 3(c) 4 5 12 14 18 (c).