Previous Up Next

6.28.20  Liste des facteurs d’un polynôme : factors

factors a pour argument un polynôme ou une liste de polynômes.
factors donne la liste des facteurs du polynôme avec leur multiplicité.
On tape :

factors(x^2+2*x+1)

On obtient :

[x+1,2]

On tape :

factors(x^4-2*x^2+1)

On obtient :

[x-1,2,x+1,2]

On tape :

factors([x^3-2*x^2+1,x^2-x])

On obtient :

[[x-1,1,x^2-x-1,1],[x,1,x-1,1]]

On tape :

factors([x^2,x^2-1])

On obtient :

[[x,2],[x+1,1,x-1,1]]

Previous Up Next