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



Similar documents
5.3 The Cross Product in R 3

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

The Dot and Cross Products

Lecture 14: Section 3.3

Equations Involving Lines and Planes Standard equations for lines in space

Section 1.1. Introduction to R n

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

Section 9.5: Equations of Lines and Planes

9 Multiplication of Vectors: The Scalar or Dot Product

MAT 1341: REVIEW II SANGHOON BAEK

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

12.5 Equations of Lines and Planes

Solutions to old Exam 1 problems

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

Math 241, Exam 1 Information.

Math 215 HW #6 Solutions

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

13.4 THE CROSS PRODUCT

Figure 1.1 Vector A and Vector F

THREE DIMENSIONAL GEOMETRY

LINES AND PLANES CHRIS JOHNSON

Vector Algebra CHAPTER 13. Ü13.1. Basic Concepts

Section V.3: Dot Product

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

Module 8 Lesson 4: Applications of Vectors

1.5 Equations of Lines and Planes in 3-D

5 VECTOR GEOMETRY. 5.0 Introduction. Objectives. Activity 1

a.) Write the line 2x - 4y = 9 into slope intercept form b.) Find the slope of the line parallel to part a

8-3 Dot Products and Vector Projections

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

α = u v. In other words, Orthogonal Projection

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

LINEAR ALGEBRA W W L CHEN

Linear Algebra: Vectors

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

Unified Lecture # 4 Vectors

LINES AND PLANES IN R 3

Orthogonal Projections and Orthonormal Bases

Example SECTION X-AXIS - the horizontal number line. Y-AXIS - the vertical number line ORIGIN - the point where the x-axis and y-axis cross

Lecture L3 - Vectors, Matrices and Coordinate Transformations

BALTIC OLYMPIAD IN INFORMATICS Stockholm, April 18-22, 2009 Page 1 of?? ENG rectangle. Rectangle

Problem set on Cross Product

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

discuss how to describe points, lines and planes in 3 space.

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

Name Class. Date Section. Test Form A Chapter 11. Chapter 11 Test Bank 155

Review Sheet for Test 1

Geometry of Vectors. 1 Cartesian Coordinates. Carlo Tomasi

Vector Algebra II: Scalar and Vector Products

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

Numerical Analysis Lecture Notes

AP Physics - Vector Algrebra Tutorial

C relative to O being abc,, respectively, then b a c.

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Mathematics Notes for Class 12 chapter 10. Vector Algebra

Solutions to Practice Problems

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

FURTHER VECTORS (MEI)

Elementary Linear Algebra

Mechanics lecture 7 Moment of a force, torque, equilibrium of a body

Chapter 17. Orthogonal Matrices and Symmetries of Space

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.

Inner product. Definition of inner 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)

Definition: A vector is a directed line segment that has and. Each vector has an initial point and a terminal point.

Vectors Math 122 Calculus III D Joyce, Fall 2012

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

4. How many integers between 2004 and 4002 are perfect squares?

Some Comments on the Derivative of a Vector with applications to angular momentum and curvature. E. L. Lady (October 18, 2000)

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

(2,4,5).. ...

Geometry: Unit 1 Vocabulary TERM DEFINITION GEOMETRIC FIGURE. Cannot be defined by using other figures.

Solutions to Exercises, Section 5.1

Vector has a magnitude and a direction. Scalar has a magnitude

Section 4.4 Inner Product Spaces

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

Analytical Geometry (4)

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

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

3. INNER PRODUCT SPACES

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.

Math 241 Lines and Planes (Solutions) x = 3 3t. z = 1 t. x = 5 + t. z = 7 + 3t

Part I. Basic Maths for Game Design

United Arab Emirates University College of Sciences Department of Mathematical Sciences HOMEWORK 1 SOLUTION. Section 10.1 Vectors in the Plane

Review A: Vector Analysis

Introduction and Mathematical Concepts

Orthogonal Projections

1 VECTOR SPACES AND SUBSPACES

Solving Simultaneous Equations and Matrices

VELOCITY, ACCELERATION, FORCE

1 Vectors: Geometric Approach


Useful Mathematical Symbols

Math Placement Test Practice Problems

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

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

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

Vector Math Computer Graphics Scott D. Anderson

Incenter Circumcenter

Transcription:

1.3. DOT PRODUCT 19 1.3 Dot Product 1.3.1 Definitions and Properties The dot product is the first way to multiply two vectors. The definition we will give below may appear arbitrary. But it is not. It is motivated by applications, in particular projections. Definition 34 (Dot Product) The dot product, also called inner product, is denoted with the symbol. We can only take the dot product of two vectors having the same dimension. The result is a number, obtained by multiplying the corresponding coordinates of the two vectors, then adding all the products. If u = a, b and v = c, d are two vectors, then u v = ac + bd. You will note that the answer is a number, not a vector. We have a similar definition for vectors in higher dimensions. In general, if u = x 1, x 2,, x n and v = y 1, y 2,, y n, then u v = n x i y i. i=1 Example 35 If u = 1, 1, 1 and v = 1, 2, 3 then u v = (1) (1) + (1) (2) + (1) (3) = 6. Proposition 36 The dot product satisfies the following properties: 1. u u = u 2 2. u 0 = 0 u = 0 3. u v = v u 4. α u β v = αβ ( u v) for any scalars α and β. 5. u ( v + w) = u v + u w 6. If θ is the angle (between 0 and π) between two non-zero vectors u and v, then u v = u v cos θ. 7. u v if and only if u v = 0. Again, we assume that u and v are two non-zero vectors. 8. u v u v Proof. We give an idea of a proof for some of these properties. 1. We see why this is true for a 3-D vector. A general proof is similar. Suppose that u = a, b, c. Then, by definition u u = a 2 + b 2 + c 2 Also by definition, u = a 2 + b 2 + c 2

20 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE Thus u 2 = a 2 + b 2 + c 2 = u u 2. Left as an exercise. 3. Left as an exercise. 4. Left as an exercise. 5. Left as an exercise. 6. Consider figure 6. Using the law of cosines, we see that u v 2 = u 2 + v 2 2 u v cos θ Thus 2 u v cos θ = u v 2 + u 2 + v 2 = ( u v) ( u v) + u u + v v = ( u u 2 u v + v v ) + u u + v v = u u + 2 u v v v + u u + v v 2 u v cos θ = 2 u v Hence u v = u v cos θ 7. If the vectors are perpendicular, then the angle θ between them is 90. Thus, cos θ = 0. The result follows from property 6. Conversely, if u and v are two non-zero vectors such that u v = 0 then u v cos θ = 0. Since u = 0 and v = 0 ( u and v are two non-zero vectors), it must be that cos θ = 0 thus θ = 90 hence u v.

1.3. DOT PRODUCT 21 8. From 6, we see that since cos θ 1. u v = u v cos θ = u v cos θ u v Remark 37 We can also use the dot product to prove the triangle inequality u + v u + v. Using the fact that u u = u 2, we have u + v 2 = ( u + v) ( u + v) = u u + 2 u v + v v using properties of the dot product = u 2 + 2 u v + v 2 u 2 + 2 u v + v 2 property of absolute value u 2 + 2 u v + v 2 by property 8 above u + v 2 ( u + v ) 2 Since both u + v and u + v are positive, we can take the square root on both side of the last equality to obtain the result. Remark 38 Property 6 in proposition 36 can also be used to determine how close two non-zero vectors are to pointing in the same direction. Given two non-zero vectors u and v, consider P, the plane passing through the origin and perpendicular to u. v will be on the same side of P as u if and only if u v > 0 because in that case, the angle between the two vectors will be less than 90 and its cosine will be positive. Remark 39 Property 7 in proposition 36 is also very important, it gives us a quick way to check if two vectors are perpendicular. Another term for perpendicular is orthogonal. We define the zero vector 0 = (0, 0,...) to be orthogonal to every vector. Remark 40 It is important to understand that when we talk about the angle between two vectors, we are talking about the smallest positive angle between them in other words an angle θ such that 0 θ π. We illustrate some of these properties with examples. Example 41 Suppose that the length of a vector u is 2, the length of a vector v is 3 and they make an angle of 135 as shown in figure 1.11. Find u v. u v = u v cos 135 ( ) 2 = (2) (3) 2 = 3 2

22 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE Figure 1.11: Compute u v if u = 2 and v = 3 Example 42 What is the angle in degrees between u = 1, 1, 1 and v = 2, 1, 0? From the formula u v = u v cos θ, we can compute cos θ and therefore θ. First, let us compute the various quantities needed. u v = (2) (1) + (1) (1) + (1) (0) = 3 u = 1 2 + 1 2 + 1 2 = 3 v = 2 2 + 1 2 = 5 It follows that ( ) u v θ = cos 1 u v = cos 1 3 15 = 39.23

1.3. DOT PRODUCT 23 1.3.2 Projections Figure 1.12: proj a b and orth a b It often happens that we need to decompose a vector into components that are parallel and perpendicular to a given vector. Or, as shown in figure 1.12, given two non-zero vectors a and b, one needs to find the projection of b onto a and the projection of b onto a vector perpendicular to a. Let us denote proj a b the projection of b onto a, comp a b the component of b along a (also known as the scalar projection of b onto a) and orth a b the projection of b onto a vector perpendicular to a.let us call α the angle between a and b. Then, we have: cos α = comp a b b Therefore comp a b = b cos α Using Property 6 in proposition 36, we can write b a b comp a b = a b (1.4) It follows that comp a b = a b a

24 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE To find proj a b, we simply multiply comp a b by a unit vector in the direction of a a. Such a vector is and therefore a Finally, orth a b = b proj a b and therefore proj a b a b = 2 a (1.5) a orth a b = a b b 2 a (1.6) a Example 43 Find the scalar projection and vector projection of b = 1, 1, 2 onto a = 2, 3, 1. Let us first compute the various quantities involved. a b = 2 + 3 + 2 a = = 3 ( 2) 2 + 3 2 + 1 2 = 14 Therefore and comp a b = 3 14 proj 3 a b = 2, 3, 1 14 1.3.3 Applications The dot product has many applications including: 1. Use it to see if two non-zero vectors are perpendicular. Recall that two non-zero vectors are perpendicular if and only if their dot product is 0. 2. Use it to compute the angle between two vectors. From the formula u v = u v cos θ, if we are given u and v, we have θ = cos 1 u v u v 3. Use it to quickly determine if the angle between two vectors is acute (between 0 and 90 degrees) or obtuse (between 90 and 180 degrees). Given u and v, if the angle between them is acute, then u v > 0 and if it is obtuse, u v < 0.

1.3. DOT PRODUCT 25 4. Given a vector and a plane perpendicular to it, use it to determine if a second vector is on the same side of the plane or the opposite side. If the two vectors are on the same side of the plane, the angle between them will be acute. If they are on opposite sides, it will be obtuse. So, we can use the technique describe above. 5. Use it to find the projection of a vector onto another one. 6. Use it to compute the work done by a force acting on an object and displacing it. In physics, the work W done by a force F moving an object along the displacement vector r is defined to be the product of the component of F along r by the magnitude of the displacement (see figure 6). This gives us: W = (comp r F ) r = F r r = F r r We illustrate that last application with an example. Example 44 A crate is displaced by 8m up a ramp by a constant force F of 200N applied at an angle of 25 degrees to the ramp. Find W, the work done.

26 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE Let D be the displacement vector. Then D = 8 and F = 200. W = F D = D F cos 25 = (8) (200) cos 25 1450N.m 1450J Note that in the metric system, distances are in meters (m), forces are in Newton (N), work is expressed in Joules (J). 1.3.4 Problems 1. Prove that the normal to the line ax + by + c = 0 (in 2D) is a, b (hint: Find 2 points on the line, deduce what a vector parallel to the line is. From there, find a vector perpendicular to it). 2. For each problem below, find the following: v u, v, u The cosine of the angle between u and v. comp v u proj v u (a) v = 2 i 4 j + 5 k and u = 2 i + 4 j 5 k (b) v = 10 i + 11 j 2 k and u = 3 j + 4 k (c) v = 5 j 3 k and u = i + j + k (d) v = 5 i + j and u = 2 i + 17 j 3. Find the angle between u = 2 i + j and v = i + 2 j k. 4. Find the angle between u = 3 i 7 j and v = 3 i + j 2 k. 5. Find the measures of the angles of the triangle whose vertices are A = ( 1, 0), B = (2, 1) and C = (1, 2). 6. Let α, β, and γ be the direction angles of v = a i + b j + c k a (a) Show that cos α = v, cos β = b, and cos γ = v c v and cos2 α+ cos 2 β + cos 2 γ = 1. These are called the direction cosines. (b) Show if v = a i + b j + c k is a unit vector then a, b, c are the direction cosines.

1.3. DOT PRODUCT 27 7. Show that the diagonals of a rhombus (parallelogram with sides of equal length) are perpendicular. 8. Prove that a parallelogram is a rectangle if and only if its diagonals are equal in length. 9. A gun with muzzle velocity of 1200ft/s is fired at an angle of 8 above the horizontal. Find the horizontal and vertical components of the velocity. 10. Find an equation of the line through P (2, 1) perpendicular to v = 1, 2. 11. Find an equation of the line through P ( 2, 7) perpendicular to v = 2, 1. 12. Find an equation of the line through P ( 2, 1) parallel to v = 1, 1. 13. Find an equation of the line through P (1, 2) parallel to v = 1, 2. 14. Find the work done by the force F = 5 i when it moves an object from the origin to the point (1, 1) where distances are in meters. 15. Using the fact that the acute angle between intersecting lines which are not perpendicular is the same as the angle between their normals, find the acute angle between the lines 3x + y = 5 and 2x y = 4. 16. Using the fact that the acute angle between intersecting lines which are not perpendicular is the same as the angle between their normals, find the acute angle between the lines 3x y = 2 and x 3y = 1.