Fundamentals of Engineering Analysis

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
© 2005 Baylor University Slide 1 Fundamentals of Engineering Analysis EGR 1302 Unit 1, Lecture B Approximate Running Time - 24 minutes Distance Learning.
Mathematics. Matrices and Determinants-1 Session.
3_3 An Useful Overview of Matrix Algebra
MF-852 Financial Econometrics
Maths for Computer Graphics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
12.2 Multiplication of Matrices. Matrix Multiplication The product of two matrices, A m×p and B p×n, is the matrix AB with dimensions m × n. Any element.
Finding the Inverse of a Matrix
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Algebraic Properties: The Rules of Algebra Be Cool - Follow The Rules!
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Lesson 54 – Multiplication of Matrices
Compiled By Raj G. Tiwari
MathematicalMarketing Slide 1.1 Linear Algebra Welcome to MAR 6658 Course Title Quantitative Methods in Marketing IV: Psychometric and Econometric Techniques.
ECON 1150 Matrix Operations Special Matrices
Matrix Algebra. Quick Review Quick Review Solutions.
Matrices. Given below is a record of all the types of books kept in a class library. TypeFictionGeneral Malay2547 Chinese4072 English8085.
Review of Matrices Or A Fast Introduction.
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.
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.
Linear Algebra 1.Basic concepts 2.Matrix operations.
4.4 Identify and Inverse Matrices Algebra 2. Learning Target I can find and use inverse matrix.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
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.
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.
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
Matrices and Determinants
Goal: Find sums, differences, products, and inverses of 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.
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.
Chapter 1 Section 1.6 Algebraic Properties of Matrix Operations.
Matrices Presentation by : Miss Matkar Pallavi. P.
12-2 MATRIX MULTIPLICATION MULTIPLY MATRICES BY USING SCALAR AND MATRIX MULTIPLICATION.
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.
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.
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.
Copyright © Cengage Learning. All rights reserved. 7 Matrices and Determinants.
Matrices Introduction.
MTH108 Business Math I Lecture 20.
Linear Algebra Lecture 2.
Chapter 7 Matrix Mathematics
Finding the Inverse of a Matrix
MATHEMATICS Matrix Multiplication
L6 matrix operations.
Matrix Algebra.
2. Matrix Algebra 2.1 Matrix Operations.
Lecture 11 Matrices and Linear Algebra with MATLAB
Unit 3: Matrices
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Matrix Algebra.
Multiplication of Matrices
Linear Algebra Lecture 11.
Matrix Operations Ms. Olifer.
3.5 Perform Basic Matrix Operations Algebra II.
Matrices - Operations MULTIPLICATION OF MATRICES
Matrices and Determinants
Presentation transcript:

Fundamentals of Engineering Analysis EGR 1302 - Matrix Multiplication, Types

Matrix Multiplication Define “Conformable” To multiply A * B, the matrices must be conformable. Given matrices: A m x n and B n x p The number of “Columns” n of A, must equal the number of “Rows” n of B Which defines the order of the multiplication A= 2 x 3 For A: m=2, n=3 B= 3 x 4 For B: n=3, p=4 For A * B, n=n; i.e. 3=3, so A*B is “conformable” Note that B * A is Undefined (not allowed) because p = m

Order of Multiplication The order in which a multiplication is expressed is important. We use the terms “pre-multiply” or “post-multiply” to stipulate the order. Given A * B = C, we say that “B” is “pre-multiplied” by “A” (we could also say that A is post-multiplied by B). Because matrices must be conformable for multiplication; in general A * B = B * A In other words, Matrix Multiplication is NOT Commutative (except in special cases)

Matrix Multiplication Is a Row on Column operation n x p 3 x 3 m x n 2 x 3 = A * B = C is Conformable m x p The Product C will be a 2 x 3

* = Matrix Multiplication C11 is made up of Row 1 from A, and Column 1 from B Note the “sum of products” form C12 is made up of Row 1 from A, and Column 2 from B Remember:

Matrix Multiplication A * B = 2 x 2 B * A = 3 x 3

Matrix Multiplication A * B = 9 5 * = 1 7

= * B * A = 4 3 -1 2 1 1 4 -1 11 Matrix Multiplication Work this out yourself, before proceeding, To make sure you understand the method of matrix multiplication.

* ax1 + bx2 + cx3 = d Linear Systems as Sum of Products Sum of Products form ax1 + bx2 + cx3 = d x1 x2 x3 [ a b c ] - a 1 x 3 row vector - a 3 x 1 column vector [ a b c ] * x1 x2 x3 = [ d ] - a 1 x 1 scalar – i.e.; ax1 + bx2 + cx3 = d

A * B * C = not conformable Conformability and Order of Matrix Multiplication A5x4 B4x5 C6x4 Given: A * B = D5x5 B * A = E4x4 A * C = not conformable C * A = not conformable C * B = F6x5 A * B * C = not conformable C * B * A = G6x4

* = * = Properties of a Zero Matrix In Algebra, x * 0 = 0, but if x = 0, and y = 0, then x * y = 0 In Matrix Algebra, even if A = 0, and B = 0, A * B can be [0] * = Note that:

? = * Matrix Form of Linear Equations Distributive Property: A(B+C) = AB + AC Associative Property: A(BC) = (AB)C Then can become ? How do we solve this system of equations = * Any Order A

Rule: The Row becomes the Column, and the Column becomes the Row Special Matrices The Transpose Matrix Rule: The Row becomes the Column, and the Column becomes the Row A is a 2x3, so AT will be a 3x2 For a 3x3

Properties of the Transpose Matrix A*B= AT*BT = ? BT*AT = (AB)T= BT*AT

(A+B)T = AT + BT (AB)T = BTAT Additional Properties of the Transpose If A+B and A*B are allowed (are conformable), then (A+B)T = AT + BT (AB)T = BTAT

A + AT must also be Symmetric The Symmetric Matrix The Diagonal Must be Square: n x n A = AT A + AT must also be Symmetric

All off-diagonal elements The Diagonal Matrix All off-diagonal elements Are Zero Must be Square: n x n If A and B are Diagonal + A+B will be Diagonal = If A and B are Diagonal * A*B will be Diagonal =

Amxn * In = A or Im * Amxn = A The Identity Matrix Must be Square: n x n And must be Diagonal Can be any Order Notation: IN The Unity term I*A = A A*I = A A does not have to be square Amxn * In = A or Im * Amxn = A

A * A = A2 for Square Matrices Only Powers of Matrices A * A = A2 for Square Matrices Only A * A2 = A3 … and so on If A is Diagonal … A2 = a112, a222, a332 = *

Matrix Math on the TI-89 Calculator My Philosophy for using Calculators (and Computers …) Be aware of the Order of Magnitude Sign Errors are easy to miss Double check your work If you understand the solution methodology, You will understand the answer.

Matrix Math on the TI-89 Calculator A*B – not conformable B*A = ?

Matrix Math on the TI-89 Calculator (cont.)

Matrix Math on the TI-89 Calculator (cont.)

Using the Matrix Editor on the TI-89

Questions?