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

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

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

Chapter 2 Notes, Linear Algebra 5e Lay

Linear Algebra Practice Problems

Introduction to Matrices

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

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

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

Digital Workbook for GRA 6035 Mathematics

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.

Matrix Algebra. Learning Objectives. Size of Matrix

CPE 310: Numerical Analysis for Engineers

3 Matrix Algebra. 3.1 Operations on matrices

Math Linear Algebra Final Exam Review Sheet

7.6 The Inverse of a Square Matrix

Chapter 7. Linear Algebra: Matrices, Vectors,

Introduction to Matrix Algebra

MTH 306 Spring Term 2007

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

1300 Linear Algebra and Vector Geometry

Announcements Wednesday, November 01

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

ELEMENTARY LINEAR ALGEBRA

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

Announcements Wednesday, November 01

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

Algebra 2 Notes Systems of Equations and Inequalities Unit 03d. Operations with Matrices

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Fundamentals of Engineering Analysis (650163)

Introduction to Matrices

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

A matrix over a field F is a rectangular array of elements from F. The symbol

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

3 (Maths) Linear Algebra

ELEMENTARY LINEAR ALGEBRA

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

7.2. Matrix Multiplication. Introduction. Prerequisites. Learning Outcomes

Review of Vectors and Matrices

Linear Algebra: Sample Questions for Exam 2

Elementary Linear Algebra

Chapter 9: Systems of Equations and Inequalities

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Study Guide for Linear Algebra Exam 2

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

18.06SC Final Exam Solutions

Linear Algebra. Chapter Linear Equations

Linear Algebra Final Exam Study Guide Solutions Fall 2012

POLI270 - Linear Algebra

Matrices and Determinants

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

and let s calculate the image of some vectors under the transformation T.

Linear Algebra Practice Problems

Eigenvalues and Eigenvectors

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

MODEL ANSWERS TO THE THIRD HOMEWORK

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Topic 1: Matrix diagonalization

Calculus II - Basic Matrix Operations

Lecture 3 Linear Algebra Background

Maths for Signals and Systems Linear Algebra in Engineering

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Lecture Notes in Linear Algebra

Math 308 Practice Final Exam Page and vector y =

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

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

Matrices. Chapter Definitions and Notations

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

MIT Final Exam Solutions, Spring 2017

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

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.

Elementary Row Operations on Matrices

2. Matrix Algebra and Random Vectors

LINEAR ALGEBRA REVIEW

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Linear Algebra: Matrix Eigenvalue Problems

Knowledge Discovery and Data Mining 1 (VO) ( )

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

Study Notes on Matrices & Determinants for GATE 2017

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

Conceptual Questions for Review

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

Linear Algebra March 16, 2019

a11 a A = : a 21 a 22

Matrix Basic Concepts

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

Econ Slides from Lecture 7

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting.

ELEMENTARY LINEAR ALGEBRA

Phys 201. Matrices and Determinants

LINEAR SYSTEMS AND MATRICES

Eigenvalues and Eigenvectors

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Review of Linear Algebra

Math 1060 Linear Algebra Homework Exercises 1 1. Find the complete solutions (if any!) to each of the following systems of simultaneous equations:

Transcription:

Some Linear Algebra

Basics A VECTOR is a quantity with a specified magnitude and direction Vectors can exist in multidimensional space, with each element of the vector representing a quantity in a different dimension. When there is only one dimension, the vector is said to be a scalar A MATRIX is a rectangular array of quantities The rows or columns of a matrix are vectors

Linear Algebra Vector and matrix structures are made to exist in a mathematically constructed space, that is, a vector space. They inherit specific algebraic properties from the vector space that make them powerful mathematical objects. In our discussion to follow, we mean matrix and vector to represent not only a notational structure, but the structure imbued with the appropriate algebraic properties. We say that the study of these objects is linear algebra

Matrices a c b d is a matrix Scalar operations on a matrix are done element-wise. For example, if k is a scalar, for scalar multiplication a b ka kb k c d kc kd a b w x a w b x c d y z c y d z Matrix addition (and subtraction) is straightforward: element by element

check out http://www.purplemath.com/modules/mtrxmult.htm for an easy to understand demo Matrix multiplication is a whole different kettle of fish. It is NOT element by element multiplication. Instead it is a convolution, multiplying and mixing rows and columns of both matrices. a b w x aw by ax bz c d y z cw dy cx dz M1 M2 Note the process: First row, first element of M1 times first row, first element of M2 PLUS First row, second element of M1 times second row, first element of M2 Then First row, first element of M1 times first row, second element of M2 PLUS First row, second element of M1 times second row, second element of M2 etc for the second row of M1

Consider a c b d 2 Expanding, 2 2 a b a b a b a bc ab bd 2 c d c d c d ac cd bc d Note: The number of rows in the first matrix must equal the number of columns in the second Matrix multiplication is not commutative: AB BA necessarily

Matrix Multiplication of a Vector Matrices can multiply vectors (provided the orders of each are the same) using the same rules as matrix multiplication a b M c d is a matrix v x y is a vector Mv ax cx by dy Note that the result is a vector. The operation of the matrix on the vector, which transforms the vector to a new direction, can be though of as a rotation

Identity Matrix The identity matrix is a square matrix that has 1 s along its main diagonal and has zero for all other elements. Here it is shown for order 3, but the concept is the same for a square matrix of any order 1 0 0 I 0 1 0 0 0 1 An important property is that if it multiplies any other square matrix M of the same order, the product is still M Inverse Matrix If M is an invertible matrix, then its inverse M -1 is a square matrix of the same order such that MM -1 =I MatrixTranspose Rows and columns are swapped. Need not be a square matrix a b c a d g g h i c f i T M d e f M b e h

Division does not exist, per se. Instead, the dividend is multiplied by the inverse of the divisor a b c d a b w x w x c d y z y z 1

Determinants For square matrices only For a 2x2 matrix, it s easy a b M c d det M M ad bc

Determinants For a higher order matrices, it s not quite so easy. a b c M d e f g h i The strategy for a 3x3 matrix is to subdivide the matrix into determinants of 2x2 matrices called minors relating to the elements of the first row. The signs alternate. For example det M= a e h f i b d f - + g i d g e h c det M= a(ei-hf)-b(di-gf)+c(dh-ge)=aei+bgf+cdh-ahf-bdi-cge The above strategy generalizes to square matrices of order > 3

Determinants..who cares? Why would we care about determinants in this course? The determinant must be non-zero to have a unique inverse When matrices represent linear systems, the determinant must be zero in order to have a non-trivial solution

Determinants in finding an inverse Finding the inverse (if it exists) of a square matrix of order 2 can easily be done with nifty little formula that invokes the determinant: Swap the elements on the main diagonal Reverse the signs of the 2 off-diagonal elements Divide by the determinant M a b 1 1 d b M c d M c a Formulas like this for higher order matrices exist but are ugly. Instead it is customary to use a row-specific technique called the Gauss-Jordan method. The matrix is adjoined to the identity matrix. Row operations (add, subtract, scalar divides and multiplies) are carried out, row by row, until the M part is transformed into the identity. The originally I part will become the inverse of M row operations M : I I : M 1

Eigenvalues and Eigenvectors Let Abe an n n matrix. AX n is an eigenvalue of Aif non zero vector X in such that X This means that operating (rotating) some vector X by the matrix A yields the very same vector back again, multiplied by a real number,, an eigenvalue If X is a non-zero vector satisfying the above, X is an eigenvector. There can be more than one solution; there are as many solutions (eigenvectors) as the order (n) of the matrix, although the solutions may not be distinct.

A and B are linear transformation matrices BX 2 =X 2 X 2 AX 1 X 1 A rotates X 1 to a new vector B rotates X 2 to a new vector BX 2 AX that is co-linear with X 2 ; it is a scalar 1 multiple of X 2. BX 2 is the one of the eigenvectors and the scalar multiple is its eigenvalue

When you do this rotation, you need to know two things about where you end up: 1. What vectors emerge from the rotation (the eigenvectors) 2. What scale factors emerge from the rotation (the eigenvalues)

Given AX=X, which represents a linear system of equations. Then, re-writing this: AX-IX=0 where I is the identity matrix For this linear system to have a non-trivial solution, its determinant must be zero. a So, 11 12 for a system of rank 2 a a 21 22 a 0 (called the characteristic equation) ( a )( a ) ( a )( a ) 0 Solving, we get 11 22 12 21 resulting in a quadratic (in a matrix of rank 2) equation in. This produces two values for in a system of rank 2, 1 and 2. These are the characteristic roots, or eigenvalues, of the system. There will be an eigenvector corresponding to each eigenvalue

Example 1 1 For A find 2 4 1 1 x1 x1 2 4 x x 2 2 where is the eigenvalue

As a linear system, x x x 1 2 1 2x 4x x 1 2 2 1 1 2 4 0 ( 1)( 4) 2 0 2, 3 1 2 Eigenvalues may not be distinct

Finding the eigenvectors for 1 =2 1 1 v1 2 1 1 v1 1 1 v1 2 4 v 2 2 4 v 2 2 v 2 2 2 Consider the top row 1 v 1-1v 2 Consider the 2nd row 2 v 1-2v 2 v1 v 2 In either case the eigenvector corresponding to eigenvalue 1 is any real number in the first element v 1 and its negative as the second element v 2