Math Linear algebra, Spring Semester Dan Abramovich

Similar documents
Chapter 1: Systems of Linear Equations

Linear equations The first case of a linear equation you learn is in one variable, for instance:

Math Linear algebra, Spring Semester Dan Abramovich

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:

Linear Independence x

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

R b. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 1 1, x h. , x p. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9

ICS 6N Computational Linear Algebra Vector Equations

Chapter 1: Linear Equations

(i) [7 points] Compute the determinant of the following matrix using cofactor expansion.

Chapter 1: Linear Equations

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

1 Last time: inverses

Linear Equations in Linear Algebra

Study Guide for Linear Algebra Exam 2

Linear Equations in Linear Algebra

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

Math 54 HW 4 solutions

Linear transformations

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

Math 54 Homework 3 Solutions 9/

Linear Algebra Exam 1 Spring 2007

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

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

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

Matrix equation Ax = b

1 Last time: multiplying vectors matrices

13. Systems of Linear Equations 1

Linear equations in linear algebra

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

Lecture 6: Spanning Set & Linear Independency

1. TRUE or FALSE. 2. Find the complete solution set to the system:

System of Linear 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.

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

MATH 1553, SPRING 2018 SAMPLE MIDTERM 1: THROUGH SECTION 1.5

1111: Linear Algebra I

Math 3C Lecture 20. John Douglas Moore

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra

MATH10212 Linear Algebra B Homework Week 4

Section 2.2: The Inverse of a Matrix

Math 2331 Linear Algebra

Row Space, Column Space, and Nullspace

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

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

Exam 1 - Definitions and Basic Theorems

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

Math 3013 Problem Set 4

Abstract Vector Spaces and Concrete Examples

Row Reduction and Echelon Forms

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

MTH 464: Computational Linear Algebra

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

February 20 Math 3260 sec. 56 Spring 2018

Math 240, 4.3 Linear Independence; Bases A. DeCelles. 1. definitions of linear independence, linear dependence, dependence relation, basis

Chapter 1. Vectors, Matrices, and Linear Spaces

4 Vector Spaces. Space Flight and Control Systems

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

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 =

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

Linear independence, span, basis, dimension - and their connection with linear systems

Section 3.3. Matrix Equations

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

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

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

NAME MATH 304 Examination 2 Page 1

Linear Equations in Linear Algebra

Math 3191 Applied Linear Algebra

Math 54. Selected Solutions for Week 5

Linear Algebra Math 221

Review Solutions for Exam 1

1 Linear systems, existence, uniqueness

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

Linear Algebra MATH20F Midterm 1

Sept. 26, 2013 Math 3312 sec 003 Fall 2013

Span & Linear Independence (Pop Quiz)

Math 4377/6308 Advanced Linear Algebra

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay

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

( 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.

Review for Chapter 1. Selected Topics

Linear Equations and Vectors

Solutions to Math 51 First Exam April 21, 2011

MATH 225 Summer 2005 Linear Algebra II Solutions to Assignment 1 Due: Wednesday July 13, 2005

Math113: Linear Algebra. Beifang Chen

ICS 6N Computational Linear Algebra Vector Space

Linear Algebra (wi1403lr) Lecture no.4

Span and Linear Independence

Systems of Linear Equations

1 Last time: row reduction to (reduced) echelon form

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

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

Chapter 3: Theory Review: Solutions Math 308 F Spring 2015

Sept. 3, 2013 Math 3312 sec 003 Fall 2013

Homework 1.1 and 1.2 WITH SOLUTIONS

Linear Independence Reading: Lay 1.7

Math 3108: Linear Algebra

Overview. Motivation for the inner product. Question. Definition

MATH 1553, C.J. JANKOWSKI MIDTERM 1

Transcription:

Math 52 - Linear algebra, Spring Semester 22-23 Dan Abramovich Review We saw: an algorithm - row reduction, bringing to reduced echelon form - answers the questions: - consistency (no pivot on right) - dimension (count free variables) - write all solutions: free variables arbitrary basic variable x i appearing as pivot in row k: the equation says reduced echelon... x i + a k i+ x i+ +... a kn x n = b k x i = b k (a k i+ x i+ +... a kn x n ).

people asked if we get the same thing!! we may! and which basic 2 Theorem said: reduced echelon form is unique. Say x j is a free variable. Set x j = and all other free variables to be. This determines all the basic variables. We get the equation x i ++ ++ a kj ++ = b k, x i + a kj = b k, which means a kj = b k x i. This determines U, given which variables are free! To determine that it is best to think in terms of vectors.

Vectors A column vector is a matrix with one column. Here is a 3-vector: a b c The order of the entries does matter. 3

do example do example 4 Basic operations:. addition - you add two vectors of the same size and get again a vector of the same size: a b + c e f = g a + e b + f c + g 2. rescaling, or multiplication by a scalar: a da d b = db c dc

5 Notation issues: different texts and different people use different notations. I grew up with b. a c Vectors are also denoted in different ways: x, x, x or x. Get used to it!

examples! but we will imagine 6 Given a coordinate system, 2-vectors correspond to points in the plane. 3- vecotrs to points in space. We can interpret the basic operations of addition and rescaling - you may have seen this in calculus. The vector of all zeros is the zero vector, denoted n-vectors? we give up imaging them. Physicists know that they do appear in nature. So do computer scientists.

7 The operations have the usual properties (p27): u + v = v + u (u + v) + w = u + (v + w) u + = u = + u c(u + v) = cu + cv (c + d)u = cu + du c(du) = (cd)u u = u. we ll see these as axioms for a vector space

a most important notion 8 linear combination. we say that the vector example! c v + + c k v k is a linear combination of the vectors v,..., v k. The set of all linear combinations of v,..., v k is their span. Example: All plane vectors [ ] are linear combinations of e = and e [ ] 2 =

[ ] 2 Question: is the vector b = 3 a linear [ ] combination[ of] 3 a = and a =? Namely are there x, x 2 so that we have the vector equation x a + x 2 a 2 = b? 9 do this

A vector equations x a + x n a n = b is equivalent to the system of linear equations with augmeted matrix.... a a 2... a n b.... It answer the question: In what ways is b a linear combination of a, a 2,..., a n?

Uniqueness of reduced echelon form, one more step: We need to determine basic variables, so pivot columns. In an echelon form U, the k-th column is a pivot column exactly if it is not a linear combination of the previous columns. still need to show: the same holds on A!!

justify notation 2 The equation Ax = b Definition Say m n matrix A has columns x a, a 2,..., a n, and x =.. x n Then Ax = x a + + x n a n Do this: 2 [ ] 3 4 5 6 Note: matching n, result is an m vector.

3 The system of linear equations with augmeted matrix.... a a 2... a n b.... Is equivalent to the vector equation Do this Ax = b. 2 3 4 x = 5 6 2 2 2

columns span R m 4 Theorem. A an m n matrix. The following are equivalent: () Ax = b has a solution for every b R m (2) every b is a linear combination of columns of A (3) The echelon form of A has a pivot in every row. Proof.

alternative rules r row rule: A =. then r m r x Ax =. r m x Completely explicitly aj x j Ax = a2j x j. anj x j 5

6 linearity of operation Theorem: A(u + v) = Au + Av A(cu) = cau Proof. () [ ] u a a 2... a n. + u n = [ ] a a 2... a n v. v n u + v. u n + v n = (u + v )a + + (u n + v n )a n = (u a + + u n a n ) +(v a + + v n a n ) = Au + Av

Vector form of solutions We looked at the system given by augmented matrix 3 6 4 9 2 3 2 3 3 4 5 9 7 which has reduced echelon form 3 5 2 3 The original system is Ax = b where 3 6 4 9 A = 2 3 2 3 3 ; b = 4 5 9 7 7

8 Start with the associated homogeneous equation Ax h =. which has reduced echelon form 3 2 and solutions x = 3x 3, x 2 = 2x 3, x 4 =. In vector form: 3x 3 3 x h = 2x 3 x 3 = x 2 3 = x 3 v at least there is always the trivial solution!

9 The original system has solutions x = 5+3x 3, x 2 = 3 2x 3, x 4 =. = x = 5 3 5 + 3x 3 3 2x 3 x 3 + x 3 =: p + x 3 v 3 2 This is called a paprametric vector solution. Do this: Ax = b with A = [ ], b = [ ].

2 x = + x 2 + x 4 Always: particular + general homogeneous. Theorem. If p is one solution of Ax = b, then x is a solution if and only if it is of the form x = p + x h, where x h satisfies Ax h =. Proof.

2 Example: a chemical reaction combines a number of Al 2 O 3 molecules and a number of C atoms resulting in an amount of Al and an amount of CO 2. What can we say about these amounts? x 2 3 + x 2 = x 3 Ax =, where A = (Do this) + x 4 2 2 3 2

22 Reduced echelon: so x = x 4 2/3 4/3 2/3 4/3 To get integers take x 4 = 3 and get 2Al 2 O 3 + 3C 4Al + 3CO 2.

netweork: 23 x x 2 3 2 x 3

24 x + x 2 = x x 3 = 2 x 2 + x 3 = 3 The bottom two are the reduced echelon x x 3 = 2 x 2 + x 3 = 3 2 x = 3 + x 3

INDEPENDENCE Consider the vector equation 25 x v + + x n v n =. Definition. The vectors v,..., v n are linearly independent if the only solution is x =, and linearly dependent if there is a nonzero solution. discuss explicitly Examples: dependent or independent? 2 2, 4,? 2 2 2,,? 2

26,,? When is v linearly dependent? What does it mean for v, v 2 to be linearly dependent? Similar for v,..., v n to be linearly dependent?

Theorem v,..., v n are linearly dependent if and only if at least one of them is in the span of the others. Proof. 27 do it now

28 Columns of [ ] 2? 2 do it now Proposition. The columns of A are linearly independent if and only if Ax = b has only the trivial solution. Proof.

29 Theorem If v i are m-vectors, and n > m, then v,..., v n are linearly dependent. Proof. do it now