Math Linear algebra, Spring Semester Dan Abramovich

Similar documents
Study Guide for Linear Algebra Exam 2

Math Linear algebra, Spring Semester Dan Abramovich

Objective: Introduction of vector spaces, subspaces, and bases. Linear Algebra: Section

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

Math 4377/6308 Advanced Linear Algebra

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

Kevin James. MTHSC 3110 Section 4.3 Linear Independence in Vector Sp

Math 3191 Applied Linear Algebra

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

2018 Fall 2210Q Section 013 Midterm Exam II Solution

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

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

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

Math Linear Algebra Final Exam Review Sheet

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

1 Last time: inverses

March 27 Math 3260 sec. 56 Spring 2018

(a) only (ii) and (iv) (b) only (ii) and (iii) (c) only (i) and (ii) (d) only (iv) (e) only (i) and (iii)

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

ICS 6N Computational Linear Algebra Vector Space

Vector Spaces and Linear Transformations

Abstract Vector Spaces and Concrete Examples

Chapter 3. Vector spaces

Lecture 9: Vector Algebra

Row Space, Column Space, and Nullspace

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Sept. 26, 2013 Math 3312 sec 003 Fall 2013

The definition of a vector space (V, +, )

Math 22 Fall 2018 Midterm 2

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

Linear algebra and differential equations (Math 54): Lecture 10

Chapter 1. Vectors, Matrices, and Linear Spaces

Vector Spaces. (1) Every vector space V has a zero vector 0 V

Overview. Motivation for the inner product. Question. Definition

Vector Spaces and Subspaces

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

Solutions to Math 51 First Exam April 21, 2011

MTH 464: Computational Linear Algebra

Chapter 2: Matrix Algebra

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

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:

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

Math 54. Selected Solutions for Week 5

Math 54 HW 4 solutions

Tues Feb Vector spaces and subspaces. Announcements: Warm-up Exercise:

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Lecture 22: Section 4.7

Solutions to Math 51 Midterm 1 July 6, 2016

Math 3C Lecture 25. John Douglas Moore

Exam 1 - Definitions and Basic Theorems

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

Solving a system by back-substitution, checking consistency of a system (no rows of the form

1.3 Linear Dependence & span K

Assignment 1 Math 5341 Linear Algebra Review. Give complete answers to each of the following questions. Show all of your work.

Family Feud Review. Linear Algebra. October 22, 2013

Vector space and subspace

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

MAT 242 CHAPTER 4: SUBSPACES OF R n

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

Math 3108: Linear Algebra

Vector space and subspace

MATH 1553, SPRING 2018 SAMPLE MIDTERM 2 (VERSION B), 1.7 THROUGH 2.9

Properties of Linear Transformations from R n to R m

MATH2210 Notebook 3 Spring 2018

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

MATH SOLUTIONS TO PRACTICE PROBLEMS - MIDTERM I. 1. We carry out row reduction. We begin with the row operations

MATH 1553 PRACTICE FINAL EXAMINATION

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Section 4.5. Matrix Inverses

Math 544, Exam 2 Information.

Linear equations in linear algebra

SYMBOL EXPLANATION EXAMPLE

6. The scalar multiple of u by c, denoted by c u is (also) in V. (closure under scalar multiplication)

2. Every linear system with the same number of equations as unknowns has a unique solution.

Linear Algebra Quiz 4. Problem 1 (Linear Transformations): 4 POINTS Show all Work! Consider the tranformation T : R 3 R 3 given by:

Lecture Summaries for Linear Algebra M51A

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

Solutions to Final Exam

Chapter 2 Subspaces of R n and Their Dimensions

Criteria for Determining If A Subset is a Subspace

GENERAL VECTOR SPACES AND SUBSPACES [4.1]

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

spring, math 204 (mitchell) list of theorems 1 Linear Systems Linear Transformations Matrix Algebra

Test 3, Linear Algebra

LECTURE 6: VECTOR SPACES II (CHAPTER 3 IN THE BOOK)

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Announcements Monday, October 29

What is on this week. 1 Vector spaces (continued) 1.1 Null space and Column Space of a matrix

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

SUMMARY OF MATH 1600

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

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

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

LINEAR ALGEBRA SUMMARY SHEET.

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

Second Exam. Math , Spring March 2015

Math 369 Exam #2 Practice Problem Solutions

Math 3013 Problem Set 4

Math 550 Notes. Chapter 2. Jesse Crawford. Department of Mathematics Tarleton State University. Fall 2010

LINEAR ALGEBRA REVIEW

Transcription:

Math 52 0 - Linear algebra, Spring Semester 2012-2013 Dan Abramovich Fields. We learned to work with fields of numbers in school: Q = fractions of integers R = all real numbers, represented by infinite decimal expansions. C = complex numbers, written as {a + b 1, where a, b R}. These satisfy the usual commutativity and associativity of addition and multiplication, they have 0 and 1, oppostites x and inverses of nonzero elements 1/x, and satisfy distributivity. hardest in school 1

why 2 Note: Z = all integers is not a field N = positive integers even more so math 153 0 Also note that Q R C are subfields, since they are closed under all operations, including negatives and inverses. You can t be a computer scientist without working also with the field F 2 = {0, 1}, with usual multiplication and boolean addition defined by 1 + 1 = 0. Is F 2 a subfield of Q? a bit of a YOU MUST NOW BECOME

3 A MATHEMATICIAN preach Fix a field F- almost always we ll work with F = R. Elements of the field will be called scalars. Definition. A vector space is a set V with two operations: addition V V V (v, w) v + w and multiplication by scalars F V (c, v) satisfying axioms: V cv big breath

4 satisfying axioms: for all u, v, w V, c, d F (1) v + w = w + v; (2) (u + v) + w = u + (v + w); (3) there is 0 V such that 0 + v = v; (4) there is v V such that v + v = 0; (5) c(u + v) = cu + cv; (6) (c + d)(v) = cv + dv; (7) (cd)(v) = c(dv); and (8) 1v = v.

examples 5 R n is an R-vector space. of dimension n

6 examples of dimension n R n is an R-vector space. of dimension n of dimension n of dimension n Q n is a Q-vector space. C n is a C-vector space. F n 2 is a F 2-vector space.

examples 7 R n is an R-vector space. of dimension n Q n is a Q-vector space. C n is a C-vector space. F n 2 is a F 2-vector space. of dimension n of dimension n of dimension n C is an R-vector space R is a Q-vector space what? huh?

8 The collection of all real valued functions on a set S, say S = [0, 1], is a real vector space. Notation: R S. The collection of all continuous real valued functions on, say S = R, is a real vector space. Notation: C(R). The collection of all differentiable real valued functions on, say S = R, is a real vector space. Notation: C 1 (R).

9 The collection of all polynomials in variable t R, is a real vector space. Notation: R[t]. Book s notation: P. The collection of all polynomials in variable t R of degree at most n, is a real vector space. Book s notation: P n. yuck ouch

10 Definition. A subset W V is a subspace of V if it is closed under addition and multiplication by scalars. examples: W = V is a subspace; W = {0} is a subspace. Many examples above! When is a line in R 3 a subspace?

11 We use the word vector for an element in a vector space. Can we talk about a linear combination of vectors v 1,..., v n V? Can we talk about the span of vectors v 1,..., v n V?

12 Let s tie these together: Theorem. The span of a set of vectors in V is always a subspace of V. Theorem. A subset W V is a subspace if and only if it is closed under taking linear combinations.

The fundamental subspaces. Say A is m n real matrix. So it gives a linear transformation from R n to R m. 13 Definition. The null space of A, denoted Null A R n, is the set of solutions of Ax = 0.

14 Theorem. Null A is a subspace of R n. Proof.

Example: line in R 3 through 0: x 1 x 3 = 0 x 2 x 3 = 0 Parametric, or explicit, equation: 1 x = t 1. 1 15 stress advantages Example: plane in R 3 through 0: x 1 x 2 x 3 = 0 Parametric, or explicit, equation: 1 1 x = s 1 + t 0. 0 1

16 Definition The column space Col A R m of A = [a 1 a n ] is the span of the columns a 1,..., a n. So we do not need a new theorem: Col A R m is a subspace. Interpretation: Col A is the set of b R m for which the equation has a solution. Ax = b So: the set of b R m for which the equation Ax = b has a solution is a subspace!

17 Definition. Suppose V, W are R- vector spaces. A linear transformation T : V W is a function such that T (u + v) = T (u) + T (v) and T (cu) = ct (u). Examples: - matrices - derivatives - integrals

18 The corresponding notions: Ker T = {x V : T (v) = 0} V corresponds to Null A, Range T = {T (v) : v V } W corresponds to Col A

Linear independence A set of vectors {v 1,..., v n } in a vector space V is linearly dependent if there are scalars c 1,..., c n, not all 0, such that c 1 v 1 + + c n v n = 0. 19 Otherwise it is linearly independent. This means: the only solution of c 1 v 1 + + c n v n = 0 is the trivial solution c 1 = = c n = 0.

20 Theorem. {v 1,..., v n } is linearly dependent if and only if some v j is a linear combination of v 1,..., v j 1. two ways Proof

21 A Basis of a vector space is what gives it coordinates: Definition B V is a basis if B is linearly independent and spans V. This is the same as saying: every u V is written in a unique way as u = c 1 v 1 + + c n v n with v 1,..., v n B. prove

22 General examples: {e 1,..., e n } is a basis of R n. The columns of an invertible matrix form a basis of R n. Special examples: give some

Theorem. Every finite subset S V spanning V contains a basis B S of V. 23 Lemma. If v k S is a linear combination of the others, then spans V. S v k Proof.

24 Apply this to fundamental spaces: For Null A, row reduction produces an independent set of vectors spanning it. So it is a basis! For Col A we have: Theorem The pivot columns of A span Col A.

Dimension Theorem. Suppose {v 1,..., v m } is a basis of V. Then any set {w 1,..., w n } of more than m vectors is linearly dependent. 25 Proof. Since {v 1,..., v m } is a basis, every w j is in their span. Write this out this way: w 1 = a 11 v 1 + + a m1 v m... w n = a 1n v 1 + + a mn v m We seek a solution of x 1 w 1 + x n w n = 0. This means (a 11 x 1 + + a 1n x n )v 1 +.. + (a m1 x 1 + + a mn x n )v m = 0

26... This means (a 11 x 1 + + a 1n x n )v 1 +.. + (a m1 x 1 + + a mn x n )v m = 0 Since {v 1,..., v m } is independent this must be trivial: a 11 x 1 + + a 1n x n = 0.. a m1 x 1 + + a mn x n = 0 or Ax = 0. Since n > m, there are more variables than equations, so there is a non-trivial solution!

27 Theorem All bases of a vector space have the same size. Definition. The dimension of a vector space V is the size of any of its bases. Proof of theorem. many examples

discussion 28 Theorem. If dim V is finite, H V a subspace, and S H is linearly independent, then there is a basis B for H containing S. Proof

Theorem. Suppose dim V = n. (1) suppose S V is linearly independent and of size n. Then S is a basis of V. (2) suppose S V spans V and of size n. Then S is a basis of V. 29

30 Back to fundamental spaces: dim Null A = number of free columns. dim Col A = number of pivot columns. We give dim Col A a name: Rank A. Theorem. for an m n matrix A we have Rank A + dim Null A = n

2.3 When is a matrix invertible? 31 Theorem. T.F.A.E. for n n matrix A: (1) A is invertible (2) A is row equivalent to I n (3) A has n pivot positions (4) The only solution of Ax = 0 is x = 0 (5) a 1,..., a n are linearly independent (6) The transformation x Ax is 1-to-1. (7) Ax = b is consistent for all b R n. (8) Span(a 1,..., a n ) = R n (9) The transformation x Ax is onto. (10) There is C such that CA = I n (11) There is D such that AD = I n (12) A T is invertible

32 A basis gives coordinates to the space it spans: Theorem if B = {b 1,..., b n } is a basis of V, then every x V has a unique expression x = c 1 b 1 + + c n b n.

Again B = {b 1,..., b n } is a basis of V, and x V, so x = c 1 b 1 + + c n b n. Then c 1,..., c n are the coordinates of x in the basis B, c 1 [x] B =. R n c n is the coordinate vector, and x [x] B is the coordinate mapping. 33 examples

34 What if V = R n? Write P = P B = [b 1 b n ]. Proposition (1) x = P B [x] B. (2) P B is invertible (3) [x] B = (P B ) 1 x.

In general: Theorem if B = {b 1,..., b n } is a basis of V, then the coordinate mapping V R n x [x] B is an invertible linear transformation. 35

36 What if I have two bases B and C? In case V = R n then we can deduce from above: x = P B [x] B, [x] C = (P C ) 1 x so [x] C = (P C ) 1 P B [x] B. examples

37 We get a hint by understanding what (P C ) 1 P B does to e i : P B e i = b i (P C ) 1 b i = [b i ] C so (P C ) 1 P B e i = [b i ] C Summarizing: := (P C ) 1 P B = [ ] [b 1 ] C... [b n ] C P C B Direct calculation: ] [P C P B ] [ I n P C B

38 Theorem if B and C are two bases for V define P C B = [ [b 1 ] C... [b n ] C ] then for any x V [x] C = P C B [x] B

39 Row space. should have done the row space of a matrix A is the space spanned by the row vectors. Theorem. if A B then the row spaces are the same. If B is in echelon form, the nonzero rows form a basis. Its size is the number of pivots. Theorem. dim Row(A) = dim Col (A) earlier

40 The Fibonacci sequence is defined by a recursive formula: F k = F k 1 + F k 2 for all k 2, starting from F 0 = 0; F 1 = 1. It looks like this: 0, 1, 1, 2, 3, 5, 8, 13, 21,... Of course you can also go backwards, since F k 2 = F k F k 1 so it looks like..., 8, 5 3, 2, 1, 1, 0, 1, 1, 2, 3, 5, 8,...

41 We want to relate this to linear algebra: Think about the space as a vector space Think about the recursion as a linear transformation Think about the solutions as null space Think about the dimension of the solution space Find the solution in terms of a basis Think about matrices

42 The space: all sequences, infinite on both sides. This is just the space of real valued functions on the integers: R Z We know it is a vector space. It is infinite dimensional. The book called it the space of signals.

43 The recursion, also known as difference equation: F k+2 F k+1 F k = 0 If we write G k = F k+2 F k+1 F k we get a mapping T : R Z R Z (... F k... ) (... G k... )

44 What are the sequences satisfying the recursion? These are precisely the subspace Ker T R Z

45 Given a linear recursion of order (length) n 1, write it this way: (1) F k+n + a 1 F k+(n 1) + + a n F k, with a n 0. difference equation Theorem. For any choice of free variables F 0,..., F k 1 the recursion (1) has a unique solution. intuit Corollary. The space of solutions Ker T has dimension n = the order of the recursion. Basis: F (i) starts just like e i : 0, 0,..., 0, 1, 0,..., 0, F n (i), F (i) n+1,...

46 But how about a closed formula? Examples: (1) F k+1 F k = 0 (2) F k+1 + F k = 0 (3) F k+1 2F k = 0 (4) F k+2 3F k+1 + 2F k = 0

47 Theorem. if r is a solution of the polynomial equation r n + a 1 r n 1 + + a n 1 r + a n = 0 Then the sequence F k = r k is a solution of the recursion F k+n + a 1 F k+(n 1) + + a n F k, If the polynomial has n distinct roots r i then the sequences form a basis. F k = r k i

48 F k+2 F k+1 F k = 0 write the associated polynomial equation r 2 r 1 = 0 the solutions are r 12 = 1± 5 2

So if α = 1+ 5 2 and β = 1 5 2 49 then G k = α k and H k = β k are a basis for solutions. Write F k = x 1 G k + x 2 H k. Since F 0 = 0, F 1 = 1 get x 1 + x 2 = 0, αx 1 + βx 2 = 1 F k = αk β k 5.

50 We know that is a basis and is a basis. B = {G, H} C = {F (1,0), F (0,1) } G n = F (1,0) + αf (0,1) So So P B C H n = F (1,0) + βf (0,1) P C B = [ ] 1 1 α β = ( P ) 1 = 1 [ ] β 1 C B 5 α 1

[ [ ] F (0,1)] 0 = C 1 so [ F (0,1)] C = P B C [ ] 0 1 = 1 51 [ ] 1 5 1 So the Fibonacci sequence, which is F (0,1), is just F k = αn β n 5.

52 More on[ Fibonacci: ] Fk If x k = F k+1 [ ] [ ] Fk+1 F Then x k+1 = = k+1 F k+2 F k + F k+1 [ ] 0 1 which is Ax k with A = 1 1 [ ] So x k = A k x 0 = A k 0 1 We just need a simple formula for A k...