/
Dot Products and projections Dot Products and projections

Dot Products and projections - PowerPoint Presentation

karlyn-bohler
karlyn-bohler . @karlyn-bohler
Follow
357 views
Uploaded On 2020-01-22

Dot Products and projections - PPT Presentation

Dot Products and projections Math 200 Week 1 Friday Math 200 Main Questions for Today How is the dot product defined for vectors How does it interact with other operations on vectors What uses are there for the dot product ID: 773486

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Dot Products and projections" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Dot Products and projections Math 200 Week 1- Friday

Math 200 Main Questions for Today How is the dot product defined for vectors? How does it interact with other operations on vectors? What uses are there for the dot product?

Math 200 Definition The dot product is a new kind of operation in that it takes in two objects of one kind and yields an object of a different kind ! It takes two vectors and gives a scalar Given v = <v 1 , v 2 , v 3 > and w = <w 1 , w 2 , w 3 >, we define the dot product as follows v • w = v 1 w 1 + v 2 w 2 + v 3 w 3 E.g. If v = <2, 1, -2> and w = <3, -4, -1>, then v • w = (2)(3) + (1)(-4) + (-2)(-1) = 6 - 4 + 2 = 4

Math 200 Examples Compute the following dot products:

Math 200 Properties of the dot product The dot product is called a product because of how it interacts with vector addition: It’s commutative (meaning the order in which we multiply doesn’t matter): And it can be used to define the norm of a vector more succinctly: ***For each property, you should confirm with examples***

Math 200 What does this do for us? Remember of the Law of Cosines… ? Of course you do - it’s a generalized Pythagorean Theorem a b c θ

Math 200 Let’s redraw the law of cosines diagram with vectors instead: a b c θ v w v-w Which operation on v and w gives us the remaining side?

Expand this term Plug back in

Math 200 Quick conclusions from the dot product Say we compute the dot product of two vectors v and w . The result will be positive , negative , or zero. What can we say about the angle between the vectors in each case? If v • w > 0: cosθ > 0 so the angle is acuteIf v • w < 0: cosθ < 0 so the angle is obtuseIf v • w = 0: cosθ = 0 so the angle is 90o We use the word orthogonal to refer to vectors that form a 90 o angle. Reminder

Math 200 Projections Say we have two vectors v and b, and we want to do the following: Draw v and b tail to tail For the sake of this illustration make b longer than v though it doesn’t matterDrop a line that’s perpendicular to b from the tip of v Find the vectors that form the right triangle that results b v this vector is called the projection of v onto b

Math 200 We write the projection of v onto b as proj b v From the picture it should be clear that b/||b|| is a unit vector in the direction of b so… b v θ

Math 200 Putting it all together… Remember from before X X b v θ

Math 200 Distance from a point to a line Let’s use projections to find the distance from a point to a line. Find the (shortest) distance from the point A(3,1,-1) to the line containing P 1 (6,3,0) and P 2 (0,3,3) We’re all about vectors now so let’s draw some… A P 1 P 2 v b v b v θ