# Video: Calculating the Scalar Product of Two Vectors Shown on a Grid

The diagram shows two vectors, 𝐀 and 𝐁. Each of the grid squares in the diagram has a side length of 1. Calculate 𝐀 ⋅ 𝐁.

04:26

### Video Transcript

The diagram shows two vectors, 𝐀 and 𝐁. Each of the grid squares in the diagram has a side length of one. Calculate 𝐀 dot 𝐁.

In this question, we’re given two vectors, 𝐀 and 𝐁, in the form of arrows drawn on a diagram. We are then asked to work out the scalar product of these vectors, 𝐀 dot 𝐁. Let’s begin by recalling the definition of the scalar product of two vectors. We’ll consider two general vectors, which we’ll label 𝐂 and 𝐃. And we’ll suppose that both of these vectors lie in the 𝑥𝑦-plane. Then we can write these vectors in component form as an 𝑥-component labeled with a subscript 𝑥 multiplied by 𝐢 hat plus a 𝑦-component labeled with a subscript 𝑦 multiplied by 𝐣 hat.

Remember that 𝐢 hat is the unit vector in the 𝑥-direction and 𝐣 hat is the unit vector in the 𝑦-direction. Then, we have that the scalar product 𝐂 dot 𝐃 is equal to the 𝑥- component of 𝐂 multiplied by the 𝑥-component of 𝐃 plus the 𝑦-component of 𝐂 multiplied by the 𝑦-component of 𝐃. So, in general, we can say that the scalar product of two vectors is equal to the product of the 𝑥-components of those two vectors plus the product of their 𝑦-components. This expression for the scalar product of two vectors tells us that if we want to calculate our scalar product 𝐀 dot 𝐁, then we’re going to need to work out the 𝑥- and 𝑦-components of our vectors 𝐀 and 𝐁.

Now, the vectors 𝐀 and 𝐁 are drawn as arrows on a diagram. And we’re told in the question that the grid squares in this diagram each have a side length of one. If we add a set of axes to our diagram with the origin positioned at the tail of the two vectors, then we can easily count the number of squares that each vector extends in the 𝑥-direction and the 𝑦-direction. And since we know that each square has a side length of one, then the number of squares directly gives the 𝑥- and 𝑦-components of the vectors. Let’s begin with vector 𝐀.

We see that 𝐀 extends three units in the positive 𝑥-direction and four units in the positive 𝑦-direction. This means that the 𝑥-component of 𝐀 is three and the 𝑦-component is four. So, we can write the vector 𝐀 in component form as three multiplied by 𝐢 hat plus four multiplied by 𝐣 hat. Now, let’s do the same thing with vector 𝐁. We see that 𝐁 extends two units in the negative 𝑥-direction and seven units in the positive 𝑦-direction. So, the 𝑥-component of 𝐁 is negative two and the 𝑦-component is positive seven. And we can write 𝐁 in component form as negative two 𝐢 hat plus seven 𝐣 hat.

Now that we have both of our vectors 𝐀 and 𝐁 written in component form, we are ready to calculate their scalar product. Looking at our general expression for the scalar product of two vectors, we see that the first term in this expression is the product of the 𝑥-components of the vectors. So, in our case, we need the 𝑥-component of 𝐀, which is three, multiplied by the 𝑥-component of 𝐁, which is negative two. Then, we need to add a second term which is equal to the product of the 𝑦-components of the vectors. So, for us, that’s the 𝑦-component of 𝐀, which is four, multiplied by the 𝑦-component of 𝐁, which is seven.

The last step left to go is to evaluate this expression. The first term, three multiplied by negative two, gives us negative six, and the second term, four multiplied by seven, gives 28. Then adding negative six and 28, we get a result of 22. So, our answer to the question is that the scalar product 𝐀 dot 𝐁 is equal to 22.