. - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[VectorCalculus]

  

DotProduct

  

compute the dot product of Vectors and differential operators

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

DotProduct(v1, v2)

v1 . v2

Parameters

v1

-

Vector or differential operator

v2

-

Vector or differential operator

Description

• 

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).

Examples

> 

with⁡StudentVectorCalculus:

> 

DotProduct⁡a,b,c,d

a⁢c+b⁢d

(1)
> 

SetCoordinates⁡polarr,θ

polarr,θ

(2)
> 

v≔RootedVector⁡root=1,2,a,b

v≔ab

(3)
> 

w≔RootedVector⁡root=1,2,c,d

w≔cd

(4)
> 

v·w

a⁢c+b⁢d

(5)
> 

F≔VectorField⁡r2,θ

F≔r2e_r+θe_θ

(6)
> 

Del·F

3⁢r2+1r

(7)
> 

Divergence⁡F

3⁢r2+1r

(8)
> 

SetCoordinates⁡cartesianx,y,z

cartesianx,y,z

(9)
> 

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

(10)

See Also

combine

Student[VectorCalculus]

Student[VectorCalculus][Del]

Student[VectorCalculus][Divergence]

Student[VectorCalculus][Laplacian]

Student[VectorCalculus][Nabla]

Student[VectorCalculus][SetCoordinates]

Student[VectorCalculus][Vector]

Student[VectorCalculus][VectorField]