Student[VectorCalculus]
diff
compute the derivative of a Vector-valued function
Calling Sequence
Parameters
Description
Examples
diff(f, v)
f
-
Vector or algebraic expression
v
name or name, name, ...; specify the variables of differentiation
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.
with⁡StudentVectorCalculus:
diff⁡t,t2,t3,t
1ex+2⁢tey+3⁢t2ez
diff⁡cos⁡s⁢t,sin⁡s⁢t,s,t
−sin⁡s⁢t−t⁢s⁢cos⁡s⁢tex+cos⁡s⁢t−t⁢s⁢sin⁡s⁢tey
SetCoordinates⁡sphericalr,φ,θ
sphericalr,φ,θ
F≔VectorField⁡a⁢r,0,0
F≔a⁢re_r+0e_φ+0e_θ
diff⁡F,φ
a⁢r⁢cos⁡φ⁢cos⁡θ2⁢sin⁡φ+a⁢r⁢cos⁡φ⁢sin⁡θ2⁢sin⁡φ−a⁢r⁢sin⁡φ⁢cos⁡φe_r+a⁢r⁢cos⁡φ2⁢cos⁡θ2+a⁢r⁢cos⁡φ2⁢sin⁡θ2+a⁢r⁢sin⁡φ2e_φ+0e_θ
diff⁡F,a
re_r+0e_φ+0e_θ
See Also
Student[VectorCalculus][Curl]
Student[VectorCalculus][Divergence]
Student[VectorCalculus][int]
Student[VectorCalculus][Laplacian]
Student[VectorCalculus][limit]
Student[VectorCalculus][series]
Student[VectorCalculus][Vector]
Student[VectorCalculus][VectorField]
Download Help Document
What kind of issue would you like to report? (Optional)