difforms - Maple Programming Help

Home : Support : Online Help : Mathematics : Differential Equations : Differential Forms : difforms/simpform

difforms

 simpform
 simplify an expression involving forms

 Calling Sequence simpform(expr)

Parameters

 expr - Maple expression

Description

 • The function simpform will simplify an expression involving forms.  Its operations include collecting like terms, simplifying wedge products, and pulling out scalar factors.
 • The command with(difforms,simpform) allows the use of the abbreviated form of this command.

Examples

 > with(difforms): defform(f=scalar, g=scalar);
 > &^(f*v,u)+&^(u,g*v);
 ${f}{}{v}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{u}{+}{g}{}{u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{v}$ (1)
 > simpform((1));
 $\left({f}{+}{\left({-1}\right)}^{{\mathrm{wdegree}}{}\left({u}\right){}{\mathrm{wdegree}}{}\left({v}\right)}{}{g}\right){}{v}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{u}$ (2)
 > f*(&^(u,v)+&^(u,w))+g*&^(u,v);
 ${f}{}\left({u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{v}{+}{u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{w}\right){+}{g}{}{u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{v}$ (3)
 > simpform((3));
 $\left({f}{+}{g}\right){}{u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{v}{+}{f}{}{u}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{&ˆ}\phantom{\rule[-0.0ex]{0.3em}{0.0ex}}{w}$ (4)