Loïc Grenié on Fri, 14 Jun 2024 10:37:34 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: factor(3*x) = x ?!!


Le ven. 14 juin 2024 à 09:35, <tony.reix@laposte.net> a écrit :
‌Hello,

Is that a bug or a feature ?

(done on Web-GP just now - v2.15.5.28239."6c020b568b". Same on paridroid on my Android smartphone - v2.15.3.2.3. Same on Linux - v2.13.3. Same on Windows - v2.15.4).
 
 
? factor(x)
%2 = Mat([x, 1])
 
? factor(3)
%3 = Mat([3, 1])
 
? factor(3*x)
%4 = Mat([x, 1])

???

    It's a feature. The polynomial is factored in Q[x], and in Q[x] 3 is invertible.

           Hope this helps,

                 Loïc