What is dot product and how to calculate it?

  • Google+ icon
  • LinkedIn icon
  • 461 views

There are two ways of multiplying vectors: one gives you another vector (cross product) and the other gives you a scalar- a number, like 3, 18 or 196 352. Hence, dot product is also called the scalar product.

Imagine two vectors X=(a, b, c) and Y=(d, e, f). The first number gives you length of the vector in the x direction, second tells you its length in the y direction and third gives you the z direction. The easiest way to find the dot product is done by multiplying the numbers in the i, j and k rows of both vectors and then adding the results together. So, on the example of X and YX.Y=ad+be+cf.

Another example: A=(1, 5, 9) and B=(0, -6, 4). The dot product of A and BA.B= 1*0 + (5*-6) + (4*9) = 0 - 30 + 36 =6.

Dot product can also be used to find the angle between two vectors. The full formula for dot product between X and is: X.Y = |X| |Y| cos(x). Where 'x' is the angle between both vectors and |X| and |Y| are the lengths of vectors X and Y. The length can be found using the formula: |X| = sqrt(a2+b2+c2).

Filip W. 13 Plus  Maths tutor, 11 Plus Maths tutor, GCSE Maths tutor,...

About the author

is an online A Level Maths tutor with MyTutor studying at Bristol University

Still stuck? Get one-to-one help from a personally interviewed subject specialist.

95% of our customers rate us

Browse tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss

mtw:mercury1:status:ok