Factorier sur les entiers :
x3 -2x2 +1etx2 - x
On tape :
collect([x^
3-2*x^
2+1,x^
2-x])
On obtient :
[(x-1)*(x^
2-x-1),x*(x-1)]
Mais si on tape :
collect((x^
3-2*x^
2+1)*sqrt(5))
On obtient :
((19*sqrt(5)-10)*((sqrt(5)+15)*x+7*sqrt(5)-5)* ((sqrt(5)+25)*x-13*sqrt(5)-15)*(x-1))/6820
Ou si on tape :
collect(x^
3-2*x^
2+1,sqrt(5))
On obtient :
((2*sqrt(5)-19)*((sqrt(5)+25)*x-13*sqrt(5)-15)*(-x+1)*((sqrt(5)+15)*x+7*sqrt(5)-5))/6820