# Video: Working with Vectors in Component Form

Learn how to express vectors in π and π component form and convert between that form and the magnitude and direction of a given vector.

12:37

### Video Transcript

In this video, weβre gonna use the π and π form of vectors, weβll add and subtract vectors in that format, weβll find the vector components when given the magnitude and direction, and weβll find the magnitude and direction when weβre given vector components.

Firstly, just a quick recap of the π and π vector format and a couple of quick examples of how to use them. π is a unit vector, that is, itβs got length one in the direction of the positive π₯-axis; we can write π like this: the π₯-component is one, the π¦-component is zero. And π is a unit vector in the direction of the positive π¦-axis, and we can write it like this: the π₯-component is zero, the π¦-component is positive one. So, letβs go on and use them.

You can string together any number of π and π vectors. So here, we have strung three πβs together and two πβs together, and that takes us from position π΄ to position π΅; it gives us a resultant vector π΄π΅. So, because weβve done three πβs and two πβs, π΄π΅ is just three π plus two π, which of course we can also write in this format: three two.

Now, we can also add and subtract vectors in the π and π format just by treating the π and π components separately, so letβs have a couple of examples. So, vector π΄π΅ is three πβs followed by negative four πβs. So, we can write that as π΄π΅ equals three π take away four π. And πΆπ· is negative five πβs followed by negative five πβs, and we can write that πΆπ· equals negative five π take away five π.

Right! Letβs say we wanted to find the result of π΄π΅ plus πΆπ·. So, weβre gonna write out π΄π΅ and then weβre gonna add πΆπ·. So first, just write out those vectors: three π minus four π plus negative five π take away five π. Then weβre gonna pick the π components and sort those out, and then weβll pick the π components separately and deal with those. So first of all, with the π components, weβve got three πβs and then weβre adding negative five πβs, so thatβs the same as taking away five π. And then for the πβs, weβve got negative four π and then weβre adding negative five π, so thatβs just taking away five π. So now, weβve got πβs over here, πβs over here. We can just simply work out what those terms are. And three π take away five π is negative two π, and negative four π take away another five π is negative nine π. So thereβs our answer: π΄π΅ plus πΆπ· is equal to negative two π take away nine π.

Okay, so now letβs look at π΄π΅ take away πΆπ·. Again, weβre just gonna write the vectors out. So thatβs three π take away four π take away negative five π take away five π. So, we can now deal with these. So, weβre gonna look at the π terms first. Now weβve gotta be very careful cause weβre taking away a negative five π. So three π take away negative five π means weβre adding five π. And now, we look at the π terms, negative four π take away negative five π. And, obviously, taking away negative five π again means we are adding five π. So now, we can just work out the two parts of that. Three π plus five π is eight π, and negative four π add five π is plus one π, so we donβt need to write the one because weβre going to write plus π. So thereβs our answer: π΄π΅ take away πΆπ· is eight π plus π.

Right! Now to slightly more interesting stuff. If weβre given a vector in its magnitude and direction format, we can change it into its π and π format. Here, weβve got a vector π΄π΅, which has got a length or a magnitude of ten units and a direction of a hundred and twenty degrees. Now, we define the direction as how far we have to rotate counterclockwise from the positive axis in order to line up with the vector. So thatβs this rotation here. So imagine we started off with a vector pointing in that direction. How far would we have to rotate it about this sort of origin in order to get it to line up here? So that, in this case, thatβs a hundred and twenty degrees. So, what we trying to work out then it is this π component here. Obviously to go from π΄ to π΅, weβre actually kind of moving left in this diagram. So this direction here, this this arrow from β this green arrow here is the π component moving in that negative direction. So itβs gonna be a negative number. Weβve gotta work out the width of that. And the height of that is going to be the π component. So thatβs what weβre looking for there. Now what you should have spotted here is that weβve actually got a right-angled triangle, and the hypotenuse of that triangle is ten, and the height is the π component of our vector, and the width is the π component of our vector.

So letβs start off and work out the π component. Now, the π component, the width of that, is the projection of that hypotenuse onto the bottom side of the triangle. So the way that we work that out is to take that magnitude of ten and multiply it by cos of the angle; in this case π is a hundred and twenty degrees, and the fact that is a hundred and twenty degrees means that cos of a hundred and twenty degrees is gonna give us a negative number. So, that will automatically work out that the direction of the π component for us is gonna be negative direction. So thatβs going to be ten times, and cos of a hundred and twenty is negative half, and that gives us an answer of negative five. So our π component is negative five; itβs gonna be negative five π.

Now the π component is the projection of the hypotenuse of ten onto the height of the triangle. So, thatβs gonna be the magnitude ten times sin of π, so sin of a hundred and twenty. And sin of a hundred and twenty is is root three over two. So the π component, the height of that triangle, is going to be ten times root three over two which is five root three.

So when we convert that from the magnitude and direction, so we had π΄π΅ had a magnitude of ten units and a direction of a hundred and twenty degrees, that equates to this negative five π plus five root three π. So just using these formula here, that takes the sine and the cosine based on the angle, takes care of the positive and the negative signs for us. So relatively straightforward, just plug this into the formulae and out pop the components for us.

So letβs just look at the general format for that then. If weβve got a vector π with a magnitude of π, like we see here, and the direction of π, then in its π and π form we can just write this: vector π is the magnitude of vector π times cos π πβs and then the magnitude of vector π times sin π πβs.

Now things get slightly more complicated when we go in the other direction. If weβre given the π and π format, we want to convert them back to the magnitude and direction. So letβs take a look at an example of that now. So letβs say we have vector π is equal to eight π minus six π β not drawn a hundred percent accurately on there but we get the general gist of it, and weβve got to find the magnitude and direction of vector π. Now, we can work out using Pythagorasβs theorem quite easily what the magnitude of vector π is. But to work out that angle π, Iβm going to be a little bit careful because the answers that weβre gonna get from my calculator are slightly different.

So our journey from the start of the vector here to the end of the vector here can be summed up by saying weβve got a positive eight in the π₯ direction and a negative six in the π¦ direction. And thatβs created a nice little right-angled triangle here, and we want to work out the magnitude of π, which is the hypotenuse of that triangle. So using the Pythagorean theorem, the hypotenuse squared is equal to the sum of the squares of the other sides. So, if we square root both sides there weβve got π, the magnitude of π, is equal to the square root of eight squared plus negative six squared. And that basically, sixty-four plus thirty-six, is a hundred; the square root of a hundred is ten. So the length of that line is ten.

Now to find out the angle, weβre gonna use this formula here: π is the inverse tan of the π component divided by the π component, which gives us tan to the minus one of minus six over eight, and when we put that into the calculator we get negative thirty-six point nine degrees to one decimal place. Now thatβs not quite the answer weβre looking for, because if you think about it, positive is counterclockwise, negative is clockwise. So what this is actually giving us is this angle in here okay? So that angle there is thirty-six point nine. Weβve called it negative because itβs travelling in the clockwise direction, but it just means that physically that angle there is thirty-six point nine. So what we can do (remember a full circle is three hundred and sixty) if we take that away, thirty-six point nine, from three hundred and sixty, weβre gonna get the π angle: the blue bit all the way round the outside here. And when we work that out, three hundred and sixty take away thirty-six point nine is three hundred and twenty-three point one degrees to one decimal place.

So there we have our final answers: ten for the magnitude and three hundred and twenty-three point one degrees to one decimal place for the direction. And itβs absolutely crucial, I think, in these questions to draw yourself little diagram as you go, because otherwise youβll get very confused about the angle you get at the end. Do we have to add it to something? Do we have to subtract it from something? But if you look at that diagram, itβs pretty clear just by looking at it what the answer weβve got from the tan (the inverse tan calculation), what that is on the diagram, and then what do we have to do with that to work out our actual answer in terms of the direction in a counterclockwise direction. So hopefully thatβs fairly clear.

So letβs just summarise that again then. So in general, if Iβve got a vector π, which is in the format π π plus π π, and Iβm trying to work out the angle, the direction theta, and the magnitude π with the two lines by it, so the magnitude of π, this is the process Iβve got to go through. The magnitude of π will use the Pythagorean theorem with the components of π and π, so π squared plus π squared all square rooted. That gives us our magnitude. And to work out the direction, itβs just the inverse tan of the π component divided by the π component, but remember you must check your diagrams to see what version of the angle your calculator has given you. So in this case here, this angle, it would give you the right answer; everything will be quite simple. But if we had a vector which goes down and to the right, itβs gonna give you this angle here, so youβre going to need to make this adjustment to make sure you give it as a positive angle and a counterclockwise rotation. So that about wraps it up for working with vectors in terms of π and π in their component format.