Student[VectorCalculus] - Maple Programming Help

Home : Support : Online Help : Education : Student Package : Vector Calculus : Computation Commands : Student/VectorCalculus/CrossProduct

Student[VectorCalculus]

 CrossProduct
 compute the cross product of Vectors and differential operators

 Calling Sequence CrossProduct(v1, v2) v1 &x v2

Parameters

 v1 - Vector, Vector-valued procedure, or differential operator v2 - Vector, Vector-valued procedure, or differential operator

Description

 • The CrossProduct(v1, v2) calling sequence computes the cross product (vector product) of v1 and v2, where v1 and v2 can be Vectors, vector fields, Student[VectorCalculus][Del], or Student[VectorCalculus][Nabla].
 Note: You can enter vector fields as Vector-valued procedures or operators.
 • The Student[VectorCalculus] package has an &x cross product operator that you can use in place of the CrossProduct command. For example, CrossProduct(v1, v2) is equivalent to $\mathrm{v1}&x\mathrm{v2}$.
 Also, $\mathrm{Del}&xF$ is equivalent to Curl(F).

Examples

 > $\mathrm{with}\left(\mathrm{Student}[\mathrm{VectorCalculus}]\right):$
 > $\mathrm{CrossProduct}\left(⟨a,b,c⟩,⟨d,e,f⟩\right)$
 $\left({b}{}{f}{-}{c}{}{e}\right){{e}}_{{x}}{+}\left({-}{a}{}{f}{+}{c}{}{d}\right){{e}}_{{y}}{+}\left({a}{}{e}{-}{b}{}{d}\right){{e}}_{{z}}$ (1)
 > $\left(⟨a,b,c⟩\right)&x\left(⟨d,e,f⟩\right)$
 $\left({b}{}{f}{-}{c}{}{e}\right){{e}}_{{x}}{+}\left({-}{a}{}{f}{+}{c}{}{d}\right){{e}}_{{y}}{+}\left({a}{}{e}{-}{b}{}{d}\right){{e}}_{{z}}$ (2)
 > $F≔\mathrm{VectorField}\left(⟨y,-x,0⟩\right)$
 ${F}{≔}\left({y}\right){\stackrel{{_}}{{e}}}_{{x}}{-}{x}{\stackrel{{_}}{{e}}}_{{y}}$ (3)
 > $\mathrm{Del}&xF$
 ${-}{2}{\stackrel{{_}}{{e}}}_{{z}}$ (4)
 > $\mathrm{CrossProduct}\left(\mathrm{Nabla},F\right)$
 ${-}{2}{\stackrel{{_}}{{e}}}_{{z}}$ (5)
 > $\mathrm{SetCoordinates}\left(\mathrm{cylindrical}\right)$
 ${{\mathrm{cylindrical}}}_{{r}{,}{\mathrm{θ}}{,}{z}}$ (6)
 > $\mathrm{r1}≔\mathrm{RootedVector}\left(\left[2,2,1\right],\mathrm{root}=⟨1,2,3⟩\right)$
 ${\mathrm{r1}}{≔}\left[\begin{array}{r}{2}\\ {2}\\ {1}\end{array}\right]$ (7)
 > $\mathrm{r2}≔\mathrm{RootedVector}\left(\left[3,-1,0\right],\mathrm{root}=⟨1,2,3⟩\right)$
 ${\mathrm{r2}}{≔}\left[\begin{array}{r}{3}\\ {-}{1}\\ {0}\end{array}\right]$ (8)
 > $\mathrm{r1}&x\mathrm{r2}$
 $\left[\begin{array}{r}{1}\\ {3}\\ {-}{8}\end{array}\right]$ (9)