Let V be a vector space, and let X be a subset. We say X is a Basis if it is both linearly independent and a generating set.

Similar documents
Math 24 Spring 2012 Questions (mostly) from the Textbook

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

Spanning, linear dependence, dimension

This lecture: basis and dimension 4.4. Linear Independence: Suppose that V is a vector space and. r 1 x 1 + r 2 x r k x k = 0

Lecture 8: A Crash Course in Linear Algebra

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

LINEAR ALGEBRA: THEORY. Version: August 12,

0.2 Vector spaces. J.A.Beachy 1

Footnotes to Linear Algebra (MA 540 fall 2013), T. Goodwillie, Bases

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

SUPPLEMENT TO CHAPTER 3

Linear Algebra, Summer 2011, pt. 2

Lecture 1s Isomorphisms of Vector Spaces (pages )

No Solution Equations Let s look at the following equation: 2 +3=2 +7

Abstract Vector Spaces and Concrete Examples

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

8.1 Solutions of homogeneous linear differential equations

1 Last time: inverses

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

19. Basis and Dimension

Math 308 Spring Midterm Answers May 6, 2013

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

Lecture 6: Lies, Inner Product Spaces, and Symmetric Matrices

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

a (b + c) = a b + a c

MATH 51H Section 4. October 16, Recall what it means for a function between metric spaces to be continuous:

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

6 Basis. 6.1 Introduction

EXAM 2 REVIEW DAVID SEAL

Math 110, Spring 2015: Midterm Solutions

2 Systems of Linear Equations

A. Incorrect! Replacing is not a method for solving systems of equations.

The Completion of a Metric Space

Chapter 4. Solving Systems of Equations. Chapter 4

Dot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem.

Introduction to Algebra: The First Week

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

Introduction to Vectors

Linear Independence Reading: Lay 1.7

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

Row Reduction

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

Math 54 HW 4 solutions

Math 416, Spring 2010 Gram-Schmidt, the QR-factorization, Orthogonal Matrices March 4, 2010 GRAM-SCHMIDT, THE QR-FACTORIZATION, ORTHOGONAL MATRICES

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

MATH 115, SUMMER 2012 LECTURE 4 THURSDAY, JUNE 21ST

(Refer Slide Time: 0:21)

WEEK 7 NOTES AND EXERCISES

Constrained and Unconstrained Optimization Prof. Adrijit Goswami Department of Mathematics Indian Institute of Technology, Kharagpur

15. LECTURE 15. I can calculate the dot product of two vectors and interpret its meaning. I can find the projection of one vector onto another one.

MATH 12 CLASS 4 NOTES, SEP

NAME MATH 304 Examination 2 Page 1

Solution to Proof Questions from September 1st

Preptests 55 Answers and Explanations (By Ivy Global) Section 4 Logic Games

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

Isomorphisms and Well-definedness

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note Introduction to Linear Algebra the EECS Way

Exercises on chapter 0

1.8 Dual Spaces (non-examinable)

3 Fields, Elementary Matrices and Calculating Inverses

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

HOW TO THINK ABOUT POINTS AND VECTORS WITHOUT COORDINATES. Math 225

Lecture 5. 1 Review (Pairwise Independence and Derandomization)

LINEAR ALGEBRA BOOT CAMP WEEK 1: THE BASICS

Abstract Vector Spaces

Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities

Linear Algebra, Summer 2011, pt. 3

Differential Equations

Chapter 2: Linear Independence and Bases

The Gram-Schmidt Process

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

AN ALGEBRA PRIMER WITH A VIEW TOWARD CURVES OVER FINITE FIELDS

We set up the basic model of two-sided, one-to-one matching

MATH2210 Notebook 3 Spring 2018

A PRIMER ON SESQUILINEAR FORMS

The Gram Schmidt Process

The Gram Schmidt Process

THE MINIMAL POLYNOMIAL AND SOME APPLICATIONS

NOTES (1) FOR MATH 375, FALL 2012

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

Linear Algebra. Introduction. Marek Petrik 3/23/2017. Many slides adapted from Linear Algebra Lectures by Martin Scharlemann

Complex Numbers. Rich Schwartz. September 25, 2014

In economics, the amount of a good x demanded is a function of the price of that good. In other words,

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

Vector Spaces and Linear Maps

Math 3108: Linear Algebra

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

Solutions to Homework 5 - Math 3410

Linear Algebra Notes. Lecture Notes, University of Toronto, Fall 2016

MATH 310, REVIEW SHEET 2

LAGRANGE MULTIPLIERS

Chapter 4 & 5: Vector Spaces & Linear Transformations

Elementary Linear Transform Theory

Lecture 6: Corrections; Dimension; Linear maps

Linear Algebra. Preliminary Lecture Notes

Chapter 1 Review of Equations and Inequalities

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

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

Linear Algebra Basics

Transcription:

Basis Let V be a vector space, and let X be a subset. We say X is a Basis if it is both linearly independent and a generating set. The first example of a basis is the standard basis for R n e 1 = (1, 0,..., 0), e 2 = (0, 1,..., 0),..., e n = (0, 0,..., 1) Why is this linearly independent? Why is this a generating set? Math 3410 (University of Lethbridge) Spring 2018 1 / 23

Example (Picture) The vectors (3, 2) and ( 2, 2) are a basis for R 2 because they are generators! and they are linearly independent. Notice that every vector in R 2 can be described as a linear combination of these vectors. Math 3410 (University of Lethbridge) Spring 2018 2 / 23

Why different bases, Example Sometimes you have a map, and you want to use it to describe where to go. But the map isn t oriented with the top to the north!! You might prefer the blue vectors, one of these points 100m north, the other 100m east. Some people like to orient with the map, and so they might like the red vectors. A really wierd person might pick exactly one red vector and one blue vector. whichever option you pick, any point on the map can be described as a linear combination of those two vectors Math 3410 (University of Lethbridge) Spring 2018 3 / 23

Theorems About Basis Theorem A set X is a basis if and only if for all v V there exists unique x 1,..., x l X and unique a 1,..., a l R such that: Proof Sketch: v = a 1 x 1 + + a l x l By definition: X is Basis X is Generating Set + X is Linearly Independent. By definition: X is Generating Set Span(X ) = V. By theorem: X is Linearly Independent expressions for things in Span are unique. -direction If X is a basis then it is a generating set and linearly independent, since it is a generating set there exists some way of writing each vector, since it is linearly independent these are unique. -direction Since there exists a way to write every vector as a linear combination, this means by definition X is a generating set. Since the expressions are always unique, by one of our previous theorems X is linearly independent. Math 3410 (University of Lethbridge) Spring 2018 4 / 23

The Existance of a Basis Theorem Suppose V is any vector space. Given any linearly independent set L V, and generating set G for V for which L G then there exists a basis B of V for which L B G I will give a proof of this, in the finitely generated case on the next few slides. Corallary Every vector space has a basis. Theorem Suppose V is any vector space, and B 1 and B 2 are any two basis then B 1 = B 2, that is they have the same size. This theorem (when V is finitely generated) is a bonus question on the assignment. We will never use this theorem in the infinite case, the proof in that case is very different than the finitely generated case.. Math 3410 (University of Lethbridge) Spring 2018 5 / 23

The Existance of a Basis Lemma If V is any vector space. Given any linearly independent set M V, and a generating set G for V for which M G then if M is not a basis for V, there exists g G such that M { g} is linearly independent. Proof: We know M is not a basis, so it is not a generating set. From the assignment because M is not a generating set, and G is, we know there is g G such that g Span(M). From the assignment because M is linearly independent, and g Span(M), we know then that M { g} is linearly independent. This proves the result. Math 3410 (University of Lethbridge) Spring 2018 6 / 23

The Existance of a Basis Theorem Suppose V is any vector space. Given any linearly independent set L V, and a finite generating set G for V for which L G then there exists a basis B of V for which L B G Proof: Consider the subset L of the power set P(G) of G given by M = {M G L M, and M is linearly independent} The set of things which could maybe be the B we want. Consider the subset N N of natural numbers: N = {n N M M M = n} We have that n N, n < G because all the sets in M are subsets of G. Let n be the largest element of N, and let B M (so L B G) be such that B = n. Then there is no set M B with B M G for which M is linearly independent. If there was, it would be in M and have size larger than n. We now know that B is a basis, for if it was not, our lemma would find such a set M. Math 3410 (University of Lethbridge) Spring 2018 7 / 23

Theorems About Basis Theorem If X is a basis, then no subset of X is a generating set, and no larger set is linearly independent. This is on the assignment. Math 3410 (University of Lethbridge) Spring 2018 8 / 23

Examples Find a basis for W = {(w, x, y, z) R 4 w x y + z = 0 and w 2x + y = 0} We first need to find a generating set. We then need to find a linearly independent subset. Solution: We know that every vector v = (w, x, y, z) W satisfies the equations w x y + z = 0 and w 2x + y = 0. But this is equivalent to satisfying w x y + z = 0 and x + 2y z = 0 and hence also equivalent to satisfying w = 3y 2z and x = 2y z. So by taking z = s and y = t we can write v = (3t 2s, 2t s, t, s) = t(3, 2, 1, 0) + s( 2, 1, 0, 1) From this we can see that every element of W can be writte in terms of (3, 2, 1, 0), ( 2, 1, 0, 1) hence these are a generating set. These vectors are linearly independent because if 0 = t(3, 2, 1, 0) + s( 2, 1, 0, 1) = (3t 2s, 2t s, t, s) then we immediately have t = s = 0. As they are generators and linearly independent, we know that (3, 2, 1, 0), ( 2, 1, 0, 1) are a basis. Math 3410 (University of Lethbridge) Spring 2018 9 / 23

Theorem A basis for a vector space described by a system of equations can always be found by finding the general form for the solution to the system of equations Proof Idea: This is equivalent to the fact that writing the general form of the solution to a system of equations using gaussian elimination and back substitution is something that actually works. If you want your solution to finding a basis for a vector space to be a proof, it is important you include enough details about the process that someone can know you have found the general solution! Ideally you would also say why you know the vectors you find are generators and independent. Math 3410 (University of Lethbridge) Spring 2018 10 / 23

Examples Find a basis for: W = Span((1, 2, 3, 4), (4, 3, 2, 1), (1, 1, 1, 1)) Solution: We notice that (1, 1, 1, 1) = 1 (1, 2, 3, 4) + 1 (4, 3, 2, 1) so that 5 5 (1, 1, 1, 1) Span((1, 2, 3, 4), (4, 3, 2, 1)) It follows from what we know about Spans (one of our theorems) that Span((1, 2, 3, 4), (4, 3, 2, 1)) = Span((1, 2, 3, 4), (4, 3, 2, 1), (1, 1, 1, 1)) = W thus any basis for Span((1, 2, 3, 4), (4, 3, 2, 1)) is a basis for Span((1, 2, 3, 4), (4, 3, 2, 1), (1, 1, 1, 1)). The vectors (1, 2, 3, 4), (4, 3, 2, 1) are linearly independent, because the equation a(1, 2, 3, 4) + b(4, 3, 2, 1) = (0, 0, 0, 0) leads a + 4b = 0 amd 2a + 3b = 0 from which we conclude by subtracting twice the first equation from the second that 5b = 0 and hence b = 0, plugging this into first equation gives a = 0. So the only solution to a(1, 2, 3, 4) + b(4, 3, 2, 1) = (0, 0, 0, 0) is a = b = 0 so the vectors are linearly independent. As (1, 2, 3, 4), (4, 3, 2, 1) are linearly independent and span W, they are a basis. Math 3410 (University of Lethbridge) Spring 2018 11 / 23

Theorem A basis for a vector space described by a span can always be found by finding a maximal linearly independent subset. Proof Idea: This is basically how we proved a basis existed in the first place!! In order to convince someone you have found a maximally linearly independent subset you must convince them it is Linearly independent, and that all the other vectors are still in the Span of these vectors. Math 3410 (University of Lethbridge) Spring 2018 12 / 23

Dimension of a Vector Space Let V be a vector space, and let X be a basis. The dimension of V is the size of X, if X is finite we say V is finite dimensional. The theorem that says all basis have the same size is crucial to make sense of this. Note: Every finitely generated vector space is finite dimensional. Theorem The dimension of R n is n. Proof Idea: Because we know a basis! Theorem If a subspace W of R n is described as the solutions to a system of equations A x = 0 Then the dimension of W is exactly the number of parameters needed to express the general form of the solution to the system. Proof Idea: Because we know how to write the general form to a solution of a system of equations. Math 3410 (University of Lethbridge) Spring 2018 13 / 23

Theorems About Dimension Lemma If U V is a subspace then there exists a basis B for V of the form: B = B 1 B 2 where B 1 is a basis for U. Proof: We know that U has a basis, call it B 1. Then as B 1 is linearly independent, V has a basis B with B 1 B. setting B 2 = B \ B 1 gives the result. Corollary If U V is a subspace of V then dim(u) dim(v ) moreover, if the dimension is finite, then equality holds if and only if V = U. Proof: By the lemma, a basis B 1 for U is a subset of a basis B for V, so we have B 1 B from which the first claim follows. For the second claim we notice that if the dimensions are the same, then B 1 = B and so U = Span(B 1) = Span(B) = V and conversely, we have already seen if Span(B 1) = Span(B) and B 1 B are both linearly independent, then B 1 = B. Math 3410 (University of Lethbridge) Spring 2018 14 / 23

Example Uses of Dimension Consider the vector subspace W R 4 given by: Show that W = {(w, x, y, z) R 4 w x y + z = 0 and w 2x + y = 0} Span((1, 2, 3, 4), (4, 3, 2, 1)) = W We have already seen that Span((1, 2, 3, 4), (4, 3, 2, 1)) W. We know that Span((1, 2, 3, 4), (4, 3, 2, 1)) has dimension 2, because (1, 2, 3, 4), (4, 3, 2, 1) are a basis. Likewise W = {(w, x, y, z) R 4 w x y + z = 0 and w 2x + y = 0} has dimension 2, as we have found a basis. Therefor by the previous theorem they are equal. Math 3410 (University of Lethbridge) Spring 2018 15 / 23

Finite Dimensional Vector Spaces Suppose V is a vector space and e 1,..., e n is a basis so that V has dimension n. Then every vector in v V has a unique representation of the form: v = a 1 e 1 + a 2 e 2 + + a n e n The information in a 1 e 1 + a 2 e 2 + + a n e n is essentially the same as the information in (a 1, a 2,..., a n) (provided you remember the basis e 1,..., e n you can translate back and forth.) Importantly, all operations in the vector space V, that is addition, scalar multiplication and confirming if vectors are equal, can be performed with representatives in the form a 1 e 1 + a 2 e 2 + + a n e n in a way which is equivalent to performing operations with (a 1, a 2,..., a n) in R n. So answering questions about linear independence, generating sets, so forth will tend also to translate immediately, once we pick a basis. Math 3410 (University of Lethbridge) Spring 2018 16 / 23

What all of that is saying is summarized by the following theorem: Theorem Every vector space V of dimension n is isomorphic to R n (as a vector space). We will eventually make this more precise, but for now: An Isomorphism is a map between two mathematical objects which preserves the underlying structure of the objects and has an inverse which does the same. In the present context that means the function: a 1 e 1 + a 2 e 2 + + a n e n (a 1, a 2,..., a n) on an assignment you will explain why this is a function. An isomorphism is a map that tells you two objects are essentially the same, that is to say, in some sense equivalent. Despite the fact that they are not literally the same object. The notion of isomorphism for vector spaces gives an equivalence relation on the category (collection of all) vector spaces. We will define (soon) what types of maps preserves the underlying structure of vector spaces (they will be called Linear Transformations). One of the main usefulnesses of basis, is that they let us do solve problems for an arbitrary vector space V, in the same way that we would solve them for R n. Math 3410 (University of Lethbridge) Spring 2018 17 / 23

Finite Dimensional Vector Spaces vs R n The following operations are strictly equivalent between the two representations: Adding vectors Multiplying by scalars Checking equality (note: this is what requires linear independence) Compare: (a 1 e 1 + + a n e n) + (b 1 e 1 + + b n e n) = (a 1 + b 1) e 1 + + (a n + b n) e n against (a 1,..., a n) + (b 1,..., b n) = (a 1 + b 1,..., a n + b n) Despite this, it is important to note that the choice of basis is a critical component of this identification. It has a significant impact on: How you might choose a dot product, hence on angles and lengths. How you might represent matricies. What the values of the numbers in the vectors you want to deal with are. Math 3410 (University of Lethbridge) Spring 2018 18 / 23

Finite Dimensional Vector Spaces vs R n (example of the good) If e 1, e 2, e 3 is a basis for V then a 1 e 1 + b 1 e 2 + c 1 e 3, a 2 e 1 + b 2 e 2 + c 2 e 3, a 3 e 1 + b 3 e 2 + c 3 e 3 are linearly independent if and only if are linearly indepdent. Indeed, trying to solve (a 1, b 1, c 1), (a 2, b 2, c 2), (a 3, b 3, c 3) x(a 1 e 1 + b 1 e 2 + c 1 e 3) + y(a 2 e 1 + b 2 e 2 + c 2 e 3) + z(a 3 e 1 + b 3 e 2 + c 3 e 3) = 0 is the same as solving: (a 1x + a 2y + a 3z) e 1 + (b 1x + b 2y + b 3z) e 2 + (c 1x + c 2y + c 3z) e 3 = 0 Because e 1, e 2, e 3 are Linearly independent happens exactly when: But this is the same equations as for a 1x + a 2y + a 3z = 0 b 1x + b 2y + b 3z = 0 c 1x + c 2y + c 3z = 0 x(a 1, b 1, c 1) + y(a 2, b 2, c 2) + z(a 3, b 3, c 3) = (0, 0, 0) which corresponds to doing the check for independence in R 3. Math 3410 (University of Lethbridge) Spring 2018 19 / 23

Assume that e 1, e 2, e 3 is a basis for V, demonstrate whether or not the following vectors are linearly independent. e 1 + 2 e 2, e 2 + e 3 We translate the problem to R 3 using the identification a e 1 + b e 2 + c e 3 (a, b, c) so that e 1 + 2 e 2, e 2 + e 3 (1, 2, 0), (0, 1, 1) and so we need to check if (1, 2, 0), (0, 1, 1) are linearly independent. We check this by solving a(1, 2, 0) + b(0, 1, 1) = (0, 0, 0) which becomes: 1a + 0b = 0 2a + 1b = 0 0a + 1b = 0 We see from the first and last equation the only solution is a = b = 0 which shows these vectors are linearly independent. It is important when doing this kind of translation you explain what you are doing. If you want your solution to be a proof, it must be clear what you are doing in each step! People often will skip steps and try to solve 1x + 2y + 0z = 0 0x + 1y + 1z = 0 there is a way to solve the problem this way... but if you don t explain what you are doing (or worse don t understand it) you can t really have a proof. Math 3410 (University of Lethbridge) Spring 2018 20 / 23

Finite Dimensional Vector Spaces vs R n (example of the ugly) For example, every subspace U R 5 has a finite basis, say it is f 1 = (3, 5, 7, 19, 32), f 2 = (1, 2, 3, 2, 3), f 3 = (0, 2, 0, 1, 0), f 4 = (1, 1, 1, 1, 4). so that U = Span( f 1, f 2, f 3, f 4). This means we can view: U R 4 via a 1 f1 + a 2 f2 + a 3 f3 + a 4 f4 (a 1, a 2, a 3, a 4) With this identification (1, 0, 0, 0) R 4 corresponds to f 1 which is a vector in R 5. It is likely not a good idea to ever write: (1, 0, 0, 0) = f 1 = (3, 5, 7, 19, 32) as this would be confusing, and certainly you can see why these have different lengths. And it would definitely be confusing to write R 4 = U R 5. So even when talking about finite dimensional vector spaces, it can be useful to not automatically identify then with R n. At the same time, it can be very useful to do so sometimes. Math 3410 (University of Lethbridge) Spring 2018 21 / 23

Finite Dimensional vs Infinite Dimensional Throughout this course I will state many theorems and pose many questions were we introduce a basis (or a linearly independent set, or a generating set) as v 1,..., v n when we write it like this the set is clearly finite. It is almost always the case that the same theorems will be true if we just say { v i i I } is a basis (or a linearly independent set, or a generating set) or even just say is a basis (or a linearly independent set, or a generating set). B In fact, the proofs are almost always virtually identical, just with a bit of extra notation to track the index set I. There is some extra ambiguity and clarification in proving things about the word unique in this context, because now order of things is not fixed. Math 3410 (University of Lethbridge) Spring 2018 22 / 23

Natural Questions About Basis and Dimension Find a basis for V. The proof that they exist implies an algorithm. The processes we used in R n are much more concrete. In most cases the key is to start by finding a (finite) generating set, then find a maximal linearly independent subset. Is X a basis for V? Check the definition. Iis it linearly independent, are they generators? Find the dimension of V. Find a basis and count. Math 3410 (University of Lethbridge) Spring 2018 23 / 23