14.02.2013 Views

Grassmann Algebra

Grassmann Algebra

Grassmann Algebra

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TheExteriorProduct.nb 13<br />

� Factoring scalars<br />

<strong>Grassmann</strong><strong>Algebra</strong> provides the function FactorScalars to factor out any scalars in a<br />

product so that they are collected at the beginning of the product. For example:<br />

FactorScalars�5��2 x���3�y���bz��<br />

30 b x � y � z<br />

If any of the factors in the product are scalars, they will also be collected at the beginning. Here<br />

a is a scalar since it has been declared as one, either by default or by DeclareScalars.<br />

FactorScalars�5��2�x���3�a���bz��<br />

30abx� z<br />

FactorScalars works with any <strong>Grassmann</strong> expression, or list of <strong>Grassmann</strong> expressions:<br />

FactorScalars�5��2�x���3�y���bz� � 5��2�x���3�a���bz��<br />

30abx� z � 30 b x � y � z<br />

FactorScalars��5��2�x���3�y���bz�, 5��2�x���3�a���bz���<br />

�30 b x � y � z, 30 a b x � z�<br />

� <strong>Grassmann</strong> expressions<br />

A <strong>Grassmann</strong> expression is any valid element of a <strong>Grassmann</strong> algebra. To check whether an<br />

expression is a <strong>Grassmann</strong> expression, we can use the <strong>Grassmann</strong><strong>Algebra</strong> function<br />

<strong>Grassmann</strong>ExpressionQ:<br />

<strong>Grassmann</strong>ExpressionQ�x � y�<br />

True<br />

<strong>Grassmann</strong>ExpressionQ also works on lists of expressions. Below we determine that<br />

whereas the product of a scalar a and a 1-element x is a valid element of the <strong>Grassmann</strong><br />

algebra, the ordinary multiplication of two 1-elements x y is not.<br />

<strong>Grassmann</strong>ExpressionQ��x � y, a x, x y��<br />

�True, True, False�<br />

� Calculating the grade of a <strong>Grassmann</strong> expression<br />

The grade of an m-element is m.<br />

At this stage we have not yet begun to use expressions for which the grade is other than obvious<br />

by inspection. However, as will be seen later, the grade will not always be obvious, especially<br />

2001 4 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!