Lecture 8: Cascaded Linear Transformations Row and Column Selection Permutation Matrices Matrix Transpose Sections 2.2.3, 2.3.

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

Chapter 4 Systems of Linear Equations; Matrices Section 6 Matrix Equations and Systems of Linear Equations.
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Maths for Computer Graphics
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.
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices
Matrices MSU CSE 260.
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
A matrix having a single row is called a row matrix. e.g.,
1.3 Matrices and Matrix Operations.
259 Lecture 14 Elementary Matrix Theory. 2 Matrix Definition  A matrix is a rectangular array of elements (usually numbers) written in rows and columns.
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.
Linear Algebra Lecture 25.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Matrices and Vectors Objective.
2 2.1 © 2016 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Matrix. REVIEW LAST LECTURE Keyword Parametric form Augmented Matrix Elementary Operation Gaussian Elimination Row Echelon form Reduced Row Echelon form.
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 © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
13.1 Matrices and Their Sums
CHAPTER 2 MATRICES 2.1 Operations with Matrices Matrix
Linear Algebra 1.Basic concepts 2.Matrix operations.
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.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
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
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
Matrices and Determinants
MATRICES Operations with Matrices Properties of Matrix Operations
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.
Matrices Presentation by : Miss Matkar Pallavi. P.
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
MTH108 Business Math I Lecture 20.
Chapter 4 Systems of Linear Equations; Matrices
13.4 Product of Two Matrices
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
MATRICES.
Matrices.
Linear Algebra Lecture 2.
Linear Equations in Linear Algebra
1.5 Matricies.
MATHEMATICS Matrix Multiplication
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
Matrix Multiplication
Matrices and Vectors Review Objective
Linear Equations in Linear Algebra
CS100: Discrete structures
Matrices and Matrix Operations
Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors.
MATRICES Operations with Matrices Properties of Matrix Operations
Multiplication of Matrices
3.6 Multiply Matrices.
Laboratory in Oceanography: Data and Methods
Matrix Algebra MATRIX OPERATIONS © 2012 Pearson Education, Inc.
Presentation transcript:

Lecture 8: Cascaded Linear Transformations Row and Column Selection Permutation Matrices Matrix Transpose Sections 2.2.3, 2.3

Linear Transformation – Cascaded Connection Viewed as a linear transformation, the product AB represents the cascade (series) connection of B followed by A, as shown below. This means that for a n-dimensional input vector x, the output y is given by y =(AB)x = A(Bx) To see why this is so, take x = e (j), i.e, any standard unit vector in R n, then ▫(AB)e (j) is the j th column of the matrix AB. By definition of AB, the i th entry in that column equals the dot product of the i th row of A and the j th column of B. ▫Be (j) is the j th column of B. Thus the (i, j) th entry of A(Be (j) ) equals the dot product of the i th row of A and the j th column of B. Therefore (AB)x = A(Bx) for x = e (j).

Associativity and Communtativity (AB)C = A(BC) = ABC and this extends to products involving four or more matrices. In general, AB  BA i.e., matrix multiplication is not commutative—even in cases where both products are well-defined and have the same dimensions (this happens if and only if both A and B are square matrices of the same dimensions). There are, however, exceptions.

If A is a m × n matrix and e (j) is the j th standard unit vector in R n×1, then Ae (j) = j th column of A This follows directly from the definition of the matrix- vector product, where Ax is a linear combination of the columns of A with coe ffi cients given by the respective entries of x.

Example Suppose then,

Permutation The columns of an m × n matrix A are permuted by selecting all of them in a particular order. This amounts to taking the product AP, where P is a permutation matrix, i.e., ▫ the columns of P are the standard n-dimensional unit vectors (in any order); equivalently, ▫the rows of P are the standard n-dimensional unit vectors (in any order). Example,

Symmetry If A is m × n, its transpose A T is the n × m matrix whose (i, j) th entry equals the (j, i) th entry of A. Thus the i th row of A T equals the (transpose of) the i th column of A, and vice versa (for all i). A square matrix A is symmetric if A = A T (i.e., i th row and i th column are the same vector). Example,

The identity (AB) T = B T A T (assuming that the product AB exists) can be shown by considering the (i, j) th element of (AB) T, i.e., the (j, i) th element of AB. ▫This equals the dot product of the j th row of A and the i th column of B; which is the same as the dot product of the the j th column of A T and the ith row of B T. This is just the (i, j) th element of B T A T. Row selections on an m×n matrix A are accomplished by left- multiplying A by the appropriate standard (row) unit vectors: (e (i) ) T A = i th row of A If P is a m × m permutation matrix, then PA is a permutation of the rows of A. Question: If n = m and AP puts the columns of A in a particular order, what should Q be so that QA results in the same reordering applied to row indices (instead of column indices)?

Example

If P is a permutation matrix, then P T P = I This is shown by considering the (i, j) th element of P T P, which equals the dot product of the i th and j th columns of P. Since the columns of P are distinct standard unit vectors, it follows that the dot product equals unity if i = j, zero otherwise