Video: EG19M2-ALGANDGEO-Q10v2

EG19M2-ALGANDGEO-Q10v2

05:24

Video Transcript

Let π΄ be the vector one, negative two, one and π΅ be the vector negative two, one, two. Find the vector component of π΄ in the direction of π΅.

Weβre given the components of two vectors π΄ and π΅. And we have to find the vector component of one of those vectors in the direction of the other. First, we need to know for any two vectors π΄ and π΅ what the vector component of π΄ in the direction of π΅ means. If weβre given any two vectors π΄ and π΅, and to be clear these two vectors Iβve drawn arenβt supposed to be accurate representations of the vectors π΄ and π΅ in the question, then I can write the vector π΄ as the sum of two other vectors π’ and π£. Where π’ points along the same line as the vector π΅, we say that π’ is in the direction of π΅, and where π£ is perpendicular to π΅. And in fact, π’ and π£ with these properties are unique. Thereβs exactly one pair of π’ and π£, such that π’ is in the direction of π΅, π£ is perpendicular to π΅, and π’ plus π£ equals π΄. The vector component of π΄ in the direction of π΅, also known as the vector projection of π΄ onto π΅, is the vector π’. This vector π’ is the vector we have to find.

Luckily for us, thereβs a formula for π’ in terms of the vectors π΄ and π΅, which we have in the question. But Iβd like to quickly derive this formula rather than just state it as I think it gives some insight. The first thing to notice is that as this vector π’ is in the direction of the vector π΅, itβs a multiple of the vector π΅. So letβs write it as π times π΅, where π is some number. Now the question becomes what is the value of π? What multiple of π΅ is the vector π’. Well, it turns out that π’ is the multiple of π΅, whose dot product with π΅ is the same as π΄βs dot product with π΅.

We can show this algebraically by taking π΄ equals π’ plus π£ and finding the dot product with π΅ on the both sides. Now, the dot product is distributive over vector addition. So we can expand the brackets on the right-hand side to get π’ dot π΅ plus π£ dot π΅. And remember that π£, by definition, is perpendicular to π΅. And so its dot product with π΅ is zero. And swapping the site, we get π’ dot π΅ equals π΄ dot π΅, as claimed. How does this help us? Well, we remember that π’ is π times π΅ for some number π that we want to find. We substitute ππ΅ for π’. We use the fact about how the dot product interacts with scalar multiplication to write the left-hand side as π times the dot product of π΅ and π΅. And the dot product of π΅ and π΅ is just some number, which we can divide by to find the value of π. And having found the value of π, we can substitute it to find π’ in terms of π΄ and π΅.

We find that π’ is π΄ dot π΅ over π΅ dot π΅ times the vector π΅. This is a formula which would make sense to remember. But itβs easiest to remember if we understand where it comes from. If we understand that π’ must be a multiple of π΅, then weβll know that the formula must have the form π’ equals something times π΅. And if you remember that π’ dot π΅ is π΄ dot π΅, itβs not hard to find out what that something must be. We can check our formula by dotting both sides with π΅ and seeing that the π΅ dot π΅s cancel.

Now that we found our formula, all we have to do is apply it. We are told in the question that π΄ is the vector of one, negative two, one and π΅ is the vector negative two, one, two. And we substitute these components in. We evaluate the dot product in the numerator and the denominator, starting with the numerator. We get one times negative two plus negative two times one plus one times two. And itβs exactly the same process in the denominator, where we get negative two times negative two plus one times one plus two times two. Evaluating these expressions, we get negative two in the numerator and nine in the denominator.

Now, we just have to multiply each of the components of the vector by negative two-ninths. Negative two-ninths times negative two is four-ninths. Negative two-ninths times one is negative two-ninths. And negative two-ninths times two is negative four-ninths. This is the vector π’ that we were looking for. Itβs the vector component of π΄ in the direction of π΅, also known as the vector projection of π΄ onto π΅. We found this vector π’ by entering the values of vectors π΄ and π΅ into a formula we found for π’ in terms of π΄ and π΅. And we saw one way of deriving that formula. With some understanding of where the formula comes from, it becomes easier to remember.