rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

factor/poly leaves common factors #2524

Open rtoy opened 3 months ago

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 13:57:18 Created by macrakis on 2003-10-04 04:44:15 Original: https://sourceforge.net/p/maxima/bugs/418


ff: factor(x^2-2,8*q^4-q*q^2+1) => (16*x-64*q^2+32)*(16*x+64*q^2-32)/256

Of course, this can be simplified with another pass of ordinary factorization:

factor(ff) => (x-4*q^2+2)*(x+4*q^2-2)

A simpler example, but perhaps suspect because it uses q in the polynomial to factor:

factor(x-q,2*q^2+1) => (2*x-2*q)/2

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 13:57:19 Created by robert_dodier on 2006-07-11 04:34:52 Original: https://sourceforge.net/p/maxima/bugs/418/#93bb


Logged In: YES user_id=501686

5.9.3cvs yields

(%i10) ff: factor(x^2-2,8*q^4-q*q^2+1) ; (%o10) x^2-2

Not sure what the right result is here.

rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 13:57:22 Created by robert_dodier on 2006-07-11 04:35:01 Original: https://sourceforge.net/p/maxima/bugs/418/#aeed


rtoy commented 3 months ago

Imported from SourceForge on 2024-07-06 13:57:25 Created by robert_dodier on 2006-09-09 02:04:07 Original: https://sourceforge.net/p/maxima/bugs/418/#1a2d