Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - Problem interpreting facWeyl output
Author Message
  Post subject:  Re: Problem interpreting facWeyl output  Reply with quote
Hello Matthias,

the answer to you main question
"why facWeyl does not factor x1*d1 + x1* d1 * x2* d2 + x2* d2 + 1 into (1+ x1*d1)*(1+x2*d2)."
is as follows:
"because (1+ x1*d1) = d1*x1 is reducible".

Some suggestions:
1) use Weyl(); procedure from LIB "nctools.lib"; to set up Weyl algebras quickly
2) use just ncfactor(h); for any kind of factorization
3) while using ncalgebra as you did, there's a shortcut
ncalgebra(1,D); since the matrix C does not contain other coefficients than 1.

In more details: ad (1) and (2):
In case you want to work with the second Weyl algebra, the ring must be defined as follows:
Code:
LIB "ncfactor.lib";
LIB "nctools.lib";
ring R = 0,(x1,x2,d1,d2),dp;
def A2 = Weyl(); setring A2;
A2; // prints correctly the non-commutative relations between generators
poly h = x1*d1 + x1* d1 * x2* d2 + x2* d2 + 1;
ncfactor(h); 


Regards,
Viktor Levandovskyy
Post Posted: Fri Jan 17, 2020 6:52 pm
  Post subject:  Problem interpreting facWeyl output  Reply with quote
Hi all,

apologies for asking a possibly stupid question about facWeyl. The problem might be my incomplete understanding of Algebra.

I don't understand why facWeyl does not factor x1*d1 + x1* d1 * x2* d2 + x2* d2 + 1 into (1+ x1*d1)*(1+x2*d2). Or maybe it does but I don't understand the way facWeyl tells me this.

Code:
LIB "ncfactor.lib";
ring R = 0,(x1,x2,d1,d2),dp;
matrix C[4][4] = 1,1,1,1,
1,1,1,1,
1,1,1,1,
1,1,1,1;
matrix D[4][4] = 0,0,1,0,
0,0,0,1,
-1,0,0,0,
0,-1,0,0;
def r = nc_algebra(C,D);
setring(r);
poly h = x1*d1 + x1* d1 * x2* d2 + x2* d2 + 1;
facWeyl(h);
[1]:
   [1]:
1
   [2]:
      d1
   [3]:
      d2
   [4]:
      x1
   [5]:
      x2
[2]:
   [1]:
1
   [2]:
      d1
   [3]:
      d2
   [4]:
      x2
   [5]:
      x1
[3]:
   [1]:
1
   [2]:
      d1
   [3]:
      x1
   [4]:
      d2
   [5]:
      x2
[4]:
   [1]:
1
   [2]:
      d2
   [3]:
      d1
   [4]:
      x1
   [5]:
      x2
[5]:
   [1]:
1
   [2]:
      d2
   [3]:
      d1
   [4]:
      x2
   [5]:
      x1
[6]:
   [1]:
1
   [2]:
      d2
   [3]:
      x2
   [4]:
      d1
   [5]:
      x1


Thanks in advance for any help.

Best regards,
Matthias
Post Posted: Wed Aug 29, 2018 11:56 am


It is currently Fri May 13, 2022 10:55 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group