This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

DotProduct


gives the dot product of the two 3-vectors in the default coordinate system.

gives the dot product of and in the coordinate system coordsys.
  • is computed by converting and to Cartesian coordinates and then forming the dot product.
Dot product of two Cartesian vectors:
Verify that a pair of vectors are orthogonal:
Dot product of vectors in cylindrical coordinates:
Compare with the result from conversion to Cartesian coordinates:
Needs["VectorAnalysis`"]
Dot product of two Cartesian vectors:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
 
Needs["VectorAnalysis`"]
Verify that a pair of vectors are orthogonal:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
 
Needs["VectorAnalysis`"]
Dot product of vectors in cylindrical coordinates:
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
Compare with the result from conversion to Cartesian coordinates:
In[5]:=
Click for copyable input
Out[5]=