ICS 6N Computational Linear Algebra Vector Equations

Similar documents
ICS 6N Computational Linear Algebra Vector Space

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

Linear Equations in Linear Algebra

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 Equations in Linear Algebra

ICS 6N Computational Linear Algebra Matrix Algebra

Span & Linear Independence (Pop Quiz)

Span and Linear Independence

ICS 6N Computational Linear Algebra Eigenvalues and Eigenvectors

Linear equations in linear algebra

1 Last time: inverses

Math 4377/6308 Advanced Linear Algebra

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.

Solutions of Linear system, vector and matrix equation

Chapter 1: Systems of Linear Equations

Chapter 1: Linear Equations

Math Linear algebra, Spring Semester Dan Abramovich

MTH 464: Computational Linear Algebra

Chapter 1: Linear Equations

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

System of Linear Equations

VECTORS [PARTS OF 1.3] 5-1

Row Reduction and Echelon Forms

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

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

Linear Algebra I Lecture 8

Lecture 9: Vector Algebra

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

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

Study Guide for Linear Algebra Exam 2

Chapter 1. Vectors, Matrices, and Linear Spaces

Linear Equations in Linear Algebra

Section 3.3. Matrix Equations

Linear Independence x

Sept. 26, 2013 Math 3312 sec 003 Fall 2013

Matrix equation Ax = b

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

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

Linear Equations and Vectors

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

Chapter 3. Vector spaces

Linear Algebra MATH20F Midterm 1

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

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

ICS 6N Computational Linear Algebra Symmetric Matrices and Orthogonal Diagonalization

Linear Algebra Practice Problems

Math 3191 Applied Linear Algebra

Math 54 HW 4 solutions

Solving Linear Systems Using Gaussian Elimination

Review for Chapter 1. Selected Topics

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Linear Equations in Linear Algebra

Homework Set #8 Solutions

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

22m:033 Notes: 1.3 Vector Equations

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

Math 2331 Linear Algebra

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Math 3C Lecture 25. John Douglas Moore

Lecture 6: Spanning Set & Linear Independency

Linear transformations

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

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

Math 3C Lecture 20. John Douglas Moore

NAME MATH 304 Examination 2 Page 1

1111: Linear Algebra I

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Linear Algebra I Lecture 10

Solving Linear Systems

and let s calculate the image of some vectors under the transformation T.

1 Last time: multiplying vectors matrices

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

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

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

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

MATH 54 - WORKSHEET 1 MONDAY 6/22

6.4 Basis and Dimension

Linear Algebra Exam 1 Spring 2007

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

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

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

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

Advanced Linear Algebra Math 4377 / 6308 (Spring 2015) March 5, 2015

Math 369 Exam #2 Practice Problem Solutions

Relationships Between Planes

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

Vector Spaces 4.4 Spanning and Independence

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

Announcements August 31

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

MAT 242 CHAPTER 4: SUBSPACES OF R n

MATH 1553 PRACTICE FINAL EXAMINATION

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

Math 3191 Applied Linear Algebra

1.4 Gaussian Elimination Gaussian elimination: an algorithm for finding a (actually the ) reduced row echelon form of a matrix. A row echelon form

MTH 464: Computational Linear Algebra

Linear Algebra Handout

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Linear Independence Reading: Lay 1.7

Transcription:

ICS 6N Computational Linear Algebra Vector Equations Xiaohui Xie University of California, Irvine xhx@uci.edu January 17, 2017 Xiaohui Xie (UCI) ICS 6N January 17, 2017 1 / 18

Vectors in R 2 An example of a vector with two entries is [ ] w1 W = w 2 where w 1 and w 2 are any real numbers. A matrix with only one column is called a column vector, or simply a vector. The set of all vectors with 2 entries is denoted by R 2 (read r-two). Two vectors are equal if and only if their corresponding entries are equal. Given two vectors u and v in R 2, their sum is the vector u + v obtained by adding corresponding entries of u and v. Given a vector u and a real number c, the scalar multiple of u by c is the vector cu obtained by multiplying each entry in u by c. Xiaohui Xie (UCI) ICS 6N January 17, 2017 2 / 18

Vector equations Given u = [ ] [ ] 1 2 and v =, find 4u, (-3)v and 4u-3v. 2 5 Xiaohui Xie (UCI) ICS 6N January 17, 2017 3 / 18

Geometric description of R 2 Consider a rectangular coordinate system in the plane. Because each point in the plane is determined by an ordered pair of numbers, [ ] we a can identify a geometric point (a, b) with the column vector b So we may regard R 2 as the set of all points in the plane. Xiaohui Xie (UCI) ICS 6N January 17, 2017 4 / 18

Vectors in R n Let u and v be vectors in R n u 1 u 2 u =. v 2 Rn, v =. Rn u n v n au + cv is also a vector in R n u 1 v 1 a u 1 + b v 1 u 2 a. + b v 2. = a u 2 + b v 2. u n v n a u n + b v n v 1 Xiaohui Xie (UCI) ICS 6N January 17, 2017 5 / 18

Algebraic properties of R n The vector whose entries are all zero is called the zero vector and is denoted by 0. For all u, v, w in R n and all scalars c, d: u + v = v + u (u + v) + w = u + (v + w) u + 0 = 0 + u = u u + ( u) = u + u = 0 c(u + v) = cu + cv (c+d)u=cu+du c(du) = (cd)u 1u = u Xiaohui Xie (UCI) ICS 6N January 17, 2017 6 / 18

Linear combinations Given v 1, v 2,..., v p vectors in R n, and given scalars c 1, c 2,..., c p, then vector y defined by y = c 1 v 1 + c 2 v 2 +... + c p v p is called a linear combination of v 1, v 2,...v p with weights c 1, c 2,..., c p The weights in a linear combination can be any real numbers, including zero. Xiaohui Xie (UCI) ICS 6N January 17, 2017 7 / 18

Examples [ ] [ ] 1 0 Let v 1 =, v 0 2 = 1 [ ] 1 1v 1 + 2v 2 = is a linear combination of v 2 1 and v 2 [ ] 0 0v 1 + 0v 2 = is a linear combination of v 0 1 and v 2 Xiaohui Xie (UCI) ICS 6N January 17, 2017 8 / 18

Linear combinations 1 2 7 Let a 1 = 2, a 2 = 5, b = 4. Determine whether b can be 5 6 3 generated (or written) as a linear combination of a 1 and a 2. That is, determine whether weights x 1 and x 2 exist such that x 1 a 1 + x 2 a 2 = b Xiaohui Xie (UCI) ICS 6N January 17, 2017 9 / 18

Solution 1 2 7 Given a 1 = 2, a 2 = 5, b = 4, Can b be written as a linear 5 6 3 combination of a 1 and a 2 with weights x 1 and x 2, i.e., x 1 a 1 + x 2 a 2 = b? Solution: Write down the augmented matrix of the corresponding linear system. Row reduce it to an echelon form: 1 2 7 1 2 7 2 5 4 = 0 1 2 5 6 3 0 0 0 There is a solution since there is no pivot in the last column. (The system is consistent) The solution is unique: x 1 = 3, x 2 = 2. So b = 3a 1 + 2a 2 Xiaohui Xie (UCI) ICS 6N January 17, 2017 10 / 18

Linear combinations A vector equation x 1 a 1 + x 2 a 2 + + x n a n = b has the same solution set as the linear system whose augmented matrix is [ a1 a 2 a n b ] In particular, b can be generated by a linear combination of a 1,, a n if and only if there exists a solution to the linear system corresponding to the above matrix. Xiaohui Xie (UCI) ICS 6N January 17, 2017 11 / 18

Span Definition If v 1, v 2,..., v p are vectors in R n, then the set of all linear combinations of v 1, v 2,..., v p, denoted by Span{v 1, v 2,..., v p }, is called the subset of R n spanned (generated) by v 1,, v p. Span {v 1, v 2,..., v p } is the collection of all vectors that can be written in the form c 1 v 1 + c 2 v 2 +... + c p v p with c 1,, c p scalars. The zero vector 0 is always in the Span. Xiaohui Xie (UCI) ICS 6N January 17, 2017 12 / 18

Example If v = [ ] 1, what is Span{v}? 1 Xiaohui Xie (UCI) ICS 6N January 17, 2017 13 / 18

Example [ ] 1 If v =, what is Span{v}? 1 Solution: [ c The collection of all vectors in the form of cv = c Geometrically, it is represented by the line through points (1, 1) and the origin in a plane. ], with any scalar c. Xiaohui Xie (UCI) ICS 6N January 17, 2017 14 / 18

Example If v 1 = [ ] 1,v 1 2 = [ ] 1, what is Span{v 0 1, v 2 }? Xiaohui Xie (UCI) ICS 6N January 17, 2017 15 / 18

Example If v 1 = [ ] 1,v 1 2 = [ ] 1, what is Span{v 0 1, v 2 }? Solution: The entire R 2 space. Xiaohui Xie (UCI) ICS 6N January 17, 2017 16 / 18

A GEOMETRIC DESCRIPTION OF SPAN V Let v be a nonzero vector in R 3. Then Span v is the set of all scalar multiples of v, which is the set of points on the line in R 3 through v and 0. See the figure below Xiaohui Xie (UCI) ICS 6N January 17, 2017 17 / 18

A GEOMETRIC DESCRIPTION OF SPAN U, V If u and v are nonzero vectors in R 3, with v not a multiple of u, then Span u, v is the plane in R 3 that contains u, v, and 0. In particular, Span u, v contains the line in R 3 through u and 0 and the line through v and 0. See the figure below. Xiaohui Xie (UCI) ICS 6N January 17, 2017 18 / 18