Dot product

| Main Article
| Discussion
| Related Articles  [?]
| Bibliography  [?]
| External Links  [?]
| Citable Version  [?]

|
|
|
|
|
|
|
|

This editable Main Article is under development and subject to a disclaimer.

[edit intro]

The dot product, or scalar product, is a type of vector multiplication in the Euclidean spaces, and is widely used in many areas of mathematics and physics. In ℝ3 there is another type of multiplication called the cross product ( or vector product), but it is only defined and makes sense in general for this particular vector space. Both the dot product and the cross product are widely used in in the study of optics, mechanics, electromagnetism, and gravitational fields, for example.

### Definition[edit]

Given two vectors, A = (A1, ... ,An) and B = (B1, ... ,Bn) in ℝn with 1≤n≤3, the dot product is defined as the product of the magnitude of A, the magnitude of B and the cosine of the smaller angle between them.

A • B = |A||B|cosθAB

In cartesian coordinates of dimension n>3 it has to be defined in a different way because it is no longer possible to visualize an "angle" between two vectors and there is no "natural" definition for it. In fact, in this case the contrary is true: it is the inner product which is defined directly while the notion of an angle is derived from this definition. For n>3, the dot product between A and B is defined as:

A • B = A1B1 \+ A2B2 \+ ... + AnBn

and the cosine of the angle θAB between A and B is then defined as

cos⁡θAB=𝐀⋅𝐁|𝐀||𝐁|,

where |𝐀|=(𝐀⋅𝐀)1/2 and |𝐁|=(𝐁⋅𝐁)1/2 are, respectively, the magnitudes of A and B.

The dot product is a scalar, not another vector (unlike the cross product in ℝ3), and it obeys the following laws:

1. A • B = B • A (commutativity or symmetry)
2. (A1 \+ A2) • B = A1 • B \+ A2 • B (distributivity)
3. (cA) • B= A • (cB)=c(A • B) for any real number c

The first and second laws also imply that A • (B1 \+ B2) = A • B1 \+ A • B2

Two vectors with zero dot product are said to be orthogonal to each other.

### Use in calculating work in physics[edit]

In mechanics, when a constant force F is applied over a straight displacement L, the work performed is FL cosθFL, more compactly written as the dot product below. Note in the special case the force and displacement are parallel, work = force × distance.

Work = F • L (linear motion)

Work = ∫F • dL (non-linear motion)