Dot Product (original) (raw)

Algebra Applied Mathematics Calculus and Analysis Discrete Mathematics Foundations of Mathematics Geometry History and Terminology Number Theory Probability and Statistics Recreational Mathematics Topology

Alphabetical Index New in MathWorld


DotProduct

The dot product can be defined for two vectors X and Y by

|  X·Y=\|X||Y|costheta, | (1) | | --------------------------------------------------------------------------------------------------------- | --- |

where theta is the angle between the vectors and |X| is the norm. It follows immediately that X·Y=0 if X is perpendicular to Y. The dot product therefore has the geometric interpretation as the length of the projection ofX onto the unit vector Y^^ when the two vectors are placed so that their tails coincide.

By writing

it follows that (1) yields

So, in general,

This can be written very succinctly using Einstein summation notation as

 X·Y=x_iy_i. (10)

The dot product is implemented in the Wolfram Language as Dot[a,_b_], or simply by using a period, a . b.

The dot product is commutative

 X·Y=Y·X, (11)

and distributive

 X·(Y+Z)=X·Y+X·Z. (12)

The associative property is meaningless for the dot product because (a·b)·c is not defined since a·b is a scalar and therefore cannot itself be dotted. However, it does satisfy the property

 (rX)·Y=r(X·Y) (13)

for r a scalar.

The derivative of a dot product of vectorsis

 d/(dt)[r_1(t)·r_2(t)]=r_1(t)·(dr_2)/(dt)+(dr_1)/(dt)·r_2(t). (14)

The dot product is invariant under rotations

where Einstein summation has been used.

The dot product is also called the scalar product and inner product. In the latter context, it is usually written <a,b>. The dot product is also defined for tensors A and B by

 A·B=A^alphaB_alpha. (21)

So for four-vectors a_mu and b_mu, it is defined by

where a·b is the usual three-dimensional dot product.


See also

Cross Product, Einstein Summation, Four-Vector Norm, Inner Product, Outer Product, Perp Dot Product, Vector, Vector Multiplication, Wedge Product Explore this topic in the MathWorld classroom

Explore with Wolfram|Alpha

References

Arfken, G. "Scalar or Dot Product." §1.3 in Mathematical Methods for Physicists, 3rd ed. Orlando, FL: Academic Press, pp. 13-18, 1985.Jeffreys, H. and Jeffreys, B. S. "Scalar Product." §2.06 in Methods of Mathematical Physics, 3rd ed. Cambridge, England: Cambridge University Press, pp. 65-67, 1988.

Referenced on Wolfram|Alpha

Dot Product

Cite this as:

Weisstein, Eric W. "Dot Product." FromMathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/DotProduct.html

Subject classifications