Inner Product, Length, and Orthogonality

Similar documents
Math 3C Lecture 25. John Douglas Moore

MATH Linear Algebra

Math 2331 Linear Algebra

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

Systems of Linear Equations

Chapter 6. Orthogonality and Least Squares

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

22m:033 Notes: 6.1 Inner Product, Length and Orthogonality

Section 6.1. Inner Product, Length, and Orthogonality

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

Math Linear Algebra

The geometry of least squares

March 27 Math 3260 sec. 56 Spring 2018

Math 3191 Applied Linear Algebra

Dot Products, Transposes, and Orthogonal Projections

Solutions to Selected Questions from Denis Sevee s Vector Geometry. (Updated )

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

Math 261 Lecture Notes: Sections 6.1, 6.2, 6.3 and 6.4 Orthogonal Sets and Projections

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

Linear Algebra Review. Vectors

Vectors. Vectors and the scalar multiplication and vector addition operations:

Definition 1. A set V is a vector space over the scalar field F {R, C} iff. there are two operations defined on V, called vector addition

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

MATH 115A: SAMPLE FINAL SOLUTIONS

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

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

There are two things that are particularly nice about the first basis

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

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

MATH 221, Spring Homework 10 Solutions

ORTHOGONALITY AND LEAST-SQUARES [CHAP. 6]

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

SIMPLE AND POSITIVE ROOTS

Answer Key for Exam #2

MATH 431: FIRST MIDTERM. Thursday, October 3, 2013.

MATH 22A: LINEAR ALGEBRA Chapter 4

LINEAR ALGEBRA: THEORY. Version: August 12,

Chapter 6: Orthogonality

MATH 23a, FALL 2002 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Solutions to Final Exam (in-class portion) January 22, 2003

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

Overview. Motivation for the inner product. Question. Definition

Mathematics Department Stanford University Math 61CM/DM Inner products

Announcements Wednesday, November 15

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Review of Some Concepts from Linear Algebra: Part 2

Applied Linear Algebra in Geoscience Using MATLAB

Lecture: Linear algebra. 4. Solutions of linear equation systems The fundamental theorem of linear algebra

Vector spaces. DS-GA 1013 / MATH-GA 2824 Optimization-based Data Analysis.

LINEAR ALGEBRA W W L CHEN

The Four Fundamental Subspaces

Lecture 3: Linear Algebra Review, Part II

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

Review problems for MA 54, Fall 2004.

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

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

We simply compute: for v = x i e i, bilinearity of B implies that Q B (v) = B(v, v) is given by xi x j B(e i, e j ) =

homogeneous 71 hyperplane 10 hyperplane 34 hyperplane 69 identity map 171 identity map 186 identity map 206 identity matrix 110 identity matrix 45

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

Reduction to the associated homogeneous system via a particular solution

Math 2331 Linear Algebra

Announcements Wednesday, November 15

Lecture 2: Vector-Vector Operations

MATH 223A NOTES 2011 LIE ALGEBRAS 35

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

October 25, 2013 INNER PRODUCT SPACES

Math 21b: Linear Algebra Spring 2018

This pre-publication material is for review purposes only. Any typographical or technical errors will be corrected prior to publication.

Problem Set 1. Homeworks will graded based on content and clarity. Please show your work clearly for full credit.

MATH 167: APPLIED LINEAR ALGEBRA Least-Squares

Lecture 6: Geometry of OLS Estimation of Linear Regession

1. Vectors.

Review of Linear Algebra

MTH 2032 SemesterII

Chapter Two Elements of Linear Algebra

BASIC ALGORITHMS IN LINEAR ALGEBRA. Matrices and Applications of Gaussian Elimination. A 2 x. A T m x. A 1 x A T 1. A m x

Lecture 20: 6.1 Inner Products

Systems of Linear Equations

INNER PRODUCT SPACE. Definition 1

I. Multiple Choice Questions (Answer any eight)

NOTES on LINEAR ALGEBRA 1

Vectors for Beginners

Schur s Triangularization Theorem. Math 422

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Math Real Analysis II

Math 416, Spring 2010 Matrix multiplication; subspaces February 2, 2010 MATRIX MULTIPLICATION; SUBSPACES. 1. Announcements

MIDTERM I LINEAR ALGEBRA. Friday February 16, Name PRACTICE EXAM SOLUTIONS

Announcements Monday, November 26

Lecture 2: Linear Algebra Review

A Brief Outline of Math 355

Announcements Monday, November 26

Linear Algebra March 16, 2019

CSL361 Problem set 4: Basic linear algebra

Lecture 1.4: Inner products and orthogonality

1 Last time: multiplying vectors matrices

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

Math 51 Tutorial { August 10

Definitions for Quizzes

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

Math 2030 Assignment 5 Solutions

Transcription:

Inner Product, Length, and Orthogonality Linear Algebra MATH 2076 Linear Algebra,, Chapter 6, Section 1 1 / 13

Algebraic Definition for Dot Product u 1 v 1 u 2 Let u =., v = v 2. be vectors in Rn. The dot product of u and v is u n v n u v = u 1 v 1 + u 2 v 2 + + u n v n = n u i v i = u T v. i=1 Some Examples: 1 1 2 0 = 2. 3 1 For x in R n, x e i = x i. For x in R n, x = n i=1( x ei ) ei. Notice that for the standard basis vectors in R n, { 0 if i j e i e j = δ ij = 1 if i = j. Linear Algebra,, Chapter 6, Section 1 2 / 13

The Length or Norm of a Vector x 2 The length (or norm or magnitude) of x =. is x n x = ( n x 1 x 1 + x 2 x 2 + + x n x n = 1 For example, if v = 2, then v = 14. 3 Note that x x = x 2. x 1 i=1 x 2 i ) 1/2 = ( x x ) 1/2. Linear Algebra,, Chapter 6, Section 1 3 / 13

Geometric Definition for Dot Product u 1 v 1 u 2 Let u =., v = v 2. be non-zero vectors in Rn. v θ u u n v n Let θ be the angle (in [0, π]) between u and v. 0 The dot product of u and v is u v = u v cos θ. Thus for non-zero u and v, cos θ = u v u v. Linear Algebra,, Chapter 6, Section 1 4 / 13

An Example z 1 u = 2 3 Let s find the angle between the pictured vectors u, v. We have so u v = 2, u = 14, v = 2 x 1 v = 0 1 y cos θ = u v u v = and thus θ 120. 2 = 1 14 2 7 Linear Algebra,, Chapter 6, Section 1 5 / 13

Another Example Find the angle between the diagonals of a cube in R 3. z Let u be the main diagonal, so u = e 1 + e 2 + e 3. Let v be the floor diagonal, so v = e 1 + e 2. Then u v = 2, u = 3, v = 2 so x y cos θ = and thus θ 35. u v u v = 2 = 2/3 3 2 Linear Algebra,, Chapter 6, Section 1 6 / 13

Orthogonality Recall that u v = u v cos θ. Definition (Orthogonality) Two vectors u, v in R n are orthogonal if and only if u v = 0. When this holds, we write u v. Note that: 0 is orthogonal to every other vector. 0 is the only vector with this property. If x v for every vector v, then x = 0. Some simple examples: [ ] 1 1 [ ] 1, 1 [ ] 1 2 [ ] 2, 1 [ ] a b [ ] b. a Linear Algebra,, Chapter 6, Section 1 7 / 13

A Useful Formula Look at u + v 2 = ( u + v ) ( u + v ) = u 2 + 2 u v + v 2 = u 2 + v 2 if and only if u v. The final statement above is known as Pythagoras Theorem. Linear Algebra,, Chapter 6, Section 1 8 / 13

Orthogonal Complement of W = { a} The orthogonal complement of a non-zero vector a in R n is { a } = { all x in R n with a x } = N S ( a T ). It is not hard to check that { a} is always a vector subspace of R n. Linear Algebra,, Chapter 6, Section 1 9 / 13

Orthogonal Complement of W = { a} Let W = { a} with a 0. Then W = { all x in R n with a x } = N S(A T ) where A = a. { a} 90 a Thus we see that: in R 2, W is a line, in R 3, W is a 2-plane, in R 4, W is a 3-plane, R n in R n, W is an (n 1)-plane, that is, a hyperplane. Linear Algebra,, Chapter 6, Section 1 10 / 13

Orthogonal Complement The orthogonal complement of a non-zero vector a in R n is { a } = { all x in R n with a x } = N S ( a T ). This is the hyperplane in R n thru 0 with normal vector a. Definition (Orthogonal Complement of a Set) The orthogonal complement of a non-empty set W of vectors in R n is W = { all x in R n with w x for all w in W }. It is not hard to check that W is always a vector subspace of R n. Please convince yourself that this is true. Linear Algebra,, Chapter 6, Section 1 11 / 13

Orthogonal Complement of W = { v, w} Let W = { v, w} with v w. Then W = N S(A T ) where A = [ v w ]. Here we see that: in R 3, W is a line, in R 4, W is a 2-plane, in R n, W is an (n 2)-plane, In general, if W is a vector subspace of R n, then R n = W W and dim W = n dim W. This means that every vector x in R n can be written as a sum x = w + z where w is in W and z is in W. Here w is the part of x that is parallel to W and z is the part of x that is orthogonal to W. How do we find w and z? Linear Algebra,, Chapter 6, Section 1 12 / 13

Orthogonal Complement, Column Space, and Null Space Above we saw that if W = Span{ v, w}, then W = N S(A T ) where A = [ v w ]. Here W = CS(A). In general, CS(A) = N S(A T ). Also, CS(A T ) = N S(A). But, (W ) = W, so N S(A) = CS(A T ). These are the Four Fundamental Subspaces assoc d to an m n matrix A: its null space, N S(A), a subspace of R n ; N S(A) = CS(A T ), a subspace of R n ; its column space, CS(A), a subspace of R m ; CS(A) = N S(A T ), a subspace of R m. Linear Algebra,, Chapter 6, Section 1 13 / 13