Dot product and vector projections (Sect. 12.3) There are two main ways to introduce the dot product



Similar documents
Cross product and determinants (Sect. 12.4) Two main ways to introduce the cross product

Problem set on Cross Product

v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)

9 Multiplication of Vectors: The Scalar or Dot Product

Section 9.5: Equations of Lines and Planes

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

5.3 The Cross Product in R 3

1.3. DOT PRODUCT If θ is the angle (between 0 and π) between two non-zero vectors u and v,

A vector is a directed line segment used to represent a vector quantity.

MAT 1341: REVIEW II SANGHOON BAEK

Math 241, Exam 1 Information.

Vector Algebra CHAPTER 13. Ü13.1. Basic Concepts

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Lecture 14: Section 3.3

The Vector or Cross Product

The Dot and Cross Products

13.4 THE CROSS PRODUCT

Section 1.1. Introduction to R n

VECTOR ALGEBRA A quantity that has magnitude as well as direction is called a vector. is given by a and is represented by a.

Geometric description of the cross product of the vectors u and v. The cross product of two vectors is a vector! u x v is perpendicular to u and v

LINES AND PLANES IN R 3

THREE DIMENSIONAL GEOMETRY

Orthogonal Projections and Orthonormal Bases

Chapter 6. Orthogonality

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Mathematics Notes for Class 12 chapter 10. Vector Algebra

Math 215 HW #6 Solutions

Solutions to old Exam 1 problems

i=(1,0), j=(0,1) in R 2 i=(1,0,0), j=(0,1,0), k=(0,0,1) in R 3 e 1 =(1,0,..,0), e 2 =(0,1,,0),,e n =(0,0,,1) in R n.

One advantage of this algebraic approach is that we can write down

Vector Math Computer Graphics Scott D. Anderson

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Figure 1.1 Vector A and Vector F

GCE Mathematics (6360) Further Pure unit 4 (MFP4) Textbook

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

Vectors Math 122 Calculus III D Joyce, Fall 2012

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Equations Involving Lines and Planes Standard equations for lines in space

Vectors 2. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

[1] Diagonal factorization

A QUICK GUIDE TO THE FORMULAS OF MULTIVARIABLE CALCULUS

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

Basic Linear Algebra

LINEAR ALGEBRA W W L CHEN

Numerical Analysis Lecture Notes

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

α = u v. In other words, Orthogonal Projection

Unified Lecture # 4 Vectors

Vector Algebra. Addition: (A + B) + C = A + (B + C) (associative) Subtraction: A B = A + (-B)

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

12.5 Equations of Lines and Planes

Inner product. Definition of inner product

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Vector Algebra II: Scalar and Vector Products

WHEN DOES A CROSS PRODUCT ON R n EXIST?

LINES AND PLANES CHRIS JOHNSON

Review A: Vector Analysis

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Module 8 Lesson 4: Applications of Vectors

10.5. Click here for answers. Click here for solutions. EQUATIONS OF LINES AND PLANES. 3x 4y 6z 9 4, 2, 5. x y z. z 2. x 2. y 1.

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Vectors and Index Notation

JUST THE MATHS UNIT NUMBER 8.5. VECTORS 5 (Vector equations of straight lines) A.J.Hobson

Similarity and Diagonalization. Similar Matrices

Chapter 17. Orthogonal Matrices and Symmetries of Space

The Matrix Elements of a 3 3 Orthogonal Matrix Revisited

MATH APPLIED MATRIX THEORY

Two vectors are equal if they have the same length and direction. They do not

MATH 275: Calculus III. Lecture Notes by Angel V. Kumchev

Review of Vector Analysis in Cartesian Coordinates

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

by the matrix A results in a vector which is a reflection of the given

1.(6pts) Find symmetric equations of the line L passing through the point (2, 5, 1) and perpendicular to the plane x + 3y z = 9.

The Dot Product. Properties of the Dot Product If u and v are vectors and a is a real number, then the following are true:

MAT188H1S Lec0101 Burbulla

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

Review Sheet for Test 1

Lecture notes on linear algebra

Given three vectors A, B, andc. We list three products with formula (A B) C = B(A C) A(B C); A (B C) =B(A C) C(A B);

6. Vectors Scott Surgent (surgent@asu.edu)

Inner products on R n, and more

AP Physics - Vector Algrebra Tutorial

State of Stress at Point

Inner Product Spaces

Section 1.4. Lines, Planes, and Hyperplanes. The Calculus of Functions of Several Variables

Solutions to Math 51 First Exam January 29, 2015

1 VECTOR SPACES AND SUBSPACES

Chapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation

ex) What is the component form of the vector shown in the picture above?

1. Equations for lines on the plane and planes in the space.

Section 1.1 Linear Equations: Slope and Equations of Lines

Mathematics 205 HWK 6 Solutions Section 13.3 p627. Note: Remember that boldface is being used here, rather than overhead arrows, to indicate vectors.

1.5 Equations of Lines and Planes in 3-D

Transcription:

Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas. There are two main ways to introduce the dot product Geometrical definition Properties Expression in components. Geometrical expression Properties Definition in components. e choose the first way, the textbook chooses the second way.

Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas. The dot product of two vectors is a scalar Definition Let v, w be vectors in R n, with n = 2, 3, having length v and w with angle in between θ, where 0 θ π. The dot product of v and w, denoted by v w, is given by v w = v w cos(θ). O Initial points together.

The dot product of two vectors is a scalar Example Compute v w knowing that v, w R 3, with v = 2, w = 1, 2, 3 and the angle in between is θ = π/4. Solution: e first compute w, that is, w 2 = 1 2 + 2 2 + 3 2 = 14 w = 14. e now use the definition of dot product: v w = v w cos(θ) = (2) 14 2 2 v w = 2 7. The angle between two vectors is a usually not know in applications. It will be convenient to obtain a formula for the dot product involving the vector components. Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas.

Perpendicular vectors have zero dot product. Definition Two vectors are perpendicular, also called orthogonal, iff the angle in between is θ = π/2. 0 = / 2 Theorem The non-zero vectors v and w are perpendicular iff v w = 0. Proof. } 0 = v w = v w cos(θ) v 0, w 0 { cos(θ) = 0 0 θ π θ = π 2. The dot product of i, j and k is simple to compute Example Compute all dot products involving the vectors i, j, and k. Solution: Recall: i = 1, 0, 0, j = 0, 1, 0, k = 0, 0, 1. z k i j y x i i = 1, j j = 1, k k = 1, i j = 0, j i = 0, k i = 0, i k = 0, j k = 0, k j = 0.

Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas. The dot product and orthogonal projections. The dot product is closely related to orthogonal projections of one vector onto the other. Recall: v w = v w cos(θ). O 01 01 = cos(o) 01 00 11 = cos(o) O

Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas. Properties of the dot product. Theorem (a) v w = w v, (symmetric); (b) v (aw) = a (v w), (linear); (c) u (v + w) = u v + u w, (linear); (d) v v = v 2 0, and v v = 0 v = 0, (positive); (e) 0 v = 0. Proof. Properties (a), (b), (d), (e) are simple to obtain from the definition of dot product v w = v w cos(θ). For example, the proof of (b) for a > 0: v (aw) = v aw cos(θ) = a v w cos(θ) = a (v w).

Properties of the dot product. (c), u (v + w) = u v + u w, is non-trivial. The proof is: + 0 0 U 0 w + cos(0) cos(0 ) cos(0 ) u (v + w) v + w cos(θ) =, u w cos(θ w ) = u w, u (v + w) = u v + u w u v cos(θ v ) = u v u, Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas.

The dot product in vector components (Case R 2 ) Theorem If v = v x, v y and w = w x, w y, then v w is given by v w = v x w x + v y w y. Proof. Recall: v = v x i + v y j and w = w x i + w y j. The linear property of the dot product implies v w = (v x i + v y j ) (w x i + w y j ) = v x w x i i + v x w y i j + v y w x j i + v y w y j j. Recall: i i = j j = 1 and i j = j i = 0. e conclude that v w = v x w x + v y w y. The dot product in vector components (Case R 3 ) Theorem If v = v x, v y, v z and w = w x, w y, w z, then v w is given by v w = v x w x + v y w y + v z w z. The proof is similar to the case in R 2. The dot product is simple to compute from the vector component formula v w = v x w x + v y w y + v z w z. The geometrical meaning of the dot product is simple to see from the formula v w = v w cos(θ).

Example Find the cosine of the angle between v = 1, 2 and w = 2, 1 Solution: v w = v w cos(θ) cos(θ) = v w v w. Furthermore, v w = (1)(2) + (2)(1) v = 1 2 + 2 2 = 5, w = 2 2 + 1 2 = 5, cos(θ) = 4 5. Dot product and vector projections (Sect. 12.3) Two definitions for the dot product. Geometric definition of dot product. Orthogonal vectors. Dot product and orthogonal projections. Properties of the dot product. Dot product in vector components. Scalar and vector projection formulas.

Scalar and vector projection formulas. Theorem The scalar projection of vector v along the vector w is the number p w (v) given by p w (v) = v w w. The vector projection of vector v along the vector w is the vector p w (v) given by ( v w ) w p w (v) = w w. O O 00 P () = 01 = cos(o) 11 P () = 01 Example Find the scalar projection of b = 4, 1 onto a = 1, 2. Solution: The scalar projection of b onto a is the number p a (b) = b cos(θ) = b a a e therefore obtain p a (b) = 2 5. = ( 4)(1) + (1)(2) 1 2 + 2 2. b a p (b) a

Example Find the vector projection of b = 4, 1 onto a = 1, 2. Solution: The vector projection of b onto a is the vector ( ) b a a ( p a (b) = a a = 2 ) 1 5 1, 2, 5 2 we therefore obtain p a (b) = 5, 4. 5 b a p (b) a Example Find the vector projection of a = 1, 2 onto b = 4, 1. Solution: The vector projection of a onto b is the vector ( ) a b b ( p b (a) = b b = 2 ) 1 4, 1, 17 17 8 we therefore obtain p a (b) = 17, 2. 17 b a p (a) b

Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes. There are two main ways to introduce the cross product Geometrical definition Properties Expression in components. Geometrical expression Properties Definition in components. e choose the first way, like the textbook.

Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes. The cross product of two vectors is another vector Definition Let v, w be vectors in R 3 having length v and w with angle in between θ, where 0 θ π. The cross product of v and w, denoted as v w, is a vector perpendicular to both v and w, pointing in the direction given by the right hand rule, with norm v w = v w sin(θ). x O x Cross product vectors are perpendicular to the original vectors.

v w is the area of a parallelogram Theorem v w is the area of the parallelogram formed by vectors v and w. Proof. sin(o) O The area A of the parallelogram formed by v and w is given by A = w ( v sin(θ) ) = v w. Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes.

Parallel vectors have zero cross product. Definition Two vectors are parallel iff the angle in between them is θ = 0. w v Theorem The non-zero vectors v and w are parallel iff v w = 0. Proof. Recall: ector v w = 0 iff its length v w = 0, then } { v w sin(θ) = 0 sin(θ) = 0 θ = 0, or v 0, w 0 0 θ π θ = π. Recall: v w is the area of a parallelogram Example The closer the vectors v, w are to be parallel, the smaller is the area of the parallelogram they form, hence the shorter is their cross product vector v w. x 00000 11111 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 O 0 1 1 0 1 0 1 0 1 0 1 0 1 x 1111100000 11111 00000 00000 11111 00000 00000 11111 00000 11111O 00000 11111 00000 11111 00000 11111 00000 11111 2 00000 11111 00000 11111 00000 11111

Example Compute all cross products involving the vectors i, j, and k. Solution: Recall: i = 1, 0, 0, j = 0, 1, 0, k = 0, 0, 1. z k i j y x i j = k, j k = i, k i = j, i i = 0, j j = 0, k k = 0, i k = j, j i = k, k j = i. Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes.

Main properties of the cross product Theorem (a) v w = (w v ), (b) v v = 0; (c) (a v ) w = v (a w) = a (v w), (d) u (v + w) = u v + u w, (e) u (v w) (u v ) w, (Skew-symmetric); (linear); (linear); (not associative). Proof. Part (a) results from the right hand rule. Part (b) comes from part (a). Parts (b) and (c) are proven in a similar ways as the linear property of the dot product. Part (d) is proven by giving an example. The cross product is not associative, that is, u (v w) (u v) w. Example Show that i (i k) = k and (i i) k = 0. Solution: i (i k) = i ( j ) = (i j ) = k i (i k) = k, (i i) k = 0 j = 0 (i i) k = 0. Recall: The cross product of two vectors vanishes when the vectors are parallel

Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes. The cross product vector in vector components. Theorem If the vector components of v and w in a Cartesian coordinate system are v = v 1, v 2, v 3 and w = w 1, w 2, w 3, then holds v w = (v 2 w 3 v 3 w 2 ), (v 3 w 1 v 1 w 3 ), (v 1 w 2 v 2 w 1 ). For the proof, recall the non-zero cross products i j = k, j k = i, k i = j, and their skew-symmetric products, while all the other cross products vanish, and then use the properties of the cross product.

Cross product in vector components. Proof. Recall: Then, it holds v = v 1 i + v 2 j + v 3 k, w = w 1 i + w 2 j + w 3 k. v w = (v 1 i + v 2 j + v 3 k) (w 1 i + w 2 j + w 3 k). Use the linearity property. The only non-zero terms are those with products i j = k and j k = i and k i = j. The result is v w = (v 2 w 3 v 3 w 2 ) i + (v 3 w 1 v 1 w 3 ) j + (v 1 w 2 v 2 w 1 ) k. Cross product in vector components. Example Find v w for v = 1, 2, 0 and w = 3, 2, 1, Solution: e use the formula v w = (v 2 w 3 v 3 w 2 ), (v 3 w 1 v 1 w 3 ), (v 1 w 2 v 2 w 1 ) = [(2)(1) (0)(2)], [(0)(3) (1)(1)], [(1)(2) (2)(3)] = (2 0), ( 1), (2 6) v w = 2, 1, 4. Exercise: Find the angle between v and w above, and then check that this angle is correct using the dot product of these vectors.

Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes. Determinants help to compute cross products. e use determinants only as a tool to remember the components of v w. Let us recall here the definition of determinant of a 2 2 matrix: a b c d = ad bc. The determinant of a 3 3 matrix can be computed using three 2 2 determinants: a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3 = a 1 b 2 b 3 c 2 c 3 a 2 b 1 b 3 c 1 c 3 + a 3 b 1 b 2 c 1 c 2.

Determinants help to compute cross products. Claim If the vector components of v and w in a Cartesian coordinate system are v = v 1, v 2, v 3 and w = w 1, w 2, w 3, then holds i j k v w = v 1 v 2 v 3 w 1 w 2 w 3 A straightforward computation shows that i j k v 1 v 2 v 3 w 1 w 2 w 3 = (v 2w 3 v 3 w 2 ) i (v 1 w 3 v 3 w 1 ) j +(v 1 w 2 v 2 w 1 ) k. Determinants help to compute cross products. Example Given the vectors v = 1, 2, 3 and w = 2, 3, 1, compute both w v and v w. Solution: e need to compute the following determinant: i j k w v = w 1 w 2 w 3 v 1 v 2 v 3 = i j k 2 3 1 1 2 3 The result is w v = (9 2) i ( 6 1) j +( 4 3) k w v = 7, 7, 7. From the properties of the determinant we know that v w = w v, therefore v w = 7, 7, 7.

Cross product and determinants (Sect. 12.4) Two definitions for the cross product. Geometric definition of cross product. Parallel vectors. Properties of the cross product. Cross product in vector components. Determinants to compute cross products. Triple product and volumes. The triple product of three vectors is a number Definition Given vectors u, v, w, the triple product is the number given by u (v w). The parentheses are important. First do the cross product, and only then dot the resulting vector with the first vector. Property of the triple product. Theorem The triple product of vectors u, v, w satisfies u (v w) = w (u v ) = v (w u).

The triple product is related to the volume of the parallelepiped formed by the three vectors Theorem If u, v, w are vectors in R 3, then u (v w) is the volume of the parallelepiped determined by the vectors u, v, w. x U The triple product and volumes x U 0 h A Proof. Recall the definition of a dot product: x y = x y cos(θ). So, u (v w) = u v w cos(θ) = h v w. v w is the area A of the parallelogram formed by v and w. So, u (v w) = h A, which is the volume of the parallelepiped formed by u, v, w.

The triple product and volumes Example Compute the volume of the parallelepiped formed by the vectors u = 1, 2, 3, v = 3, 2, 1, w = 1, 2, 1. Solution: e use the formula = u (v w). e must compute the cross product first: i j k v w = 3 2 1 = (2 + 2) i (3 1) j + ( 6 2) k, 1 2 1 that is, v w = 4, 2, 8. Now compute the dot product, u (v w) = 1, 2, 3 4, 2, 8 = 4 4 24, that is, u (v w) = 24. e conclude that = 24. The triple product is computed with a determinant Theorem The triple product of vectors u = u 1, u 2, u 3, v = v 1, v 2, v 3, and w = w 1, w 2, w 3 is given by u 1 u 2 u 3 u (v w) = v 1 v 2 v 3 w 1 w 2 w 3. Example Compute the volume of the parallelepiped formed by the vectors u = 1, 2, 3, v = 3, 2, 1, w = 1, 2, 1. Solution: 1 2 3 u (v w) = 3 2 1 1 2 1.

The triple product is computed with a determinant Example Compute the volume of the parallelepiped formed by the vectors u = 1, 2, 3, v = 3, 2, 1, w = 1, 2, 1. Solution: The result is: 1 2 3 u (v w) = 3 2 1 1 2 1. u (v w) = (1)(2 + 2) (2)(3 1) + (3)( 6 2), = 4 4 24, that is, u (v w) = 24. e conclude that = 24.