GroupElementFromWord

GroupElementFromWord[group,w]
returns the element of group determined by the word w in the generators of group.

DetailsDetails

  • In GroupElementFromWord[group,w], the word w must be a list of nonzero integers representing generators in the list returned by GroupGenerators[group]. A positive integer in the word represents the ^(th) generator, and a negative integer represents the inverse of the ^(th) generator.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

For a given list of group generators, this word represents the product of the first generator with itself and then with inverse of the second generator:

In[1]:=
Click for copyable input
Out[1]=

For the dihedral group of order 16, the word corresponds to the element:

In[2]:=
Click for copyable input
Out[2]=

The same result can be obtained by multiplying the generators explicitly:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
Introduced in 2012
(9.0)