Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality.

Similar presentations


Presentation on theme: "Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality."— Presentation transcript:

1 Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality

2 Definition If n is a positive integer, then an ordered n-tuple is a sequence of n real numbers (a 1,a 2,…,a n ). The set of all ordered n-tuple is called n-space and is denoted by. Note that an ordered n-tuple (a 1,a 2,…,a n ) can be viewed either as a “generalized point” or as a “generalized vector” 3. 1 Vectors in n-space

3 Definition Two vectors u = (u 1,u 2,…,u n ) and v = (v 1,v 2,…, v n ) in are called equal if u 1 = v 1,u 2 = v 2, …, u n = v n The sum u + v is defined by u + v = (u 1 +v 1, u 1 +v 1, …, u n +v n ) and if k is any scalar, the scalar multiple ku is defined by ku = (ku 1,ku 2,…,ku n ) Remarks The operations of addition and scalar multiplication in this definition are called the standard operations on.

4 If u = (u 1,u 2,…,u n ) is any vector in, then the negative (or additive inverse) of u is denoted by -u and is defined by -u = (-u 1,-u 2,…,-u n ). The zero vector in is denoted by 0 and is defined to be the vector 0 = (0, 0, …, 0). The difference of vectors in is defined by v – u = v + (-u) = (v 1 – u 1,v 2 – u 2,…,v n – u n )

5 Theorem 3. 1.1 (Properties of Vector in ) If u = (u 1,u 2,…,u n ), v = (v 1,v 2,…, v n ), and w = (w 1,w 2,…,w n ) are vectors in and k and m are scalars, then: a) u + v = v + u b) u + (v + w) = (u + v) + w c) u + 0 = 0 + u = u d) u + (-u) = 0; that is, u – u = 0 e) k(mu) = (km)u f) k(u + v) = ku + kv g) (k+m)u = ku+mu h) 1u = u

6 Theorem 3. 1.2 If v is a vector in, and k is a scalar, then a) 0v = 0 b) k0 = 0+ (v + w) = (u + v) + w c) (-1) v = - v Definition A vector w is a linear combination of the vectors v 1, v 2,…, v r if it can be expressed in the form w = k 1 v 1 + k 2 v 2 + · · · + k r v r where k 1, k 2, …, k r are scalars. These scalars are called the coefficients of the linear combination. Note that the linear combination of a single vector is just a scalar multiple of that vector.

7 Definition 3.2 Norm, Dot Product, and Distance in n-space Example If u = (1,3,-2,7), then in the Euclidean space R 4, the norm of u is

8 Definition A vector of norm 1 is called a unit vector. That is, if v is any nonzero vector in R n, then Normalizing a Vector The process of multiplying a nonzero vector by the reciprocal of its length to obtain a unit vector is called normalizing v.

9 Example: Find the unit vector u that has the same direction as v = (2, 2, -1). Solution: The vector v has length Thus, Definition, The standard unit vectors in R n are: e 1 = (1, 0, …, 0), e 2 = (0, 1, …, 0), …, e n = (0, 0, …, 1) In which case every vector v = (v 1,v 2, …, v n ) in R n can be expressed as v = (v 1,v 2, …, v n ) = v 1 e 1 + v 2 e 2 +…+ v n e n

10 The distance between the points u = (u 1,u 2,…,u n ) and v = (v 1, v 2,…,v n ) in R n defined by Example If u = (1,3,-2,7) and v = (0,7,2,2), then d(u, v) in R 4 is Distance

11 Definition If u = (u 1,u 2,…,u n ), v = (v 1,v 2,…, v n ) are vectors in, then the dot product u · v is defined by u · v = u 1 v 1 + u 2 v 2 +… + u n v n Dot Product Example The dot product of the vectors u = (-1,3,5,7) and v =(5,-4,7,0) in R 4 is u · v = (-1)(5) + (3)(-4) + (5)(7) + (7)(0) = 18

12 It is common to refer to, with the operations of addition, scalar multiplication, and the Euclidean inner product, as Euclidean n-space. Theorem 3.2.2 If u, v and w are vectors in and k is any scalar, then a) u · v = v · u b) (u + v) · w = u · w + v · w c) (k u) · v = k(u · v) d) v · v ≥ 0; Further, v · v = 0 if and only if v = 0 Example (3u + 2v) · (4u + v) = (3u) · (4u + v) + (2v) · (4u + v ) = (3u) · (4u) + (3u) · v + (2v) · (4u) + (2v) · v =12(u · u) + 11(u · v) + 2(v · v)

13 Theorem 3.2.4 (Cauchy-Schwarz Inequality in ) If u = (u 1,u 2,…,u n ) and v = (v 1, v 2,…,v n ) are vectors in, then |u · v| ≤ || u || || v || Or in terms of components Properties of Length in ) If u and v are vectors in and k is any scalar, then a) || u || ≥ 0 b) || u || = 0 if and only if u = 0 c) || ku || = | k ||| u || d) || u + v || ≤ || u || + || v || (Triangle inequality)

14 a) d(u, v) ≥ 0 b) d(u, v) = 0 if and only if u = v c) d(u, v) = d(v, u) d) d(u, v) ≤ d(u, w ) + d(w, v) (Triangle inequality) Properties of Distance in If u, v, and w are vectors in and k is any scalar, then Theorem 3.2.7 If u, v, and w are vectors in with the Euclidean inner product, then

15 Dot Products as Matrix Multiplication

16 3.3 Orthogonality Example In the Euclidean space the vectors u = (-2, 3, 1, 4) and v = (1, 2, 0, -1) are orthogonal, since u · v = (-2)(1) + (3)(2) + (1)(0) + (4)(-1) = 0 Theorem 3.3.3 (Pythagorean Theorem in ) If u and v are orthogonal vectors in with the Euclidean inner product, then


Download ppt "Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality."

Similar presentations


Ads by Google