POLI270 - Linear Algebra

Similar documents
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.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Section 12.4 Algebra of Matrices

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Matrix & Linear Algebra

Elementary maths for GMT

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

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

Introduction to Matrices

Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra

ECON 186 Class Notes: Linear Algebra

Solving Linear Systems Using Gaussian Elimination

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

Linear Algebra and Matrix Inversion

Section 9.2: Matrices.. a m1 a m2 a mn

PH1105 Lecture Notes on Linear Algebra.

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Chapter 4. Solving Systems of Equations. Chapter 4

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

7.6 The Inverse of a Square Matrix

Methods for Solving Linear Systems Part 2

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

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.

3.4 Elementary Matrices and Matrix Inverse

Linear Algebra V = T = ( 4 3 ).

Chapter 2 Notes, Linear Algebra 5e Lay

CHAPTER 6. Direct Methods for Solving Linear Systems

Linear Equations and Matrix

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

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.

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Lecture 7: Introduction to linear systems

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Introduction to Matrices

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Chapter 7. Linear Algebra: Matrices, Vectors,

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

CHAPTER 8: Matrices and Determinants

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra

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

Chapter 1 Matrices and Systems of Equations

Elementary Row Operations on Matrices

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

1 Matrices and Systems of Linear Equations

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

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

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

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

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

System of Linear Equations

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

Math Linear Algebra Final Exam Review Sheet

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

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

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

4 Elementary matrices, continued

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

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Relationships Between Planes

Exercise Sketch these lines and find their intersection.

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

MAC Module 1 Systems of Linear Equations and Matrices I

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

Phys 201. Matrices and Determinants

Math 313 Chapter 1 Review

Ack: 1. LD Garcia, MTH 199, Sam Houston State University 2. Linear Algebra and Its Applications - Gilbert Strang

CS227-Scientific Computing. Lecture 4: A Crash Course in Linear Algebra

Linear Algebra Practice Problems

22A-2 SUMMER 2014 LECTURE 5

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

Matrix Arithmetic. j=1

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

Matrices and systems of linear equations

Fundamentals of Engineering Analysis (650163)

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

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

Linear Systems and Matrices

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

1 Last time: linear systems and row operations

Lecture 3 Linear Algebra Background

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

Lecture Notes in Linear Algebra

Elementary Linear Algebra

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

MAC1105-College Algebra. Chapter 5-Systems of Equations & Matrices

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Transcription:

POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and only the first power. Through substitution, elimination of variables, and matrix methods you get x + x 7 x + x () For n equations and n unknowns you get a x + a x... a n x n b a x + a x... a n x n b () Matrix arrays of numbers are treated as one mathematical object, and the elements of the matrix has it s own row and column number. For example, given the matrix 7 A (4) 7 8 we get a (order n, m is given in row, column format) A vector is an ordered set arranged in row or column. A symmetric matrix is defined by a ij a ji Diagonal matrix Scalar matrix (same value in all diagonals) Identity matrix Equality of matrices. For A B a ij b ij Transposition of matrix A is indicated by A and defined by making the nth row into the nth column (a ij a ji ) Addition and subtraction of matrices require the involved matrices to have the

same dimensions/comfortable for addition A + B B + A (A + B) + A A + (B + C) (A + B) A + B () Example: [ ] [ ] a a A b b, B a a b b [ ] (6) a + b A + B a + b a + b a + b Scalar multiplication KA ((Ka ij )) Vector multiplication ( ) a b c ( a b c ) (7) Matrix Multiplication: n by m matrix A and m by p matrix B gives n by p matrix C where each element is the dot product. [ ] [ ] [ ] [ ] 6 ()() + ()(7) ()(6) + ()(8) 9 (8) 4 7 8 ()() + (4)(7) ()(6) + (7)(8) 4 The number of columns in the first matrix must be equal to the number of rows in the second matrix in order for multiplication to make sense. Multiplication is not commutative. This means that for matrices A and B, AB does not equal BA Example: A [ ], B 4 [ ] 4 AB 6 4 4 [ ] BA 6 4 Multiplication of matrices also follow these laws: (AB)C A(BC) 4 6 [ ] 4 8 6 4 (9) A(B + C) AC + AC (AB) B A ()

[ ] The Identity Matrix is if post multiplied will be self Row Operators by premultiplying by modified identity matrices To interchange rows and : () To multiply a row by a scalar 8 8 () To add twice second to the first 4 ()!! Column operations are performed by postmultiplying. Echelon matrix - each row begins with more zeroes than previous row (upper triangle. Diagonals are pivots. (i.e. 4 reduced echelon form all ) 6 No division, but yes inverse (aa ( ) a ( ), a ) BA AB I so must be n by n If B exists, A is called invertable/nonsingular, otherwise B is called singular. If the determinant does not equal, then it is nonsingular (x multiply by cofactor) [ ] [ ] 6 4 inverse 4 4 (4) 4 Sequence of row operators that transform A into I is premultiplying matrix B To get a matrix into echelon form ( upper triangle approach of text ) [ ] () 4 Subtract x first row from second row [ ] [ ] 4 4 [ ] (6) Subtract second row from first [ ] [ 4 ] [ ] (7)

[ ] [ ] [ ] 4 Product of is inverse If row or column of A is all zero A ( ) does not exist If row or column is multiplie of another, then the inverse does not exist (A ) A (A ) (A ) (AB) B A (8) Gaussian Elimination Algorithm to Inversion and Systems of Equations Augmented matrix: A A I (9) 4 4 4 4 4 4. Start at top row. Interchange rows to get non zero entry. If not possible, there is no inverse.. Divide each element by diagonal element/pivot to get I in pivot position. 4. Add multiples of row to lower rows to sweep on non zeros below pivot.. Do for all rows. 6. Begin at bottom and work to sweep out non zeros above pivot. (a) Subtract twice the first row from second and for times first row from third. () 4 8 4 (b) Switch and (c) 8 second row, 8 4 () third row 8 () 4

(d) Subtract third row from first 8 () (d) Add second to first 8 8 (4) If initially x x + x x x x 4 x 4x + 4x + 4x 44 44 4 6 6 6 x () Solving Systems of Linear Equations For we use x + x x x (6) giving us For example: A AX A B IX A B X A B [ ] as the coefficient matrix and [ ] as the column vector. (7) x a + x b c [ ] [ ] [ ] x + x x + x 4x + 9x [ ] ( ) [ x 4 9 x ] (8) (9)

To solve, we multiply both sides by the inverse giving us ( x ) x [ [ ] 4 9] () To get the inverse of the coefficient matrix, we first set up the augmented matrix A I: [ ] () 4 9 Subtract twice the first row from the second and divide. Then subtract. times the second row from the first: [ ] [ ] [ ] 9 6 6 6 () Multiplying that through the column vector, we get ] is equal to [ ] [ () ( ) x + x (4) Example : x + x + x x + x + x x x + 9x 9 Finding the inverse of the coefficient matrix, we get: 9 x x x Finally, solving for the variables, we get x x x () (6) (7) 6

In order to have a unique solution, there must be no linear dependence. For example, the vectors, 6 are linearly dependent. These three matrices (call them a, b and c respectively) can be rewritten [ ] [ ] [ ] (8) 4 as a + b c all three are not linearly independent Form into a matrix, derive the echelon form and if one rows are all zeroes they are linearly dependent. 4 7 8 4 6 4R + R 7R + R (9) 6 9 7 8 9 6 R is 6 (4) 6 The rank of the matrix is the number of non zero rows in echelon matrix There is a unique solution if the rank is the same as the number of unknowns. If there is a greater rank to the echelon form, then there are more equations than unkowns and the matrix is overdetermined (no solution). If there is less rank than the variables the the matrix has an infinite number of solutions; underdetermined as there are more unknowns than equations. Example : x x x + x 6x + x (4) Augment 8 (4) 6 6 4 6 Giving a unique solution of x and x 4. 4 4 (4) 7

Example : x + x 4 x + x x + x 4 x + x (44) Solution: (4) (46) Giving us x + x 4, x x 4, and x + x 4. This is undetermined and there are an infinite number of solutions. Example : a + b + c a + b + c a + b + c 6 (47) Solution: (48) 6 This gives us a+b+c. This is overdetermined, and thus has no solution. 8