Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.

Video: Unit Vectors

Tim Burnham

We will explain how to find the unit vector in the same direction as another given vector, including vectors in 𝑖 and 𝑗 component form.

13:10

Video Transcript

We already know that a vector is a set of numbers that can be represented in a suitable space by a line segment with a specific length and direction. We can use them to represent forces or velocity or anything else thatโ€™s got an amount and a specific direction associated with it.

In this video, weโ€™re gonna look at the concept of unit vectors, which are basically line segments with the length of one unit pointing in a specific direction. Here weโ€™ve got vector ๐ด๐ต, which is four, three. This means that the journey from ๐ด to ๐ต involves of movement of positive four in the ๐‘ฅ-direction and positive three in the ๐‘ฆ-direction. So thatโ€™s where these numbers come from here.

So what weโ€™ve ended up with here is a right-angled triangle because the ๐‘ฅ-axis and the ๐‘ฆ-axis are at right angles to each other, so this angle here is ninety degrees. So weโ€™ve got a little triangle and we really want to work out the length of this vector here, ๐ด๐ต, next, so weโ€™re gonna use the Pythagorean theorem to work out that length, the hypotenuse of that triangle.

So bit of terminology, weโ€™re gonna work out the magnitude of ๐ด๐ต; that is, the length of the vector ๐ด๐ต. And the notation that weโ€™re gonna use for the magnitude of vector ๐ด๐ต is these vertical lines here, so thatโ€™s the standard notation. So writing down the Pythagorean theorem, the magnitude of ๐ด๐ต all squared, so the length of the hypotenuse here all squared, is equal to the sum of the squares of the other side.

So ๐ด๐ต, the magnitude of ๐ด๐ต squared is equal to four squared plus three squared. And four squared is 16; three squared is nine; add those two together, we get 25. So the magnitude of ๐ด๐ต squared is 25. So if I now take square roots of both sides, that leaves me with the magnitude of ๐ด๐ต being the square root of 25, which is five. So weโ€™ve just worked out that the length of vector ๐ด๐ต is five units.

So if I wanted to generate a unit vector in the same direction as vector ๐ด๐ต, I can take vector ๐ด๐ต and just divide it by the length of itself. And the length of itself is the magnitude of the vector, so weโ€™ve got vector ๐ด๐ต divided by the magnitude of vector ๐ด๐ต, and we just worked that out to be five. So the unit vector in the direction of ๐ด๐ต is the vector ๐ด๐ต divided by five.

Now what that means is weโ€™ve got to take the ๐‘ฅ-component and divide it by five, and weโ€™ve gotta take the ๐‘ฆ-component and divide it by five. The ๐‘ฅ-component was four; the ๐‘ฆ-component was three. So the unit vector in the direction of ๐ด๐ต is this thing here: four-fifths is the ๐‘ฅ-component; three-fifths is the ๐‘ฆ-component. That will have a length of one.

So this red vector here, going from here to here, is the unit vector in the direction ๐ด๐ต. Itโ€™s a fifth of the length of vector ๐ด๐ต. Itโ€™s a vector which has an ๐‘ฅ-component of four-fifths and a ๐‘ฆ-component of three-fifths. Obviously I havenโ€™t drawn that very accurately on here, but thatโ€™s basically what the vector would look like. So the unit vector in the direction ๐ด๐ต, if ๐ด๐ต was four, three, is basically a vector which starts at ๐ด and has a length of one, but goes in the same direction that ๐ด๐ต would have gone in.

So in this case, weโ€™ve ended up with vector four-fifths, three-fifths. So letโ€™s just check that in fact the length of this side here is one. So we can do the Pythagorean theorem again. So that length squared is four-fifths squared plus three-fifths squared, which is sixteen twenty-fifths plus nine twenty-fifths, which is twenty-five twenty-fifths which is one. So if I take the square root of that, that will give me the actual length, and the square root of one is equal to one. So that length is definitely equal to one. This is where the unit vector idea comes in.

So hereโ€™s what the method is in general, and then weโ€™ll look at some more examples afterwards to make sure that you understand it. So letโ€™s say weโ€™ve got a vector called ๐‘‰, which has an ๐‘ฅ-component of a and a ๐‘ฆ-component of ๐‘. Then the unit vector in the direction of vector ๐‘‰ is the vector ๐‘‰ divided by the magnitude of vector ๐‘‰. So whatever length ๐‘‰ has got, if I divide that length by itself, Iโ€™m gonna get an answer of one. So this bit is forcing the length of that unit vector to have a magnitude of one.

And obviously itโ€™s gonna still be in the same direction; the ๐‘ฅ- and the ๐‘ฆ-components will be in the same proportion as the original vector, so itโ€™s gonna be heading in the same direction. So to work out the ๐‘ฅ-component, Iโ€™ve got the original ๐‘ฅ-component, ๐ด, and Iโ€™m dividing that by the magnitude of the square root of ๐ด squared plus ๐ต squared, from the Pythagorean theorem. And to work out the ๐‘ฆ-component correspondingly, I take the original ๐‘ฆ-component and I divide that by the magnitude of the vector, the square root of ๐ด squared plus ๐ต squared. Thatโ€™s gonna give me my unit vector in the direction of vector ๐‘‰. Now that might look a little bit intimidating when you write it all out like that, but itโ€™s actually really easy to apply. So letโ€™s have a look at an example.

So weโ€™ve gotta find the unit vector in the direction ๐ด๐ต, where ๐ด๐ต is the vector five, negative six. So the first thing is Iโ€™m gonna do a little sketch to get this clear in my head. So it doesnโ€™t have to be a hundred-percent-accurate diagram, but a quick sketch here gives you a sort of a flavour of whatโ€™s going on. So weโ€™ve got the vector ๐ด๐ต; weโ€™re going positive five in the ๐‘ฅ-direction, negative six in the ๐‘ฆ-direction.

The first thing we need to do is to work out the length of this vector ๐ด๐ต here. And then if we divide that vector by that length, itโ€™s gonna create a little vector here, which starts at ๐ด, which goes in this direction, same direction as ๐ด๐ต, but itโ€™ll only have a length of one.

So Iโ€™ve got a right-angled triangle. So using the Pythagorean theorem, the magnitude of ๐ด๐ต, the length of a vector ๐ด๐ต, all squared is equal to the ๐‘ฅ-component squared, thatโ€™s five squared, plus the ๐‘ฆ-component squared, thatโ€™s negative six squared. So that is five squared is 25, negative six squared is 36. So we add them together, we get 61.

Now remember that was the magnitude squared. So taking square roots of both sides, Iโ€™ve got the magnitude of vector ๐ด๐ต is equal to the square root of 61. So we havenโ€™t got quite such nice numbers this time, so weโ€™ll just leave that in that accurate format, root 61. And I can use that to work out what my unit vector in the direction of ๐ด๐ต is. Remember that would be the original vector ๐ด๐ต divided by the magnitude of that vector.

So our original vector was five, negative six. And weโ€™ve now got to divide each component by the magnitude of the vector. So five divided by the square root of 61 and negative six divided by the square root of 61. And thatโ€™s it. This vector here โ€” five over root 61, negative six over root 61 โ€” has got a length of one. And the ๐‘ฅ- and the ๐‘ฆ-components are in the same proportion as the original vector ๐ด๐ต. In other words, itโ€™s pointing in exactly the same direction, so itโ€™s the unit vector in the direction ๐ด๐ต.

Okay letโ€™s just do one more question then. Find the unit vector in the direction of ๐‘ƒ๐‘„. So the difference here is weโ€™ve been given the point ๐‘ƒ, weโ€™ve been given the point ๐‘„, and weโ€™ve got to calculate what the vectorโ€™s gonna be.

So the first thing then is to sketch in our vector ๐‘ƒ๐‘„, so it goes in that direction there, and weโ€™ve got to work out what the original vector ๐‘ƒ๐‘„ is. So in the ๐‘ฅ-direction, weโ€™re starting off with an ๐‘ฅ-coordinate of three, and weโ€™re going down to an ๐‘ฅ-coordinate of negative five. So weโ€™re going three here plus another five here. Thatโ€™s negative eight in the ๐‘ฅ-direction. In the ๐‘ฆ-direction, weโ€™re starting off at negative four and weโ€™re moving. So weโ€™re going four up to here and then another one up to here, so thatโ€™s positive five in the ๐‘ฆ-direction.

So just summarising that, ๐‘ƒ๐‘„ is negative eight, five. And now we can tackle this just like we did the previous question: use that triangle, do a bit of Pythagorean theorem to work out what the length of the vector ๐‘ƒ๐‘„ is, and divide vector ๐‘ƒ๐‘„ by that length. So the magnitude of ๐‘ƒ๐‘„ squared is negative eight squared plus five squared, which is 64 plus 25. So remember thatโ€™s ๐‘ƒ๐‘„ squared; the magnitude of ๐‘ƒ๐‘„ squared is equal to 89.

So taking the square root of both sides, and weโ€™ve ended up with another horrible number, so the magnitude of ๐‘ƒ๐‘„ is the square root of 89. So Iโ€™ll just go through, divide the components of ๐‘ƒ๐‘„ by root 89. And the unit vector in the direction ๐‘ƒ๐‘„ is simply the original vector ๐‘ƒ๐‘„ divided by the length of itself, so thatโ€™s negative eight is the ๐‘ฅ-component divided by root 89, and five was the ๐‘ฆ-component, and divide that by root 89 as well.

And there we have it, the unit vector in the direction ๐‘ƒ๐‘„. So weโ€™ve got some nice magic tricks we can use now, but why do we use unit vectors at all in the first place? Well, they encapsulate the information about the direction, but their length is just one. Theyโ€™re like ready-made direction descriptors that you can multiply by a number to tell people how far to go in that direction. And it also turns out that theyโ€™re useful in finding the angle between two different vectors, but thatโ€™s a story for another day.

Okay we canโ€™t resist it. Letโ€™s just do one more example on unit vectors. Now you may recall, or hopefully you do recall, that weโ€™ve got special vectors ๐‘– and ๐‘—, which are unit vectors in the direction of the positive ๐‘ฅ-axis and the positive ๐‘ฆ-axis. So ๐‘– is going to the right, and ๐‘— is moving up on the axes. So ๐‘– is one, zero and ๐‘— is zero, one. So if weโ€™ve got this vector here two ๐‘– minus three ๐‘—, itโ€™s just two of these ๐‘–s strung together followed by the negative of three of the ๐‘—s strung together.

In other words, thatโ€™s two in the ๐‘ฅ-direction and negative three in the ๐‘ฆ-direction, but weโ€™re not gonna worry too much about that format for this question because weโ€™re gonna do it in terms of the ๐‘– and ๐‘— unit vectors. Now although weโ€™ve got ๐‘–s and ๐‘—s all over the place, the process is exactly what weโ€™ve just done before. So we want to work out the magnitude of the vector. And to do that, weโ€™re gonna use the Pythagorean theorem.

Now two, positive two, is the ๐‘ฅ-component and negative three is the ๐‘ฆ-component. So we can just write that as the magnitude of this vector two ๐‘– minus three ๐‘— all squared is equal to the sum of the squares of the other side of the triangle. So thatโ€™s two squared plus negative three squared, which is obviously four plus nine, which is 13. So remember that was the magnitude squared, so taking square roots of both sides says the magnitude of this line is the square root of 13.

And again, all we have to do to work out the unit vector in that direction is divide each of those components, the ๐‘ฅ- and ๐‘ฆ-components, by the magnitude of the resultant vector, so that was root 13. So two divided by root 13๐‘– and negative three divided by root 13๐‘—. So even in the ๐‘–, ๐‘—-format of our vectors, the process is still just the same. To work out the unit vector in the direction of a particular vector, we take that vector and we divide by the magnitude of the vector. We basically divide each of the components in turn by the magnitude of the original vector, which we use Pythagorean theorem to calculate. So hopefully that gives you a basic insight into unit vectors.