Chapter 5 Dot Inner and Cross Products 5

  • Slides: 45
Download presentation
Chapter 5 Dot, Inner and Cross Products 5. 1 Length of a vector 5.

Chapter 5 Dot, Inner and Cross Products 5. 1 Length of a vector 5. 2 Dot Product 5. 3 Inner Product 5. 4 Cross Product

5. 1 Length and Dot Product in Rn n Length: The length of a

5. 1 Length and Dot Product in Rn n Length: The length of a vector in Rn is given by n Notes: The length of a vector is also called its norm. n Notes: Properties of length is called a unit vector. 2/45

n Ex 1: (a) In R 5, the length of (b) In R 3

n Ex 1: (a) In R 5, the length of (b) In R 3 the length of is given by (v is a unit vector) 3/45

n n A standard unit vector in Rn: Ex: the standard unit vector in

n n A standard unit vector in Rn: Ex: the standard unit vector in R 2: the standard unit vector in R 3: n Notes: (Two nonzero vectors are parallel) u and v have the same direction u and v have the opposite direction 4/45

n Thm 5. 1: (Length of a scalar multiple) Let v be a vector

n Thm 5. 1: (Length of a scalar multiple) Let v be a vector in Rn and c be a scalar. Then Pf: 5/45

n Thm 5. 2: (Unit vector in the direction of v) If v is

n 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 ) 6/45

n Notes: (1) The vector is called the unit vector in the direction of

n 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. 7/45

n Ex 2: (Finding a unit vector) Find the unit vector in the direction

n 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. 8/45

n Distance between two vectors: The distance between two vectors u and v in

n Distance between two vectors: The distance between two vectors u and v in Rn is n Notes: (Properties of distance) (1) (2) if and only if (3) 9/45

n Ex 3: (Finding the distance between two vectors) The distance between u=(0, 2,

n Ex 3: (Finding the distance between two vectors) The distance between u=(0, 2, 2) and v=(2, 0, 1) is 10/45

5. 2 Dot Product n Dot product in Rn: The dot product of and

5. 2 Dot Product n Dot product in Rn: The dot product of and is the scalar quantity n 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 12/45

n Thm 5. 3: (Properties of the dot product) If u, v, and w

n 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 13/45

n Euclidean n-space: Rn was defined to be the set of all order n-tuples

n 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. 14/45

n Ex 5: (Finding dot products) (a) (b) (c) (d) (e) Sol: 15/45

n Ex 5: (Finding dot products) (a) (b) (c) (d) (e) Sol: 15/45

n Ex 6: (Using the properties of the dot product) Given Find Sol: 16/45

n Ex 6: (Using the properties of the dot product) Given Find Sol: 16/45

n Thm 5. 4: (The Cauchy - Schwarz inequality) If u and v are

n Thm 5. 4: (The Cauchy - Schwarz inequality) If u and v are vectors in Rn, then ( n 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: 17/45

n The angle between two vectors in Rn: Opposite direction n Same direction Note:

n The angle between two vectors in Rn: Opposite direction n Same direction Note: The angle between the zero vector and another vector is not defined. 18/45

n Ex 8: (Finding the angle between two vectors) Sol: u and v have

n Ex 8: (Finding the angle between two vectors) Sol: u and v have opposite directions. 19/45

n Orthogonal vectors: Two vectors u and v in Rn are orthogonal if n

n Orthogonal vectors: Two vectors u and v in Rn are orthogonal if n Note: The vector 0 is said to be orthogonal to every vector. 20/45

n Ex 10: (Finding orthogonal vectors) Determine all vectors in Rn that are orthogonal

n Ex 10: (Finding orthogonal vectors) Determine all vectors in Rn that are orthogonal to u=(4, 2). Sol: Let 21/45

n Thm 5. 5: (The triangle inequality) If u and v are vectors in

n Thm 5. 5: (The triangle inequality) If u and v are vectors in Rn, then Pf: n Note: Equality occurs in the triangle inequality if and only if the vectors u and v have the same direction. 22/45

n Thm 5. 6: (The Pythagorean theorem) If u and v are vectors in

n Thm 5. 6: (The Pythagorean theorem) If u and v are vectors in Rn, then u and v are orthogonal if and only if 23/45

n Dot product and matrix multiplication: (A vector in Rn is represented as an

n Dot product and matrix multiplication: (A vector in Rn is represented as an n× 1 column matrix) 24/45

5. 3 Inner Product n Inner product: Let u, v, and w be vectors

5. 3 Inner Product n 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 26/45

n Note: A vector space V with an inner product is called an inner

n Note: A vector space V with an inner product is called an inner product space. Vector space: Inner product space: 27/45

n Ex 1: (The Euclidean inner product for Rn) Show that the dot product

n 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. 28/45

n Ex 2: (A different inner product for Rn) Show that the function defines

n Ex 2: (A different inner product for Rn) Show that the function defines an inner product on R 2, where and. Sol: 29/45

n Note: (An inner product on Rn) 30/45

n Note: (An inner product on Rn) 30/45

n Ex 3: (A function that is not an inner product) Show that the

n Ex 3: (A function that is not an inner product) Show that the following function is not an inner product on R 3. Sol: Let Axiom 4 is not satisfied. Thus this function is not an inner product on R 3. 31/45

n Thm 5. 7: (Properties of inner products) Let u, v, and w be

n 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) n Norm (length) of u: n Note: 32/45

n Distance between u and v: n Angle between two nonzero vectors u and

n Distance between u and v: n Angle between two nonzero vectors u and v: n Orthogonal: u and v are orthogonal if . 33/45

n Notes: (1) If , then v is called a unit vector. (2) (the

n Notes: (1) If , then v is called a unit vector. (2) (the unit vector in the direction of v) not a unit vector 34/45

n Ex 6: (Finding inner product) is an inner product Sol: 35/45

n Ex 6: (Finding inner product) is an inner product Sol: 35/45

n Properties of norm: (1) (2) if and only if (3) n Properties of

n Properties of norm: (1) (2) if and only if (3) n Properties of distance: (1) (2) if and only if (3) 36/45

n Thm 5. 8: Let u and v be vectors in an inner product

n Thm 5. 8: Let u and v be vectors in an inner product space V. (1) Cauchy-Schwarz inequality: Theorem 5. 4 (2) Triangle inequality: Theorem 5. 5 (3) Pythagorean theorem : u and v are orthogonal if and only if Theorem 5. 6 37/45

n Orthogonal projections in inner product spaces: Let u and v be two vectors

n 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 n Note: If v is a init vector, then . The formula for the orthogonal projection of u onto v takes the following simpler form. 38/45

n Ex 10: (Finding an orthogonal projection in R 3) Use the Euclidean inner

n Ex 10: (Finding an orthogonal projection in R 3) Use the Euclidean inner product in R 3 to find the orthogonal projection of u=(6, 2, 4) onto v=(1, 2, 0). Sol: n Note: 39/45

n Thm 5. 9: (Orthogonal projection and distance) Let u and v be two

n Thm 5. 9: (Orthogonal projection and distance) Let u and v be two vectors in an inner product space V, such that. Then 40/45

5. 4 Cross Product n Cross product in R 3: The cross product of

5. 4 Cross Product n Cross product in R 3: The cross product of and is the vector quantity n Ex 11: (Finding the cross product of two vectors) The cross product of u=(1, 2, 0) and v=(3, -2, 4) is 42/45

n Thm 5. 10: Relationships involving cross product and dot product Let u, v

n Thm 5. 10: Relationships involving cross product and dot product Let u, v and w be 3 vectors in R 3, then: n Thm 5. 11: Properties of involving cross product Let u, v and w be 3 vectors in R 3 and k a scalar, then: 43/45

n Thm 5. 12: Scalar triple product Let u, v and w be 3

n Thm 5. 12: Scalar triple product Let u, v and w be 3 vectors in R 3, then: 44/45

Keywords in Section 5. 4: n n Cross product: ﺿﺮﺏ ﺧﺎﺭﺟﻲ Scalar triple product:

Keywords in Section 5. 4: n n Cross product: ﺿﺮﺏ ﺧﺎﺭﺟﻲ Scalar triple product: ﺍﻟﻀﺮﺏ ﺍﻟﺜﻼﺛﻲ ﺍﻟﻌﺪﺩﻱ angle: ﺯﺍﻭﻳﺔ orthogonal: ﻣﺘﻌﺎﻣﺪ 45/45