30 Reputation

4 Badges

3 years, 24 days

MaplePrimes Activity

These are questions asked by mmiller15

I currently have a procedure that runs a fairly complicated formula involving non-commutative variables. The procedure is Vu(a, b, c) where a, b, and c are any integers. I have to run this formula whenever vacub appears in my expression. I'm currently replacing each variable of this type with the procedure Vu(a, b, c). I'm wanted to automate that process if possible. One thought I had was to assign the value of Vu(a, b, c) to the variable vacub for any value of a, b, and c from 1 to 5. Then use the eval command to replace the variables with the proper values. Is there any way to automate this process? Let me give you an example:

v0u0 = u0v0 + 2w0

So u0v0u0 = u0(u0v0+2w0) = u02v0+2u0w0

I'm working on a problem requiring non-commutative variables. I have this functionality working properly using the code below:

Setup(noncommutativeprefix = {u, w, v});
My variables are subscripted as well. In other words, I'll be dealing with terms u0v0v1 . This all works properly under the above code. The only trouble I'm having is the terms such as v0, v1, ... , vn commutatve with each other (and likewise for the w and u). Is there a way to tell Maple that the individual u's, w's, and v's commuative with themselves?
Thanks for your help.

I am fairly new to Maple and I'm currently researching twisted multiloop algebras. I'm trying to use Maple to automate many of the calculations. For example, suppose xy = yx + 2z and I have the expression wxy (the variables are non-commutative. I already have this functionality working properly with the physics package). I want Maple to make the substitution for xy and simplfiy. For example: wxy = w(yx + 2z) = wyx + 2wz. Is this possible?

Thank you for your help.

Page 1 of 1