Ma 322 Spring Ma 322. Jan 18, 20

Similar documents
Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

Lecture 2 Systems of Linear Equations and Matrices, Continued

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

DEPARTMENT OF MATHEMATICS

Week 3 September 5-7.

W2 ) = dim(w 1 )+ dim(w 2 ) for any two finite dimensional subspaces W 1, W 2 of V.

Linear Algebra I Lecture 10

Review Notes for Linear Algebra True or False Last Updated: February 22, 2010

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Gaussian elimination

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 1. Vectors, Matrices, and Linear Spaces

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

Linear equations in linear algebra

Linear Algebra Exam 1 Spring 2007

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Linear Combination. v = a 1 v 1 + a 2 v a k v k

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

Solutions to Section 2.9 Homework Problems Problems 1 5, 7, 9, 10 15, (odd), and 38. S. F. Ellermeyer June 21, 2002

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

Solutions of Linear system, vector and matrix equation

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Linear Equations in Linear Algebra

Matrices and systems 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:

Next topics: Solving systems of linear equations

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

Notes on Row Reduction

Lecture 1 Systems of Linear Equations and Matrices

Solving Linear Systems Using Gaussian Elimination

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

MTH 464: Computational Linear Algebra

Number of solutions of a system

Computational Methods. Systems of Linear Equations

System of Linear Equations

DEPARTMENT OF MATHEMATICS

DEPARTMENT OF MATHEMATICS

Methods for Solving Linear Systems Part 2

1111: Linear Algebra I

Row Reduced Echelon Form

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

1 Systems of equations

Rank, Homogenous Systems, Linear Independence

MA 1B PRACTICAL - HOMEWORK SET 3 SOLUTIONS. Solution. (d) We have matrix form Ax = b and vector equation 4

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

Row Reduction and Echelon Forms

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

DEPARTMENT OF MATHEMATICS

4.3 Row operations. As we have seen in Section 4.1 we can simplify a system of equations by either:

(v, w) = arccos( < v, w >

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

(v, w) = arccos( < v, w >

Solutions to Exam I MATH 304, section 6

is Use at most six elementary row operations. (Partial

4 Elementary matrices, continued

Chapter 3. Linear Equations. Josef Leydold Mathematical Methods WS 2018/19 3 Linear Equations 1 / 33

Linear Equations in Linear Algebra

Chapter 1: Systems of Linear Equations

What is A + B? What is A B? What is AB? What is BA? What is A 2? and B = QUESTION 2. What is the reduced row echelon matrix of A =

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Matrix equation Ax = b

Linear Equations in Linear Algebra

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

1111: Linear Algebra I

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

Matrix & Linear Algebra

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

Section Gaussian Elimination

Lectures on Linear Algebra for IT

Matrices and RRE Form

Math Linear algebra, Spring Semester Dan Abramovich

Notes taken by Graham Taylor. January 22, 2005

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

x y = 1, 2x y + z = 2, and 3w + x + y + 2z = 0

(v, w) = arccos( < v, w >

Lecture Summaries for Linear Algebra M51A

Lecture 13: Row and column spaces

Solutions to Math 51 First Exam October 13, 2015

Solving Systems of Equations Row Reduction

MODEL ANSWERS TO THE THIRD HOMEWORK

MTH 362: Advanced Engineering Mathematics

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter 1: Linear Equations

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

Solution: By inspection, the standard matrix of T is: A = Where, Ae 1 = 3. , and Ae 3 = 4. , Ae 2 =

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

Vector Spaces 4.4 Spanning and Independence

The Gauss-Jordan Elimination Algorithm

Linear Algebra, Summer 2011, pt. 2

Linear Algebra I Lecture 8

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

Matrix operations Linear Algebra with Computer Science Application

4 Elementary matrices, continued

Chapter 1: Linear Equations

Chapter 4: Linear Equations

Transcription:

Ma 322 Spring 2017 Ma 322 Jan 18, 20 Summary ˆ Review of the Standard Gauss Elimination Algorithm: REF+ Backsub ˆ The rank of a matrix. ˆ Vectors and Linear combinations. ˆ Span of a set of vectors. ˆ Linear equations as a test of membership to a span. ˆ The system of an augmented matrix (A B) reinterpreted as AX = B.

The Standard Gauss Elimination. ˆ We consider a linear system of equations as an augmented matrix (A B) with or without a title row specified. As we have seen, it is useful to have the system reduced to REF (i.e. with a strict pc list). ˆ The big theorem is that a sequence of elementary operations applied to this matrix will always produce such an REF. There is no claim (or hope) of uniqueness of the final form, however, a certain associated integer called its rank will turn out to be a very useful tool for the solution process. ˆ While there are many choices of operations, we describe a certain well defined choice which is guaranteed to work. The Start and iterative step. ˆ Here is the set up. We assume that our augmented matrix is renamed M and it has m rows. We assume that ˆ The top i rows of M are already in REF and ˆ All the pivot columns in rows i + 1 to m are strictly bigger than the pivot columns for the first i rows. ˆ We describe the situation as having the top i rows inactive. ˆ The Plan: We can always begin with i = 0 and our algorithm will push i to m. Clearly, at the end, we have REF! ˆ Now we show how to make the i + 1-th row inactive.

The Improvement step. ˆ Among the rows from i + 1 to m, we pick the one whose pivot column is the least. We do a row swap as needed to make this row the i + 1-th. ˆ We always choose the smallest numbered row to swap into this (i + 1)-th place. This is the only time we use a row swap, and only if really needed. ˆ Now we do a sequence of row operations to arrange the pivot columns of all rows from i + 1 to m to be strictly bigger than that of our (i + 1)-th row. ˆ For each j > i + 1 we do the following well defined operation. The Main Operation. ˆ Suppose that the pivot column of the (i + 1)-th row is s. Thus, the entry M(i + 1, s) is the pivot in the (i + 1)-th row. ˆ For each j > i + 1 we wish to arrange the pivot column of the j-th row to be bigger than s. We already know that it is at least s. ˆ This exactly means that we need M(j, s) = 0 for all such j > i + 1. We call this entry M(j, s) the target - to be made zero! ˆ Important Formula: We use the operation R j cr i+1 where c is given by the formula c = M(j,s) M(i+1,s). ˆ Note that c can be remembered as target pivot. ˆ Note that this step is carried out for each j > i + 1 whenever M(j, s) 0. We typically do it in sequence, but as long as i + 1 is fixed, these all can be done at the same time, since they do not interfere with each other!

End of the Algorithm and its Uses. ˆ As seen above, we can make all the m rows inactive and thus have REF. ˆ At this stage, we are ready to solve the original equations. ˆ Def.1: Rank of M. The number of pivots in the final REF is called the rank of M and is denoted by rank(m). ˆ Note that we have not proved the rank to be well defined. That proof will come much later. ˆ Write the final form as M = (A B ). ˆ We note that both A and M are in REF and these are respectively REF of A and M. Consistency Condition. ˆ Def.2: Consistency: A system (A B) is said to be consistent if it has at least one solution. ˆ Def.3: Consistency Condition. We note that the original system represented by (A B) is consistent if and only if rank(a) = rank(m). ˆ Explicitly, this means that all the pivots in M occur in the A part. In other words, if some row of A is zero, then it must be the zero row of M. ˆ Example of an inconsistent system. Consider our old example with the RHS changed in the last equation. x y z RHS 1 1 3 12 0 1 6 20 2 0 3 11 1 1 2 t

Consistency example. ˆ It can be shown that the same REF steps as before, produce: x y z RHS 1 1 3 12 0 1 6 20 2 0 3 11 1 1 2 t x y z RHS 1 1 3 12 0 1 6 20 0 0 9 27 0 0 0 t + 5 ˆ Thus, our original system is consistent if and only if t + 5 = 0 or t = 5. ˆ Our original system had t = 5 and hence was consistent! For that system, both A and M had the same rank 3. A New Viewpoint of Linear Equations. ˆ Def.4: Vectors in n-dimensions. A column of n scalars a 1 v = a 2 is said to be an n-dimensional vector. a n ˆ Def.5: The set of all n-dimensional vectors forms the vector space R n. The space R n has two natural operations.

ˆ Given v = a 1 a 2 a n Vector Space Formalism. and w = v + w = b 1 b 2 b n a 1 + b 1 a 2 + b 2 a n + b n we define addition. ˆ Further, for any given scalar c, we define scalar multiplication ca 1 cv = ca 2. ca n Reinterpretation of a Linear System. ˆ There are some natural algebraic properties of these operations which will be formally stated later and used to define abstract vector spaces. ˆ Consider a linear system given by 2x + 3y = 5, 4x 3y = 17. ( ) ( ) ( 2 3 5 ˆ Set v =, w =, b = 4 3 17 ˆ Consider the vector calculation: ( ) ( 2 3 xv + yw = x + y 4 3 ) = ). ( 2x + 3y 4x 3y ). ˆ Thus our linear system can be reinterpreted as a vector equation: xv + yw = b.

Reinterpretation continued. ˆ More generally, Consider a system (A B). ˆ Suppose that A has n columns C 1, C 2,, C n corresponding to the coefficients of the n variables x 1, x 2,, x n respectively, ˆ then the equation x 1 C 1 + x 2 C 2 + + x n C n = B has the same meaning as the original system of equations. Span of a set of Vectors. ˆ To make it more succinct, we define Def.6: Span of a set of vectors Given any set S of vectors, we set: Span S = {a 1 v 1 + a 2 v 2 + a m v m } where m is any non negative integer, v 1, v 2,, v m are some m vectors in S and a 1, a 2,, a m are some scalars. ˆ Note that the definition is designed to work for an infinite set S, but for a finite set with n elements, we can fix n = m.

Solutions of Equations. ˆ To make our statements even simpler, we now define: Def.7: Matrix times a vector Given a matrix A with n-columns C 1, C 2, C n, and a vector v R n we set Av = a 1 C 1 + a 2 C 2 + + a n C n where v = a 1 a 2 a n. ˆ Thus, we can now rewrite the system (A B) as AX = B x 1 where X = x 2, i.e. B Span{C 1, C 2,, C n }. x n Nature of Solutions. ˆ Now we define Def.8: Column Space of a Matrix For a matrix A with columns C 1, C 2,, C n we define Col(A) = Span{C 1, C 2,, C n }. ˆ Thus, our consistency condition can be reformulated as (A B) is consistent iff AX = B has a solution iff B Col(A). ˆ In view of our earlier consistency condition, this says that B is in Col(A) iff augmenting B to A does not increase the rank!