Systems of Linear Equations

Similar documents
Exam 1 - Definitions and Basic Theorems

Elementary Operations and Matrices

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

Lecture 18: The Rank of a Matrix and Consistency of Linear Systems

Row Space, Column Space, and Nullspace

Math 2030 Assignment 5 Solutions

Math 3191 Applied Linear Algebra

Math 3013 Problem Set 4

Kernel and range. Definition: A homogeneous linear equation is an equation of the form A v = 0

Chapter 1: Systems of Linear Equations

Lecture Summaries for Linear Algebra M51A

Math 4377/6308 Advanced Linear Algebra

Math 3191 Applied Linear Algebra

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

MAT 242 CHAPTER 4: SUBSPACES OF R n

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

6.4 Basis and Dimension

Solving Systems of Equations Row Reduction

Math 3C Lecture 25. John Douglas Moore

A = u + V. u + (0) = u

AN APPLICATION OF LINEAR ALGEBRA TO NETWORKS

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Study Guide for Linear Algebra Exam 2

Lecture 9: Vector Algebra

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

Math Studio College Algebra

Definition 2.3. We define addition and multiplication of matrices as follows.

Matrix Basic Concepts

Linear equations in linear algebra

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Lecture 11. Andrei Antonenko. February 26, Last time we studied bases of vector spaces. Today we re going to give some examples of bases.

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

(II.B) Basis and dimension

Review of Some Concepts from Linear Algebra: Part 2

PH1105 Lecture Notes on Linear Algebra.

MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

Chapter 7. Tridiagonal linear systems. Solving tridiagonal systems of equations. and subdiagonal. E.g. a 21 a 22 a A =

Span and Linear Independence

Solving Systems of Linear Equations

6.4 BASIS AND DIMENSION (Review) DEF 1 Vectors v 1, v 2,, v k in a vector space V are said to form a basis for V if. (a) v 1,, v k span V and

Linear Algebra I Lecture 8

MATH Linear Algebra

Systems of Linear Equations

Algorithms to Compute Bases and the Rank of a Matrix

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

MATRICES. a m,1 a m,n A =

1 Last time: inverses

Abstract Vector Spaces and Concrete Examples

Math 54 HW 4 solutions

Diagonalization of Matrices

LS.1 Review of Linear Algebra

This last statement about dimension is only one part of a more fundamental fact.

Math 369 Exam #2 Practice Problem Solutions

We showed that adding a vector to a basis produces a linearly dependent set of vectors; more is true.

MTH 2032 Semester II

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:

Chapter 4. Vector Space Examples. 4.1 Diffusion Welding and Heat States

Topic 1: Matrix diagonalization

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

Chapter Two Elements of Linear Algebra

Lecture 3: Linear Algebra Review, Part II

Linear Algebra. Preliminary Lecture Notes

Linear Algebra 1 Exam 2 Solutions 7/14/3

Choose three of: Choose three of: Choose three of:

x n -2.5 Definition A list is a list of objects, where multiplicity is allowed, and order matters. For example, as lists

Chapter 1. Vectors, Matrices, and Linear Spaces

4 Vector Spaces. 4.1 Basic Definition and Examples. Lecture 10

1111: Linear Algebra I

Chapter 2. Error Correcting Codes. 2.1 Basic Notions

NAME MATH 304 Examination 2 Page 1

Algebraic Methods in Combinatorics

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

Econ Slides from Lecture 7

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

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

Fall 2016 MATH*1160 Final Exam

( v 1 + v 2 ) + (3 v 1 ) = 4 v 1 + v 2. and ( 2 v 2 ) + ( v 1 + v 3 ) = v 1 2 v 2 + v 3, for instance.

Least squares problems Linear Algebra with Computer Science Application

1 Last time: determinants

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Linear Algebra. Preliminary Lecture Notes

Lecture 6: Spanning Set & Linear Independency

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

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

Linear Equations in Linear Algebra

Math Linear algebra, Spring Semester Dan Abramovich

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

NOTES (1) FOR MATH 375, FALL 2012

Linear Algebra, Summer 2011, pt. 2

Exercises Chapter II.

4.6 Bases and Dimension

Math 2331 Linear Algebra

Chapter 1 Vector Spaces

Math 205, Summer I, Week 4b: Continued. Chapter 5, Section 8

Overview. Motivation for the inner product. Question. Definition

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

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Linear Independence x

Transcription:

LECTURE 6 Systems of Linear Equations You may recall that in Math 303, matrices were first introduced as a means of encapsulating the essential data underlying a system of linear equations; that is to say, given a set of n linear equations in m variables one could arrange coefficients a ij of the variables x j into a rectangular array with n rows and m columns a a m A = a n a nm arrange the numbers on the right hand side as an array with one column b b = In fact, once matrix multiplication was been defined it was possible to replace the original set of linear with a single matrix equation Ax = b where x is m matrix holding the variables x,, x m x = b n x x m But you ll note, in this course, I have thus far avoided any connections to systems of linear equations My reason for this is to constantly stress the abstract vector space point of view However, now having beat that horse to death, I think we can safely look at a principal application of linear algebra without abandoning our abstract perspective Terminology 6 Let F be a field An n m linear system over F is a collection of n linear equations in m unknowns where each coefficient a ij F and each b i F Such a system will be called solvable if there exists a choice of field elements x,, x n F such that each equation is satisfied The field elements a ij,

6 SYSTEMS OF LINEAR EQUATIONS 2 i n, j m can be arranged in an n m matrix with entries in F: a a m A = a n a nm This matrix is called the coefficient matrix of the linear system The field elements b,, b n can be arranged in a n column vector b b = This column vector (for lack of a better standard terminology) will be referred to as the inhomogeneous part of the system If it so happens that each b i = 0 F, i n, then we say that the linear system is homogeneous Theorem 62 Consider a n m linear system with coefficient matrix A and inhomogenous part b F n For each i between and n, let c i denote the element of F n formed by writing the entries in the i th column of A in order (from top to bottom) Then the linear system has a solution if and only if either of the following two conditions is satisfied (i) b span (c,, c m ) (ii) dim span (c,, c m ) = dim span (c,, c m, b) b n Proof Suppose b lies in the span of c,, c m then there exists elements λ,, λ m F such that b = λ c + + λ m c m Both sides of this equation are vectors in F n Writing this vector equation component by component b = (b) = λ (c ) + + λ m (c m ) = λ a + λ m a m b n = (b) n = λ (c ) n + + λ m (c m ) n = λ a n + + λ m a nm we see x = λ,, x m = λ m furnishes us with a solution of the linear system On the other hand, if x,, x m is a solution to the linear system, we can reverse the above argument and regard the original linear system as stipulating a relationship between the entries in the columns of A, the numbers x,, x m and a vector b F n Interpreted this way, the relationship simply express the vector b as a linear combination of the column vectors of A To prove the equivalence of (i) and (ii) we note first that (i) immediately imples (ii) To see that (ii) also implies (i), Suppose that dim span (c,, c m ) = dim span (c,, c m, b) By Theorem 53, pick a subset {c,, c k } of the column vectors {c,, c m } that forms a basis for span (c,, c m ) Then b span (c,, c k ) if and only if b span (c,, c m ) Now if b / span (c,, c k ), then the can be no dependence relation amongst the vectors {c,, c k, b}, hence {c,, c k, b} would be a linearly independent set, hence k = dim span {c,, c k} = dim span {c,, c m } but k + = dim span (c,, c k, b) = dim span (c,, c m, b) which contradicts our hypothesis Example 63 Determine if the linear system has a solution 2x x 2 + x 3 = x x 2 + 2x 3 = 0 x + x 3 = 3

6 SYSTEMS OF LINEAR EQUATIONS 3 We have A = 2 2 0, b = By the preceding theorem, we just to determine if b lies in the span of c = 2, c 2 = 0, c 3 = 2 First we use row reduction to obtain a basis for span (c, c 2, c 3 ) The coefficient matrix of the vectors c, c 2, c 3 with respect to the standard basis of R 3 is 2 0 2 This matrix can be row reduced to 2 0 0 0 0 and so [, 2, ] and [0,, ] provide a basis for span (c, c 2, c 3 ) So dim span (c, c 2, c 3 ) = 2 Let us similarly compute the dimension of span (c, c 2, c 3, b) 2 0 0 2 0 row reduction 0 0 0 0 0 3 0 0 0 and so dim span (c, c 2, c 3, b) = 3 Since dim span (c, c 2, c 3 ) = 2 3 = dim span (c, c 2, c 3, b), we conclude that the given linear system has no solution 0 3 Let me now introduce some standard terminology that allows a more succinct expression of the result of Theorem 72 Definition 64 The rank of a linear system (or of its associated coefficient matrix) is the dimension of the column space of its coefficient matrix Definition 65 Let A is the coefficient matrix for a n m linear system and let b is the inhomogeneous part of the same system The augmented matrix for this system is the n (m + ) matrix a a m b [A b] a n a nm b n Theorem 66 A linear system has a solution if and only if rank of its coefficient matrix equals the rank of its augmented matrix The column space of a matrix is, of course, just the span of its column vectors

6 SYSTEMS OF LINEAR EQUATIONS 4 Thus far, we have only developed methods for checking as to whether or not a given linear system has solutions Before actually working out some methods of solution, let me first give one nice structural theorem about the solutions of such a system Recall that a linear system is called homogeneous if each b i, i n is equal to 0 F ; otherwise, it is called non-homogeneous Homogeneous linear systems have a very useful property: Theorem 67 Let S (A, 0) be a homogeneous n m linear system Then the solution set of S (A, 0) is a subspace of F m Let [c,, c m ] be the columns of A By the proof of Theorem 62, If x, y F m are solutions of S (A, 0), then x c + + x m c m = 0 y c + + y m c m = 0 Now consider a linear combination of x and y, αx + βy We have (αx + βy) c + + (αx + βy) m c m = α (x c + + x m c m ) + β (y c + + y m c m ) = α 0 + β 0 = 0 And so every linear combination of x and y is also a solution of S (A, 0) Hence, the solution set of S (A, 0) is a subspace of F m Before discussing the solutions of non-homogeneous linear systems, let me introduce a simple geometric construction Definition 68 Let p 0 be an element of a vector space V and let S be subspace of V The hyperplane through p 0 generated by S is the set H p0,s = {v V v = p 0 + s ; s S} Remark 69 A special case is when S = span (d) In this case, H p0,s is called the line through p 0 in the direction of d Remark 60 Hyperplanes are subsets of V, but they usually are not subspaces prove H p0,s is a subspace p 0 S In fact, later we shall Back to linear systems If we are given a non-homogenous linear system, we can always attach to it a corresponding homogeneous system by considering the homogeneous linear system with exactly the same coefficient matrix as the original linear system Theorem 6 Suppose S (A, b) is a n m linear system with coefficient matrix A and inhomogeneous part b and S (A, 0) is the corresponding homogeneous linear system Then if x = [x,, x m ] F m is a solution to S (A, b) then any other solution x of S (A, b) can be expressed as x = x + x 0

6 SYSTEMS OF LINEAR EQUATIONS 5 where x 0 is a solution to S (A, 0) Proof Let c,, c m be the column vectors of A Suppose x and x are two solutions of S (A, b) From the proof of Theorem 72, this means x c + x 2 c 2 + + x m c m = b x c + x 2c 2 + + x mc m = b If we subtract the first equation from the second we get (x x ) c + (x 2 x 2 ) c 2 + + (x m x m ) c m = 0 F n which says that x x is a solution of S (A, 0) If we denote this solution by x 0 we have x x = x 0 x = x + x 0 I ll now rephrase this result in a manner similar to the way the solutions of a linear differential equation are typically described Corollary 62 Let x be a solution of an n m linear system S (A, b), and let S be the solution set of the corresponding homogeneous linear system S (A, 0) Then the solution set of S (A, b) coincides with the hyperplane through x generated by S Proof Let x be given as above and let y be an arbitrary solution of S (A, b) By the preceding theorem, y x = s for some s S (A, 0) y = x + s for some s S y H x,s On the other hand, it is easy to see that if y H x,s then y is a solution of S (A, b) For y c + + y m c m = (x + s) c + + (x + s) m c m = (x c + x 2 c 2 + + x m c m ) + (s c + s 2 c 2 + + s m c m ) = b + 0 = b