Matrix Algebra Lecture Notes. 1 What is Matrix Algebra? Last change: 18 July Linear forms

Similar documents
MATH10212 Linear Algebra Lecture Notes

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

MATH10212 Linear Algebra Lecture Notes

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

Linear Equations in Linear Algebra

Row Reduction and Echelon Forms

Linear Equations in Linear Algebra

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

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

Math 3C Lecture 20. John Douglas Moore

System of Linear Equations

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Solving Systems of Linear Equations Using Matrices

Chapter 1: Systems of Linear Equations

Math 2331 Linear Algebra

Section 1.1: Systems of Linear Equations

Chapter 1. Vectors, Matrices, and Linear Spaces

Relationships Between Planes

3. Replace any row by the sum of that row and a constant multiple of any other row.

Lectures on Linear Algebra for IT

Lecture 2 Systems of Linear Equations and Matrices, Continued

ICS 6N Computational Linear Algebra Vector Equations

Solving Linear Systems Using Gaussian Elimination

Math Linear algebra, Spring Semester Dan Abramovich

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

Matrices and RRE Form

Linear Algebra Practice Problems

1 - Systems of Linear Equations

Methods for Solving Linear Systems Part 2

Linear Algebra I Lecture 8

Math 1314 Week #14 Notes

PH1105 Lecture Notes on Linear Algebra.

MTH 464: Computational Linear Algebra

MATH 54 - WORKSHEET 1 MONDAY 6/22

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

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

Elementary Linear Algebra

March 19 - Solving Linear Systems

Lecture 03. Math 22 Summer 2017 Section 2 June 26, 2017

CHAPTER 9: Systems of Equations and Matrices

Section 5.3 Systems of Linear Equations: Determinants

Math 4377/6308 Advanced Linear Algebra

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

9.1 - Systems of Linear Equations: Two Variables

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

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

Elementary maths for GMT

Lecture 7: Introduction to linear systems

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Notes on Row Reduction

Chapter 1: Linear Equations

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Lecture Note on Linear Algebra 1. Systems of Linear Equations

CHAPTER 9: Systems of Equations and Matrices

Chapter 1: Linear Equations

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

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

4 Elementary matrices, continued

Linear Equations in Linear Algebra

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Solving Linear Systems

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

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

4 Elementary matrices, continued

Exercise Sketch these lines and find their intersection.

Determine whether the following system has a trivial solution or non-trivial solution:

ECON 186 Class Notes: Linear Algebra

5.7 Cramer's Rule 1. Using Determinants to Solve Systems Assumes the system of two equations in two unknowns

1300 Linear Algebra and Vector Geometry

Homework 1.1 and 1.2 WITH SOLUTIONS

M 340L CS Homework Set 1

1 Last time: linear systems and row operations

Math 4377/6308 Advanced Linear Algebra

Solutions of Linear system, vector and matrix equation

Study Guide for Linear Algebra Exam 2

Section 5.6. LU and LDU Factorizations

Last Time. x + 3y = 6 x + 2y = 1. x + 3y = 6 y = 1. 2x + 4y = 8 x 2y = 1. x + 3y = 6 2x y = 7. Lecture 2

Linear Equation: a 1 x 1 + a 2 x a n x n = b. x 1, x 2,..., x n : variables or unknowns

Section 6.2 Larger Systems of Linear Equations

Lecture 1 Systems of Linear Equations and Matrices

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

Lecture 4: Gaussian Elimination and Homogeneous Equations

We know how to identify the location of a point by means of coordinates: (x, y) for a point in R 2, or (x, y,z) for a point in R 3.

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

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

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

Evaluating Determinants by Row Reduction

Math 2331 Linear Algebra

Linear Equations and Vectors

Lecture 2e Row Echelon Form (pages 73-74)

Systems of Linear Equations and Matrices

Linear Equations in Linear Algebra

Systems of Linear Equations and Matrices

Lectures on Linear Algebra for IT

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

Transcription:

Matrix Algebra Lecture Notes Last change: 18 July 2017 1 What is Matrix Algebra? 1.1 Linear forms It is well-known that the total cost of a purchase of amounts (in kilograms) g 1, g 2, g 3 of some goods (say, apples, bananas, and oranges) at prices p 1, p 2, p 3 liras per kilogram, respectively, is an expression Expressions of this kind, p 1 g 1 + p 2 g 2 + p 3 g 3. a 1 x 1 + a 2 x 2 + + a n x n are called linear forms in variables x 1,..., x n with coefficients a 1,..., a n. We shall use an abbreviated notation involving the summation symbol: n a 1 x 1 + + a n x n = a i x i i=1

2 Matrix Algebra studies the mathematics of linear forms. 1.2 Notation Over the course, we shall develop increasingly compact notation for operations of Matrix Algebra. In particular, we shall discover that a linear p 1 g 1 + p 2 g 2 + + p n g n can be very conveniently written as [ g 1 p1 p 2 p 3 g 2 g 3 and then abbreviated [ g 1 p1 p 2 p 3 g 2 = P G, g 3 where P = [ p 1 p 2 p 3 and G = g 2 g 3 an expressions like A = [ a 1 a 2 a n 1 a n where a 1, a 2,..., a n are real numbers, will be called row vectors, numbers a i will be called components or elements of A. The set of all row vectors with n components will be denoted R n. g 1

3 Similarly, we call expressions like b 1 b 2 B =. column vectors with n components; their set is denoted R n. It is useful to treat real numbers as vectors with one component: [ a. Notice that R n = R n ; a vector with single component is simultaneously a row and a column. b n 1.3 Vector spaces R n and R n are vector spaces, that is, vectors of the same kind and with the same number of components can be added componentwise [ a1, a 2,, a n + [ b1, b 2,, b n = [ a1 + b 1, a 2 + b 2,, a n + b n a 1 a 2 a n b 1. + b 2. = b n a 1 + b 1 a 2 + b 2 a n + b n

4 and multiplied by scalars (that is, numbers) λ [ a 1, a 2,, a n = [ λa1, λa 2,, λa n a 1 a 2 a n λ. = λa 1 λa 2. λa n This operations have the following easy to prove properties (axioms of a vector space): for all u, v, w in a vector space V and for all scalars c and d, we have 1. u + v = v + u. 2. (u + v) + w = u + (v + w). 3. There is zero vector 0 such that u + 0 = u. 4. For each u there exists u such that u + ( u) = 0. 5. c(u + v) = cu + cv. 6. (c + d)u = cu + du. 7. c(du) = (cd)u. 8. 1u = u.

5 1.4 A brief remark about physics Physicists use even shorter notation and, instead of 3 p 1 g 1 + p 2 g 2 + p 3 g 3 = p i g i write i=1 p 1 g 1 + p 2 g 2 + p 3 g 3 = p i g i, omitting the summation sign entirely. This particular trick was invented by Albert Einstein, of all people. I do not use physics tricks in my lectures. 1.5 Warning Increasingly compact notation leads to increasingly compact and abstract language. Unlike, say, Calculus, Matrix Algebra focuses not only on procedures, but also on development of a special mathematics language.

Linear systems Last change: 18 July 2017 6 Systems of linear equations A linear equation in the variables x 1,..., x n is an equation that can be written in the form a 1 x 1 + a 2 x 2 + + a n x n = b where b and the coefficients a 1,..., a n are real numbers. The subscript n can be any natural number. A system of simultaneous linear equations is a collection of one or more linear equations involving the same variables, say x 1,..., x n. For example, x 1 + x 2 = 3 x 1 x 2 = 1 We shall abbreviate the words a system of simultaneous linear equations just to a linear system. A solution of the system is a list (s 1,..., s n ) of numbers that makes each equation a true identity when the values s 1,..., s n are substituted for x 1,..., x n, respectively. For example, in the system above (2, 1) is a solution. The set of all possible solutions is called the solution set of the linear system. Two linear systems are equivalent if the have the same solution set.

Linear systems Last change: 18 July 2017 7 We shall be use the following elementary operations on systems od simultaneous liner equations: Replacement Replace one equation by the sum of itself and a multiple of another equation. Interchange Interchange two equations. Scaling Multiply all terms in a equation by a nonzero constant. Note: The elementary operations are reversible. Theorem: Elementary operations preserve equivalence. If a system of simultaneous linear equations is obtained from another system by elementary operations, then the two systems have the same solution set. We shall prove later in the course that a system of linear equations has either no solution, or exactly one solution, or infinitely many solutions, under the assumption that the coefficients and solutions of the systems are real numbers. A system of linear equations is said to be consistent it if has solutions (either one or infinitely

Linear systems Last change: 18 July 2017 8 many), and a system in inconsistent if it has no solution. Solving a linear system The basic strategy is to replace one system with an equivalent system (that is, with the same solution set) which is easier to solve. Existence and uniqueness questions Is the system consistent? If a solution exist, is it unique? Equivalence of linear systems When are two linear systems equivalent?

MATH10212 Linear Algebra B Lecture 2 Row reduction and echelon forms Last change: 18 July 20179 Lecture 2 Row reduction and echelon forms [Lay 1.2 Matrix notation It is convenient to write coefficients of a linear system in the form of a matrix, a rectangular table. For example, the system x 1 2x 2 + 3x 3 = 1 x 1 + x 2 = 2 x 2 + x 3 = 3 has the matrix of coefficients 1 2 3 1 1 0 0 1 1 and the augmented matrix 1 2 3 1 1 1 0 2 ; 0 1 1 3 notice how the coefficients are aligned in columns, and how missing coefficients are replaced by 0. The augmented matrix in the example above has 3 rows and 4 columns; we say that it is a 3 4 matrix. Generally, a matrix with m rows and n columns is called an m n matrix.

MATH10212 Linear Algebra B Lecture 2 Row reduction and echelon forms Last change: 18 July 201710 Elementary row operations Replacement Replace one row by the sum of itself and a multiple of another row. Interchange Interchange two rows. Scaling Multiply all entries in a row by a nonzero constant. The two matrices are row equivalent if there is a sequence of elementary row operations that transforms one matrix into the other. Note: The row operations are reversible. Row equivalence of matrices is an equivalence relation on the set of matrices. Theorem: Row Equivalence. If the augmented matrices of two linear systems are row equivalent, then the two systems have the same solution set. A nonzero row or column of a matrix is a row or column which contains at least one nonzero entry. We can now formulate a theorem (to be proven later). Theorem: Equivalence of linear systems.

MATH10212 Linear Algebra B Lecture 2 Row reduction and echelon forms Last change: 18 July 201711 Two linear systems are equivalent if and only if the augmented matrix of one of them can be obtained from the augmented matrix of another system by frow operations and insertion / deletion of zero rows.