Non-commutative multiplication in Mathematica

Click For Summary

Discussion Overview

The discussion revolves around performing calculations with non-Abelian groups in Mathematica, specifically focusing on quaternions and the potential for extending this to other groups like D_6. Participants explore methods for defining and manipulating these groups within the software.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant asks about performing calculations with non-Abelian groups, particularly quaternions, and seeks a method for defining arbitrary group definitions in Mathematica.
  • Another participant suggests using the Quaternion function in Mathematica for specific quaternion calculations.
  • A different participant mentions that while arbitrary definitions may be challenging, one can define functions and data structures as needed, referencing their own experience with a quaternion library in LabVIEW.
  • There is a mention of the possibility of representing the D_6 group using 2x2 matrices, alongside the quaternions, indicating a potential method for handling these groups in Mathematica.
  • One participant expresses uncertainty about which non-Abelian groups can be represented by matrices, raising a question about the limitations of such representations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best method for handling non-Abelian groups in Mathematica, and multiple viewpoints and suggestions are presented without resolution.

Contextual Notes

Some participants express limitations based on their versions of Mathematica and the availability of modules, which may affect their ability to implement certain functionalities.

topsquark
Science Advisor
Homework Helper
Insights Author
MHB
Messages
2,020
Reaction score
843
Does anyone know if it's possible to tell Mathematica to do calculations with non-Abelian groups, such as the quaternions? For example, how do you tell it to do (3 + j)(4 - i)? I would like to extend this beyond quaternions so is there is a way to define arbitrary group definitions?

Thanks!

-Dan
 
Physics news on Phys.org
topsquark said:
Does anyone know if it's possible to tell Mathematica to do calculations with non-Abelian groups, such as the quaternions? For example, how do you tell it to do (3 + j)(4 - i)? I would like to extend this beyond quaternions so is there is a way to define arbitrary group definitions?

Thanks!

-Dan

Hey Dan!

How about: [M]Quaternion[3,0,1,0] * Quaternion[4,-1,0,0][/M]?
 
I don't know about arbitrary, but you can define any function you want, like I did with my LabVIEW quaternion library. You define the data structures you need, and the functions on those data structures.
 
I like Serena said:
Hey Dan!

How about: [M]Quaternion[3,0,1,0] * Quaternion[4,-1,0,0][/M]?
Go figure. All I had to do was search Mathematica for quaternions. I suck at doing searches. (My ex-fiancee used to do all that for me.)

Thanks. Now if I could just get it to do [math]D_6[/math] or others. I haven't the foggiest idea how to follow up on Ackbach's suggestion. There's got to be a way to do the Mathematica thing but I have an old copy and I don't think I can get modules for that anymore.

-Dan

Addendum: You know, if I could find a matrix representation I could probably do it. Have to see about that.
 
topsquark said:
Go figure. All I had to do was search Mathematica for quaternions. I suck at doing searches. (My ex-fiancee used to do all that for me.)

Thanks. Now if I could just get it to do [math]D_6[/math] or others. I haven't the foggiest idea how to follow up on Ackbach's suggestion. There's got to be a way to do the Mathematica thing but I have an old copy and I don't think I can get modules for that anymore.

-Dan

Addendum: You know, if I could find a matrix representation I could probably do it. Have to see about that.

Defining a function in Mathematica works like this:

Code:
f[x_, y_]=x^2 * y

That's obviously not all you need, but that's a fundamental piece.
 
topsquark said:
Thanks. Now if I could just get it to do [math]D_6[/math] or others. I haven't the foggiest idea how to follow up on Ackbach's suggestion. There's got to be a way to do the Mathematica thing but I have an old copy and I don't think I can get modules for that anymore.

-Dan

Addendum: You know, if I could find a matrix representation I could probably do it. Have to see about that.

Indeed. We can represent $D_6$ with 2x2 rotation and reflection matrices.
And we can also represent the quaternions with 2x2 matrices, which is a bit more straight forward.
Now I wonder which non-abelian group cannot be represented by matrices... (Wondering)
 
I like Serena said:
Now I wonder which non-abelian group cannot be represented by matrices... (Wondering)
Probably my counseling group. (Emo)

-Dan
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K