Previous Up Next

6.28.19  Factorisation sans facteur carré : sqrfree

sqrfree a comme paramètre un polynôme.
sqrfree factorise ce polynôme en regroupant les termes ayant même exposant.
On tape :

sqrfree((x^2-1)*(x-1)*(x+2))

On obtient :

(x^2+3*x+2)*(x-1)^2

On tape :

sqrfree((x^2-1)^2*(x-1)*(x+2)^2)

On obtient :

(x^2+3*x+2)*(x-1)^3

Previous Up Next