DirectionalDiff - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Physics : Vectors : DirectionalDiff

Physics[Vectors][DirectionalDiff] - the directional derivative

Calling Sequence

DirectionalDiff(A, B_)

Parameters

A

-

any algebraic (vectorial or scalar) expression

B_

-

a vector

Description

• 

DirectionalDiff(A, B_) computes the directional derivative of  in the direction of , that is, the scalar product of a unitary vector in the direction of  times Nabla - the differential operator - applied to the function A. Two cases can happen:

1. 

 is not a vector. Hence

2. 

 is a vector. Hence

• 

The %DirectionalDiff is the inert form of DirectionalDiff, that is: it represents the same mathematical operation while holding the operation unperformed. To activate the operation use value.

Examples

(1)

(2)

The definition of directional derivative

(3)

Directional derivative in spherical coordinates

(4)

Directional derivative of a vector function

(5)

(6)

Note that, when the vector which defines the direction (the second argument) is projected over one coordinate system, the function being differentiated is expected to be expressed using the same coordinate system; otherwise an error interruption happens and a corresponding message is displayed

Error, (in Physics:-Vectors:-DirectionalDiff) vectors must be projected over one and the same base

For this example, correct input could be

(7)

See Also

ChangeBasis, convert,VectorCalculus, Identify, Nabla, operations, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Student[MultivariateCalculus][DirectionalDerivative], tensor/directional_diff, VectorCalculus[DirectionalDiff]., Vectors, Vectors[`.`]


Download Help Document