Chapter 5 Inner Product Spaces

Slides:



Advertisements
Similar presentations
10.4 Complex Vector Spaces.
Advertisements

Chapter 5 Inner Product Spaces
Chapter 5 Orthogonality
5.1 Rn上之長度與點積 5.2 內積空間 5.3 單範正交基底:Gram-Schmidt過程 5.4 數學模型與最小平方分析
Chapter 3 Determinants 3.1 The Determinant of a Matrix
第五章 內積空間 5.1 Rn上之長度與點積 5.2 內積空間 5.3 單範正交基底:Gram-Schmidt過程
CHAPTER 5 INNER PRODUCT SPACES
Orthogonality and Least Squares
CHAPTER 1 SYSTEMS OF LINEAR EQUATIONS Elementary Linear Algebra 投影片設計製作者 R. Larson (7 Edition) 淡江大學 電機系 翁慶昌 教授 1.1 Introduction to Systems of Linear Equations.
6 6.3 © 2012 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Chapter 1 Systems of Linear Equations
Chapter 6 Linear Transformations
1 MAC 2103 Module 10 lnner Product Spaces I. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Define and find the.
Length and Dot Product in R n Notes: is called a unit vector. Notes: The length of a vector is also called its norm. Chapter 5 Inner Product Spaces.
CHAPTER 2 MATRICES 2.1 Operations with Matrices
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
6.1 Introduction to Linear Transformations
Inner Product Spaces Euclidean n-space: Euclidean n-space: vector lengthdot productEuclidean n-space R n was defined to be the set of all ordered.
Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Chapter 1 Systems of Linear Equations
Chapter 5: The Orthogonality and Least Squares
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
Chapter 5 Orthogonality.
Chapter 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Vectors in R n a sequence of n real number An ordered n-tuple: the set of all ordered n-tuple  n-space: R n Notes: (1) An n-tuple can be viewed.
Chapter 3 Euclidean Vector Spaces Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality
AN ORTHOGONAL PROJECTION
1 Chapter 5 – Orthogonality and Least Squares Outline 5.1 Orthonormal Bases and Orthogonal Projections 5.2 Gram-Schmidt Process and QR Factorization 5.3.
Orthogonality and Least Squares
Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality.
Elementary Linear Algebra Anton & Rorres, 9th Edition
CHAPTER 3 DETERMINANTS 3.1 The Determinant of a Matrix 3.2 Determinant and Elementary Operations 3.3 Properties of Determinants 3.4 Application of Determinants.
Lecture 11 Inner Product Space
Section 5.1 Length and Dot Product in ℝ n. Let v = ‹v 1­­, v 2, v 3,..., v n › and w = ‹w 1­­, w 2, w 3,..., w n › be vectors in ℝ n. The dot product.
Chap. 5 Inner Product Spaces 5.1 Length and Dot Product in R n 5.2 Inner Product Spaces 5.3 Orthonormal Bases: Gram-Schmidt Process 5.4 Mathematical Models.
Lecture 13 Inner Product Space & Linear Transformation Last Time - Orthonormal Bases:Gram-Schmidt Process - Mathematical Models and Least Square Analysis.
Chap. 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Class 24: Question 1 Which of the following set of vectors is not an orthogonal set?
Chapter 4 Euclidean n-Space Linear Transformations from to Properties of Linear Transformations to Linear Transformations and Polynomials.
Lecture 1 Systems of Linear Equations
7.1 Eigenvalues and Eigenvectors
5.1 Eigenvalues and Eigenvectors
Lecture 14 Linear Transformation Last Time - Mathematical Models and Least Square Analysis - Inner Product Space Applications - Introduction to Linear.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
1 MAC 2103 Module 11 lnner Product Spaces II. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Construct an orthonormal.
Lecture 9 Vector & Inner Product Space
6 6.3 © 2016 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Lecture 9 Vector & Inner Product Space Last Time - Spanning Sets and Linear Independence (Cont.) - Basis and Dimension - Rank of a Matrix and Systems of.
Chapter 2 Matrices 2.1 Operations with Matrices 2.2 Properties of Matrix Operations 2.3 The Inverse of a Matrix 2.4 Elementary Matrices Elementary Linear.
Lecture 7 Vector Spaces Lat Time Properties of Determinants Introduction to Eigenvalues Applications of Determinants Vectors in R n Elementary Linear Algebra.
Lecture 11 Inner Product Space Last Time - Coordinates and Change of Basis - Applications - Length and Dot Product in R n Elementary Linear Algebra R.
Inner Product Spaces Euclidean n-space: Euclidean n-space: vector lengthdot productEuclidean n-space R n was defined to be the set of all ordered.
CHAPTER 6 LINEAR TRANSFORMATIONS 6.1 Introduction to Linear Transformations 6.2 The Kernel and Range of a Linear Transformation 6.3 Matrices for Linear.
Lecture 9 Vector & Inner Product Spaces Last Time Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear.
Lecture 11 Inner Product Spaces Last Time Change of Basis (Cont.) Length and Dot Product in R n Inner Product Spaces Elementary Linear Algebra R. Larsen.
1 Chapter 6 Orthogonality 6.1 Inner product, length, and orthogonality 内积 , 模长 , 正交 6.2 Orthogonal sets 正交组,正交集 6.4 The Gram-Schmidt process 格莱姆 - 施密特过程.
Lecture 7 Vector Space Last Time - Properties of Determinants
Elementary Linear Algebra
Lecture 10 Inner Product Spaces
Lecture 8 Vector Space Last Time - Vector Spaces and Applications
Lecture 8 Vector Space Last Time - Vector Spaces and Applications
Lecture 7 Vector Space Last Time - Properties of Determinants
Lecture 14 Linear Transformation
Linear Algebra Lecture 39.
Linear Algebra Lecture 38.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Chapter 4 Vector Spaces 4.1 Vector spaces and Subspaces
RAYAT SHIKSHAN SANSTHA’S S.M.JOSHI COLLEGE HADAPSAR, PUNE
Chapter 5 Inner Product Spaces
Presentation transcript:

Chapter 5 Inner Product Spaces 5.1 Length and Dot Product in Rn 5.2 Inner Product Spaces 5.3 Orthonormal Bases:Gram-Schmidt Process 5.4 Mathematical Models and Least Square Analysis Elementary Linear Algebra 投影片設計編製者 R. Larsen et al. (6 Edition) 淡江大學 電機系 翁慶昌 教授

5.1 Length and Dot Product in Rn The length of a vector in Rn is given by Notes: The length of a vector is also called its norm. Notes: Properties of length is called a unit vector. Elementary Linear Algebra: Section 5.1, p.278

(a) In R5, the length of is given by Ex 1: (a) In R5, the length of is given by (b) In R3 the length of is given by (v is a unit vector) Elementary Linear Algebra: Section 5.1, p.279

A standard unit vector in Rn: Ex: the standard unit vector in R2: the standard unit vector in R3: Notes: (Two nonzero vectors are parallel) u and v have the same direction u and v have the opposite direction Elementary Linear Algebra: Section 5.1, p.279

Thm 5.1: (Length of a scalar multiple) Let v be a vector in Rn and c be a scalar. Then Pf: Elementary Linear Algebra: Section 5.1, p.279

Thm 5.2: (Unit vector in the direction of v) If v is a nonzero vector in Rn, then the vector has length 1 and has the same direction as v. This vector u is called the unit vector in the direction of v. Pf: v is nonzero (u has the same direction as v) (u has length 1 ) Elementary Linear Algebra: Section 5.1, p.280

(1) The vector is called the unit vector in the direction of v. Notes: (1) The vector is called the unit vector in the direction of v. (2) The process of finding the unit vector in the direction of v is called normalizing the vector v. Elementary Linear Algebra: Section 5.1, p.280

Ex 2: (Finding a unit vector) Find the unit vector in the direction of , and verify that this vector has length 1. Sol: is a unit vector. Elementary Linear Algebra: Section 5.1, p.280

Distance between two vectors: The distance between two vectors u and v in Rn is Notes: (Properties of distance) (1) (2) if and only if (3) Elementary Linear Algebra: Section 5.1, p.282

Ex 3: (Finding the distance between two vectors) The distance between u=(0, 2, 2) and v=(2, 0, 1) is Elementary Linear Algebra: Section 5.1, p.282

Ex 4: (Finding the dot product of two vectors) Dot product in Rn: The dot product of and is the scalar quantity Ex 4: (Finding the dot product of two vectors) The dot product of u=(1, 2, 0, -3) and v=(3, -2, 4, 2) is Elementary Linear Algebra: Section 5.1, p.282

Thm 5.3: (Properties of the dot product) If u, v, and w are vectors in Rn and c is a scalar, then the following properties are true. (1) (2) (3) (4) (5) , and if and only if Elementary Linear Algebra: Section 5.1, p.283

Euclidean n-space: Rn was defined to be the set of all order n-tuples of real numbers. When Rn is combined with the standard operations of vector addition, scalar multiplication, vector length, and the dot product, the resulting vector space is called Euclidean n-space. Elementary Linear Algebra: Section 5.1, p.283

Ex 5: (Finding dot products) (b) (c) (d) (e) Sol: Elementary Linear Algebra: Section 5.1, p.284

Ex 6: (Using the properties of the dot product) Given Find Sol: Elementary Linear Algebra: Section 5.1, p.284

Thm 5.4: (The Cauchy - Schwarz inequality) If u and v are vectors in Rn, then ( denotes the absolute value of ) Ex 7: (An example of the Cauchy - Schwarz inequality) Verify the Cauchy - Schwarz inequality for u=(1, -1, 3) and v=(2, 0, -1) Sol: Elementary Linear Algebra: Section 5.1, p.285-286

The angle between two vectors in Rn: Same direction Opposite direction Note: The angle between the zero vector and another vector is not defined. Elementary Linear Algebra: Section 5.1, p.286

Ex 8: (Finding the angle between two vectors) Sol: u and v have opposite directions. Elementary Linear Algebra: Section 5.1, p.286

Two vectors u and v in Rn are orthogonal if Orthogonal vectors: Two vectors u and v in Rn are orthogonal if Note: The vector 0 is said to be orthogonal to every vector. Elementary Linear Algebra: Section 5.1, p.287

Ex 10: (Finding orthogonal vectors) Determine all vectors in Rn that are orthogonal to u=(4, 2). Sol: Let Elementary Linear Algebra: Section 5.1, p.287

Thm 5.5: (The triangle inequality) If u and v are vectors in Rn, then Pf: Note: Equality occurs in the triangle inequality if and only if the vectors u and v have the same direction. Elementary Linear Algebra: Section 5.1, p.288

Thm 5.6: (The Pythagorean theorem) If u and v are vectors in Rn, then u and v are orthogonal if and only if Elementary Linear Algebra: Section 5.1, p.289

Dot product and matrix multiplication: (A vector in Rn is represented as an n×1 column matrix) Elementary Linear Algebra: Section 5.1, p.289

Keywords in Section 5.1: length: 長度 norm: 範數 unit vector: 單位向量 standard unit vector : 標準單位向量 normalizing: 單範化 distance: 距離 dot product: 點積 Euclidean n-space: 歐基里德n維空間 Cauchy-Schwarz inequality: 科西-舒瓦茲不等式 angle: 夾角 triangle inequality: 三角不等式 Pythagorean theorem: 畢氏定理

5.2 Inner Product Spaces Inner product: Let u, v, and w be vectors in a vector space V, and let c be any scalar. An inner product on V is a function that associates a real number <u, v> with each pair of vectors u and v and satisfies the following axioms. (1) (2) (3) (4) and if and only if Elementary Linear Algebra: Section 5.2, p.293

Note: Note: A vector space V with an inner product is called an inner product space. Vector space: Inner product space: Elementary Linear Algebra: Section 5.2, Addition

Ex 1: (The Euclidean inner product for Rn) Show that the dot product in Rn satisfies the four axioms of an inner product. Sol: By Theorem 5.3, this dot product satisfies the required four axioms. Thus it is an inner product on Rn. Elementary Linear Algebra: Section 5.2, p.293

Ex 2: (A different inner product for Rn) Show that the function defines an inner product on R2, where and . Sol: Elementary Linear Algebra: Section 5.2, pp.293-294

Note: (An inner product on Rn) Elementary Linear Algebra: Section 5.2, pp.293-294

Ex 3: (A function that is not an inner product) Show that the following function is not an inner product on R3. Sol: Let Axiom 4 is not satisfied. Thus this function is not an inner product on R3. Elementary Linear Algebra: Section 5.2, p.294

Thm 5.7: (Properties of inner products) Let u, v, and w be vectors in an inner product space V, and let c be any real number. (1) (2) (3) Norm (length) of u: Note: Elementary Linear Algebra: Section 5.2, p.295

Distance between u and v: Angle between two nonzero vectors u and v: Orthogonal: u and v are orthogonal if . Elementary Linear Algebra: Section 5.2, p.296

(1) If , then v is called a unit vector. Notes: (1) If , then v is called a unit vector. (2) (the unit vector in the direction of v) not a unit vector Elementary Linear Algebra: Section 5.2, p.296

Ex 6: (Finding inner product) is an inner product Sol: Elementary Linear Algebra: Section 5.2, p.296

Properties of distance: (1) (2) if and only if (3) Properties of norm: (1) (2) if and only if (3) Properties of distance: (1) (2) if and only if (3) Elementary Linear Algebra: Section 5.2, p.299

Let u and v be vectors in an inner product space V. Thm 5.8: Let u and v be vectors in an inner product space V. (1) Cauchy-Schwarz inequality: (2) Triangle inequality: (3) Pythagorean theorem : u and v are orthogonal if and only if Theorem 5.4 Theorem 5.5 Theorem 5.6 Elementary Linear Algebra: Section 5.2, p.299

Orthogonal projections in inner product spaces: Let u and v be two vectors in an inner product space V, such that . Then the orthogonal projection of u onto v is given by Note: If v is a init vector, then . The formula for the orthogonal projection of u onto v takes the following simpler form. Elementary Linear Algebra: Section 5.2, p.301

Ex 10: (Finding an orthogonal projection in R3) Use the Euclidean inner product in R3 to find the orthogonal projection of u=(6, 2, 4) onto v=(1, 2, 0). Sol: Note: Elementary Linear Algebra: Section 5.2, p.301

Thm 5.9: (Orthogonal projection and distance) Let u and v be two vectors in an inner product space V, such that . Then Elementary Linear Algebra: Section 5.2, p.302

Keywords in Section 5.2: inner product: 內積 inner product space: 內積空間 norm: 範數 distance: 距離 angle: 夾角 orthogonal: 正交 unit vector: 單位向量 normalizing: 單範化 Cauchy – Schwarz inequality: 科西 - 舒瓦茲不等式 triangle inequality: 三角不等式 Pythagorean theorem: 畢氏定理 orthogonal projection: 正交投影

5.3 Orthonormal Bases: Gram-Schmidt Process Orthogonal: A set S of vectors in an inner product space V is called an orthogonal set if every pair of vectors in the set is orthogonal. Orthonormal: An orthogonal set in which each vector is a unit vector is called orthonormal. Note: If S is a basis, then it is called an orthogonal basis or an orthonormal basis. Elementary Linear Algebra: Section 5.3, p.306

Ex 1: (A nonstandard orthonormal basis for R3) Show that the following set is an orthonormal basis. Sol: Show that the three vectors are mutually orthogonal. Elementary Linear Algebra: Section 5.3, p.307

Show that each vector is of length 1. Thus S is an orthonormal set. Elementary Linear Algebra: Section 5.3, p.307

Ex 2: (An orthonormal basis for ) In , with the inner product The standard basis is orthonormal. Sol: Then Elementary Linear Algebra: Section 5.3, p.308

Elementary Linear Algebra: Section 5.3, p.308

Thm 5.10: (Orthogonal sets are linearly independent) If is an orthogonal set of nonzero vectors in an inner product space V, then S is linearly independent. Pf: S is an orthogonal set of nonzero vectors Elementary Linear Algebra: Section 5.3, p.309

Corollary to Thm 5.10: If V is an inner product space of dimension n, then any orthogonal set of n nonzero vectors is a basis for V. Elementary Linear Algebra: Section 5.3, p.310

Ex 4: (Using orthogonality to test for a basis) Show that the following set is a basis for . Sol: : nonzero vectors (by Corollary to Theorem 5.10) Elementary Linear Algebra: Section 5.3, p.310

Thm 5.11: (Coordinates relative to an orthonormal basis) If is an orthonormal basis for an inner product space V, then the coordinate representation of a vector w with respect to B is Pf: is a basis for V (unique representation) is orthonormal Elementary Linear Algebra: Section 5.3, pp.310-311

If is an orthonormal basis for V and , Note: If is an orthonormal basis for V and , Then the corresponding coordinate matrix of w relative to B is Elementary Linear Algebra: Section 5.3, pp.310-311

Ex 5: (Representing vectors relative to an orthonormal basis) Find the coordinates of w = (5, -5, 2) relative to the following orthonormal basis for . Sol: Elementary Linear Algebra: Section 5.3, p.311

Gram-Schmidt orthonormalization process: is a basis for an inner product space V is an orthogonal basis. is an orthonormal basis. Elementary Linear Algebra: Section 5.3, p.312

Ex 7: (Applying the Gram-Schmidt orthonormalization process) Apply the Gram-Schmidt process to the following basis. Sol: Elementary Linear Algebra: Section 5.3, pp.314-315

Orthogonal basis Orthonormal basis Elementary Linear Algebra: Section 5.3, pp.314-315

Ex 10: (Alternative form of Gram-Schmidt orthonormalization process) Find an orthonormal basis for the solution space of the homogeneous system of linear equations. Sol: Elementary Linear Algebra: Section 5.3, p.317

Thus one basis for the solution space is (orthogonal basis) (orthonormal basis) Elementary Linear Algebra: Section 5.3, p.317

Keywords in Section 5.3: orthogonal set: 正交集合 orthonormal set: 單範正交集合 orthogonal basis: 正交基底 orthonormal basis: 單範正交基底 linear independent: 線性獨立 Gram-Schmidt Process: Gram-Schmidt過程

5.4 Mathematical Models and Least Squares Analysis Orthogonal subspaces: Ex 2: (Orthogonal subspaces) Elementary Linear Algebra: Section 5.4, p.321

Orthogonal complement of W: Let W be a subspace of an inner product space V. (a) A vector u in V is said to orthogonal to W, if u is orthogonal to every vector in W. (b) The set of all vectors in V that are orthogonal to every vector in W is called the orthogonal complement of W. (read “ perp”) Notes: Elementary Linear Algebra: Section 5.4, p.322

Notes: Ex: Elementary Linear Algebra: Section 5.4, Addition

Thm 5.13: (Properties of orthogonal subspaces) Direct sum: Let and be two subspaces of . If each vector can be uniquely written as a sum of a vector from and a vector from , , then is the direct sum of and , and you can write . Thm 5.13: (Properties of orthogonal subspaces) Let W be a subspace of Rn. Then the following properties are true. (1) (2) (3) Elementary Linear Algebra: Section 5.4, p.323

Thm 5.14: (Projection onto a subspace) If is an orthonormal basis for the subspace S of V, and , then Pf: Elementary Linear Algebra: Section 5.4, p.324

Ex 5: (Projection onto a subspace) Find the projection of the vector v onto the subspace W. Sol: an orthogonal basis for W an orthonormal basis for W Elementary Linear Algebra: Section 5.4, p.325

Find by the other method: Elementary Linear Algebra: Section 5.4, p.325

Thm 5.15: (Orthogonal projection and distance) Let W be a subspace of an inner product space V, and . Then for all , ( is the best approximation to v from W) Elementary Linear Algebra: Section 5.4, p.326

By the Pythagorean theorem Pf: By the Pythagorean theorem Elementary Linear Algebra: Section 5.4, p.326

(1) Among all the scalar multiples of a vector u, the Notes: (1) Among all the scalar multiples of a vector u, the orthogonal projection of v onto u is the one that is closest to v. (p.302 Thm 5.9) (2) Among all the vectors in the subspace W, the vector is the closest vector to v. Elementary Linear Algebra: Section 5.4, p.325

Thm 5.16: (Fundamental subspaces of a matrix) If A is an m×n matrix, then (1) (2) (3) (4) Elementary Linear Algebra: Section 5.4, p.327

Ex 6: (Fundamental subspaces) Find the four fundamental subspaces of the matrix. (reduced row-echelon form) Sol: Elementary Linear Algebra: Section 5.4, p.326

Check: Elementary Linear Algebra: Section 5.4, p.327

Let W is a subspace of R4 and . (a) Find a basis for W Ex 3 & Ex 4: Let W is a subspace of R4 and . (a) Find a basis for W (b) Find a basis for the orthogonal complement of W. Sol: (reduced row-echelon form) Elementary Linear Algebra: Section 5.4, pp.322-323

is a basis for W Notes: Elementary Linear Algebra: Section 5.4, pp.322-323

Least squares problem: (A system of linear equations) (1) When the system is consistent, we can use the Gaussian elimination with back-substitution to solve for x (2) When the system is inconsistent, how to find the “best possible” solution of the system. That is, the value of x for which the difference between Ax and b is small. Elementary Linear Algebra: Section 5.4, p.320

Least squares solution: Given a system Ax = b of m linear equations in n unknowns, the least squares problem is to find a vector x in Rn that minimizes with respect to the Euclidean inner product on Rn. Such a vector is called a least squares solution of Ax = b. Notes: Elementary Linear Algebra: Section 5.4, p.328

(the normal system associated with Ax = b) Elementary Linear Algebra: Section 5.4, pp.327-328

Note: (Ax = b is an inconsistent system) The problem of finding the least squares solution of is equal to he problem of finding an exact solution of the associated normal system . Elementary Linear Algebra: Section 5.4, p.328

Ex 7: (Solving the normal equations) Find the least squares solution of the following system (this system is inconsistent) and find the orthogonal projection of b on the column space of A. Elementary Linear Algebra: Section 5.4, p.328

the associated normal system Sol: the associated normal system Elementary Linear Algebra: Section 5.4, p.328

the least squares solution of Ax = b the orthogonal projection of b on the column space of A Elementary Linear Algebra: Section 5.4, p.329

Keywords in Section 5.4: orthogonal to W: 正交於W orthogonal complement: 正交補集 direct sum: 直和 projection onto a subspace: 在子空間的投影 fundamental subspaces: 基本子空間 least squares problem: 最小平方問題 normal equations: 一般方程式