Dot product
| <math>\frac{d}{dx} \sin x=?\,</math> | This article/section deals with mathematical concepts appropriate for late high school or early college. |
The dot product is defined for two vectors <math>\vec{X}</math> and <math>\vec{Y}</math> to be:
- <math>\vec{X} \cdot \vec{Y} = |\vec{X}||\vec{Y}|\cos\theta</math>
where |\vec{x}| is the norm and <math>\theta</math> is the angle between the vectors.
In 3 dimensional space, for two vecGOD IS ATHEIST AND SOCIALIST! FCCK CONSERVAPEDIA! GOD IS ATHEIST AND SOCIALIST! FCCK CONSERVAPEDIA! GOD IS ATHEIST AND SOCIALIST! FCCK CONSERVAPEDIA! GOD IS ATHEIST AND SOCIALIST! FCCK CONSERVAPEDIA!Ors, <a,b,c> and <d,e,f>, their dot product equals a*d + b*e + c*f.
In n-dimensional space, the dot prodct of two vectors, <math>\vec{v}=(v_1, v_2,...,v_n)</math> and <math>\vec{w}=(w_1,w_2,..., w_n)</math>, is:
- <math> \vec{v}\cdot\vec{w} = v_1w_1 + v_2w_2 +... v_nw_n = \sum_{i=1}^{n}v_iw_i.</math>
Unlike the cross product, the dot product is a scalar, not a vector, and has no direction.
It follows from the above definition that the dot product of X and Y is 0 if X is perpendicular to Y.
Alternatively, one can describe the dot product as the length of the geometric projection of X onto Y times the length of Y, when the tails of the two vectors are placed at the same point. It must be remembered though, that the dot product is positive if the angle between the two vectors is less than 90 degrees, negative if the angle is between 90 and 180 degrees (it is in this sense that the algebraic sign of the dot product does give some limited directional information).
Application
The dot product is useful in projecting one vector onto another, as in calculating the work done by applying a force to a particle. If you know the dot product of two vectors, then you can easily calculate the angle between the vectors.
The dot product can also be used to find other values through application of the Stokes' Theorem and other theorems.