Overview. Motivation for the inner product. Question. Definition

Similar documents
March 27 Math 3260 sec. 56 Spring 2018

Chapter 6. Orthogonality and Least Squares

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

Math 3191 Applied Linear Algebra

Section 6.1. Inner Product, Length, and Orthogonality

Worksheet for Lecture 23 (due December 4) Section 6.1 Inner product, length, and orthogonality

1 Last time: inverses

MAT 242 CHAPTER 4: SUBSPACES OF R n

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

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

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

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

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

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

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

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

Announcements Wednesday, November 15

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

Math 54. Selected Solutions for Week 5

Math 2331 Linear Algebra

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

Math 3191 Applied Linear Algebra

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

v = v 1 2 +v 2 2. Two successive applications of this idea give the length of the vector v R 3 :

1 Last time: determinants

LINEAR ALGEBRA SUMMARY SHEET.

Math 54 HW 4 solutions

Announcements Wednesday, November 15

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

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

Math 4377/6308 Advanced Linear Algebra

How can we find the distance between a point and a plane in R 3? Between two lines in R 3? Between two planes? Between a plane and a line?

PRACTICE PROBLEMS FOR THE FINAL

Study Guide for Linear Algebra Exam 2

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Lecture 3: Linear Algebra Review, Part II

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

Chapter 6 - Orthogonality

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

Math 3191 Applied Linear Algebra

Math Linear algebra, Spring Semester Dan Abramovich

MTH 362: Advanced Engineering Mathematics

Lecture 22: Section 4.7

Typical Problem: Compute.

Row Space, Column Space, and Nullspace

MATH 1553 PRACTICE FINAL EXAMINATION

MTH 464: Computational Linear Algebra

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

Summer Session Practice Final Exam

Orthogonality and Least Squares

Announcements Monday, November 19

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

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

Systems of Linear Equations

MATH 304 Linear Algebra Lecture 18: Orthogonal projection (continued). Least squares problems. Normed vector spaces.

Math 2331 Linear Algebra

Math Linear Algebra

2018 Fall 2210Q Section 013 Midterm Exam II Solution

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

Announcements Monday, November 19

orthogonal relations between vectors and subspaces Then we study some applications in vector spaces and linear systems, including Orthonormal Basis,

Announcements Monday, October 29

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

x 1 + 2x 2 + 3x 3 = 0 x 1 + 2x 2 + 3x 3 = 0, x 2 + x 3 = 0 x 3 3 x 3 1

Chapter 6: Orthogonality

Math 2114 Common Final Exam May 13, 2015 Form A

is Use at most six elementary row operations. (Partial

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

General Vector Space (3A) Young Won Lim 11/19/12

Lecture 9: Vector Algebra

DS-GA 1002 Lecture notes 10 November 23, Linear models

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

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

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

ECS130 Scientific Computing. Lecture 1: Introduction. Monday, January 7, 10:00 10:50 am

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Solutions to Math 51 Midterm 1 July 6, 2016

Linear Algebra. Min Yan

Solutions to Review Problems for Chapter 6 ( ), 7.1

Third Midterm Exam Name: Practice Problems November 11, Find a basis for the subspace spanned by the following vectors.

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

(v, w) = arccos( < v, w >

MODULE 8 Topics: Null space, range, column space, row space and rank of a matrix

Answer Key for Exam #2

Review of Linear Algebra

Linear Algebra (Math-324) Lecture Notes

SUMMARY OF MATH 1600

MATH Linear Algebra

Practice Final Exam. Solutions.

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

(v, w) = arccos( < v, w >

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

Dimension. Eigenvalue and eigenvector

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

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

Mathematics Department Stanford University Math 61CM/DM Inner products

Choose three of: Choose three of: Choose three of:

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

Math 3C Lecture 25. John Douglas Moore

Transcription:

Overview Last time we studied the evolution of a discrete linear dynamical system, and today we begin the final topic of the course (loosely speaking) Today we ll recall the definition and properties of the dot product In the next two weeks we ll try to answer the following questions: Question What is the relationship between diagonalisable matrices and vector projection? How can we use this to study linear systems without exact solutions? From Lay, 6, 6 Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 / Motivation for the inner product A linear system Ax = b that arises from experimental data often has no solution Sometimes an acceptable substitute for a solution is a vector ˆx that makes the distance between Aˆx and b as small as possible (you can see this ˆx as a good approximation of an actual solution) As the definition for distance involves a sum of squares, the desired ˆx is called a least squares solution Just as the dot product on R n helps us understand the geometry of Euclidean space with tools to detect angles and distances, the inner product can be used to understand the geometry of abstract vector spaces In this section we begin the development of the concepts of orthogonality and orthogonal projections; these will play an important role in finding ˆx Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 / Recall the definition of the dot product: Definition The dot (or scalar or inner) product of two vectors u = R n is the scalar (u, v) = u v = u T v ] = [u u n v v n The following properties are immediate: (a) u v = v u (b) u (v + w) = u v + u w (c) k(u v) = (ku) v = u (kv), k R (d) u u, u u = if and only if u = u u n, v = = u v + + u n v n v v n in Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 3 /

Example Consider the vectors Then 3 u =, v = 3 4 u v = u T v [ ] = 3 4 3 = ()( ) + (3)() + ( )(3) + (4)( ) = 5 Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 4 / The length of a vector For vectors in R 3, the dot product recovers the length of the vector: u = u u = u + u + u 3 We can use the dot product to define the length of a vector in an arbitrary Euclidean space Definition For u R n, the length of u is u = u u = u + + u n It follows that for any scalar c, the length of cv is c times the length of v: cv = c v Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 5 / Unit Vectors A vector whose length is is called a unit vector If v is a non-zero vector, then u = v v is a unit vector in the direction of v To see this, compute Replacing v by the unit vector u = u u = v v v v = v v v = v v = () v is called normalising v v Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 6 /

Example 3 Find the length of u = u = u u = 3 3 = + 9 + 4 = 4 Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 7 / Orthogonal vectors The concept of perpendicularity is fundamental to geometry The dot product generalises the idea of perpendicularity to vectors in R n Definition The vectors u and v are orthogonal to each other if u v = Since v = for every vector v in R n, the zero vector is orthogonal to every vector Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 8 / Orthogonal complements Definition Suppose W is a subspace of R n If the vector z is orthogonal to every w in W, then z is orthogonal to W Example 3 The vector Example 4 is orthogonal to W = Span We can also see that is orthogonal to Nul, [ ] Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 9 /

Definition The set of all vectors x that are orthogonal to W is called the orthogonal complement of W and is denoted by W W = {x R n x y = for all y W } From the basic properties of the inner product it follows that A vector x is in W if and only if x is orthogonal to every vector in a set that spans W W is a subspace W W = since is the only vector orthogonal to itself Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 / Example 5 Let W = Span Find a basis for W, the orthogonal complement of W x W consists of all the vectors yfor which z x y = z For this we must have x + y z =, which gives x = y + z Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 / Thus x y + z y = y = y + z z z So a basis for W is given by, Since W = Span, we can check that every vector in W is orthogonal to every vector in W Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 /

Example 6 3 3 Let V = Span 3, Find a basis for V 3 a V b consists of all the vectors c in R4 that satisfy the two conditions d a a 3 b c 3 3 = and b c = d d 3 Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 3 / This gives a homogeneous system of two equations in four variables: a +3b +3c +d = 3a b c +3d = Row reducing the augmented matrix we get [ ] [ 3 3 3 3 So c and d are free variables and the general solution is a d b c = c c = d + c d d The two vectors in the parametrisation above are linearly independent, so a basis for V is, Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 4 / ] Notice that in the previous example (and also in the one before it) we found the orthogonal complement as the null space of a matrix We have V = Nul A where A = [ 3 3 ] 3 3 is the matrix whose ROWS are the transpose of the column vectors in the spanning set for V To find a basis for the null space of this matrix we just proceeded as usual by bringing the augmented matrix for Ax = to reduced row echelon form Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 5 /

Theorem Let A be an m n matrix The orthogonal complement of the row space of A is the null space of A The orthogonal complement of the column space of A is the null space of A T (Row A) = Nul A and (Col A) = Nul A T (Remember, Row A is the span of the rows of A) Proof The calculation for computing Ax (multiply each row of A by the column vector x) shows that if x is in Nul A, then x is orthogonal to each row of A Since the rows of A span the row space, x is orthogonal to every vector in RowA Conversely, if x is orthogonal to Row A, then x is orthogonal to each row of A, and hence Ax = The second statement follows since Row A T = Col A Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 6 / Example 7 [ ] Let A = Then Row A = Span Nul A = Span, Hence (Row A) = Nul A Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 7 / [ ] Recall A = {[ ]} Col A = Span {[ ]} Nul A T = Span Clearly, (Col A) = Nul A T Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 8 /

An important consequence of the previous theorem Theorem If W is a subspace of R n, then dim W + dim W = n Choose vectors w, w,, w p such that W = Span{w,, w p } Let w T w T A = be the matrix whose rows are w T,, wt p Then W = Row A and W = (Row A) = Nul A Thus and the Rank Theorem implies w T p dim W = dim(row A) = Rank A dim W = dim(nul A) dim W + dim W = Rank A + dim(nul A) = n Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 9 / Example 8 Let W = Span 4 3 Describe W We see first that dim W = and W is a line through the origin in R 3 Since we must have dim W + dim W = 3, we can then deduce that dim W = : W is a plane through the origin In fact, W is the set of all solutions to the homogeneous equation coming from this equation: x y 4 = z 3 That is, x + 4y + 3z = We recognise this as the equation of the plane through the origin in R 3 with normal vector, 4, 3 = w Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 / Basis Theorem Theorem If B = {b,, b m } is a basis for W and C = {c,, c r } is a basis for W, then {b,, b m, c,, c r } is a basis for R m+r It follows that if W is a subspace of R n, then for any vector v, we can write where w W and u W v = w + u, If W is the span of a nonzero vector in R 3, then w is just the vector projection of v onto this spanning vector Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 /

Example 9 Let W = Span, Decompose v = 3 as a sum of vectors in W and W To start, we find a basis for W and then write v in terms of the bases for W and W We re given a basis for W in the problem, and W = Span, Therefore v = + = + Dr Scott Morrison (ANU) MATH4 Notes Second Semester 5 /