Matrices Square is Good! Copyright © 2014 Curt Hill.

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

Linear Algebra Applications in Matlab ME 303. Special Characters and Matlab Functions.
Lecture 9: Introduction to Matrix Inversion Gaussian Elimination Sections 2.4, 2.5, 2.6 Sections 2.2.3, 2.3.
Matrices and Systems of Equations
Review of Matrix Algebra
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.
10.1 Gaussian Elimination Method
Matrices MSU CSE 260.
Matrix Mathematics in MATLAB and Excel
Matrices The Basics Vocabulary and basic concepts.
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
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Compiled By Raj G. Tiwari
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
ECON 1150 Matrix Operations Special Matrices
Equation --- An equation is a mathematical statement that asserts the equality of twomathematicalstatement expressions. An equation involves an unknown,
 Row and Reduced Row Echelon  Elementary Matrices.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Systems of Linear Equation and Matrices
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
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Unit 3: Matrices.
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.
Matrices A matrix is a table or array of numbers arranged in rows and columns The order of a matrix is given by stating its dimensions. This is known as.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Matrices Matrices A matrix (say MAY-trix) is a rectan- gular array of objects (usually numbers). An m  n (“m by n”) matrix has exactly m horizontal.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
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.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Copyright © 2011 Pearson Education, Inc. Solving Linear Systems Using Matrices Section 6.1 Matrices and Determinants.
Chapter 8 Matrices and Determinants Matrix Solutions to Linear Systems.
Matrix Algebra Section 7.2. Review of order of matrices 2 rows, 3 columns Order is determined by: (# of rows) x (# of columns)
Greatest Common Divisors & Least Common Multiples  Definition 4 Let a and b be integers, not both zero. The largest integer d such that d|a and d|b is.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
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.
2.5 – Determinants and Multiplicative Inverses of Matrices.
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,
Section 2.1 Determinants by Cofactor Expansion. THE DETERMINANT Recall from algebra, that the function f (x) = x 2 is a function from the real numbers.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Section 2.4. Section Summary  Sequences. o Examples: Geometric Progression, Arithmetic Progression  Recurrence Relations o Example: Fibonacci Sequence.
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
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.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
Use Inverse Matrices to Solve Linear Systems
Chapter 7 Matrix Mathematics
Section 7.4 Matrix Algebra.
Matrix Algebra.
Matrix Algebra.
Unit 3: Matrices
Matrix Algebra.
College Algebra Chapter 6 Matrices and Determinants and Applications
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Matrices Square is Good! Copyright © 2014 Curt Hill

Introduction Matrices seem to have been developed by Gauss, for the purpose of solving systems of simulteneous linear equations –Before 1800s they are known as arrays –A Chinese text discusses their use for linear equations that dates to BC times We will also use but not for that purpose, but lets start with that Copyright © 2014 Curt Hill

A matrix When we have systems of linear equations the first step is to put them in standard form: a 1 x+b 1 y=c 1 a 2 x+b 2 y=c 2 In standard form we always write the equations in the same way On the left hand side are all the variable and on the right only constants The variables are in the same order Copyright © 2014 Curt Hill

Consider Two equations 3x - 7y = 1 2x - 3y = -1 This is now in standard form: All variables to left of = All constants to right Xs always come first and Ys next The first column is the X The second column is the Y The third the constant The next step is to render this in terms of a matrix Copyright © 2014 Curt Hill

Matrix Example Copyright © 2014 Curt Hill

Gaussian Elimination Copyright © 2014 Curt Hill

In General We may have any number of rows and columns A column matrix has one column but multiple rows –Also known as a column vector A row matrix has one row but multiple columns –Also known as a row vector A square matrix has the same number of rows and columns Copyright © 2014 Curt Hill

Elements Copyright © 2014 Curt Hill

Arithmetic We also have the notion of matrix arithmetic –At least addition, subtraction, product (multiplication) In the rationals and real numbers any two items may participate in any operation This is not true for matrix arithmetic –Two matrices must be compatible –The rules of compatibility vary by operation Copyright © 2014 Curt Hill

Matrix Addition Two matrices are compatible for addition if they have the same sizes –The two must have the same number of columns and same number of rows The sum of two matrices is a new matrix with the same size of the two that were added Each position has the sum of the corresponding positions of the two Copyright © 2014 Curt Hill

Addition Again Copyright © 2014 Curt Hill

Audience Participation Copyright © 2014 Curt Hill

Multiplication Multiplication is somewhat more complicated There are two things to consider: –Matrix compatibility –How the operation proceeds Neither is as easy as addition Matrix multiplication is not commutative We denote the product of matrix A and matrix B as AB Copyright © 2014 Curt Hill

Compatibility The matrix AB may only be computed if the number of columns of A is identical with the number of rows of B –The number of rows of A and number of columns of B do not matter Thus if A is m  k and B is k  n the two are compatible Square matrices of the same size are compatible, but all other compatible matrices have a different shape Copyright © 2014 Curt Hill

Process If A is m  k and B is k  n the result, AB is m  n The new matrix has each element as a sum of products A column from the left times the row from right C=AB C ij = A i1 B 1j + A i2 B 2j + … + A ik B kj Copyright © 2014 Curt Hill

Example Copyright © 2014 Curt Hill

Exercise Copyright © 2014 Curt Hill

Now Then Copyright © 2014 Curt Hill

Something else Copyright © 2014 Curt Hill

Identity Matrix A square matrix with ones on the diagonal and zeros else where is an identity matrix When multiplied with a compatible matrix it gives the matrix back –Similar to one with respect to multiplication and zero with respect to addition –One is the unit of multiplication as is zero to addition Copyright © 2014 Curt Hill

Online Resources The following links may be helpful: First two on a Google Search Copyright © 2014 Curt Hill

Transpose Copyright © 2014 Curt Hill

Inverse Matrix Two square matrices of same size are inverses of one another if their product is the identity matrix –They are invertable Thus AB = BA = I An inverse is unique We also use the notation A -1 for the inverse of A In linear algebra a coefficient matrix that is invertable has a unique solution Copyright © 2014 Curt Hill

Zero-One Matrix Any matrix, such as the identity matrix, that has only zeros and ones Often matrices representing Boolean values The join of two identically sized zero one matrices is the corresponding elements ORed The meetjoin of two identically sized zero one matrices is the corresponding elements ANDed Copyright © 2014 Curt Hill

Example Copyright © 2014 Curt Hill

Boolean Product Similar to matrix multiplication except the adds are replaced by ORs and multiplies by ANDs The symbol is  Copyright © 2014 Curt Hill

Example Copyright © 2014 Curt Hill

Powers Raising a number to a power is merely repeated multiplication We may also raise square zero-one matrices to a power Conjunction and disjunction are associative so Boolean product is as well We define the zeroth power to be an identity matrix Copyright © 2014 Curt Hill

Exercises 3, 7, 11, 15, 27, 29 Copyright © 2014 Curt Hill