MATH 22A: LINEAR ALGEBRA Chapter 1
|
|
- Noah Short
- 5 years ago
- Views:
Transcription
1 MATH 22A: LINEAR ALGEBRA Chapter 1 Steffen Borgwardt, UC Davis original version of these slides: Jesús De Loera, UC Davis January 10, 2015
2 Vectors and Matrices ( ).
3 CHAPTER 1 Vectors and Linear Combinations 1.1
4 We can think of VECTORS as ordered n-tuples of real numbers. Each entry is a component. We often write them vertically! They are points in R n. 1 U = 12 U T = ( ) 7 Vectors can be added Get a vector again!! Vector can be multiplied by a number Get a vector again!! Definition For a finite set of vectors v 1, v 2,... v k, and numbers λ 1, λ 2,..., λ k a linear combination is the vector obtained as λ 1 v 1 + λ 2 v λ k v k The result is obtained operating one component at a time!! = 7 1
5 We can think of VECTORS as ordered n-tuples of real numbers. Each entry is a component. We often write them vertically! They are points in R n. 1 U = 12 U T = ( ) 7 Vectors can be added Get a vector again!! Vector can be multiplied by a number Get a vector again!! Definition For a finite set of vectors v 1, v 2,... v k, and numbers λ 1, λ 2,..., λ k a linear combination is the vector obtained as λ 1 v 1 + λ 2 v λ k v k The result is obtained operating one component at a time!! = =
6 We can think of VECTORS as ordered n-tuples of real numbers. Each entry is a component. We often write them vertically! They are points in R n. 1 U = 12 U T = ( ) 7 Vectors can be added Get a vector again!! Vector can be multiplied by a number Get a vector again!! Definition For a finite set of vectors v 1, v 2,... v k, and numbers λ 1, λ 2,..., λ k a linear combination is the vector obtained as λ 1 v 1 + λ 2 v λ k v k The result is obtained operating one component at a time!! = =
7 Addition of vectors is a commutative operation: A + B = B + A. There is a geometric interpretation of adding two vectors: What is A B in the picture?
8 Addition of vectors is a commutative operation: A + B = B + A. There is a geometric interpretation of adding two vectors: What is A B in the picture?
9 Addition of vectors is a commutative operation: A + B = B + A. There is a geometric interpretation of adding two vectors: What is A B in the picture?
10 QUESTION What happens if we take ONE vector A and compute ALL its linear combinations λa?? What is the picture?
11 QUESTION What happens if we take ONE vector A and compute ALL its linear combinations λa?? What is the picture? QUESTION Take two vectors A, B in the plane, compute all its linear combinations λa + µb with coefficients 0 λ, µ 1. What is the resulting picture?
12 QUESTION What happens if we take ONE vector A and compute ALL its linear combinations λa?? What is the picture? QUESTION Take two vectors A, B in the plane, compute all its linear combinations λa + µb with coefficients 0 λ, µ 1. What is the resulting picture? QUESTION Think of the 12 vectors that go from the center of a clock to the hours 1:00, 2:00,..., 12:00. What is the sum of these vectors?
13 QUESTION What happens if we take ONE vector A and compute ALL its linear combinations λa?? What is the picture? QUESTION Take two vectors A, B in the plane, compute all its linear combinations λa + µb with coefficients 0 λ, µ 1. What is the resulting picture? QUESTION Think of the 12 vectors that go from the center of a clock to the hours 1:00, 2:00,..., 12:00. What is the sum of these vectors? QUESTION Take two vectors A, B in the plane and consider all their linear combinations λa + µb with coefficients λ, µ INTEGER numbers. What do these linear combinations look like?
14 QUESTION What happens if we take ONE vector A and compute ALL its linear combinations λa?? What is the picture? QUESTION Take two vectors A, B in the plane, compute all its linear combinations λa + µb with coefficients 0 λ, µ 1. What is the resulting picture? QUESTION Think of the 12 vectors that go from the center of a clock to the hours 1:00, 2:00,..., 12:00. What is the sum of these vectors? QUESTION Take two vectors A, B in the plane and consider all their linear combinations λa + µb with coefficients λ, µ INTEGER numbers. What do these linear combinations look like? QUESTION Take two vectors A, B in the plane and consider all their linear combinations λa + µb with coefficients λ, µ any real numbers? What is the end result?
15 QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients 0 λ, µ, γ 1, what is the picture?
16 QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients 0 λ, µ, γ 1, what is the picture? QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients λ, µ, γ any real number, what is the picture?
17 QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients 0 λ, µ, γ 1, what is the picture? QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients λ, µ, γ any real number, what is the picture? QUESTION What do all linear combinations of the vectors 1 1 1, 0 in (3-dimensional) space generate? 1 0
18 QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients 0 λ, µ, γ 1, what is the picture? QUESTION Take three vectors A, B, C in (3-dimensional) space and consider all their linear combinations λa + µb + γc with coefficients λ, µ, γ any real number, what is the picture? QUESTION What do all linear combinations of the vectors 1 1 1, 0 in (3-dimensional) space generate? QUESTION What happens if you add the vector 1? 1 How does your answer change?
19 LENGTHS, ANGLES, DOT PRODUCTS (1.2) Wish: to measure the length of a vector, or the angle between two vectors
20 LENGTHS, ANGLES, DOT PRODUCTS (1.2) Wish: to measure the length of a vector, or the angle between two vectors Definition The dot product of two vectors p 1 q 1 p 2 p =., q = q 2. equals p n q n p q = p 1 q 1 + p 2 q p n q n
21 LENGTHS, ANGLES, DOT PRODUCTS (1.2) Wish: to measure the length of a vector, or the angle between two vectors Definition The dot product of two vectors p 1 q 1 p 2 p =., q = q 2. equals p n q n p q = p 1 q 1 + p 2 q p n q n = q p
22 LENGTHS, ANGLES, DOT PRODUCTS (1.2) Wish: to measure the length of a vector, or the angle between two vectors Definition The dot product of two vectors p 1 q 1 p 2 p =., q = q 2. equals p n q n p q = p 1 q 1 + p 2 q p n q n = q p Definition The length of a vector is defined as v = v v
23 Proposition 1: When v, u are perpendicular vectors, their dot product equals zero.
24 Proposition 1: When v, u are perpendicular vectors, their dot product equals zero. We can use the dot product to compute the angle between two vectors:
25 Proposition 1: When v, u are perpendicular vectors, their dot product equals zero. We can use the dot product to compute the angle between two vectors: So A B = A B cos(θ). Dot product is NEGATIVE if the angle is above 90. Dot product is POSITIVE if the angle is below 90.
26 Proposition 1: When v, u are perpendicular vectors, their dot product equals zero. We can use the dot product to compute the angle between two vectors: So A B = A B cos(θ). Dot product is NEGATIVE if the angle is above 90. Dot product is POSITIVE if the angle is below 90. These properties follow from basic trigonometry!
27 A B The quantity A B never exceeds ONE, because the cosine never does!! Thus Schwarz Inequality: A B A B
28 A B The quantity A B never exceeds ONE, because the cosine never does!! Thus Schwarz Inequality: A B A B Triangle inequality: Length of (A + B) is less than or equal to the length of A plus the length of B. A + B 2 = (A + B) (A + B) = A A + A B + A B + B B = A 2 + 2(A B) + B 2 because A B = B A A 2 +2( A B )+ B 2 = ( A + B ) 2 Schwarz Ineq. Thus A + B 2 ( A + B ) 2. Taking (positive) square root gives A + B A + B
29 The Law of Cosines can be justified with vectors, too! HOW CAN YOU SHOW THE LAW OF COSINES IS CORRECT USING VECTOR PROPERTIES?
30 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object)
31 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object) in R 2 given by a single equation ax + by = q, but more equations are needed in higher dimension!! Three non-collinear points define a plane (TWO dimensional object)
32 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object) in R 2 given by a single equation ax + by = q, but more equations are needed in higher dimension!! Three non-collinear points define a plane (TWO dimensional object) in R 3 given by a single equation ax + by + cz = q. Again, more equations are needed to describe the same object in higher dimension!
33 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object) in R 2 given by a single equation ax + by = q, but more equations are needed in higher dimension!! Three non-collinear points define a plane (TWO dimensional object) in R 3 given by a single equation ax + by + cz = q. Again, more equations are needed to describe the same object in higher dimension! Four non-collinear or co-planar points in 4-dimensions or more define a 3-hyperplane (THREE dimensional object)
34 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object) in R 2 given by a single equation ax + by = q, but more equations are needed in higher dimension!! Three non-collinear points define a plane (TWO dimensional object) in R 3 given by a single equation ax + by + cz = q. Again, more equations are needed to describe the same object in higher dimension! Four non-collinear or co-planar points in 4-dimensions or more define a 3-hyperplane (THREE dimensional object) inside R 4 given by one equation ax + by + cz + dw = q!
35 Lines, Planes, and HYPER-planes, a first teaser Two points define a line (ONE dimensional object) in R 2 given by a single equation ax + by = q, but more equations are needed in higher dimension!! Three non-collinear points define a plane (TWO dimensional object) in R 3 given by a single equation ax + by + cz = q. Again, more equations are needed to describe the same object in higher dimension! Four non-collinear or co-planar points in 4-dimensions or more define a 3-hyperplane (THREE dimensional object) inside R 4 given by one equation ax + by + cz + dw = q! Challenge: Given the points how do you find the equation of the line, plane or hyperplane that contains them? How do you find the coefficients a,b,d,c,q, etc.?
36 You are given points (2, 3, 4) and (3, 2, 5). Find the parametric line equations that describe the line x = 2 + t, y = 3 5t, z = 4 + 9t. You are given points (2, 2, 1), ( 1, 0, 3), and (5, 3, 4). Find the equation of the plane that contains them?
37 You are given points (2, 3, 4) and (3, 2, 5). Find the parametric line equations that describe the line x = 2 + t, y = 3 5t, z = 4 + 9t. You are given points (2, 2, 1), ( 1, 0, 3), and (5, 3, 4). Find the equation of the plane that contains them? We are looking for ax + by + cz = d that contains those points! We need to find a, b, c, d. HOW? Learn this in 21D!! You can use the cross-product.
38 You are given points (2, 3, 4) and (3, 2, 5). Find the parametric line equations that describe the line x = 2 + t, y = 3 5t, z = 4 + 9t. You are given points (2, 2, 1), ( 1, 0, 3), and (5, 3, 4). Find the equation of the plane that contains them? We are looking for ax + by + cz = d that contains those points! We need to find a, b, c, d. HOW? Learn this in 21D!! You can use the cross-product. But suppose instead you are given (7, 2, 3, 9), (3, 4, 1, 2), (1, 0, 3, 5), (1, 1, 0, 2). How to find ax + by + cz + dw = q?
39 You are given points (2, 3, 4) and (3, 2, 5). Find the parametric line equations that describe the line x = 2 + t, y = 3 5t, z = 4 + 9t. You are given points (2, 2, 1), ( 1, 0, 3), and (5, 3, 4). Find the equation of the plane that contains them? We are looking for ax + by + cz = d that contains those points! We need to find a, b, c, d. HOW? Learn this in 21D!! You can use the cross-product. But suppose instead you are given (7, 2, 3, 9), (3, 4, 1, 2), (1, 0, 3, 5), (1, 1, 0, 2). How to find ax + by + cz + dw = q? KEY IDEA Each point must satisfy the equation ax + by + cz + dw = q, each point gives ONE linear equation! Set up a system of linear equations with variables a, b, c, d, q and then solve the system. The system is now: 7 a + 2 b 3 c + 9 d q = 0, 3 a + 4 b + c 2 d q = 0, a + 3 c 5 d q = 0, a + b + 2 d q = 0.
40 NOTE: This is the same as saying: there are numbers a, b, c, d such that a b c d = q q q q
41 NOTE: This is the same as saying: there are numbers a, b, c, d such that a b c d = q q q q If the 4 points (7, 2, 3, 9), (3, 4, 1, 2), (1, 0, 3, 5), (1, 1, 0, 2) are in a hyperplane the vector (q, q, q, q) T is a linear combination of the 4 vectors you get by looking at the first, second, third, and fourth entries of the original points!
42 To find a non-trivial solution we can add the condition that q = 1! The new system is 7 a + 2 b 3 c + 9 d q = 0, 3 a + 4 b + c 2 d q = 0, a + 3 c 5 d q = 0, a + b + 2 d q = 0, AND q = 1. We can solve any system of linear equations using MATLAB. Create a MATRIX for the system: The right-hand side vector we want to solve for is b = (0, 0, 0, 0, 1) T. Solution is (0, 1/5, 1, 2/5, 1).
43 Linear dependence and independence: A first teaser Question: If you have two vectors in the plane (a, b) and (c, d), when are they giving the same line through the origin?
44 Linear dependence and independence: A first teaser Question: If you have two vectors in the plane (a, b) and (c, d), when are they giving the same line through the origin? (a, b) must be a multiple of (c, d): (a, b) = λ(c, d) or (a, b) λ(c, d) = 0!
45 Linear dependence and independence: A first teaser Question: If you have two vectors in the plane (a, b) and (c, d), when are they giving the same line through the origin? (a, b) must be a multiple of (c, d): (a, b) = λ(c, d) or (a, b) λ(c, d) = 0! Question: Two (non-collinear) vectors (p, q, r), (u, v, w) in R 3 define a plane P through the origin (0, 0, 0). If you are given a new vector (e, f, g), how do you know whether (e, f, g) is in P?
46 Linear dependence and independence: A first teaser Question: If you have two vectors in the plane (a, b) and (c, d), when are they giving the same line through the origin? (a, b) must be a multiple of (c, d): (a, b) = λ(c, d) or (a, b) λ(c, d) = 0! Question: Two (non-collinear) vectors (p, q, r), (u, v, w) in R 3 define a plane P through the origin (0, 0, 0). If you are given a new vector (e, f, g), how do you know whether (e, f, g) is in P? Say the plane has equation ax + by + cz = 0, for some unknown numbers a, b, c (not all zero!) then it must be the case that p a u e + b q v f + c r w g = 0
47 Definition We say that vectors v 1, v 2,..., v k are linearly dependent if there are numbers λ 1,..., λ k, not all zero, such that λ 1 v 1 + λ 2 v λ k v k = 0 There is a linear combination that gives the zero vector!
48 Definition We say that vectors v 1, v 2,..., v k are linearly dependent if there are numbers λ 1,..., λ k, not all zero, such that λ 1 v 1 + λ 2 v λ k v k = 0 There is a linear combination that gives the zero vector! If such numbers do not exist then we say the vectors are linearly independent E.g., (1, 0, 0), (0, 1, 0), (0, 0, 1).
49 Definition We say that vectors v 1, v 2,..., v k are linearly dependent if there are numbers λ 1,..., λ k, not all zero, such that λ 1 v 1 + λ 2 v λ k v k = 0 There is a linear combination that gives the zero vector! If such numbers do not exist then we say the vectors are linearly independent E.g., (1, 0, 0), (0, 1, 0), (0, 0, 1). Collinear vectors (all on one line) and co-planar vectors (all on one plane) are special cases of linearly dependent vectors!
50 Definition We say that vectors v 1, v 2,..., v k are linearly dependent if there are numbers λ 1,..., λ k, not all zero, such that λ 1 v 1 + λ 2 v λ k v k = 0 There is a linear combination that gives the zero vector! If such numbers do not exist then we say the vectors are linearly independent E.g., (1, 0, 0), (0, 1, 0), (0, 0, 1). Collinear vectors (all on one line) and co-planar vectors (all on one plane) are special cases of linearly dependent vectors! HOW to find such numbers λ i? Again we are solving a system of linear equations!
51 Matrices (1.3) A MATRIX is an m n array of numbers. It has m rows and n columns
52 Matrices (1.3) A MATRIX is an m n array of numbers. It has m rows and n columns NOTE: Vectors are matrices (n 1 matrices).
53 Matrices (1.3) A MATRIX is an m n array of numbers. It has m rows and n columns NOTE: Vectors are matrices (n 1 matrices). Matrices can be thought of as groups of vectors!
54 Matrices (1.3) A MATRIX is an m n array of numbers. It has m rows and n columns NOTE: Vectors are matrices (n 1 matrices). Matrices can be thought of as groups of vectors! E.g., the above matrix is made of FIVE vectors inside 4-dimensional space.
55 Matrix multiplication How can we write a linear combination of vectors in terms of matrices? Multiplication of a matrix and a vector!
56 Matrix multiplication How can we write a linear combination of vectors in terms of matrices? Multiplication of a matrix and a vector! We think of λ 1 p 1 + λ 2 p λ n p n as a matrix with n columns A = [p 1 p 2... p n ] λ 2 multiplied by the vector u = of n entries (rows!). λ n This is just written as Au = λ 1 p 1 + λ 2 p λ n p n λ 1
57 Matrix multiplication How can we write a linear combination of vectors in terms of matrices? Multiplication of a matrix and a vector! We think of λ 1 p 1 + λ 2 p λ n p n as a matrix with n columns A = [p 1 p 2... p n ] λ 2 multiplied by the vector u = of n entries (rows!). λ n This is just written as Au = λ 1 p 1 + λ 2 p λ n p n Example: ( ) 9 8 = 9 7 λ 1 ( ) ( ) ( ) ( ) 3 46 = 6 118
58 Matrix multiplication How can we write a linear combination of vectors in terms of matrices? Multiplication of a matrix and a vector! We think of λ 1 p 1 + λ 2 p λ n p n as a matrix with n columns A = [p 1 p 2... p n ] λ 2 multiplied by the vector u = of n entries (rows!). λ n This is just written as Au = λ 1 p 1 + λ 2 p λ n p n Example: ( ) 9 8 = 9 7 λ 1 ( ) ( ) ( ) ( ) 3 46 = 6 118
59 General Matrix Multiplication Now we extend the same principle to multiply two matrices A, B. Key Point Multiplication of two matrices can be done vector by vector! That is IF the sizes of the matrices match!
60 General Matrix Multiplication Now we extend the same principle to multiply two matrices A, B. Key Point Multiplication of two matrices can be done vector by vector! That is IF the sizes of the matrices match! For an m n matrix A and an n p matrix B the multiplication works as follows:
61 General Matrix Multiplication Now we extend the same principle to multiply two matrices A, B. Key Point Multiplication of two matrices can be done vector by vector! That is IF the sizes of the matrices match! For an m n matrix A and an n p matrix B the multiplication works as follows: Say B has column vectors B = [v 1 v 2 v 3... v p ] The new matrix AB is a matrix with columns (matching the right size for A). AB = [Av 1 Av 2 Av 3... Av p ]
62 General Matrix Multiplication Now we extend the same principle to multiply two matrices A, B. Key Point Multiplication of two matrices can be done vector by vector! That is IF the sizes of the matrices match! For an m n matrix A and an n p matrix B the multiplication works as follows: Say B has column vectors B = [v 1 v 2 v 3... v p ] The new matrix AB is a matrix with columns (matching the right size for A). AB = [Av 1 Av 2 Av 3... Av p ]
63 General Matrix Multiplication Say B has column vectors B = [v 1 v 2 v 3... v p ] The new matrix AB is a matrix with columns (matching the right size for A). AB = [Av 1 Av 2 Av 3... Av p ] Example: A = B =
64 General Matrix Multiplication Say B has column vectors B = [v 1 v 2 v 3... v p ] The new matrix AB is a matrix with columns (matching the right size for A). AB = [Av 1 Av 2 Av 3... Av p ] Example: A = B = Careful! We cannot multiply any pair of matrices and AB is not always equal to BA!
65 1 2 3 AB = There are several useful operations and properties of matrix multiplication: Multiplication of a matrix A by a number r: r times each individual entry in A. (AB)C=A(BC) A(B+C)=AB+AC (A+B)C=AC+BC Operations are OK, as long as sizes of matrices match!
Chapter 5. Eigenvalues and Eigenvectors
Chapter 5 Eigenvalues and Eigenvectors Section 5. Eigenvectors and Eigenvalues Motivation: Difference equations A Biology Question How to predict a population of rabbits with given dynamics:. half of the
More informationMATH 22A: LINEAR ALGEBRA Chapter 4
MATH 22A: LINEAR ALGEBRA Chapter 4 Jesús De Loera, UC Davis November 30, 2012 Orthogonality and Least Squares Approximation QUESTION: Suppose Ax = b has no solution!! Then what to do? Can we find an Approximate
More informationUnit 2: Lines and Planes in 3 Space. Linear Combinations of Vectors
Lesson10.notebook November 28, 2012 Unit 2: Lines and Planes in 3 Space Linear Combinations of Vectors Today's goal: I can write vectors as linear combinations of each other using the appropriate method
More informationReview: Linear and Vector Algebra
Review: Linear and Vector Algebra Points in Euclidean Space Location in space Tuple of n coordinates x, y, z, etc Cannot be added or multiplied together Vectors: Arrows in Space Vectors are point changes
More information22A-2 SUMMER 2014 LECTURE Agenda
22A-2 SUMMER 204 LECTURE 2 NATHANIEL GALLUP The Dot Product Continued Matrices Group Work Vectors and Linear Equations Agenda 2 Dot Product Continued Angles between vectors Given two 2-dimensional vectors
More informationLinear Algebra I. Ronald van Luijk, 2015
Linear Algebra I Ronald van Luijk, 2015 With many parts from Linear Algebra I by Michael Stoll, 2007 Contents Dependencies among sections 3 Chapter 1. Euclidean space: lines and hyperplanes 5 1.1. Definition
More informationMTAEA Vectors in Euclidean Spaces
School of Economics, Australian National University January 25, 2010 Vectors. Economists usually work in the vector space R n. A point in this space is called a vector, and is typically defined by its
More informationMATH 167: APPLIED LINEAR ALGEBRA Chapter 2
MATH 167: APPLIED LINEAR ALGEBRA Chapter 2 Jesús De Loera, UC Davis February 1, 2012 General Linear Systems of Equations (2.2). Given a system of m equations and n unknowns. Now m n is OK! Apply elementary
More informationMATH 167: APPLIED LINEAR ALGEBRA Chapter 3
MATH 167: APPLIED LINEAR ALGEBRA Chapter 3 Jesús De Loera, UC Davis February 18, 2012 Orthogonal Vectors and Subspaces (3.1). In real life vector spaces come with additional METRIC properties!! We have
More informationProblem 1: (3 points) Recall that the dot product of two vectors in R 3 is
Linear Algebra, Spring 206 Homework 3 Name: Problem : (3 points) Recall that the dot product of two vectors in R 3 is a x b y = ax + by + cz, c z and this is essentially the same as the matrix multiplication
More informationCS 246 Review of Linear Algebra 01/17/19
1 Linear algebra In this section we will discuss vectors and matrices. We denote the (i, j)th entry of a matrix A as A ij, and the ith entry of a vector as v i. 1.1 Vectors and vector operations A vector
More informationDefinition: A vector is a directed line segment which represents a displacement from one point P to another point Q.
THE UNIVERSITY OF NEW SOUTH WALES SCHOOL OF MATHEMATICS AND STATISTICS MATH Algebra Section : - Introduction to Vectors. You may have already met the notion of a vector in physics. There you will have
More informationThis pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication.
This pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication. Copyright Pearson Canada Inc. All rights reserved. Copyright Pearson
More informationSpan and Linear Independence
Span and Linear Independence It is common to confuse span and linear independence, because although they are different concepts, they are related. To see their relationship, let s revisit the previous
More informationChapter 3: Theory Review: Solutions Math 308 F Spring 2015
Chapter : Theory Review: Solutions Math 08 F Spring 05. What two properties must a function T : R m R n satisfy to be a linear transformation? (a) For all vectors u and v in R m, T (u + v) T (u) + T (v)
More informationDot Products. K. Behrend. April 3, Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem.
Dot Products K. Behrend April 3, 008 Abstract A short review of some basic facts on the dot product. Projections. The spectral theorem. Contents The dot product 3. Length of a vector........................
More informationSections 6.1 and 6.2: Systems of Linear Equations
What is a linear equation? Sections 6.1 and 6.2: Systems of Linear Equations We are now going to discuss solving systems of two or more linear equations with two variables. Recall that solving an equation
More informationApplied Linear Algebra in Geoscience Using MATLAB
Applied Linear Algebra in Geoscience Using MATLAB Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional Plots Programming in
More informationLinear Equations in Linear Algebra
1 Linear Equations in Linear Algebra 1.3 VECTOR EQUATIONS VECTOR EQUATIONS Vectors in 2 A matrix with only one column is called a column vector, or simply a vector. An example of a vector with two entries
More informationSystems of Linear Equations
Systems of Linear Equations Math 108A: August 21, 2008 John Douglas Moore Our goal in these notes is to explain a few facts regarding linear systems of equations not included in the first few chapters
More informationSolutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated )
Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated 24--27) Denis Sevee s Vector Geometry notes appear as Chapter 5 in the current custom textbook used at John Abbott College for
More informationVector Geometry. Chapter 5
Chapter 5 Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at
More informationStudy guide for Exam 1. by William H. Meeks III October 26, 2012
Study guide for Exam 1. by William H. Meeks III October 2, 2012 1 Basics. First we cover the basic definitions and then we go over related problems. Note that the material for the actual midterm may include
More information4.1 Distance and Length
Chapter Vector Geometry In this chapter we will look more closely at certain geometric aspects of vectors in R n. We will first develop an intuitive understanding of some basic concepts by looking at vectors
More informationLinear Algebra. 1.1 Introduction to vectors 1.2 Lengths and dot products. January 28th, 2013 Math 301. Monday, January 28, 13
Linear Algebra 1.1 Introduction to vectors 1.2 Lengths and dot products January 28th, 2013 Math 301 Notation for linear systems 12w +4x + 23y +9z =0 2u + v +5w 2x +2y +8z =1 5u + v 6w +2x +4y z =6 8u 4v
More informationVectors. The standard geometric definition of vector is as something which has direction and magnitude but not position.
Vectors The standard geometric definition of vector is as something which has direction and magnitude but not position. Since vectors have no position we may place them wherever is convenient. Vectors
More informationLecture 23: 6.1 Inner Products
Lecture 23: 6.1 Inner Products Wei-Ta Chu 2008/12/17 Definition An inner product on a real vector space V is a function that associates a real number u, vwith each pair of vectors u and v in V in such
More informationMath Studio College Algebra
Math 100 - Studio College Algebra Rekha Natarajan Kansas State University November 19, 2014 Systems of Equations Systems of Equations A system of equations consists of Systems of Equations A system of
More informationChapter 1: Systems of Linear Equations
Chapter : Systems of Linear Equations February, 9 Systems of linear equations Linear systems Lecture A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where
More informationLinear Algebra V = T = ( 4 3 ).
Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional
More informationThe Cross Product The cross product of v = (v 1,v 2,v 3 ) and w = (w 1,w 2,w 3 ) is
The Cross Product 1-1-2018 The cross product of v = (v 1,v 2,v 3 ) and w = (w 1,w 2,w 3 ) is v w = (v 2 w 3 v 3 w 2 )î+(v 3 w 1 v 1 w 3 )ĵ+(v 1 w 2 v 2 w 1 )ˆk = v 1 v 2 v 3 w 1 w 2 w 3. Strictly speaking,
More informationMatrix-Vector Products and the Matrix Equation Ax = b
Matrix-Vector Products and the Matrix Equation Ax = b A. Havens Department of Mathematics University of Massachusetts, Amherst January 31, 2018 Outline 1 Matrices Acting on Vectors Linear Combinations
More information1.1 Single Variable Calculus versus Multivariable Calculus Rectangular Coordinate Systems... 4
MATH2202 Notebook 1 Fall 2015/2016 prepared by Professor Jenny Baglivo Contents 1 MATH2202 Notebook 1 3 1.1 Single Variable Calculus versus Multivariable Calculus................... 3 1.2 Rectangular Coordinate
More informationx 1 x 2. x 1, x 2,..., x n R. x n
WEEK In general terms, our aim in this first part of the course is to use vector space theory to study the geometry of Euclidean space A good knowledge of the subject matter of the Matrix Applications
More informationProblem Set # 1 Solution, 18.06
Problem Set # 1 Solution, 1.06 For grading: Each problem worths 10 points, and there is points of extra credit in problem. The total maximum is 100. 1. (10pts) In Lecture 1, Prof. Strang drew the cone
More informationLinear equations in linear algebra
Linear equations in linear algebra Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra Pearson Collections Samy T. Linear
More informationMatrices and Matrix Algebra.
Matrices and Matrix Algebra 3.1. Operations on Matrices Matrix Notation and Terminology Matrix: a rectangular array of numbers, called entries. A matrix with m rows and n columns m n A n n matrix : a square
More informationMATH 167: APPLIED LINEAR ALGEBRA Least-Squares
MATH 167: APPLIED LINEAR ALGEBRA Least-Squares October 30, 2014 Least Squares We do a series of experiments, collecting data. We wish to see patterns!! We expect the output b to be a linear function of
More informationThe geometry of least squares
The geometry of least squares We can think of a vector as a point in space, where the elements of the vector are the coordinates of the point. Consider for example, the following vector s: t = ( 4, 0),
More informationExtra Problems for Math 2050 Linear Algebra I
Extra Problems for Math 5 Linear Algebra I Find the vector AB and illustrate with a picture if A = (,) and B = (,4) Find B, given A = (,4) and [ AB = A = (,4) and [ AB = 8 If possible, express x = 7 as
More informationLinear Algebra - Part II
Linear Algebra - Part II Projection, Eigendecomposition, SVD (Adapted from Sargur Srihari s slides) Brief Review from Part 1 Symmetric Matrix: A = A T Orthogonal Matrix: A T A = AA T = I and A 1 = A T
More informationCS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34
Linear Algebra /34 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct axes)
More informationMATH Linear Algebra
MATH 4 - Linear Algebra One of the key driving forces for the development of linear algebra was the profound idea (going back to 7th century and the work of Pierre Fermat and Rene Descartes) that geometry
More information1 Linear Regression and Correlation
Math 10B with Professor Stankova Worksheet, Discussion #27; Tuesday, 5/1/2018 GSI name: Roy Zhao 1 Linear Regression and Correlation 1.1 Concepts 1. Often when given data points, we want to find the line
More informationVectors and Matrices Statistics with Vectors and Matrices
Vectors and Matrices Statistics with Vectors and Matrices Lecture 3 September 7, 005 Analysis Lecture #3-9/7/005 Slide 1 of 55 Today s Lecture Vectors and Matrices (Supplement A - augmented with SAS proc
More informationLECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS
LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1 Linear equations We now switch gears to discuss the topic of solving linear equations, and more interestingly, systems
More information1 Last time: multiplying vectors matrices
MATH Linear algebra (Fall 7) Lecture Last time: multiplying vectors matrices Given a matrix A = a a a n a a a n and a vector v = a m a m a mn Av = v a a + v a a v v + + Rn we define a n a n a m a m a mn
More information3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions
A. LINEAR ALGEBRA. CONVEX SETS 1. Matrices and vectors 1.1 Matrix operations 1.2 The rank of a matrix 2. Systems of linear equations 2.1 Basic solutions 3. Vector spaces 3.1 Linear dependence and independence
More informationLinear Algebra for Machine Learning. Sargur N. Srihari
Linear Algebra for Machine Learning Sargur N. srihari@cedar.buffalo.edu 1 Overview Linear Algebra is based on continuous math rather than discrete math Computer scientists have little experience with it
More informationMATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra
MATH.2720 Introduction to Programming with MATLAB Vector and Matrix Algebra A. Vectors A vector is a quantity that has both magnitude and direction, like velocity. The location of a vector is irrelevant;
More informationElementary maths for GMT
Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1
More informationPolar Form of a Complex Number (I)
Polar Form of a Complex Number (I) The polar form of a complex number z = x + iy is given by z = r (cos θ + i sin θ) where θ is the angle from the real axes to the vector z and r is the modulus of z, i.e.
More informationLecture 3: Linear Algebra Review, Part II
Lecture 3: Linear Algebra Review, Part II Brian Borchers January 4, Linear Independence Definition The vectors v, v,..., v n are linearly independent if the system of equations c v + c v +...+ c n v n
More informationMATH Linear Algebra
MATH 304 - Linear Algebra In the previous note we learned an important algorithm to produce orthogonal sequences of vectors called the Gramm-Schmidt orthogonalization process. Gramm-Schmidt orthogonalization
More informationweb: HOMEWORK 1
MAT 207 LINEAR ALGEBRA I 2009207 Dokuz Eylül University, Faculty of Science, Department of Mathematics Instructor: Engin Mermut web: http://kisideuedutr/enginmermut/ HOMEWORK VECTORS IN THE n-dimensional
More informationMath 308 Midterm Answers and Comments July 18, Part A. Short answer questions
Math 308 Midterm Answers and Comments July 18, 2011 Part A. Short answer questions (1) Compute the determinant of the matrix a 3 3 1 1 2. 1 a 3 The determinant is 2a 2 12. Comments: Everyone seemed to
More informationWorksheet 1.4: Geometry of the Dot and Cross Products
Boise State Math 275 (Ultman) Worksheet 1.4: Geometry of the Dot and Cross Products From the Toolbox (what you need from previous classes): Basic algebra and trigonometry: be able to solve quadratic equations,
More informationMath 350 Fall 2011 Notes about inner product spaces. In this notes we state and prove some important properties of inner product spaces.
Math 350 Fall 2011 Notes about inner product spaces In this notes we state and prove some important properties of inner product spaces. First, recall the dot product on R n : if x, y R n, say x = (x 1,...,
More informationMATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS
MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS 1. HW 1: Due September 4 1.1.21. Suppose v, w R n and c is a scalar. Prove that Span(v + cw, w) = Span(v, w). We must prove two things: that every element
More informationLinear Equations in Linear Algebra
1 Linear Equations in Linear Algebra 1.7 LINEAR INDEPENDENCE LINEAR INDEPENDENCE Definition: An indexed set of vectors {v 1,, v p } in n is said to be linearly independent if the vector equation x x x
More informationMATH 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:
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: x x = 3 1 2 2x + 4x = 12 1 2 Geometric meaning: Do these
More informationMath 21b: Linear Algebra Spring 2018
Math b: Linear Algebra Spring 08 Homework 8: Basis This homework is due on Wednesday, February 4, respectively on Thursday, February 5, 08. Which of the following sets are linear spaces? Check in each
More informationLINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008. This chapter is available free to all individuals, on the understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
More informationv = ( 2)
Chapter : Introduction to Vectors.. Vectors and linear combinations Let s begin by saying what vectors are: They are lists of numbers. If there are numbers in the list, there is a natural correspondence
More information8.4. Systems of Equations in Three Variables. Identifying Solutions 2/20/2018. Example. Identifying Solutions. Solving Systems in Three Variables
8.4 Systems of Equations in Three Variables Copyright 2010 Pearson Education, Inc. Publishing as Pearson Addison- Wesley Identifying Solutions Solving Systems in Three Variables Dependency, Inconsistency,
More informationLinear Algebra Practice Problems
Math 7, Professor Ramras Linear Algebra Practice Problems () Consider the following system of linear equations in the variables x, y, and z, in which the constants a and b are real numbers. x y + z = a
More informationReview of linear algebra
Review of linear algebra 1 Vectors and matrices We will just touch very briefly on certain aspects of linear algebra, most of which should be familiar. Recall that we deal with vectors, i.e. elements of
More informationMath 276, Spring 2007 Additional Notes on Vectors
Math 276, Spring 2007 Additional Notes on Vectors 1.1. Real Vectors. 1. Scalar Products If x = (x 1,..., x n ) is a vector in R n then the length of x is x = x 2 1 + + x2 n. We sometimes use the notation
More informationMT182 Matrix Algebra: Sheet 1
MT82 Matrix Algebra: Sheet Attempt at least questions to 5. Please staple your answers together and put your name and student number on the top sheet. Do not return the problem sheet. The lecturer will
More informationMath 416, Spring 2010 More on Algebraic and Geometric Properties January 21, 2010 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES
Math 46, Spring 2 More on Algebraic and Geometric Properties January 2, 2 MORE ON ALGEBRAIC AND GEOMETRIC PROPERTIES Algebraic properties Algebraic properties of matrix/vector multiplication Last time
More informationLINEAR SYSTEMS, MATRICES, AND VECTORS
ELEMENTARY LINEAR ALGEBRA WORKBOOK CREATED BY SHANNON MARTIN MYERS LINEAR SYSTEMS, MATRICES, AND VECTORS Now that I ve been teaching Linear Algebra for a few years, I thought it would be great to integrate
More informationNotes on multivariable calculus
Notes on multivariable calculus Jonathan Wise February 2, 2010 1 Review of trigonometry Trigonometry is essentially the study of the relationship between polar coordinates and Cartesian coordinates in
More informationMAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction
MAT4 : Introduction to Applied Linear Algebra Mike Newman fall 7 9. Projections introduction One reason to consider projections is to understand approximate solutions to linear systems. A common example
More informationChapter 2. Vectors and Vector Spaces
2.2. Cartesian Coordinates and Geometrical Properties of Vectors 1 Chapter 2. Vectors and Vector Spaces Section 2.2. Cartesian Coordinates and Geometrical Properties of Vectors Note. There is a natural
More informationAnnouncements Wednesday, November 01
Announcements Wednesday, November 01 WeBWorK 3.1, 3.2 are due today at 11:59pm. The quiz on Friday covers 3.1, 3.2. My office is Skiles 244. Rabinoffice hours are Monday, 1 3pm and Tuesday, 9 11am. Section
More informationChapter 2 - Vector Algebra
A spatial vector, or simply vector, is a concept characterized by a magnitude and a direction, and which sums with other vectors according to the Parallelogram Law. A vector can be thought of as an arrow
More informationLinear algebra. S. Richard
Linear algebra S. Richard Fall Semester 2014 and Spring Semester 2015 2 Contents Introduction 5 0.1 Motivation.................................. 5 1 Geometric setting 7 1.1 The Euclidean space R n..........................
More informationMath 51, Homework-2. Section numbers are from the course textbook.
SSEA Summer 2017 Math 51, Homework-2 Section numbers are from the course textbook. 1. Write the parametric equation of the plane that contains the following point and line: 1 1 1 3 2, 4 2 + t 3 0 t R.
More informationMathematical Foundations: Intro
Mathematical Foundations: Intro Graphics relies on 3 basic objects: 1. Scalars 2. Vectors 3. Points Mathematically defined in terms of spaces: 1. Vector space 2. Affine space 3. Euclidean space Math required:
More information1. Vectors.
1. Vectors 1.1 Vectors and Matrices Linear algebra is concerned with two basic kinds of quantities: vectors and matrices. 1.1 Vectors and Matrices Scalars and Vectors - Scalar: a numerical value denoted
More informationLinear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.
POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems
More informationAdvanced Engineering Mathematics Prof. Pratima Panigrahi Department of Mathematics Indian Institute of Technology, Kharagpur
Advanced Engineering Mathematics Prof. Pratima Panigrahi Department of Mathematics Indian Institute of Technology, Kharagpur Lecture No. # 02 Vector Spaces, Subspaces, linearly Dependent/Independent of
More informationCourse Notes Math 275 Boise State University. Shari Ultman
Course Notes Math 275 Boise State University Shari Ultman Fall 2017 Contents 1 Vectors 1 1.1 Introduction to 3-Space & Vectors.............. 3 1.2 Working With Vectors.................... 7 1.3 Introduction
More informationMath 3191 Applied Linear Algebra
Math 9 Applied Linear Algebra Lecture 9: Diagonalization Stephen Billups University of Colorado at Denver Math 9Applied Linear Algebra p./9 Section. Diagonalization The goal here is to develop a useful
More informationFinal Examination 201-NYC-05 - Linear Algebra I December 8 th, and b = 4. Find the value(s) of a for which the equation Ax = b
Final Examination -NYC-5 - Linear Algebra I December 8 th 7. (4 points) Let A = has: (a) a unique solution. a a (b) infinitely many solutions. (c) no solution. and b = 4. Find the value(s) of a for which
More informationVectors and Matrices
Vectors and Matrices Scalars We often employ a single number to represent quantities that we use in our daily lives such as weight, height etc. The magnitude of this number depends on our age and whether
More informationUNDERSTANDING THE DIAGONALIZATION PROBLEM. Roy Skjelnes. 1.- Linear Maps 1.1. Linear maps. A map T : R n R m is a linear map if
UNDERSTANDING THE DIAGONALIZATION PROBLEM Roy Skjelnes Abstract These notes are additional material to the course B107, given fall 200 The style may appear a bit coarse and consequently the student is
More informationMatrices. A matrix is a method of writing a set of numbers using rows and columns. Cells in a matrix can be referenced in the form.
Matrices A matrix is a method of writing a set of numbers using rows and columns. 1 2 3 4 3 2 1 5 7 2 5 4 2 0 5 10 12 8 4 9 25 30 1 1 Reading Information from a Matrix Cells in a matrix can be referenced
More informationDetailed objectives are given in each of the sections listed below. 1. Cartesian Space Coordinates. 2. Displacements, Forces, Velocities and Vectors
Unit 1 Vectors In this unit, we introduce vectors, vector operations, and equations of lines and planes. Note: Unit 1 is based on Chapter 12 of the textbook, Salas and Hille s Calculus: Several Variables,
More informationA = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].
Appendix : A Very Brief Linear ALgebra Review Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics Very often in this course we study the shapes
More informationNOTES ON LINEAR ALGEBRA CLASS HANDOUT
NOTES ON LINEAR ALGEBRA CLASS HANDOUT ANTHONY S. MAIDA CONTENTS 1. Introduction 2 2. Basis Vectors 2 3. Linear Transformations 2 3.1. Example: Rotation Transformation 3 4. Matrix Multiplication and Function
More informationMath 290, Midterm II-key
Math 290, Midterm II-key Name (Print): (first) Signature: (last) The following rules apply: There are a total of 20 points on this 50 minutes exam. This contains 7 pages (including this cover page) and
More information1 - Systems of Linear Equations
1 - Systems of Linear Equations 1.1 Introduction to Systems of Linear Equations Almost every problem in linear algebra will involve solving a system of equations. ü LINEAR EQUATIONS IN n VARIABLES We are
More informationRoberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3. Diagonal matrices
Roberto s Notes on Linear Algebra Chapter 10: Eigenvalues and diagonalization Section 3 Diagonal matrices What you need to know already: Basic definition, properties and operations of matrix. What you
More informationCS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33
Linear Algebra 1/33 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct
More informationA VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010
A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 00 Introduction Linear Algebra, also known as matrix theory, is an important element of all branches of mathematics
More information1 Last time: inverses
MATH Linear algebra (Fall 8) Lecture 8 Last time: inverses The following all mean the same thing for a function f : X Y : f is invertible f is one-to-one and onto 3 For each b Y there is exactly one a
More informationIntroduction to Linear Algebra, Second Edition, Serge Lange
Introduction to Linear Algebra, Second Edition, Serge Lange Chapter I: Vectors R n defined. Addition and scalar multiplication in R n. Two geometric interpretations for a vector: point and displacement.
More informationCSL361 Problem set 4: Basic linear algebra
CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices
More informationPOLI270 - Linear Algebra
POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and
More information