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

Student[VectorCalculus]

 diff
 compute the derivative of a Vector-valued function

 Calling Sequence diff(f, v)

Parameters

 f - Vector or algebraic expression v - name or name, name, ...; specify the variables of differentiation

Description

 • The diff(f, v) calling sequence is an extension of the top-level diff that performs coordinate-wise differentiation on Vectors (including vector fields), in the coordinate systems of the Student[VectorCalculus] package.  If f is not a Vector, the arguments are passed to the top-level diff command.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{VectorCalculus}\right]\right):$
 > $\mathrm{diff}\left(⟨t,{t}^{2},{t}^{3}⟩,t\right)$
 > $\mathrm{diff}\left(⟨\mathrm{cos}\left(st\right),\mathrm{sin}\left(st\right)⟩,s,t\right)$
 > $\mathrm{SetCoordinates}\left(\mathrm{spherical}\left[r,\mathrm{\phi },\mathrm{\theta }\right]\right)$
 ${{\mathrm{spherical}}}_{{r}{,}{\mathrm{\phi }}{,}{\mathrm{\theta }}}$ (1)
 > $F≔\mathrm{VectorField}\left(⟨ar,0,0⟩\right)$
 > $\mathrm{diff}\left(F,\mathrm{\phi }\right)$
 > $\mathrm{diff}\left(F,a\right)$