MATHEMATICS Matrix Multiplication

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

CSNB143 – Discrete Structure
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Mathematics. Matrices and Determinants-1 Session.
MF-852 Financial Econometrics
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
CHAPTER 1 إعداد د. هيله العودان (وضعت باذن معدة العرض)
Matrices MSU CSE 260.
Matrices and Determinants
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.
1.7 Diagonal, Triangular, and Symmetric Matrices 1.
1.3 Matrices and Matrix Operations.
ECON 1150 Matrix Operations Special Matrices
Matrix Algebra. Quick Review Quick Review Solutions.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
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.
8.1 Matrices & Systems of Equations
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Mathematics.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Fundamentals of Engineering Analysis
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.
2 2.1 © 2012 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
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
CALCULUS – III Matrix Operation by Dr. Eman Saad & Dr. Shorouk Ossama.
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.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Matrices and Determinants
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.
Linear Algebra by Dr. Shorouk Ossama.
REVIEW Linear Combinations Given vectors and given scalars
Matrices Introduction.
MTH108 Business Math I Lecture 20.
7.1 Matrices, Vectors: Addition and Scalar Multiplication
Chapter 4 Systems of Linear Equations; Matrices
CSNB 143 Discrete Mathematical Structures
3.8 Matrices L Al-zaid Math1101.
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
Matrices and Matrix Operations
Properties and Applications of Matrices
MATRICES.
Linear Algebra Lecture 2.
Discrete Structures – CNS2300
MATHEMATICS Linear Equations
MATHEMATICS Matrix Algebra
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
L6 matrix operations.
Matrix Multiplication
Multiplication of Matrices
2. Matrix Algebra 2.1 Matrix Operations.
Section 2.4 Matrices.
CS100: Discrete structures
Matrices and Matrix Operations
Basics of Linear Algebra
Multiplication of Matrices
Linear Algebra Lecture 11.
Laboratory in Oceanography: Data and Methods
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
3.8 Matrices L Al-zaid Math1101.
Matrices - Operations MULTIPLICATION OF MATRICES
Matrices and Determinants
Presentation transcript:

MATHEMATICS Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama

Matrix Multiplication: We now need to define the concept of the product of two matrices. Not All Matrices Can Be Multiplied: they must have the right shape, or be conformable for multiplication to be defined. The product of A and B, in this order, is written as AB (no product sign is used), but it is only defined if the number of columns in A equals the number of rows in B. The product BA might not exist, and if it does, it will not in general be equal to AB.

The product AB is defined as the 1x1 matrix C given by: Let us look at the case where A is a 1x3 matrix, which is a row vector, and B is a 3x1 matrix, which is a column vector, given by: The product AB is defined as the 1x1 matrix C given by: Here, the single remaining element is the sum of the products of corresponding elements from the row in A and the column in B, Thus the product of a 1x3 matrix and a 3x1 matrix is a 1x1 matrix, This is known as a row-on-column operation. 1x3 3x1 1x1

The product AB is now a 2x2 matrix C given by: Suppose now that A is a 2x3 matrix and that B is a 3x2 matrix which are given by: The product AB is now a 2x2 matrix C given by: Note that each row in A 'operates' on each column in B giving four elements in the 2x2 matrix C. 2x3 3x2 2x3 3x2 2x2

Multiplication Rule: Example: AB is a 5x5 matrix BA is a 4x4 matrix The element in the ith row and jth column of the product consist of the row-on-column product of the ith row A and jth column in B. Example: If A is a 5x4 matrix, B is a 4x5 matrix and C is a 6x4 matrix, which is following products are defined: AB, BA, AC, CB, (AB)C, (CB)A? AB is a 5x5 matrix BA is a 4x4 matrix AC is not defined CB is a 6x5 matrix AB is a 5x5 matrix; (AB) C is not defined CB is a 6x5 matrix; (CB) A is a 6x4 matrix

Example: Find AB if: We have 2x3 3x2 2x2

Example 1: Consider the matrices Since A is a 2 × 3 matrix and B is a 3 × 4 matrix, the product AB is a 2 × 4 matrix. To determine, for example, the entry in row2 and column 3 of AB , we single out row 2 from A and column 3 from B.

(2 · 4) + (6 · 3) + (0 · 5) = 26 (1 · 3) + (2 · 1) + (4 · 2) = 13 2x4 (2 · 4) + (6 · 3) + (0 · 5) = 26 The entry in row 1 and column 4 of AB is computed as follows: (1 · 3) + (2 · 1) + (4 · 2) = 13

Exercise: A ( B + C ) = AB + AC (distributive law of addition) If: Find AB and BA Note: this example illustrates the point that AB be a zero matrix without either A or B or AB being Zero. A ( B + C ) = AB + AC (distributive law of addition) A (BC) = (AB) C (associative law of multiplication)

Special Matrices: Transpose Matrix: If A is any m × n matrix, then the transpose of A, denoted by A, is defined to be the n × m matrix that results from interchanging the rows and columns of A; that is, the first column of A is the first row of A, the second column of A is the second row of A, and so forth. Example: The following are some examples of matrices and their transposes.

1x3 1x1 3x2 1x1 2x3 3x1

( A + B)T = AT + BT Example: Find AT, BT, (A + BT) Tand AB where: And confirm that (AB)T = BT AT We see that: Note That: (AB)T = BT AT ( A + B)T = AT + BT 2x3 3x2 2x3 3x2

Diagonal Matrix: Identify Matrix: A square matrix all of whose elements off the leading diagonal Zero is called a diagonal matrix. Identify Matrix: The diagonal matrix with all diagonal elements 1 called the identify or unit matrix. (AI =A , IA = A).

Application For Multiplication: If Find the set of equations for x, y, z represented by A x = d The set of linear equations for x, y, z is: x – y + 2z = 2 3x + y – 4z = 1 -x + 2y + z = -1 3x1 3x3 3x1

Problem:

SUMMARY Pages From 35 To 36: Matrix Multiplication

Thanks