CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.

Slides:



Advertisements
Similar presentations
CSNB143 – Discrete Structure
Advertisements

Chapter Matrices Matrix Arithmetic
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
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.
MF-852 Financial Econometrics
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.
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.
3.8 Matrices.
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
1 Operations with Matrice 2 Properties of Matrix Operations
1.3 Matrices and Matrix Operations.
Compiled By Raj G. Tiwari
Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Linear Algebra & Calculus Review.
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Algebra. Quick Review Quick Review Solutions.
Chap. 2 Matrices 2.1 Operations with Matrices
CALCULUS – II Inverse Matrix by Dr. Eman Saad & Dr. Shorouk Ossama.
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.
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.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Chapter 4 – Matrix CSNB 143 Discrete Mathematical Structures.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
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.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
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
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.
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.
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.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
Chapter 4 Systems of Linear Equations; Matrices
CSNB 143 Discrete Mathematical Structures
Matrices and Matrix Operations
MATRICES.
Linear Algebra Lecture 2.
MATHEMATICS Matrix Algebra
MATHEMATICS Matrix Multiplication
2. Matrix Algebra 2.1 Matrix Operations.
CS100: Discrete structures
Matrices and Matrix Operations
Multiplication of Matrices
3.8 Matrices L Al-zaid Math1101.
Matrices - Operations MULTIPLICATION OF MATRICES
Matrices and Determinants
Presentation transcript:

CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama

References  Robert Wrede and Murrary R. Spiegel, Theory and Problems of Advanced Calculas, 2 nd Edition, 2002.

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.

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

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. 2x33x2 2x3 3x2 2x2

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

Multiplication Rule: 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 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 The entry in row 1 and column 4 of AB is computed as follows: (1 · 3) + (2 · 1) + (4 · 2) = 13

Exercise: 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: 1.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.

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

2.Symmetric Matrices: The square matrix is said to be symmetric if: -A = A T Since rows and columns are interchanged in the transpose, this is equivalent to a ij = a ji for elements if A = [a ij ]. Thus, Is a 3x3 symmetric matrix -A = - A T Is a skew- symmetric matrix

3.Row and Column Vectors: A row vector is a matrix one row, and a column vector is one column. The transpose of a row vector is a column vector and vice versa.

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

6.Power of Matrices: If A is a square matrix of order nxn, then we write AA as A 2, AA 2 as A 3 and so on. If A is diagonal, as in: A ⁿ = AA∙ ∙ ∙A ( n >0) n factors

Example:

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

Problem:

Thanks