Encyclopedia > Dot product

  Article Content

Dot product

In mathematics, the dot product is a binary operation which takes two vectors and returns a scalar quantity. It is also known as the inner product or scalar product.

It is defined as:

<math>\mathbf{a \cdot b} = \mathbf{|a| |b|}\cos( \theta)

where θ is the angle between the two vectors. Thus, the dot product of two perpendicular vectors is always zero. If a and b are both unit vectors (ie of length 1), the the dot product simply gives the cosine of the angle between them. Thus, given two vectors, the angle between them can be found by rearranging the above formula:

<math>\theta = \cos^{-1}
 \left({ \mathbf{a \cdot b} \over \mathbf{|a| |b|}  }\right)</math>

The dot product is particularly used in resolution of forces[?]. If b is a unit vector, then the dot product gives the projection of a in direction b. In mechanics, this gives the component of a force in that direction.

Work is the dot product of force and displacement.

Properties The definition has the following consequences:

  • the dot product is commutative, i.e. a·b = b·a.
  • two non-zero vectors a and b are perpendicular if and only if a·b = 0
  • the dot product is bilinear, i.e. a·(rb + c) = r (a·b) + (a·c)

From these it follows directly that the dot product of two vectors a = [a1 a2 a3] and b = [b1 b2 b3] given in coordinates can be computed particularly easily:

a·b = a1b1 + a2b2 + a3b3

or, using matrix multiplication and treating the vectors as 1-by-3 matrices:

a·b = abT
where bT denotes the transpose of the matrix b.

The dot product satisfies all the axioms of an inner product. In an abstract vector space, the notion of angle between the elements of the space can be defined in terms of the inner product.

All Wikipedia text is available under the terms of the GNU Free Documentation License

  Search Encyclopedia

Search over one million articles, find something about almost anything!
  Featured Article

...     Contents Mayenne Mayenne is a French département, number 53, named after the Mayenne River[?]. Préfecture (capital): ...

This page was created in 32.1 ms