[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Similar documents
Matrix Basic Concepts

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

MATRICES AND MATRIX OPERATIONS

MATRICES The numbers or letters in any given matrix are called its entries or elements

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Matrices. 1 a a2 1 b b 2 1 c c π

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Elementary Row Operations on Matrices

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

Chapter 2 Notes, Linear Algebra 5e Lay

1 Matrices and matrix algebra

MATH Mathematics for Agriculture II

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Math 320, spring 2011 before the first midterm

Matrices and Linear Algebra

Matrix Algebra. Learning Objectives. Size of Matrix

Math 240 Calculus III

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

3 Matrix Algebra. 3.1 Operations on matrices

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

MATH2210 Notebook 2 Spring 2018

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

Phys 201. Matrices and Determinants

Chapter 7. Linear Algebra: Matrices, Vectors,

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Fundamentals of Engineering Analysis (650163)

Matrices and Determinants

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Elementary maths for GMT

Graduate Mathematical Economics Lecture 1

7.6 The Inverse of a Square Matrix

Introduction to Matrices and Linear Systems Ch. 3

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

4016 MATHEMATICS TOPIC 1: NUMBERS AND ALGEBRA SUB-TOPIC 1.11 MATRICES

Online Exercises for Linear Algebra XM511

Matrix Operations: Determinant

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Math 313 (Linear Algebra) Exam 2 - Practice Exam

Matrices: 2.1 Operations with Matrices

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

This MUST hold matrix multiplication satisfies the distributive property.

Matrices. Chapter Definitions and Notations

Basics. A VECTOR is a quantity with a specified magnitude and direction. A MATRIX is a rectangular array of quantities

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].

Matrices BUSINESS MATHEMATICS

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

For comments, corrections, etc Please contact Ahnaf Abbas: Sharjah Institute of Technology. Matrices Handout #8.

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

Matrix Algebra: Definitions and Basic Operations

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

Properties of the Determinant Function

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

2. Every linear system with the same number of equations as unknowns has a unique solution.

LS.1 Review of Linear Algebra

Section 5.5: Matrices and Matrix Operations

Section 12.4 Algebra of Matrices

POLI270 - Linear Algebra

Chapter 2: Matrices and Linear Systems

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

Matrix Arithmetic. j=1

Undergraduate Mathematical Economics Lecture 1

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

Review of linear algebra

Calculus II - Basic Matrix Operations

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Introduction to Matrix Algebra

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

TOPIC III LINEAR ALGEBRA

Introduction to Matrices

Lecture 3 Linear Algebra Background

Components and change of basis

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Computational Foundations of Cognitive Science. Definition of the Inverse. Definition of the Inverse. Definition Computation Properties

Linear Systems and Matrices

Factorizing Algebraic Expressions

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

MATH 1210 Assignment 4 Solutions 16R-T1

a11 a A = : a 21 a 22

Mathematics for Computer Science

Matrices and Vectors

M. Matrices and Linear Algebra

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Evaluating Determinants by Row Reduction

A primer on matrices

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Instruction: Operations with Matrices ( ) ( ) log 8 log 25 = If the corresponding elements do not equal, then the matrices are not equal.

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Math Linear Algebra Final Exam Review Sheet

Transcription:

. Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices, e.g. A, B, C, with lowercase letters reserved for scalars. A vector is actually a special type of matrix, namely a matrix with only one column. In particular, a vector from R n is the same thing as an n matrix. In general, the product of an m n matrix with a vector from R n is a vector in R m. Multiplying a Matrix a Vector To multiply a matrix a vector, we take the dot product of each row of the matrix with the vector. For example, [ 3 5 4 3 7 3 [ Here is the dot product of (3,,, 5) with (, 3,, ), 3 is the dot product of (, 4, 3, 7) with (, 3,, ). Note that a matrix A can only be multiplied by a vector v if each row of A has the same size as v. For example, we can only multiply a 5 8 matrix with a vector from R 8, the resulting product will be a vector in R 5. 3 Multiplying Matrices There is an operation called matrix multiplication that generalizes the product of a matrix a vector. Given two matrices A B, the product AB is the matrix obtained by taking the dot product of each row of A with each column of B. For example, if A B are matrices, then there are four dot products to compute: [ [ [ [ [ [ 7 3 4 7 3 4 5 5 [ [ 7 3 5 [ [ [ 4 7 3 5 [ 4 7 This product only makes sense if the rows of A the columns of B have the same size. The result always has one row for each row of A one column for each column of B. Here A is a 3 4 matrix B is 4 matrix, so AB will be a 3 matrix. EXAMPLE 7 5 3 Compute AB if A B 6 3.

MATRICES SOLUTION We must take the dot product of each row of A with each column of B. 7 5 3 6 6 3 7 5 3 6 39 6 3 4 7 5 3 6 39 6 3 4 5 8 7 5 3 6 39 6 3 7 5 3 6 39 6 3 4 5 7 5 3 6 39 6 3 4 5 8 7 Unlike multiplication of scalars, matrix multiplication is not commutative. That is, AB BA are not necessarily the same. For example, [ [ [ [ [ [ 3 7 5 7 3 3 9 6 6 7 4 However, matrix multiplication is associative. That is, for any matrices A, B, C. A(BC) (AB)C Matrix subtraction is defined in a similar way. Addition Scalar Multiplication There are two more basic operations involving matrices: addition scalar multiplication. Matrix addition works just like vector addition, with corresponding entries of the two matrices added together: [ [ [ 3 5 5 6 + 5 5 7 3 7 Only two matrices of the same size can be added. Matrix multiplication distributes over addition from both the left the right, i.e. A(B + C) AB + AC (A + B)C AC + BC Scalar multiplication for matrices is also quite similar to scalar multiplication for vectors: [ [ 4 3 8 6 4 3 8 4 6 This has a variety of obvious properties, e.g. k(a + B) ka + kb k(ab) (ka)b A(kB) for any scalar k matrices A B.

MATRICES 3 Square Matrices A matrix is called square if it has the same number of rows columns. For example, matrices are square, as are 3 3 matrices, more generally n n matrices. We can take the determinant of any square matrix A, which we write as det(a). For example, if [ 5 A 3 4 then det(a) 4. The product of two square matrices of the same size is another square matrix of that size. For example, 3 3 5 6 6 3 3 6 6 5 The determinant of a matrix product is equal to the product of the determinants: det(ab) det(a) det(b). A square matrix is called diagonal if all of its nonzero entries lie along the diagonal that goes from the upper left to the lower right. For example, [ 5 3 7 4 are diagonal matrices. The determinant of a diagonal matrix is equal to the product if the entries along the diagonal: Note that we use square brackets for matrices vertical lines for determinants. a b ab, a b c abc. Inverse Matrices A diagonal matrix with ones along the diagonal is called an identity matrix: We usually use the letter I to denote an identity matrix. [ Multiplying by an identity matrix has no effect: [ [ [ [ [ 3 3 7 5 5 8 4 [ 7 8 4 Two square matrices are called inverses if their product is the identity matrix. For example [ [ 3 5 5 3

MATRICES 4 are inverses, since [ 3 [ 5 5 3 [ A matrix can have only one inverse. If A is a square matrix, its inverse is denoted A. There is a simple formula for the inverse of a matrix: Inverse of a Matrix There is no simple analog of this formula for 3 3 or larger matrices. [ a b c d [ ad bc d c b a [ a b Note that ad bc is the determinant of. c d EXAMPLE Find the inverse of the matrix 4 6. SOLUTION This simplifies to The determinant of this matrix is, so the inverse is 6 4 3 / A square matrix is called invertible if it has an inverse. From the formula above, we see that a matrix is invertible as long as its determinant is not zero. This rule works for matrices of any size: A square matrix A is invertible if only if det(a). Representing Linear Systems We can use matrices to write any linear system as a single vector equation of the form Ax b where A is the coefficient matrix, x is the vector of unknowns, b is the vector of constant terms. For example, the linear system x + 5y 3x + 4y 3 can be written in vector form as [ 5 3 4 [ x y [ 3

MATRICES 5 We can use inverse matrices to solve n n linear systems. Given a linear system of the form Ax b where A is an invertible square matrix, we can multiply both sides of the equation by A to get x A b EXAMPLE 3 Use an inverse matrix to solve the system 3x + y 7 x + 4y 5 SOLUTION We can write this system as 3 4 x y 7 5 But 3 4 4 3.4...3 so x y.4...3 7 5.8.8 Thus x.8 y.8. EXERCISES 4 Multiply.. 9 3 9 3 3 8 3. 5 7 9 [ 5 3. 7 8 6 9 4. 6 5 3 4 5. Find the values of x y for which [ x 4 [ y [ 8.

MATRICES 6 6 9 Multiply. 6. [ [ 6 3 4 8 7. 4 [ 3 9 9 6 8. [ [ 3 3 8 3 9. [ 7 [ 3 4 3 Compute the inverse of the given matrix. [ [ 4 5 5.. 3. [ 3 3. [ 3 6 4. Does the matrix have an inverse? Explain. 3 [ 5. Compute 5A + 6A if A. 6. (a) Write the linear system x 3y 5 3x + 4y as an equation of the form Ax b. (b) Use an inverse matrix to solve your equation from part (a). 7. Given that the matrices 5 3 3 3 8 6 7 9 3 3 are inverses, solve the following linear system: x 5x + 3x 3 x 4 3 x + x x 3 + x 4 x 3x + x 3 + x 4 3x 8x + 6x 3 + x 4