# 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:32

### Video Transcript

The diagram shows two vectors, π and π. Each of the grid squares in the diagram has a side length of one. Calculate π dot π.

This question gives us two vectors π and π in the form of arrows drawn on a diagram. It then asks us to calculate the scalar product of these two 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, 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, the scalar product of two vectors is given by 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 the scalar product π dot π, then weβre going to need to work out the π₯- and π¦-components of our vectors π and π.

Now, the vectors π and π are given to us as arrows drawn 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 by counting the squares for vector π. We see that π extends four units in the positive π₯-direction and two units in the positive π¦-direction. This means that the π₯-component of π is four and the π¦-component is two. So we can write π in component form as four π’ hat plus two π£ hat. Now weβll do the same thing for vector π. We find that π extends three units in the negative π₯-direction and six units in the positive π¦-direction. So the π₯-component of π is negative three and the π¦-component is positive six. And in component form, we have that π is equal to negative three π’ hat plus six π£ hat.

We now have both of our vectors π and π written in component form, which means that weβre ready to calculate the scalar product π dot π. From our general expression for the scalar product of two vectors, we see that the first term of this expression is given by the product of the π₯-components of the two vectors. So in our case, we need the π₯-component of π, which is four, multiplied by the π₯-component of π, which is negative three. Then we need to add to this the product of the π¦-components of the vectors. In this case, thatβs the π¦-component of π, which is two, multiplied by the π¦-component of π, which is six.

We now have an expression for the scalar product π dot π. And all thatβs left to do is to evaluate this right-hand side. Our first term is four multiplied by negative three, and this gives us negative 12. Our second term is two multiplied by six, and this gives us positive 12. Then, we have negative 12 plus 12, which gives a result of zero. And so our final answer is that the scalar product π dot π is equal to zero.