3.8 Matrices L Al-zaid Math1101.

Slides:



Advertisements
Similar presentations
CSNB143 – Discrete Structure
Advertisements

Chapter Matrices Matrix Arithmetic
Matrices & Systems of Linear Equations
“No one can be told what the matrix is…
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.
3.8 Matrices.
1 Operations with Matrice 2 Properties of Matrix Operations
1.3 Matrices and Matrix Operations.
ECON 1150 Matrix Operations Special Matrices
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,
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
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.
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.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
MATRICES Operations with Matrices Properties of Matrix Operations
Linear Algebra Chapter 2 Matrices.
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,
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
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.
CSE 504 Discrete Mathematics & Foundations of Computer Science
CSNB 143 Discrete Mathematical Structures
3.8 Matrices L Al-zaid Math1101.
Sections 2.4 and 2.5 Matrix Operations
4.5 Matrices.
Matrices and Matrix Operations
Properties and Applications of Matrices
nhaa/imk/sem /eqt101/rk12/32
MATRICES.
1.4 Inverses; Rules of Matrix Arithmetic
Discrete Structures – CNS2300
CHAPTER 2 MATRICES Determinant Inverse.
MATHEMATICS Matrix Algebra
4.6 Matrices.
MATHEMATICS Matrix Multiplication
What we’re learning today:
L6 matrix operations.
Chapter 2 Determinants by Cofactor Expansion
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
Sequences and Summations
7.3 Matrices.
2. Matrix Algebra 2.1 Matrix Operations.
Section 2.4 Matrices.
Matrices Introduction.
CS100: Discrete structures
Matrices and Matrix Operations
Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.
MATRICES Operations with Matrices Properties of Matrix Operations
Systems of Linear Equations and Matrices
Matrix Operations SpringSemester 2017.
Chapter 2 Determinants.
Presentation transcript:

3.8 Matrices L Al-zaid Math1101

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 L Al-zaid Math1101

Example 1 The matrix size is………………… L Al-zaid Math1101

A Column Matrix & Raw Matrix A matrix with only one column is called a column matrix. Example: It is a 3x1 column matrix A matrix with only one raw is called a raw matrix. It is a 1x3 column matrix L Al-zaid Math1101

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

Example: (a)11 = , (a)12 = (a)21 = , (a)22 = (a)31 = , (a)32 = L Al-zaid Math1101

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

Example: Consider the matrices Is A=B , B = C , A = C. L Al-zaid Math1101

Matrix Operations Addition and Subtraction. Scalar Multiples. Multiplying Matrices. L Al-zaid Math1101

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. L Al-zaid Math1101

EXAMPLE 2 Consider the matrices Find: A+B , A-B , A+C, B+C, A-C, and B-C L Al-zaid Math1101

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]. L Al-zaid Math1101

Example: For the matrices Find: 2A , - B , (1 ⁄3)C L Al-zaid Math1101

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. L Al-zaid Math1101

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. L Al-zaid Math1101

EXAMPLE 3 𝐴𝐵= 1×2 + 0×1 + 4×3 (1×4)+(0×1)+(4×0) (2×2)+(1×1) +(1×3) (2×4)+(1×1)+(1×0) (3×2) +(1×1) +(0×3) (0×2) +(2×1) +(2×3) (3×4)+(1×1)+(0×0) (0×4) +(2×1) +(2×0) 4×2 = 14 8 4 9 7 13 8 2 4×2 L Al-zaid Math1101

Coution! AB≠BA EXAMPLE 4 L Al-zaid Math1101

The Identity Matrices L Al-zaid Math1101

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: L Al-zaid Math1101

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. L Al-zaid Math1101

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. L Al-zaid Math1101

Example: The following are some examples of matrices and their transposes. L Al-zaid Math1101

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. L Al-zaid Math1101

Example: Find trace of the following matrix A= 𝟐 −𝟓 𝟓 𝟎 𝟑 −𝟏 𝟎 −𝟏 𝟏 Solution: tr(A)= 2+3+1=6. L Al-zaid Math1101

Inverse of 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, and B is called an inverse of A. L Al-zaid Math1101

Example: Let Then Thus, A and B are invertible and each is an inverse of the other. L Al-zaid Math1101

determinant of the matrix Definition the determinant is a value that can be computed from the elements of a square matrix. The determinant of a matrix A is denoted det(A) or |A|. In the case of a 2 × 2 matrix the determinant may be defined as: 𝐴 = 𝑎 𝑏 𝑐 𝑑 =𝑎𝑑−𝑏𝑐 L Al-zaid Math1101

Example : 𝐹𝑖𝑛𝑑 𝑡ℎ𝑒 det 𝐴 𝑜𝑓 𝑚𝑎𝑡𝑟𝑖𝑥 2 4 1 3 ? أ. زينب آل كاظم

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 𝐴 −1 = 1 𝐴 . 𝑑 −𝑏 −𝑐 𝑎 or 𝐴 −1 = 1 𝑎𝑑−𝑏𝑐 . 𝑑 −𝑏 −𝑐 𝑎 L Al-zaid Math1101

The determination of A is det(A)= Example: In each part, determine whether the matrix is invertible. If so, find its inverse. Solution: The determination of A is det(A)= (b) det(A)= L Al-zaid Math1101

Homework Page 183/184 1(a,b,c,d,e) 2(a) 3(a,b) 10 20(a) L Al-zaid Math1101