now there's one last thing to talk about in this segment which is called projection projection and for that we'll need to draw a triangle so if I've got a vector R and another vector S now if I take a little right-handed triangle drop a little right-handed triangle down here by this angles 90 degrees then I can do the following if I can say that if this angle here is Theta but cos theta is equal to from sohcahtoa it's equal to the adjacent length here over the hypotenuse they're adjacent over the hypotenuse that is and this
hypotenuse is the size of s so that's the adjacent over the size of s there now if I compare that to the definition of the dot product I can say that are dotted with we'll have fun with colors dotted with s is equal to mod our size of our times the size of s times cos theta cos theta but the size of s times cos theta if I pour s up here just need to put my feet too in there cause s cos theta is just that adjacent side so that's just that adjacent side here
in the Triangle so the adjacent side here is just kind of the shadow if I if I had like coming down from here it's the shadow of um ah that length there it's kind of a shadow cast if I had a light at 90 degrees to are shining down on s and that's called the projection so what the dot product gives us is it gives us the projection here FS on to R times the size of our and one thing to notice here is that if s was perpendicular to R if s was pointing this
way it would have no shadow that is if cos theta was 90 degrees that shadow would be naught the COS theta would be naught here and I get no projection so the other thing the dot product gives us is it gives us the size of our times some idea about the projection of s onto our the shadow of s onto our so if I divide the dot product r dot s by the length of our just bring the AR down here I get mod s cos theta I get that adjacent side I get a number
which is called because r dot s is a number and the size of R is a number and that's called the scalar projection and that's why the dot product is also called the projection product arcs it takes the projection of one vector onto another we just have to divide by the length of our and if our happen to be a unit vector or one of the factors we do be used to find the space of length one and that would be of length 1 and r dot s would just be the scalar projection of s
onto that our that that vector defining the axis or whatever it was now if I want to remember to encode something about our which way all was going into the dot product or into the projector put product its I could define something called the vector projection and that's defined to be our Dodd s / mod R dotted with itself so r dot r mod r squared so that's our doll s / r dot o if you like because mod R squared is equal to r dot R and that and we multiply that by the vector
R itself so that is that's dot products just a number these sizes are just a number a now itself is a vector so what we've done here is we've taken the scalar projection r dot s over R this guy that's how much s goes along and we've multiplied it by R divided by its lengths we've multiplied it by a vector going the direction of our but that's been normalized to have a length 1 so that vector projection is a number times a unit vector that goes the direction of R so if R say was was
some number of lengths the vector that would be R divided by its size say if that was a unit length of vector I've just drawn there and the vector projection would be that number s dot R that adjacent side times a vector going in the unit length of our so that's if you like the scalar projection also encoded with something about the direction of our just a unit vector going in the direction of R so we've defined a scalar projection here and we've defined a vector projection there so good job this was really the core
video for this week we've done some real work here we found the size of a vector and we defined the dot or projection product we've then found out some mathematical operations we can do with the dot product but its distributive over vector addition and associative with scalar multiplication that it's commutative we then found that it finds the angle between two vectors the extent to which they go in the same direction other than it finds the projection of one vector onto another it's kind of how one vector will collapse onto another which is what we'll explore
in the next two videos so good work now is a good time to pause and try examples that put all this together and give it all a workout and a bit of a try before we move on