Student[VectorCalculus]
DotProduct
compute the dot product of Vectors and differential operators
Calling Sequence
Parameters
Description
Examples
DotProduct(v1, v2)
v1 . v2
v1
-
Vector or differential operator
v2
The DotProduct(v1, v2) calling sequence computes the dot product (scalar product) of v1 and v2, where v1 and v2 can be Vectors, vector fields, Student[VectorCalculus]:-Del, or Student[VectorCalculus]:-Nabla.
The Student[VectorCalculus] package has a `.` operator that you can use in place of the DotProduct command. For example, DotProduct(v1, v2) is equivalent to v1·v2.
Also, Del·F is equivalent to Divergence(F).
with⁡StudentVectorCalculus:
DotProduct⁡a,b,c,d
a⁢c+b⁢d
SetCoordinates⁡polarr,θ
polarr,θ
v≔RootedVector⁡root=1,2,a,b
v≔ab
w≔RootedVector⁡root=1,2,c,d
w≔cd
v·w
F≔VectorField⁡r2,θ
Del·F
3⁢r2+1r
Divergence⁡F
SetCoordinates⁡cartesianx,y,z
cartesianx,y,z
L≔VectorField⁡x,y,z·Del⁡f⁡x,y,z
L≔x⁢∂∂xf⁡x,y,z+y⁢∂∂yf⁡x,y,z+z⁢∂∂zf⁡x,y,z
See Also
combine
Student[VectorCalculus][Del]
Student[VectorCalculus][Divergence]
Student[VectorCalculus][Laplacian]
Student[VectorCalculus][Nabla]
Student[VectorCalculus][SetCoordinates]
Student[VectorCalculus][Vector]
Student[VectorCalculus][VectorField]
Download Help Document