Introduction to vectors mc-TY-introvector-2009-1 A vector is a quantity that has both a magnitude (or size) and a direction. Both of these properties must be given in order to specify a vector completely. In this unit we describe how to write down vectors, how to add and subtract them, and how to use them in geometry. In order to master the techniques explained here it is vital that you undertake plenty of practice exercises so that they become second nature. After reading this text, and/or viewing the video tutorial on this topic, you should be able to: • distinguish between a vector and a scalar; • understand how to add and subtract vectors; • know when one vector is a multiple of another; • use vectors to solve simple problems in geometry. Contents 1. Introduction 2 2. Representing vector quantities 2 3. Position vectors 3 4. Some notation for vectors 3 5. Adding two vectors 4 6. Subtracting two vectors 5 7. Adding a vector to itself 5 8. Vectors of unit length 6 9. Using vectors in geometry 6 www.mathcentre.ac.uk 1 c mathcentre 2009 1. Introduction Vector quantities are extremely useful in physics. The important characteristic of a vector quantity is that it has both a magnitude (or size) and a direction. Both of these properties must be given in order to specify a vector completely. An example of a vector quantity is a displacement. This tell us how far away we are from a fixed point, and it also tells us our direction relative to that point. P O Another example of a vector quantity is velocity. This is speed, in a particular direction. An example of velocity might be 60 mph due north. A quantity with magnitude alone, but no direction, is not a vector. It is called a scalar instead. One example of a scalar is distance. This tells us how far we are from a fixed point, but does not give us any information about the direction. Another example of a scalar quantity is the mass of an object. Key Point A vector has both magnitude and direction, and both these properties must be given in order to specify it. A quantity with magnitude but no direction is called a scalar. 2. Representing vector quantities We can represent a vector by a line segment. This diagram shows two vectors. B A a We have used a small arrow to indicate that the first vector is pointing from A to B. A vector pointing from B to A would be going in the opposite direction. Sometimes we represent a vector with a small letter such as a, in a bold typeface. This is common in textbooks, but it is inconvenient in handwriting. In writing, we normally put a bar underneath, or sometimes on top of, the letter: a or a. In speech, we call this the vector “a-bar”. www.mathcentre.ac.uk 2 c mathcentre 2009 3. Position vectors Sometimes vectors are referred to a fixed point, an origin. Such a vector is called a position vector. So we might refer to the position vector of a point P with respect to an origin O. In writing, might put OP for this vector. Alternatively, we could write it as r. These two expressions refer to the same vector. P r O 4. Some notation for vectors What does it mean if, for two vectors, a = b? This means first that the length of a equals the length of b, so that the two vectors have the same magnitude. But it also means that a and b are in the same direction. How can we write this down more succinctly? If two vectors are “in the same direction”, then they are parallel. We write this down as a//b. For length, if we have a vector AB, we can write its length as AB without the bar. Alternatively, we can write it as |AB|. The two vertical lines give us the modulus, or size of, the vector. If we have a vector written as a, we can write its length as either |a| with two vertical lines, or as a in ordinary type (or without the bar). This is why it is very important to keep to the convention that has been adopted in order to distinguish between a vector and its length. Key Point The length of a vector AB is written as AB or |AB|, and the length of a vector a is written as a (in ordinary type, or without the bar) or as |a|. If two vectors a and b are parallel, we write a//b www.mathcentre.ac.uk 3 c mathcentre 2009 5. Adding two vectors One of the things we can do with vectors is to add them together. We shall start by adding two vectors together. Once we have done that, we can add any number of vectors together by adding the first two, then adding the result to the third, and so on. In order to add two vectors, we think of them as displacements. We carry out the first displacement, and then the second. So the second displacement must start where the first one finishes. b a b a a+b The sum of the vectors, a + b (or the resultant, as it is sometimes called) is what we get when we join up the triangle. This is called the triangle law for adding vectors. There is another way of adding two vectors. Instead of making the second vector start where the first one finishes, we make them both start at the same place, and complete a parallelogram. This is called the parallelogram law for adding vectors. It gives the same result as the triangle law, because one of the properties of a parallelogram is that opposite sides are equal and in the same direction, so that b is repeated at the top of the parallelogram. a+b a b Key Point We can add two vectors a and b by making b start where a finishes, and completing the triangle. Alternatively, we can make a and b start at the same place, and take the diagonal of the parallelogram. www.mathcentre.ac.uk 4 c mathcentre 2009 6. Subtracting two vectors What is a − b? We think of this as a + (−b), and then we ask what −b might mean. This will be a vector equal in magnitude to b, but in the reverse direction. a b −b Now we can subtract two vectors. Subtracting b from a will be the same as adding −b to a. −b b a a−b Key Point a − b means a + (−b) 7. Adding a vector to itself What happens when you add a vector to itself, perhaps several times? We write, for example, a + a + a = 3a. a a a In the same way, we would write na = a ... + a} . | + {z n copies www.mathcentre.ac.uk 5 c mathcentre 2009 Key Point A vector na is in the same direction as the vector a, but n times as long. 8. Vectors of unit length There is one more piece of notation we shall use when writing vectors. If a is any vector, we shall write â to represent a unit vector in the direction of a. A unt vector is a vector whose length is 1, so that |â| = 1. This notation gives us another way of writing the vector a: we can write it as a â, so that it is the length a multiplied by the unit vector â. Key Point A unit vector in the direction of the vector a is written as â, so that a = a â. 9. Using vectors in geometry Example There is a useful theorem in geometry called the mid-point theorem. In this theorem, we take two points A and B, defined with respect to an origin O. Let us write a for the position vector of A, and b for the position vector of B. We can join A and B with a line, to give a triangle. Now take the mid-point M of the line OA, and the mid-point N of the line OB, and join M to N with a line. Can we say anything about the relationship between the line MN and the line AB? www.mathcentre.ac.uk 6 c mathcentre 2009 A a M N b B O We can answer this very easily with vectors. We can write the vector for the line segment AB as AO + OB. Now AO is the reverse of the vector a, so it is −a. And OB is the same as the vector b. Therefore AB = AO + OB = (−a) + b = b − a. What about MN ? Following the same reasoning, this is MO + ON. But what is MO? This is a vector half the length of AO, and in the same direction, so it must be 12 (−a). In the same way, ON is in the same direction as OB, but is half the length, so it must be 21 b. Therefore MN = MO + ON = 12 (−a) + 21 b = 12 (b − a). Now we can compare AB and MN . From our calculation, we can see that MN is 12 AB. So, as this is a vector equation, it tells us two things. First, it tells us about magnitude, so that MN = 21 AB. Also, it tells us that MN and AB must be in the same direction, so that MN//AB. This is called the mid-point theorem for a triangle. It states that if you join the mid-points of two sides of a triangle then the resulting line is equal to half of the third side of the triangle, and is parallel to it. Example We can apply the mid-point theorem to a quadrilateral, or indeed to any four points in space, to give an interesting geometrical result. We shall call the four points A, B, C and D. We shall also give labels to the mid-points of the four sides: we shall call the mid-points P , Q, R and S. Now let us join the four mid-points, to make a new shape P QRS. What kind of shape is this? Q C B R P D S A www.mathcentre.ac.uk 7 c mathcentre 2009 We can identify the shape by joining the points A and C. If we apply the mid-point theorem to triangle ABC, we see that P Q = 12 AC. But if we apply the mid-point theorem to the triangle ADC, we also see that RS = 12 AC. If we combine these two equations, we then obtain P Q = RS. Now this is a vector equation, and so it tells us two things. First, it tells us that the length of P Q is the same as the length of RS. And secondly, it tells us that the direction of P Q is the same as the direction of RS, so that P Q and RS are parallel. But having two parallel sides of equal length is a property which defines a parallelogram, and so the shape P QRS must be a parallelogram. Example We shall now use vectors to prove one more theorem. Take two points A and B, having position vectors a, b with respect to an origin O. Draw the line AB, and take a point P on that line which divides it in the ratio of m to n. What is the position vector of P with respect to O?. A m a P n r B b O We can use the same method that we used before. We know that OP = OA + AP , (1) and we also know that OA = a. But what is AP ? Now AP is in the same direction as AB, and their lengths are in the ratio of m to m + n. So AP = m AB. m+n (2) We also know that AB = AO + OB = b − a. www.mathcentre.ac.uk 8 c mathcentre 2009 Now we can put these three statements together, replacing AP in equation (1) by using equation (2), and replacing AB in equation (2) by using the equation (3), so that everything will be written in terms of a and b. This gives us OP = a + m (b − a). m+n Putting all this over a common denominator then gives (m + n)a + m(b − a) . m+n OP = If we expand the brackets, the term ma will cancel with the term m(−a), and so finally we have OP = na + mb . m+n This formula gives us a way of calculating the position vector of the point P . For instance, if m and n were both 1 then P would be the mid-point of AB. The position vector of the midpoint would be (a + b)/2. As another example, if m = 2 and n = 1, so that P was two-thirds of the way along the line, then the position vector of P would be (a + 2b)/3. Exercises 1. The vector a is shown below. a Sketch the vectors 2a, 3a, 12 a and −2a. 2. In ∆OAB, OA = a and OB = b. In terms of a and b, (a) (b) (c) (d) (e) (f) What What What What What What is is is is is is AB? BA? OP , where P is the midpoint of AB? AP ? BP ? OQ, where Q divides AB in the ratio 2:3? 3. What is meant by a unit vector? 4. If e is a unit vector, what is the length of 3e? 5. In ∆ABC, AB = a, BC = b, CA = c. What is a + b + c? www.mathcentre.ac.uk 9 c mathcentre 2009 Answers 1. 3a −2a 2a 1 a 2 2. (a) b − a (e) 21 (a − b) (b) a − b (c) (f) 35 a + 52 b 1 (a 2 + b) (d) 1 (b 2 − a) 3. A vector with length 1 4. 3 5. 0 www.mathcentre.ac.uk 10 c mathcentre 2009